Class ProcessorIOSpec.GraphOutputChannelSpec.Builder (0.14.1)

public static final class ProcessorIOSpec.GraphOutputChannelSpec.Builder extends GeneratedMessageV3.Builder<ProcessorIOSpec.GraphOutputChannelSpec.Builder> implements ProcessorIOSpec.GraphOutputChannelSpecOrBuilder

Message for output channel specification.

Protobuf type google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProcessorIOSpec.GraphOutputChannelSpec build()
Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec

buildPartial()

public ProcessorIOSpec.GraphOutputChannelSpec buildPartial()
Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec

clear()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clear()
Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

clearDataType()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clearDataType()

The data type of the current output channel.

.google.events.cloud.visionai.v1.DataType data_type = 2;

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

clearDataTypeUri()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clearDataTypeUri()

string data_type_uri = 3;

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clearName()

The name of the current output channel.

string name = 1;

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clone()
Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

getDataType()

public DataType getDataType()

The data type of the current output channel.

.google.events.cloud.visionai.v1.DataType data_type = 2;

Returns
TypeDescription
DataType

The dataType.

getDataTypeUri()

public String getDataTypeUri()

string data_type_uri = 3;

Returns
TypeDescription
String

The dataTypeUri.

getDataTypeUriBytes()

public ByteString getDataTypeUriBytes()

string data_type_uri = 3;

Returns
TypeDescription
ByteString

The bytes for dataTypeUri.

getDataTypeValue()

public int getDataTypeValue()

The data type of the current output channel.

.google.events.cloud.visionai.v1.DataType data_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for dataType.

getDefaultInstanceForType()

public ProcessorIOSpec.GraphOutputChannelSpec getDefaultInstanceForType()
Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the current output channel.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the current output channel.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProcessorIOSpec.GraphOutputChannelSpec other)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder mergeFrom(ProcessorIOSpec.GraphOutputChannelSpec other)
Parameter
NameDescription
otherProcessorIOSpec.GraphOutputChannelSpec
Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataType(DataType value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setDataType(DataType value)

The data type of the current output channel.

.google.events.cloud.visionai.v1.DataType data_type = 2;

Parameter
NameDescription
valueDataType

The dataType to set.

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

setDataTypeUri(String value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setDataTypeUri(String value)

string data_type_uri = 3;

Parameter
NameDescription
valueString

The dataTypeUri to set.

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

setDataTypeUriBytes(ByteString value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setDataTypeUriBytes(ByteString value)

string data_type_uri = 3;

Parameter
NameDescription
valueByteString

The bytes for dataTypeUri to set.

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

setDataTypeValue(int value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setDataTypeValue(int value)

The data type of the current output channel.

.google.events.cloud.visionai.v1.DataType data_type = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setName(String value)

The name of the current output channel.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setNameBytes(ByteString value)

The name of the current output channel.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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