Class ProcessorType.LocationInfo.Builder (2.5.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProcessorType.LocationInfo build()
Returns
TypeDescription
ProcessorType.LocationInfo

buildPartial()

public ProcessorType.LocationInfo buildPartial()
Returns
TypeDescription
ProcessorType.LocationInfo

clear()

public ProcessorType.LocationInfo.Builder clear()
Returns
TypeDescription
ProcessorType.LocationInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLocationId()

public ProcessorType.LocationInfo.Builder clearLocationId()

The location id.

string location_id = 1;

Returns
TypeDescription
ProcessorType.LocationInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ProcessorType.LocationInfo.Builder clone()
Returns
TypeDescription
ProcessorType.LocationInfo.Builder
Overrides

getDefaultInstanceForType()

public ProcessorType.LocationInfo getDefaultInstanceForType()
Returns
TypeDescription
ProcessorType.LocationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocationId()

public String getLocationId()

The location id.

string location_id = 1;

Returns
TypeDescription
String

The locationId.

getLocationIdBytes()

public ByteString getLocationIdBytes()

The location id.

string location_id = 1;

Returns
TypeDescription
ByteString

The bytes for locationId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProcessorType.LocationInfo other)

public ProcessorType.LocationInfo.Builder mergeFrom(ProcessorType.LocationInfo other)
Parameter
NameDescription
otherProcessorType.LocationInfo
Returns
TypeDescription
ProcessorType.LocationInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorType.LocationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProcessorType.LocationInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProcessorType.LocationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProcessorType.LocationInfo.Builder
Overrides

setLocationId(String value)

public ProcessorType.LocationInfo.Builder setLocationId(String value)

The location id.

string location_id = 1;

Parameter
NameDescription
valueString

The locationId to set.

Returns
TypeDescription
ProcessorType.LocationInfo.Builder

This builder for chaining.

setLocationIdBytes(ByteString value)

public ProcessorType.LocationInfo.Builder setLocationIdBytes(ByteString value)

The location id.

string location_id = 1;

Parameter
NameDescription
valueByteString

The bytes for locationId to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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