public final class Processor extends GeneratedMessageV3 implements ProcessorOrBuilder
Message describing Processor object.
Next ID: 19
Protobuf type google.cloud.visionai.v1.Processor
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONFIGURATION_TYPEURL_FIELD_NUMBER
public static final int CONFIGURATION_TYPEURL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CUSTOM_PROCESSOR_SOURCE_INFO_FIELD_NUMBER
public static final int CUSTOM_PROCESSOR_SOURCE_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MODEL_TYPE_FIELD_NUMBER
public static final int MODEL_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROCESSOR_IO_SPEC_FIELD_NUMBER
public static final int PROCESSOR_IO_SPEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROCESSOR_TYPE_FIELD_NUMBER
public static final int PROCESSOR_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUPPORTED_ANNOTATION_TYPES_FIELD_NUMBER
public static final int SUPPORTED_ANNOTATION_TYPES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUPPORTED_INSTANCE_TYPES_FIELD_NUMBER
public static final int SUPPORTED_INSTANCE_TYPES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUPPORTS_POST_PROCESSING_FIELD_NUMBER
public static final int SUPPORTS_POST_PROCESSING_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Processor getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Processor.Builder newBuilder()
newBuilder(Processor prototype)
public static Processor.Builder newBuilder(Processor prototype)
Parameter |
Name |
Description |
prototype |
Processor
|
public static Processor parseDelimitedFrom(InputStream input)
public static Processor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Processor parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Processor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Processor parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Processor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Processor parseFrom(CodedInputStream input)
public static Processor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Processor parseFrom(InputStream input)
public static Processor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Processor parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Processor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Processor> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getConfigurationTypeurl()
public String 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];
Returns |
Type |
Description |
String |
The configurationTypeurl.
|
getConfigurationTypeurlBytes()
public 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];
Returns |
Type |
Description |
ByteString |
The bytes for configurationTypeurl.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCustomProcessorSourceInfo()
public CustomProcessorSourceInfo getCustomProcessorSourceInfo()
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
getCustomProcessorSourceInfoOrBuilder()
public CustomProcessorSourceInfoOrBuilder getCustomProcessorSourceInfoOrBuilder()
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
getDefaultInstanceForType()
public Processor getDefaultInstanceForType()
getDescription()
public String getDescription()
Illustrative sentences for describing the functionality of the processor.
string description = 10;
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Illustrative sentences for describing the functionality of the processor.
string description = 10;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getDisplayName()
public String getDisplayName()
Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 4;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 4;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 4;
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 4;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getModelType()
public ModelType getModelType()
Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;
Returns |
Type |
Description |
ModelType |
The modelType.
|
getModelTypeValue()
public int getModelTypeValue()
Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for modelType.
|
getName()
name of resource.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
name of resource.
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<Processor> getParserForType()
Overrides
getProcessorIoSpec()
public ProcessorIOSpec 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];
getProcessorIoSpecOrBuilder()
public ProcessorIOSpecOrBuilder 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];
getProcessorType()
public Processor.ProcessorType getProcessorType()
Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getProcessorTypeValue()
public int getProcessorTypeValue()
Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for processorType.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public Processor.ProcessorState getState()
Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSupportedAnnotationTypes(int index)
public StreamAnnotationType getSupportedAnnotationTypes(int index)
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
getSupportedAnnotationTypesCount()
public int getSupportedAnnotationTypesCount()
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The count of supportedAnnotationTypes.
|
getSupportedAnnotationTypesList()
public List<StreamAnnotationType> getSupportedAnnotationTypesList()
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSupportedAnnotationTypesValue(int index)
public int getSupportedAnnotationTypesValue(int index)
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
int |
The enum numeric value on the wire of supportedAnnotationTypes at the given index.
|
getSupportedAnnotationTypesValueList()
public List<Integer> getSupportedAnnotationTypesValueList()
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedAnnotationTypes.
|
getSupportedInstanceTypes(int index)
public Instance.InstanceType getSupportedInstanceTypes(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;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
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;
Returns |
Type |
Description |
int |
The count of supportedInstanceTypes.
|
getSupportedInstanceTypesList()
public List<Instance.InstanceType> 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;
Returns |
Type |
Description |
List<InstanceType> |
A list containing the supportedInstanceTypes.
|
getSupportedInstanceTypesValue(int index)
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;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
int |
The enum numeric value on the wire of supportedInstanceTypes at the given index.
|
getSupportedInstanceTypesValueList()
public List<Integer> 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;
Returns |
Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedInstanceTypes.
|
getSupportsPostProcessing()
public boolean getSupportsPostProcessing()
Indicates if the processor supports post processing.
bool supports_post_processing = 17;
Returns |
Type |
Description |
boolean |
The supportsPostProcessing.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasCustomProcessorSourceInfo()
public boolean hasCustomProcessorSourceInfo()
Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
Returns |
Type |
Description |
boolean |
Whether the customProcessorSourceInfo field is set.
|
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];
Returns |
Type |
Description |
boolean |
Whether the processorIoSpec field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Processor.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Processor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Processor.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides