Class ProcessorVersionAlias (2.50.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.v1.ProcessorVersionAlias

Static Fields

ALIAS_FIELD_NUMBER

public static final int ALIAS_FIELD_NUMBER
Field Value
Type Description
int

PROCESSOR_VERSION_FIELD_NUMBER

public static final int PROCESSOR_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProcessorVersionAlias getDefaultInstance()
Returns
Type Description
ProcessorVersionAlias

getDescriptor()

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

newBuilder()

public static ProcessorVersionAlias.Builder newBuilder()
Returns
Type Description
ProcessorVersionAlias.Builder

newBuilder(ProcessorVersionAlias prototype)

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

parseDelimitedFrom(InputStream input)

public static ProcessorVersionAlias parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProcessorVersionAlias
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ProcessorVersionAlias parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProcessorVersionAlias
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ProcessorVersionAlias parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProcessorVersionAlias
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ProcessorVersionAlias parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProcessorVersionAlias
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ProcessorVersionAlias parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProcessorVersionAlias
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ProcessorVersionAlias> parser()
Returns
Type Description
Parser<ProcessorVersionAlias>

Methods

equals(Object obj)

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

getAlias()

public String getAlias()

The alias in the form of processor_version resource name.

string alias = 1;

Returns
Type Description
String

The alias.

getAliasBytes()

public ByteString getAliasBytes()

The alias in the form of processor_version resource name.

string alias = 1;

Returns
Type Description
ByteString

The bytes for alias.

getDefaultInstanceForType()

public ProcessorVersionAlias getDefaultInstanceForType()
Returns
Type Description
ProcessorVersionAlias

getParserForType()

public Parser<ProcessorVersionAlias> getParserForType()
Returns
Type Description
Parser<ProcessorVersionAlias>
Overrides

getProcessorVersion()

public String getProcessorVersion()

The resource name of aliased processor version.

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

Returns
Type Description
String

The processorVersion.

getProcessorVersionBytes()

public ByteString getProcessorVersionBytes()

The resource name of aliased processor version.

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

Returns
Type Description
ByteString

The bytes for processorVersion.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ProcessorVersionAlias.Builder toBuilder()
Returns
Type Description
ProcessorVersionAlias.Builder

writeTo(CodedOutputStream output)

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