Class OperatorDefinition.ArgumentDefinition.Builder (0.33.0)

publicstaticfinalclass OperatorDefinition.ArgumentDefinition.BuilderextendsGeneratedMessageV3.Builder<OperatorDefinition.ArgumentDefinition.Builder>implementsOperatorDefinition.ArgumentDefinitionOrBuilder

Defines an argument to an operator.

Used for both inputs and outputs.

Protobuf type google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

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
Overrides

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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicOperatorDefinition.ArgumentDefinition.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OperatorDefinition.ArgumentDefinition.Builder
Overrides

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
Overrides

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
Overrides

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
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicOperatorDefinition.ArgumentDefinition.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
OperatorDefinition.ArgumentDefinition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalOperatorDefinition.ArgumentDefinition.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperatorDefinition.ArgumentDefinition.Builder
Overrides

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
Overrides

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
Overrides

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
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.