Class ProcessorType.LocationInfo.Builder (2.87.0)

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

The location information about where the processor is available.

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

Static Methods

getDescriptor()

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

Methods

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

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.

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 GeneratedMessage.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

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.