Class OperatorDefinition.ArgumentDefinition.Builder (0.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass OperatorDefinition.ArgumentDefinition.BuilderextendsGeneratedMessageV3.Builder<OperatorDefinition.ArgumentDefinition.Builder>implementsOperatorDefinition.ArgumentDefinitionOrBuilderDefines an argument to an operator.
Used for both inputs and outputs.
Protobuf type google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OperatorDefinition.ArgumentDefinition.BuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicOperatorDefinition.ArgumentDefinition.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
build()
publicOperatorDefinition.ArgumentDefinitionbuild()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition |
|
buildPartial()
publicOperatorDefinition.ArgumentDefinitionbuildPartial()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition |
|
clear()
publicOperatorDefinition.ArgumentDefinition.Builderclear()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
clearArgument()
publicOperatorDefinition.ArgumentDefinition.BuilderclearArgument()The name of the argument.
Tentatively a-z?, e.g., video, audio, high_fps_frame.
string argument = 1;
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicOperatorDefinition.ArgumentDefinition.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicOperatorDefinition.ArgumentDefinition.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
clearType()
publicOperatorDefinition.ArgumentDefinition.BuilderclearType()The data type of the argument.
This should match the textual representation of a stream/Packet type.
string type = 2;
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
clone()
publicOperatorDefinition.ArgumentDefinition.Builderclone()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
getArgument()
publicStringgetArgument()The name of the argument.
Tentatively a-z?, e.g., video, audio, high_fps_frame.
string argument = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The argument. |
getArgumentBytes()
publicByteStringgetArgumentBytes()The name of the argument.
Tentatively a-z?, e.g., video, audio, high_fps_frame.
string argument = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for argument. |
getDefaultInstanceForType()
publicOperatorDefinition.ArgumentDefinitiongetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getType()
publicStringgetType()The data type of the argument.
This should match the textual representation of a stream/Packet type.
string type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
publicByteStringgetTypeBytes()The data type of the argument.
This should match the textual representation of a stream/Packet type.
string type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OperatorDefinition.ArgumentDefinition other)
publicOperatorDefinition.ArgumentDefinition.BuildermergeFrom(OperatorDefinition.ArgumentDefinitionother)| Parameter | |
|---|---|
| Name | Description |
other |
OperatorDefinition.ArgumentDefinition |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicOperatorDefinition.ArgumentDefinition.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicOperatorDefinition.ArgumentDefinition.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalOperatorDefinition.ArgumentDefinition.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
setArgument(String value)
publicOperatorDefinition.ArgumentDefinition.BuildersetArgument(Stringvalue)The name of the argument.
Tentatively a-z?, e.g., video, audio, high_fps_frame.
string argument = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
String The argument to set. |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
setArgumentBytes(ByteString value)
publicOperatorDefinition.ArgumentDefinition.BuildersetArgumentBytes(ByteStringvalue)The name of the argument.
Tentatively a-z?, e.g., video, audio, high_fps_frame.
string argument = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for argument to set. |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicOperatorDefinition.ArgumentDefinition.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicOperatorDefinition.ArgumentDefinition.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
setType(String value)
publicOperatorDefinition.ArgumentDefinition.BuildersetType(Stringvalue)The data type of the argument.
This should match the textual representation of a stream/Packet type.
string type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The type to set. |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
publicOperatorDefinition.ArgumentDefinition.BuildersetTypeBytes(ByteStringvalue)The data type of the argument.
This should match the textual representation of a stream/Packet type.
string type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalOperatorDefinition.ArgumentDefinition.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|