Class AnalyzerDefinition.OperatorOption (0.8.0)

public static final class AnalyzerDefinition.OperatorOption extends GeneratedMessageV3 implements AnalyzerDefinition.OperatorOptionOrBuilder

Option related to the operator.

Protobuf type google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzerDefinition.OperatorOption

Static Fields

REGISTRY_FIELD_NUMBER

public static final int REGISTRY_FIELD_NUMBER
Field Value
Type Description
int

TAG_FIELD_NUMBER

public static final int TAG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalyzerDefinition.OperatorOption getDefaultInstance()
Returns
Type Description
AnalyzerDefinition.OperatorOption

getDescriptor()

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

newBuilder()

public static AnalyzerDefinition.OperatorOption.Builder newBuilder()
Returns
Type Description
AnalyzerDefinition.OperatorOption.Builder

newBuilder(AnalyzerDefinition.OperatorOption prototype)

public static AnalyzerDefinition.OperatorOption.Builder newBuilder(AnalyzerDefinition.OperatorOption prototype)
Parameter
Name Description
prototype AnalyzerDefinition.OperatorOption
Returns
Type Description
AnalyzerDefinition.OperatorOption.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzerDefinition.OperatorOption parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzerDefinition.OperatorOption
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AnalyzerDefinition.OperatorOption parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalyzerDefinition.OperatorOption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AnalyzerDefinition.OperatorOption parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalyzerDefinition.OperatorOption
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AnalyzerDefinition.OperatorOption parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzerDefinition.OperatorOption
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AnalyzerDefinition.OperatorOption parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalyzerDefinition.OperatorOption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AnalyzerDefinition.OperatorOption> parser()
Returns
Type Description
Parser<OperatorOption>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AnalyzerDefinition.OperatorOption getDefaultInstanceForType()
Returns
Type Description
AnalyzerDefinition.OperatorOption

getParserForType()

public Parser<AnalyzerDefinition.OperatorOption> getParserForType()
Returns
Type Description
Parser<OperatorOption>
Overrides

getRegistry()

public String getRegistry()

Registry of the operator. e.g. public, dev.

string registry = 2;

Returns
Type Description
String

The registry.

getRegistryBytes()

public ByteString getRegistryBytes()

Registry of the operator. e.g. public, dev.

string registry = 2;

Returns
Type Description
ByteString

The bytes for registry.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTag()

public String getTag()

Tag of the operator.

string tag = 1;

Returns
Type Description
String

The tag.

getTagBytes()

public ByteString getTagBytes()

Tag of the operator.

string tag = 1;

Returns
Type Description
ByteString

The bytes for tag.

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 AnalyzerDefinition.OperatorOption.Builder newBuilderForType()
Returns
Type Description
AnalyzerDefinition.OperatorOption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzerDefinition.OperatorOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalyzerDefinition.OperatorOption.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AnalyzerDefinition.OperatorOption.Builder toBuilder()
Returns
Type Description
AnalyzerDefinition.OperatorOption.Builder

writeTo(CodedOutputStream output)

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