Class Processor.Builder (0.14.1)

public static final class Processor.Builder extends GeneratedMessageV3.Builder<Processor.Builder> implements ProcessorOrBuilder

Message describing Processor object. Next ID: 19

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

Implements

ProcessorOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllSupportedAnnotationTypes(Iterable<? extends StreamAnnotationType> values)

public Processor.Builder addAllSupportedAnnotationTypes(Iterable<? extends StreamAnnotationType> values)

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

Parameter
NameDescription
valuesIterable<? extends com.google.events.cloud.visionai.v1.StreamAnnotationType>

The supportedAnnotationTypes to add.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

addAllSupportedAnnotationTypesValue(Iterable<Integer> values)

public Processor.Builder addAllSupportedAnnotationTypesValue(Iterable<Integer> values)

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

Parameter
NameDescription
valuesIterable<Integer>

The enum numeric values on the wire for supportedAnnotationTypes to add.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Processor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Processor.Builder
Overrides

addSupportedAnnotationTypes(StreamAnnotationType value)

public Processor.Builder addSupportedAnnotationTypes(StreamAnnotationType value)

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

Parameter
NameDescription
valueStreamAnnotationType

The supportedAnnotationTypes to add.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

addSupportedAnnotationTypesValue(int value)

public Processor.Builder addSupportedAnnotationTypesValue(int value)

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for supportedAnnotationTypes to add.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

build()

public Processor build()
Returns
TypeDescription
Processor

buildPartial()

public Processor buildPartial()
Returns
TypeDescription
Processor

clear()

public Processor.Builder clear()
Returns
TypeDescription
Processor.Builder
Overrides

clearConfigurationTypeurl()

public Processor.Builder clearConfigurationTypeurl()

Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.

string configuration_typeurl = 14;

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearCreateTime()

public Processor.Builder clearCreateTime()

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Processor.Builder

clearCustomProcessorSourceInfo()

public Processor.Builder clearCustomProcessorSourceInfo()

Source info for customer created processor.

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

Returns
TypeDescription
Processor.Builder

clearDescription()

public Processor.Builder clearDescription()

Illustrative sentences for describing the functionality of the processor.

string description = 10;

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearDisplayName()

public Processor.Builder clearDisplayName()

Required. A user friendly display name for the processor.

string display_name = 5;

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Processor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Processor.Builder
Overrides

clearLabels()

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

clearModelType()

public Processor.Builder clearModelType()

Model Type.

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

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearName()

public Processor.Builder clearName()

name of resource.

string name = 1;

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Processor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Processor.Builder
Overrides

clearProcessorIoSpec()

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

Returns
TypeDescription
Processor.Builder

clearProcessorType()

public Processor.Builder clearProcessorType()

Output only. Processor Type.

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

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearState()

public Processor.Builder clearState()

Output only. State of the Processor.

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

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearSupportedAnnotationTypes()

public Processor.Builder clearSupportedAnnotationTypes()

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

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearSupportsPostProcessing()

public Processor.Builder clearSupportsPostProcessing()

Indicates if the processor supports post processing.

bool supports_post_processing = 17;

Returns
TypeDescription
Processor.Builder

This builder for chaining.

clearUpdateTime()

public Processor.Builder clearUpdateTime()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Processor.Builder

clone()

public Processor.Builder clone()
Returns
TypeDescription
Processor.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

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.

getCustomProcessorSourceInfoBuilder()

public CustomProcessorSourceInfo.Builder getCustomProcessorSourceInfoBuilder()

Source info for customer created processor.

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

Returns
TypeDescription
CustomProcessorSourceInfo.Builder

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

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.

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.

getProcessorIoSpecBuilder()

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

Returns
TypeDescription
ProcessorIOSpec.Builder

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.

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.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

internalGetMutableMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Processor.Builder mergeCreateTime(Timestamp value)

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Processor.Builder

mergeCustomProcessorSourceInfo(CustomProcessorSourceInfo value)

public Processor.Builder mergeCustomProcessorSourceInfo(CustomProcessorSourceInfo value)

Source info for customer created processor.

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

Parameter
NameDescription
valueCustomProcessorSourceInfo
Returns
TypeDescription
Processor.Builder

mergeFrom(Processor other)

public Processor.Builder mergeFrom(Processor other)
Parameter
NameDescription
otherProcessor
Returns
TypeDescription
Processor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Processor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Processor.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Processor.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Processor.Builder
Overrides

mergeProcessorIoSpec(ProcessorIOSpec value)

public Processor.Builder mergeProcessorIoSpec(ProcessorIOSpec value)

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;

Parameter
NameDescription
valueProcessorIOSpec
Returns
TypeDescription
Processor.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Processor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Processor.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Processor.Builder mergeUpdateTime(Timestamp value)

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Processor.Builder

putAllLabels(Map<String,String> values)

public Processor.Builder putAllLabels(Map<String,String> values)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Processor.Builder

putLabels(String key, String value)

public Processor.Builder putLabels(String key, String value)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Processor.Builder

removeLabels(String key)

public Processor.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Processor.Builder

setConfigurationTypeurl(String value)

public Processor.Builder setConfigurationTypeurl(String value)

Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.

string configuration_typeurl = 14;

Parameter
NameDescription
valueString

The configurationTypeurl to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setConfigurationTypeurlBytes(ByteString value)

public Processor.Builder setConfigurationTypeurlBytes(ByteString value)

Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.

string configuration_typeurl = 14;

Parameter
NameDescription
valueByteString

The bytes for configurationTypeurl to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Processor.Builder setCreateTime(Timestamp value)

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Processor.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Processor.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Processor.Builder

setCustomProcessorSourceInfo(CustomProcessorSourceInfo value)

public Processor.Builder setCustomProcessorSourceInfo(CustomProcessorSourceInfo value)

Source info for customer created processor.

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

Parameter
NameDescription
valueCustomProcessorSourceInfo
Returns
TypeDescription
Processor.Builder

setCustomProcessorSourceInfo(CustomProcessorSourceInfo.Builder builderForValue)

public Processor.Builder setCustomProcessorSourceInfo(CustomProcessorSourceInfo.Builder builderForValue)

Source info for customer created processor.

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

Parameter
NameDescription
builderForValueCustomProcessorSourceInfo.Builder
Returns
TypeDescription
Processor.Builder

setDescription(String value)

public Processor.Builder setDescription(String value)

Illustrative sentences for describing the functionality of the processor.

string description = 10;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Processor.Builder setDescriptionBytes(ByteString value)

Illustrative sentences for describing the functionality of the processor.

string description = 10;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setDisplayName(String value)

public Processor.Builder setDisplayName(String value)

Required. A user friendly display name for the processor.

string display_name = 5;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Processor.Builder setDisplayNameBytes(ByteString value)

Required. A user friendly display name for the processor.

string display_name = 5;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Processor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Processor.Builder
Overrides

setModelType(ModelType value)

public Processor.Builder setModelType(ModelType value)

Model Type.

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

Parameter
NameDescription
valueModelType

The modelType to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setModelTypeValue(int value)

public Processor.Builder setModelTypeValue(int value)

Model Type.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for modelType to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setName(String value)

public Processor.Builder setName(String value)

name of resource.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Processor.Builder setNameBytes(ByteString value)

name of resource.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setProcessorIoSpec(ProcessorIOSpec value)

public Processor.Builder setProcessorIoSpec(ProcessorIOSpec value)

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;

Parameter
NameDescription
valueProcessorIOSpec
Returns
TypeDescription
Processor.Builder

setProcessorIoSpec(ProcessorIOSpec.Builder builderForValue)

public Processor.Builder setProcessorIoSpec(ProcessorIOSpec.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueProcessorIOSpec.Builder
Returns
TypeDescription
Processor.Builder

setProcessorType(Processor.ProcessorType value)

public Processor.Builder setProcessorType(Processor.ProcessorType value)

Output only. Processor Type.

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

Parameter
NameDescription
valueProcessor.ProcessorType

The processorType to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setProcessorTypeValue(int value)

public Processor.Builder setProcessorTypeValue(int value)

Output only. Processor Type.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for processorType to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Processor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Processor.Builder
Overrides

setState(Processor.ProcessorState value)

public Processor.Builder setState(Processor.ProcessorState value)

Output only. State of the Processor.

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

Parameter
NameDescription
valueProcessor.ProcessorState

The state to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setStateValue(int value)

public Processor.Builder setStateValue(int value)

Output only. State of the Processor.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setSupportedAnnotationTypes(int index, StreamAnnotationType value)

public Processor.Builder setSupportedAnnotationTypes(int index, StreamAnnotationType value)

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

Parameters
NameDescription
indexint

The index to set the value at.

valueStreamAnnotationType

The supportedAnnotationTypes to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setSupportedAnnotationTypesValue(int index, int value)

public Processor.Builder setSupportedAnnotationTypesValue(int index, int value)

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

Parameters
NameDescription
indexint

The index to set the value at.

valueint

The enum numeric value on the wire for supportedAnnotationTypes to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setSupportsPostProcessing(boolean value)

public Processor.Builder setSupportsPostProcessing(boolean value)

Indicates if the processor supports post processing.

bool supports_post_processing = 17;

Parameter
NameDescription
valueboolean

The supportsPostProcessing to set.

Returns
TypeDescription
Processor.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Processor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Processor.Builder
Overrides

setUpdateTime(Timestamp value)

public Processor.Builder setUpdateTime(Timestamp value)

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Processor.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Processor.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Processor.Builder