Class Processor (0.14.1)

public final class Processor extends GeneratedMessageV3 implements ProcessorOrBuilder

Message describing Processor object. Next ID: 19

Protobuf type google.events.cloud.visionai.v1.Processor

Implements

ProcessorOrBuilder

Static Fields

CONFIGURATION_TYPEURL_FIELD_NUMBER

public static final int CONFIGURATION_TYPEURL_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_PROCESSOR_SOURCE_INFO_FIELD_NUMBER

public static final int CUSTOM_PROCESSOR_SOURCE_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

MODEL_TYPE_FIELD_NUMBER

public static final int MODEL_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_IO_SPEC_FIELD_NUMBER

public static final int PROCESSOR_IO_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_TYPE_FIELD_NUMBER

public static final int PROCESSOR_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTED_ANNOTATION_TYPES_FIELD_NUMBER

public static final int SUPPORTED_ANNOTATION_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTS_POST_PROCESSING_FIELD_NUMBER

public static final int SUPPORTS_POST_PROCESSING_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Processor getDefaultInstance()
Returns
TypeDescription
Processor

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Processor.Builder newBuilder()
Returns
TypeDescription
Processor.Builder

newBuilder(Processor prototype)

public static Processor.Builder newBuilder(Processor prototype)
Parameter
NameDescription
prototypeProcessor
Returns
TypeDescription
Processor.Builder

parseDelimitedFrom(InputStream input)

public static Processor parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Processor
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Processor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Processor
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Processor parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Processor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Processor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Processor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Processor parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Processor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Processor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Processor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Processor parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Processor
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Processor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Processor
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Processor parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Processor
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Processor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Processor
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Processor parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Processor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Processor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Processor
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Processor> parser()
Returns
TypeDescription
Parser<Processor>

Methods

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for configurationTypeurl.

getCreateTime()

public Timestamp getCreateTime()

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getCustomProcessorSourceInfo()

public CustomProcessorSourceInfo getCustomProcessorSourceInfo()

Source info for customer created processor.

.google.events.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;

Returns
TypeDescription
CustomProcessorSourceInfo

The customProcessorSourceInfo.

getCustomProcessorSourceInfoOrBuilder()

public CustomProcessorSourceInfoOrBuilder getCustomProcessorSourceInfoOrBuilder()

Source info for customer created processor.

.google.events.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;

Returns
TypeDescription
CustomProcessorSourceInfoOrBuilder

getDefaultInstanceForType()

public Processor getDefaultInstanceForType()
Returns
TypeDescription
Processor

getDescription()

public String getDescription()

Illustrative sentences for describing the functionality of the processor.

string description = 10;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Illustrative sentences for describing the functionality of the processor.

string description = 10;

Returns
TypeDescription
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Required. A user friendly display name for the processor.

string display_name = 5;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. A user friendly display name for the processor.

string display_name = 5;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getModelType()

public ModelType getModelType()

Model Type.

.google.events.cloud.visionai.v1.ModelType model_type = 13;

Returns
TypeDescription
ModelType

The modelType.

getModelTypeValue()

public int getModelTypeValue()

Model Type.

.google.events.cloud.visionai.v1.ModelType model_type = 13;

Returns
TypeDescription
int

The enum numeric value on the wire for modelType.

getName()

public String getName()

name of resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

name of resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Processor> getParserForType()
Returns
TypeDescription
Parser<Processor>
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.events.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11;

Returns
TypeDescription
ProcessorIOSpec

The processorIoSpec.

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.events.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11;

Returns
TypeDescription
ProcessorIOSpecOrBuilder

getProcessorType()

public Processor.ProcessorType getProcessorType()

Output only. Processor Type.

.google.events.cloud.visionai.v1.Processor.ProcessorType processor_type = 6;

Returns
TypeDescription
Processor.ProcessorType

The processorType.

getProcessorTypeValue()

public int getProcessorTypeValue()

Output only. Processor Type.

.google.events.cloud.visionai.v1.Processor.ProcessorType processor_type = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for processorType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public Processor.ProcessorState getState()

Output only. State of the Processor.

.google.events.cloud.visionai.v1.Processor.ProcessorState state = 8;

Returns
TypeDescription
Processor.ProcessorState

The state.

getStateValue()

public int getStateValue()

Output only. State of the Processor.

.google.events.cloud.visionai.v1.Processor.ProcessorState state = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getSupportedAnnotationTypes(int index)

public StreamAnnotationType getSupportedAnnotationTypes(int index)

repeated .google.events.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
StreamAnnotationType

The supportedAnnotationTypes at the given index.

getSupportedAnnotationTypesCount()

public int getSupportedAnnotationTypesCount()

repeated .google.events.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15;

Returns
TypeDescription
int

The count of supportedAnnotationTypes.

getSupportedAnnotationTypesList()

public List<StreamAnnotationType> getSupportedAnnotationTypesList()

repeated .google.events.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15;

Returns
TypeDescription
List<StreamAnnotationType>

A list containing the supportedAnnotationTypes.

getSupportedAnnotationTypesValue(int index)

public int getSupportedAnnotationTypesValue(int index)

repeated .google.events.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of supportedAnnotationTypes at the given index.

getSupportedAnnotationTypesValueList()

public List<Integer> getSupportedAnnotationTypesValueList()

repeated .google.events.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for supportedAnnotationTypes.

getSupportsPostProcessing()

public boolean getSupportsPostProcessing()

Indicates if the processor supports post processing.

bool supports_post_processing = 17;

Returns
TypeDescription
boolean

The supportsPostProcessing.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasCustomProcessorSourceInfo()

public boolean hasCustomProcessorSourceInfo()

Source info for customer created processor.

.google.events.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;

Returns
TypeDescription
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.events.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11;

Returns
TypeDescription
boolean

Whether the processorIoSpec field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Processor.Builder newBuilderForType()
Returns
TypeDescription
Processor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Processor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Processor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Processor.Builder toBuilder()
Returns
TypeDescription
Processor.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException