Class OperatorDefinition.ArgumentDefinition (0.12.0)

public static final class OperatorDefinition.ArgumentDefinition extends GeneratedMessageV3 implements OperatorDefinition.ArgumentDefinitionOrBuilder

Defines an argument to an operator.

Used for both inputs and outputs.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OperatorDefinition.ArgumentDefinition

Static Fields

ARGUMENT_FIELD_NUMBER

public static final int ARGUMENT_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OperatorDefinition.ArgumentDefinition getDefaultInstance()
Returns
Type Description
OperatorDefinition.ArgumentDefinition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OperatorDefinition.ArgumentDefinition.Builder newBuilder()
Returns
Type Description
OperatorDefinition.ArgumentDefinition.Builder

newBuilder(OperatorDefinition.ArgumentDefinition prototype)

public static OperatorDefinition.ArgumentDefinition.Builder newBuilder(OperatorDefinition.ArgumentDefinition prototype)
Parameter
Name Description
prototype OperatorDefinition.ArgumentDefinition
Returns
Type Description
OperatorDefinition.ArgumentDefinition.Builder

parseDelimitedFrom(InputStream input)

public static OperatorDefinition.ArgumentDefinition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperatorDefinition.ArgumentDefinition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OperatorDefinition.ArgumentDefinition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperatorDefinition.ArgumentDefinition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperatorDefinition.ArgumentDefinition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperatorDefinition.ArgumentDefinition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperatorDefinition.ArgumentDefinition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperatorDefinition.ArgumentDefinition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OperatorDefinition.ArgumentDefinition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperatorDefinition.ArgumentDefinition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OperatorDefinition.ArgumentDefinition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperatorDefinition.ArgumentDefinition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorDefinition.ArgumentDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OperatorDefinition.ArgumentDefinition> parser()
Returns
Type Description
Parser<ArgumentDefinition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getParserForType()

public Parser<OperatorDefinition.ArgumentDefinition> getParserForType()
Returns
Type Description
Parser<ArgumentDefinition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OperatorDefinition.ArgumentDefinition.Builder newBuilderForType()
Returns
Type Description
OperatorDefinition.ArgumentDefinition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperatorDefinition.ArgumentDefinition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OperatorDefinition.ArgumentDefinition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OperatorDefinition.ArgumentDefinition.Builder toBuilder()
Returns
Type Description
OperatorDefinition.ArgumentDefinition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException