Class ProcessorIOSpec.GraphOutputChannelSpec.Builder (0.12.0)

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

Message for output channel specification.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

build()

public ProcessorIOSpec.GraphOutputChannelSpec build()
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec

buildPartial()

public ProcessorIOSpec.GraphOutputChannelSpec buildPartial()
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec

clear()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clear()
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

clearDataType()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clearDataType()

The data type of the current output channel.

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

Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

clearDataTypeUri()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clearDataTypeUri()

string data_type_uri = 3;

Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

clearName()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clearName()

The name of the current output channel.

string name = 1;

Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

clone()

public ProcessorIOSpec.GraphOutputChannelSpec.Builder clone()
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

getDataType()

public DataType getDataType()

The data type of the current output channel.

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

Returns
Type Description
DataType

The dataType.

getDataTypeUri()

public String getDataTypeUri()

string data_type_uri = 3;

Returns
Type Description
String

The dataTypeUri.

getDataTypeUriBytes()

public ByteString getDataTypeUriBytes()

string data_type_uri = 3;

Returns
Type Description
ByteString

The bytes for dataTypeUri.

getDataTypeValue()

public int getDataTypeValue()

The data type of the current output channel.

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

Returns
Type Description
int

The enum numeric value on the wire for dataType.

getDefaultInstanceForType()

public ProcessorIOSpec.GraphOutputChannelSpec getDefaultInstanceForType()
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

The name of the current output channel.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the current output channel.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProcessorIOSpec.GraphOutputChannelSpec other)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder mergeFrom(ProcessorIOSpec.GraphOutputChannelSpec other)
Parameter
Name Description
other ProcessorIOSpec.GraphOutputChannelSpec
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorIOSpec.GraphOutputChannelSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

setDataType(DataType value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setDataType(DataType value)

The data type of the current output channel.

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

Parameter
Name Description
value DataType

The dataType to set.

Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

setDataTypeUri(String value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setDataTypeUri(String value)

string data_type_uri = 3;

Parameter
Name Description
value String

The dataTypeUri to set.

Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

setDataTypeUriBytes(ByteString value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setDataTypeUriBytes(ByteString value)

string data_type_uri = 3;

Parameter
Name Description
value ByteString

The bytes for dataTypeUri to set.

Returns
Type Description
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.cloud.visionai.v1.DataType data_type = 2;

Parameter
Name Description
value int

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

Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ProcessorIOSpec.GraphOutputChannelSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorIOSpec.GraphOutputChannelSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec.Builder
Overrides