Class ProcessorType.LocationInfo (2.3.1)

public static final class ProcessorType.LocationInfo extends GeneratedMessageV3 implements ProcessorType.LocationInfoOrBuilder

The location information about where the processor is available.

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

Static Fields

LOCATION_ID_FIELD_NUMBER

public static final int LOCATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProcessorType.LocationInfo getDefaultInstance()
Returns
TypeDescription
ProcessorType.LocationInfo

getDescriptor()

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

newBuilder()

public static ProcessorType.LocationInfo.Builder newBuilder()
Returns
TypeDescription
ProcessorType.LocationInfo.Builder

newBuilder(ProcessorType.LocationInfo prototype)

public static ProcessorType.LocationInfo.Builder newBuilder(ProcessorType.LocationInfo prototype)
Parameter
NameDescription
prototypeProcessorType.LocationInfo
Returns
TypeDescription
ProcessorType.LocationInfo.Builder

parseDelimitedFrom(InputStream input)

public static ProcessorType.LocationInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorType.LocationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProcessorType.LocationInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProcessorType.LocationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProcessorType.LocationInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProcessorType.LocationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProcessorType.LocationInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorType.LocationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProcessorType.LocationInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorType.LocationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProcessorType.LocationInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProcessorType.LocationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorType.LocationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProcessorType.LocationInfo> parser()
Returns
TypeDescription
Parser<LocationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<ProcessorType.LocationInfo> getParserForType()
Returns
TypeDescription
Parser<LocationInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProcessorType.LocationInfo.Builder newBuilderForType()
Returns
TypeDescription
ProcessorType.LocationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProcessorType.LocationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProcessorType.LocationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProcessorType.LocationInfo.Builder toBuilder()
Returns
TypeDescription
ProcessorType.LocationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException