Package com.google.cloud.visionai.v1
Interface Instance.InputResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance.InputResource,Instance.InputResource.Builder
- Enclosing class:
- Instance
public static interface Instance.InputResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.google.cloud.visionai.v1.Instance.InputResource.annotated_stream is deprecated.Deprecated.Contains resource annotations.Contains resource annotations.The name of graph node who receives the input resource.com.google.protobuf.ByteStringThe name of graph node who receives the input resource.Data type for the current input resource.intData type for the current input resource.The direct input resource name.The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding.com.google.protobuf.ByteStringThe specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding.com.google.protobuf.ByteStringThe direct input resource name.booleanDeprecated.google.cloud.visionai.v1.Instance.InputResource.annotated_stream is deprecated.booleanContains resource annotations.booleanThe direct input resource name.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInputResource
boolean hasInputResource()The direct input resource name. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a".
string input_resource = 1;- Returns:
- Whether the inputResource field is set.
-
getInputResource
String getInputResource()The direct input resource name. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a".
string input_resource = 1;- Returns:
- The inputResource.
-
getInputResourceBytes
com.google.protobuf.ByteString getInputResourceBytes()The direct input resource name. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a".
string input_resource = 1;- Returns:
- The bytes for inputResource.
-
hasAnnotatedStream
Deprecated.google.cloud.visionai.v1.Instance.InputResource.annotated_stream is deprecated. See google/cloud/visionai/v1/platform.proto;l=1508If the input resource is VisionAI Stream, the associated annotations can be specified using annotated_stream instead.
.google.cloud.visionai.v1.StreamWithAnnotation annotated_stream = 4 [deprecated = true];- Returns:
- Whether the annotatedStream field is set.
-
getAnnotatedStream
Deprecated.google.cloud.visionai.v1.Instance.InputResource.annotated_stream is deprecated. See google/cloud/visionai/v1/platform.proto;l=1508If the input resource is VisionAI Stream, the associated annotations can be specified using annotated_stream instead.
.google.cloud.visionai.v1.StreamWithAnnotation annotated_stream = 4 [deprecated = true];- Returns:
- The annotatedStream.
-
getAnnotatedStreamOrBuilder
Deprecated.If the input resource is VisionAI Stream, the associated annotations can be specified using annotated_stream instead.
.google.cloud.visionai.v1.StreamWithAnnotation annotated_stream = 4 [deprecated = true]; -
getDataTypeValue
int getDataTypeValue()Data type for the current input resource.
.google.cloud.visionai.v1.DataType data_type = 6;- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
DataType getDataType()Data type for the current input resource.
.google.cloud.visionai.v1.DataType data_type = 6;- Returns:
- The dataType.
-
getConsumerNode
String getConsumerNode()The name of graph node who receives the input resource. For example: input_resource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumer_node: stream-input
string consumer_node = 2;- Returns:
- The consumerNode.
-
getConsumerNodeBytes
com.google.protobuf.ByteString getConsumerNodeBytes()The name of graph node who receives the input resource. For example: input_resource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumer_node: stream-input
string consumer_node = 2;- Returns:
- The bytes for consumerNode.
-
getInputResourceBinding
String getInputResourceBinding()The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding.
string input_resource_binding = 3;- Returns:
- The inputResourceBinding.
-
getInputResourceBindingBytes
com.google.protobuf.ByteString getInputResourceBindingBytes()The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding.
string input_resource_binding = 3;- Returns:
- The bytes for inputResourceBinding.
-
hasAnnotations
boolean hasAnnotations()Contains resource annotations.
.google.cloud.visionai.v1.ResourceAnnotations annotations = 5;- Returns:
- Whether the annotations field is set.
-
getAnnotations
ResourceAnnotations getAnnotations()Contains resource annotations.
.google.cloud.visionai.v1.ResourceAnnotations annotations = 5;- Returns:
- The annotations.
-
getAnnotationsOrBuilder
ResourceAnnotationsOrBuilder getAnnotationsOrBuilder()Contains resource annotations.
.google.cloud.visionai.v1.ResourceAnnotations annotations = 5; -
getInputResourceInformationCase
Instance.InputResource.InputResourceInformationCase getInputResourceInformationCase()
-