Class ProcessorVersionAlias.Builder (2.48.0)

public static final class ProcessorVersionAlias.Builder extends GeneratedMessageV3.Builder<ProcessorVersionAlias.Builder> implements ProcessorVersionAliasOrBuilder

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

Protobuf type google.cloud.documentai.v1beta3.ProcessorVersionAlias

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProcessorVersionAlias.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides

build()

public ProcessorVersionAlias build()
Returns
Type Description
ProcessorVersionAlias

buildPartial()

public ProcessorVersionAlias buildPartial()
Returns
Type Description
ProcessorVersionAlias

clear()

public ProcessorVersionAlias.Builder clear()
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides

clearAlias()

public ProcessorVersionAlias.Builder clearAlias()

The alias in the form of processor_version resource name.

string alias = 1;

Returns
Type Description
ProcessorVersionAlias.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProcessorVersionAlias.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessorVersionAlias.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides

clearProcessorVersion()

public ProcessorVersionAlias.Builder clearProcessorVersion()

The resource name of aliased processor version.

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

Returns
Type Description
ProcessorVersionAlias.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProcessorVersionAlias other)

public ProcessorVersionAlias.Builder mergeFrom(ProcessorVersionAlias other)
Parameter
Name Description
other ProcessorVersionAlias
Returns
Type Description
ProcessorVersionAlias.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProcessorVersionAlias.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProcessorVersionAlias.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorVersionAlias.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides

setAlias(String value)

public ProcessorVersionAlias.Builder setAlias(String value)

The alias in the form of processor_version resource name.

string alias = 1;

Parameter
Name Description
value String

The alias to set.

Returns
Type Description
ProcessorVersionAlias.Builder

This builder for chaining.

setAliasBytes(ByteString value)

public ProcessorVersionAlias.Builder setAliasBytes(ByteString value)

The alias in the form of processor_version resource name.

string alias = 1;

Parameter
Name Description
value ByteString

The bytes for alias to set.

Returns
Type Description
ProcessorVersionAlias.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ProcessorVersionAlias.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides

setProcessorVersion(String value)

public ProcessorVersionAlias.Builder setProcessorVersion(String value)

The resource name of aliased processor version.

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

Parameter
Name Description
value String

The processorVersion to set.

Returns
Type Description
ProcessorVersionAlias.Builder

This builder for chaining.

setProcessorVersionBytes(ByteString value)

public ProcessorVersionAlias.Builder setProcessorVersionBytes(ByteString value)

The resource name of aliased processor version.

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

Parameter
Name Description
value ByteString

The bytes for processorVersion to set.

Returns
Type Description
ProcessorVersionAlias.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProcessorVersionAlias.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorVersionAlias.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessorVersionAlias.Builder
Overrides