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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProcessorVersionAlias.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides

build()

public ProcessorVersionAlias build()
Returns
TypeDescription
ProcessorVersionAlias

buildPartial()

public ProcessorVersionAlias buildPartial()
Returns
TypeDescription
ProcessorVersionAlias

clear()

public ProcessorVersionAlias.Builder clear()
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides

clearAlias()

public ProcessorVersionAlias.Builder clearAlias()

The alias in the form of processor_version resource name.

string alias = 1;

Returns
TypeDescription
ProcessorVersionAlias.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProcessorVersionAlias.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessorVersionAlias.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides

clearProcessorVersion()

public ProcessorVersionAlias.Builder clearProcessorVersion()

The resource name of aliased processor version.

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

Returns
TypeDescription
ProcessorVersionAlias.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProcessorVersionAlias other)

public ProcessorVersionAlias.Builder mergeFrom(ProcessorVersionAlias other)
Parameter
NameDescription
otherProcessorVersionAlias
Returns
TypeDescription
ProcessorVersionAlias.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProcessorVersionAlias.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProcessorVersionAlias.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorVersionAlias.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The alias to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for alias to set.

Returns
TypeDescription
ProcessorVersionAlias.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ProcessorVersionAlias.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The processorVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for processorVersion to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorVersionAlias.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProcessorVersionAlias.Builder
Overrides