Class ProcessorIOSpec.GraphInputChannelSpec.Builder (0.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass ProcessorIOSpec.GraphInputChannelSpec.BuilderextendsGeneratedMessageV3.Builder<ProcessorIOSpec.GraphInputChannelSpec.Builder>implementsProcessorIOSpec.GraphInputChannelSpecOrBuilderMessage for input channel specification.
Protobuf type google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProcessorIOSpec.GraphInputChannelSpec.BuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAcceptedDataTypeUris(String value)
publicProcessorIOSpec.GraphInputChannelSpec.BuilderaddAcceptedDataTypeUris(Stringvalue)If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
String The acceptedDataTypeUris to add. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
addAcceptedDataTypeUrisBytes(ByteString value)
publicProcessorIOSpec.GraphInputChannelSpec.BuilderaddAcceptedDataTypeUrisBytes(ByteStringvalue)If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the acceptedDataTypeUris to add. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
addAllAcceptedDataTypeUris(Iterable<String> values)
publicProcessorIOSpec.GraphInputChannelSpec.BuilderaddAllAcceptedDataTypeUris(Iterable<String>values)If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The acceptedDataTypeUris to add. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicProcessorIOSpec.GraphInputChannelSpec.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
build()
publicProcessorIOSpec.GraphInputChannelSpecbuild()| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec |
|
buildPartial()
publicProcessorIOSpec.GraphInputChannelSpecbuildPartial()| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec |
|
clear()
publicProcessorIOSpec.GraphInputChannelSpec.Builderclear()| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
clearAcceptedDataTypeUris()
publicProcessorIOSpec.GraphInputChannelSpec.BuilderclearAcceptedDataTypeUris()If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
clearDataType()
publicProcessorIOSpec.GraphInputChannelSpec.BuilderclearDataType()The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types.
.google.cloud.visionai.v1.DataType data_type = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicProcessorIOSpec.GraphInputChannelSpec.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
clearMaxConnectionAllowed()
publicProcessorIOSpec.GraphInputChannelSpec.BuilderclearMaxConnectionAllowed()How many input edges can be connected to this input channel. 0 means unlimited.
int64 max_connection_allowed = 4;
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
clearName()
publicProcessorIOSpec.GraphInputChannelSpec.BuilderclearName()The name of the current input channel.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicProcessorIOSpec.GraphInputChannelSpec.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
clearRequired()
publicProcessorIOSpec.GraphInputChannelSpec.BuilderclearRequired()Whether the current input channel is required by the processor. For example, for a processor with required video input and optional audio input, if video input is missing, the application will be rejected while the audio input can be missing as long as the video input exists.
bool required = 3;
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
clone()
publicProcessorIOSpec.GraphInputChannelSpec.Builderclone()| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
getAcceptedDataTypeUris(int index)
publicStringgetAcceptedDataTypeUris(intindex)If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The acceptedDataTypeUris at the given index. |
getAcceptedDataTypeUrisBytes(int index)
publicByteStringgetAcceptedDataTypeUrisBytes(intindex)If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the acceptedDataTypeUris at the given index. |
getAcceptedDataTypeUrisCount()
publicintgetAcceptedDataTypeUrisCount()If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The count of acceptedDataTypeUris. |
getAcceptedDataTypeUrisList()
publicProtocolStringListgetAcceptedDataTypeUrisList()If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the acceptedDataTypeUris. |
getDataType()
publicDataTypegetDataType()The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types.
.google.cloud.visionai.v1.DataType data_type = 2;
| Returns | |
|---|---|
| Type | Description |
DataType |
The dataType. |
getDataTypeValue()
publicintgetDataTypeValue()The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types.
.google.cloud.visionai.v1.DataType data_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dataType. |
getDefaultInstanceForType()
publicProcessorIOSpec.GraphInputChannelSpecgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMaxConnectionAllowed()
publiclonggetMaxConnectionAllowed()How many input edges can be connected to this input channel. 0 means unlimited.
int64 max_connection_allowed = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The maxConnectionAllowed. |
getName()
publicStringgetName()The name of the current input channel.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicByteStringgetNameBytes()The name of the current input channel.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRequired()
publicbooleangetRequired()Whether the current input channel is required by the processor. For example, for a processor with required video input and optional audio input, if video input is missing, the application will be rejected while the audio input can be missing as long as the video input exists.
bool required = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The required. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProcessorIOSpec.GraphInputChannelSpec other)
publicProcessorIOSpec.GraphInputChannelSpec.BuildermergeFrom(ProcessorIOSpec.GraphInputChannelSpecother)| Parameter | |
|---|---|
| Name | Description |
other |
ProcessorIOSpec.GraphInputChannelSpec |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicProcessorIOSpec.GraphInputChannelSpec.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicProcessorIOSpec.GraphInputChannelSpec.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalProcessorIOSpec.GraphInputChannelSpec.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
setAcceptedDataTypeUris(int index, String value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetAcceptedDataTypeUris(intindex,Stringvalue)If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The acceptedDataTypeUris to set. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
setDataType(DataType value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetDataType(DataTypevalue)The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types.
.google.cloud.visionai.v1.DataType data_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DataType The dataType to set. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
setDataTypeValue(int value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetDataTypeValue(intvalue)The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types.
.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.GraphInputChannelSpec.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
setMaxConnectionAllowed(long value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetMaxConnectionAllowed(longvalue)How many input edges can be connected to this input channel. 0 means unlimited.
int64 max_connection_allowed = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
long The maxConnectionAllowed to set. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
setName(String value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetName(Stringvalue)The name of the current input channel.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
String The name to set. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetNameBytes(ByteStringvalue)The name of the current input channel.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|
setRequired(boolean value)
publicProcessorIOSpec.GraphInputChannelSpec.BuildersetRequired(booleanvalue)Whether the current input channel is required by the processor. For example, for a processor with required video input and optional audio input, if video input is missing, the application will be rejected while the audio input can be missing as long as the video input exists.
bool required = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
boolean The required to set. |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalProcessorIOSpec.GraphInputChannelSpec.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ProcessorIOSpec.GraphInputChannelSpec.Builder |
|