public static final class OperatorDefinition.ArgumentDefinition.Builder extends GeneratedMessageV3.Builder<OperatorDefinition.ArgumentDefinition.Builder> implements OperatorDefinition.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.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperatorDefinition.ArgumentDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
build()
public OperatorDefinition.ArgumentDefinition build()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition |
|
buildPartial()
public OperatorDefinition.ArgumentDefinition buildPartial()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition |
|
clear()
public OperatorDefinition.ArgumentDefinition.Builder clear()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
clearArgument()
public OperatorDefinition.ArgumentDefinition.Builder clearArgument()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)
public OperatorDefinition.ArgumentDefinition.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public OperatorDefinition.ArgumentDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
clearType()
public OperatorDefinition.ArgumentDefinition.Builder clearType()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()
public OperatorDefinition.ArgumentDefinition.Builder clone()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
getArgument()
public String getArgument()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()
public ByteString getArgumentBytes()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()
public OperatorDefinition.ArgumentDefinition getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getType()
public String getType()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()
public ByteString getTypeBytes()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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OperatorDefinition.ArgumentDefinition other)
public OperatorDefinition.ArgumentDefinition.Builder mergeFrom(OperatorDefinition.ArgumentDefinition other)| Parameter | |
|---|---|
| Name | Description |
other |
OperatorDefinition.ArgumentDefinition |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OperatorDefinition.ArgumentDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OperatorDefinition.ArgumentDefinition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperatorDefinition.ArgumentDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
setArgument(String value)
public OperatorDefinition.ArgumentDefinition.Builder setArgument(String value)The name of the argument.
Tentatively a-z?, e.g., video, audio, high_fps_frame.
string argument = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe argument to set. |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
setArgumentBytes(ByteString value)
public OperatorDefinition.ArgumentDefinition.Builder setArgumentBytes(ByteString value)The name of the argument.
Tentatively a-z?, e.g., video, audio, high_fps_frame.
string argument = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for argument to set. |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OperatorDefinition.ArgumentDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperatorDefinition.ArgumentDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|
setType(String value)
public OperatorDefinition.ArgumentDefinition.Builder setType(String value)The data type of the argument.
This should match the textual representation of a stream/Packet type.
string type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public OperatorDefinition.ArgumentDefinition.Builder setTypeBytes(ByteString value)The data type of the argument.
This should match the textual representation of a stream/Packet type.
string type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final OperatorDefinition.ArgumentDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
OperatorDefinition.ArgumentDefinition.Builder |
|