public static final class OperatorDefinition.ArgumentDefinition.Builder extends GeneratedMessage.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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OperatorDefinition.ArgumentDefinition.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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. |
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. |
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 GeneratedMessage.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 |
|
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. |
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. |