Class ProcessorType.LocationInfo.Builder (2.46.0)

public static final class ProcessorType.LocationInfo.Builder extends GeneratedMessageV3.Builder<ProcessorType.LocationInfo.Builder> implements ProcessorType.LocationInfoOrBuilder

The location information about where the processor is available.

Protobuf type google.cloud.documentai.v1beta3.ProcessorType.LocationInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProcessorType.LocationInfo build()
Returns
Type Description
ProcessorType.LocationInfo

buildPartial()

public ProcessorType.LocationInfo buildPartial()
Returns
Type Description
ProcessorType.LocationInfo

clear()

public ProcessorType.LocationInfo.Builder clear()
Returns
Type Description
ProcessorType.LocationInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLocationId()

public ProcessorType.LocationInfo.Builder clearLocationId()

The location ID. For supported locations, refer to regional and multi-regional support.

string location_id = 1;

Returns
Type Description
ProcessorType.LocationInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ProcessorType.LocationInfo.Builder clone()
Returns
Type Description
ProcessorType.LocationInfo.Builder
Overrides

getDefaultInstanceForType()

public ProcessorType.LocationInfo getDefaultInstanceForType()
Returns
Type Description
ProcessorType.LocationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocationId()

public String getLocationId()

The location ID. For supported locations, refer to regional and multi-regional support.

string location_id = 1;

Returns
Type Description
String

The locationId.

getLocationIdBytes()

public ByteString getLocationIdBytes()

The location ID. For supported locations, refer to regional and multi-regional support.

string location_id = 1;

Returns
Type Description
ByteString

The bytes for locationId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProcessorType.LocationInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocationId(String value)

public ProcessorType.LocationInfo.Builder setLocationId(String value)

The location ID. For supported locations, refer to regional and multi-regional support.

string location_id = 1;

Parameter
Name Description
value String

The locationId to set.

Returns
Type Description
ProcessorType.LocationInfo.Builder

This builder for chaining.

setLocationIdBytes(ByteString value)

public ProcessorType.LocationInfo.Builder setLocationIdBytes(ByteString value)

The location ID. For supported locations, refer to regional and multi-regional support.

string location_id = 1;

Parameter
Name Description
value ByteString

The bytes for locationId to set.

Returns
Type Description
ProcessorType.LocationInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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