Class ProcessorVersionAlias (2.44.0)

public final class ProcessorVersionAlias extends GeneratedMessageV3 implements ProcessorVersionAliasOrBuilder

Contains the alias and the aliased resource name of processor version.

Protobuf type google.cloud.documentai.v1beta3.ProcessorVersionAlias

Static Fields

ALIAS_FIELD_NUMBER

public static final int ALIAS_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_VERSION_FIELD_NUMBER

public static final int PROCESSOR_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProcessorVersionAlias getDefaultInstance()
Returns
TypeDescription
ProcessorVersionAlias

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProcessorVersionAlias.Builder newBuilder()
Returns
TypeDescription
ProcessorVersionAlias.Builder

newBuilder(ProcessorVersionAlias prototype)

public static ProcessorVersionAlias.Builder newBuilder(ProcessorVersionAlias prototype)
Parameter
NameDescription
prototypeProcessorVersionAlias
Returns
TypeDescription
ProcessorVersionAlias.Builder

parseDelimitedFrom(InputStream input)

public static ProcessorVersionAlias parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersionAlias parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProcessorVersionAlias parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersionAlias parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProcessorVersionAlias parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersionAlias parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProcessorVersionAlias parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersionAlias parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProcessorVersionAlias parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersionAlias parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProcessorVersionAlias parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersionAlias parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorVersionAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProcessorVersionAlias> parser()
Returns
TypeDescription
Parser<ProcessorVersionAlias>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAlias()

public String getAlias()

The alias in the form of processor_version resource name.

string alias = 1;

Returns
TypeDescription
String

The alias.

getAliasBytes()

public ByteString getAliasBytes()

The alias in the form of processor_version resource name.

string alias = 1;

Returns
TypeDescription
ByteString

The bytes for alias.

getDefaultInstanceForType()

public ProcessorVersionAlias getDefaultInstanceForType()
Returns
TypeDescription
ProcessorVersionAlias

getParserForType()

public Parser<ProcessorVersionAlias> getParserForType()
Returns
TypeDescription
Parser<ProcessorVersionAlias>
Overrides

getProcessorVersion()

public String getProcessorVersion()

The resource name of aliased processor version.

string processor_version = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The processorVersion.

getProcessorVersionBytes()

public ByteString getProcessorVersionBytes()

The resource name of aliased processor version.

string processor_version = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for processorVersion.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProcessorVersionAlias.Builder newBuilderForType()
Returns
TypeDescription
ProcessorVersionAlias.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProcessorVersionAlias.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProcessorVersionAlias.Builder toBuilder()
Returns
TypeDescription
ProcessorVersionAlias.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException