Package com.google.cloud.visionai.v1
Class Processor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
com.google.cloud.visionai.v1.Processor.Builder
- All Implemented Interfaces:
ProcessorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Processor
public static final class Processor.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
implements ProcessorOrBuilder
Message describing Processor object. Next ID: 19Protobuf type
google.cloud.visionai.v1.Processor-
Method Summary
Modifier and TypeMethodDescriptionaddAllSupportedAnnotationTypes(Iterable<? extends StreamAnnotationType> values) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];addAllSupportedInstanceTypes(Iterable<? extends Instance.InstanceType> values) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];addSupportedAnnotationTypesValue(int value) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.addSupportedInstanceTypesValue(int value) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.build()clear()Output only.Output only.Source info for customer created processor.Illustrative sentences for describing the functionality of the processor.Required.Model Type.name of resource.Output only.Output only.Output only.repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.Indicates if the processor supports post processing.Output only.booleancontainsLabels(String key) Labels as key value pairs.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Source info for customer created processor.Source info for customer created processor.Source info for customer created processor.Illustrative sentences for describing the functionality of the processor.com.google.protobuf.ByteStringIllustrative sentences for describing the functionality of the processor.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.Model Type.intModel Type.Deprecated.getName()name of resource.com.google.protobuf.ByteStringname of resource.Output only.Output only.Output only.Output only.intOutput only.getState()Output only.intOutput only.getSupportedAnnotationTypes(int index) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];intrepeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];intgetSupportedAnnotationTypesValue(int index) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];getSupportedInstanceTypes(int index) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.intWhich instance types this processor supports; if empty, this default to STREAMING_PREDICTION.Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.intgetSupportedInstanceTypesValue(int index) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.booleanIndicates if the processor supports post processing.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanSource info for customer created processor.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.Source info for customer created processor.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels as key value pairs.Labels as key value pairs.removeLabels(String key) Labels as key value pairs.setConfigurationTypeurl(String value) Output only.setConfigurationTypeurlBytes(com.google.protobuf.ByteString value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Source info for customer created processor.setCustomProcessorSourceInfo(CustomProcessorSourceInfo.Builder builderForValue) Source info for customer created processor.setDescription(String value) Illustrative sentences for describing the functionality of the processor.setDescriptionBytes(com.google.protobuf.ByteString value) Illustrative sentences for describing the functionality of the processor.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setModelType(ModelType value) Model Type.setModelTypeValue(int value) Model Type.name of resource.setNameBytes(com.google.protobuf.ByteString value) name of resource.Output only.setProcessorIoSpec(ProcessorIOSpec.Builder builderForValue) Output only.Output only.setProcessorTypeValue(int value) Output only.setState(Processor.ProcessorState value) Output only.setStateValue(int value) Output only.setSupportedAnnotationTypes(int index, StreamAnnotationType value) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];setSupportedAnnotationTypesValue(int index, int value) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];setSupportedInstanceTypes(int index, Instance.InstanceType value) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.setSupportedInstanceTypesValue(int index, int value) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.setSupportsPostProcessing(boolean value) Indicates if the processor supports post processing.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Processor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
-
mergeFrom
public Processor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Processor.Builder>- Throws:
IOException
-
getName
name of resource.
string name = 1;- Specified by:
getNamein interfaceProcessorOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name of resource.
string name = 1;- Specified by:
getNameBytesin interfaceProcessorOrBuilder- Returns:
- The bytes for name.
-
setName
name of resource.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
name of resource.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
name of resource.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceProcessorOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceProcessorOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceProcessorOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceProcessorOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceProcessorOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceProcessorOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ProcessorOrBuilderLabels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceProcessorOrBuilder
-
containsLabels
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceProcessorOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceProcessorOrBuilder
-
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceProcessorOrBuilder
-
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceProcessorOrBuilder
-
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceProcessorOrBuilder
-
clearLabels
-
removeLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels as key value pairs.
map<string, string> labels = 4; -
putAllLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getDisplayName
Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceProcessorOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceProcessorOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
Illustrative sentences for describing the functionality of the processor.
string description = 10;- Specified by:
getDescriptionin interfaceProcessorOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Illustrative sentences for describing the functionality of the processor.
string description = 10;- Specified by:
getDescriptionBytesin interfaceProcessorOrBuilder- Returns:
- The bytes for description.
-
setDescription
Illustrative sentences for describing the functionality of the processor.
string description = 10;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Illustrative sentences for describing the functionality of the processor.
string description = 10;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Illustrative sentences for describing the functionality of the processor.
string description = 10;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getProcessorTypeValue
public int getProcessorTypeValue()Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProcessorTypeValuein interfaceProcessorOrBuilder- Returns:
- The enum numeric value on the wire for processorType.
-
setProcessorTypeValue
Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for processorType to set.- Returns:
- This builder for chaining.
-
getProcessorType
Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProcessorTypein interfaceProcessorOrBuilder- Returns:
- The processorType.
-
setProcessorType
Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The processorType to set.- Returns:
- This builder for chaining.
-
clearProcessorType
Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getModelTypeValue
public int getModelTypeValue()Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;- Specified by:
getModelTypeValuein interfaceProcessorOrBuilder- Returns:
- The enum numeric value on the wire for modelType.
-
setModelTypeValue
Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;- Parameters:
value- The enum numeric value on the wire for modelType to set.- Returns:
- This builder for chaining.
-
getModelType
Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;- Specified by:
getModelTypein interfaceProcessorOrBuilder- Returns:
- The modelType.
-
setModelType
Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;- Parameters:
value- The modelType to set.- Returns:
- This builder for chaining.
-
clearModelType
Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;- Returns:
- This builder for chaining.
-
hasCustomProcessorSourceInfo
public boolean hasCustomProcessorSourceInfo()Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;- Specified by:
hasCustomProcessorSourceInfoin interfaceProcessorOrBuilder- Returns:
- Whether the customProcessorSourceInfo field is set.
-
getCustomProcessorSourceInfo
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;- Specified by:
getCustomProcessorSourceInfoin interfaceProcessorOrBuilder- Returns:
- The customProcessorSourceInfo.
-
setCustomProcessorSourceInfo
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7; -
setCustomProcessorSourceInfo
public Processor.Builder setCustomProcessorSourceInfo(CustomProcessorSourceInfo.Builder builderForValue) Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7; -
mergeCustomProcessorSourceInfo
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7; -
clearCustomProcessorSourceInfo
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7; -
getCustomProcessorSourceInfoBuilder
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7; -
getCustomProcessorSourceInfoOrBuilder
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;- Specified by:
getCustomProcessorSourceInfoOrBuilderin interfaceProcessorOrBuilder
-
getStateValue
public int getStateValue()Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceProcessorOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceProcessorOrBuilder- Returns:
- The state.
-
setState
Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasProcessorIoSpec
public boolean hasProcessorIoSpec()Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProcessorIoSpecin interfaceProcessorOrBuilder- Returns:
- Whether the processorIoSpec field is set.
-
getProcessorIoSpec
Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProcessorIoSpecin interfaceProcessorOrBuilder- Returns:
- The processorIoSpec.
-
setProcessorIoSpec
Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setProcessorIoSpec
Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeProcessorIoSpec
Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearProcessorIoSpec
Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProcessorIoSpecBuilder
Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProcessorIoSpecOrBuilder
Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.
.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProcessorIoSpecOrBuilderin interfaceProcessorOrBuilder
-
getConfigurationTypeurl
Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.
string configuration_typeurl = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConfigurationTypeurlin interfaceProcessorOrBuilder- Returns:
- The configurationTypeurl.
-
getConfigurationTypeurlBytes
public com.google.protobuf.ByteString getConfigurationTypeurlBytes()Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.
string configuration_typeurl = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConfigurationTypeurlBytesin interfaceProcessorOrBuilder- Returns:
- The bytes for configurationTypeurl.
-
setConfigurationTypeurl
Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.
string configuration_typeurl = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The configurationTypeurl to set.- Returns:
- This builder for chaining.
-
clearConfigurationTypeurl
Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.
string configuration_typeurl = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setConfigurationTypeurlBytes
Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.
string configuration_typeurl = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for configurationTypeurl to set.- Returns:
- This builder for chaining.
-
getSupportedAnnotationTypesList
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSupportedAnnotationTypesListin interfaceProcessorOrBuilder- Returns:
- A list containing the supportedAnnotationTypes.
-
getSupportedAnnotationTypesCount
public int getSupportedAnnotationTypesCount()repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSupportedAnnotationTypesCountin interfaceProcessorOrBuilder- Returns:
- The count of supportedAnnotationTypes.
-
getSupportedAnnotationTypes
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSupportedAnnotationTypesin interfaceProcessorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedAnnotationTypes at the given index.
-
setSupportedAnnotationTypes
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The supportedAnnotationTypes to set.- Returns:
- This builder for chaining.
-
addSupportedAnnotationTypes
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The supportedAnnotationTypes to add.- Returns:
- This builder for chaining.
-
addAllSupportedAnnotationTypes
public Processor.Builder addAllSupportedAnnotationTypes(Iterable<? extends StreamAnnotationType> values) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The supportedAnnotationTypes to add.- Returns:
- This builder for chaining.
-
clearSupportedAnnotationTypes
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSupportedAnnotationTypesValueList
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSupportedAnnotationTypesValueListin interfaceProcessorOrBuilder- Returns:
- A list containing the enum numeric values on the wire for supportedAnnotationTypes.
-
getSupportedAnnotationTypesValue
public int getSupportedAnnotationTypesValue(int index) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSupportedAnnotationTypesValuein interfaceProcessorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedAnnotationTypes at the given index.
-
setSupportedAnnotationTypesValue
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for supportedAnnotationTypes to set.- Returns:
- This builder for chaining.
-
addSupportedAnnotationTypesValue
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for supportedAnnotationTypes to add.- Returns:
- This builder for chaining.
-
addAllSupportedAnnotationTypesValue
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The enum numeric values on the wire for supportedAnnotationTypes to add.- Returns:
- This builder for chaining.
-
getSupportsPostProcessing
public boolean getSupportsPostProcessing()Indicates if the processor supports post processing.
bool supports_post_processing = 17;- Specified by:
getSupportsPostProcessingin interfaceProcessorOrBuilder- Returns:
- The supportsPostProcessing.
-
setSupportsPostProcessing
Indicates if the processor supports post processing.
bool supports_post_processing = 17;- Parameters:
value- The supportsPostProcessing to set.- Returns:
- This builder for chaining.
-
clearSupportsPostProcessing
Indicates if the processor supports post processing.
bool supports_post_processing = 17;- Returns:
- This builder for chaining.
-
getSupportedInstanceTypesList
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Specified by:
getSupportedInstanceTypesListin interfaceProcessorOrBuilder- Returns:
- A list containing the supportedInstanceTypes.
-
getSupportedInstanceTypesCount
public int getSupportedInstanceTypesCount()Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Specified by:
getSupportedInstanceTypesCountin interfaceProcessorOrBuilder- Returns:
- The count of supportedInstanceTypes.
-
getSupportedInstanceTypes
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Specified by:
getSupportedInstanceTypesin interfaceProcessorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedInstanceTypes at the given index.
-
setSupportedInstanceTypes
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Parameters:
index- The index to set the value at.value- The supportedInstanceTypes to set.- Returns:
- This builder for chaining.
-
addSupportedInstanceTypes
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Parameters:
value- The supportedInstanceTypes to add.- Returns:
- This builder for chaining.
-
addAllSupportedInstanceTypes
public Processor.Builder addAllSupportedInstanceTypes(Iterable<? extends Instance.InstanceType> values) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Parameters:
values- The supportedInstanceTypes to add.- Returns:
- This builder for chaining.
-
clearSupportedInstanceTypes
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Returns:
- This builder for chaining.
-
getSupportedInstanceTypesValueList
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Specified by:
getSupportedInstanceTypesValueListin interfaceProcessorOrBuilder- Returns:
- A list containing the enum numeric values on the wire for supportedInstanceTypes.
-
getSupportedInstanceTypesValue
public int getSupportedInstanceTypesValue(int index) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Specified by:
getSupportedInstanceTypesValuein interfaceProcessorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedInstanceTypes at the given index.
-
setSupportedInstanceTypesValue
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for supportedInstanceTypes to set.- Returns:
- This builder for chaining.
-
addSupportedInstanceTypesValue
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Parameters:
value- The enum numeric value on the wire for supportedInstanceTypes to add.- Returns:
- This builder for chaining.
-
addAllSupportedInstanceTypesValue
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Parameters:
values- The enum numeric values on the wire for supportedInstanceTypes to add.- Returns:
- This builder for chaining.
-