Class ImportProcessorVersionRequest.ExternalProcessorVersionSource (2.31.0)

public static final class ImportProcessorVersionRequest.ExternalProcessorVersionSource extends GeneratedMessageV3 implements ImportProcessorVersionRequest.ExternalProcessorVersionSourceOrBuilder

The external source processor version.

Protobuf type google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.ExternalProcessorVersionSource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportProcessorVersionRequest.ExternalProcessorVersionSource

Static Fields

PROCESSOR_VERSION_FIELD_NUMBER

public static final int PROCESSOR_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ENDPOINT_FIELD_NUMBER

public static final int SERVICE_ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource getDefaultInstance()
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource

getDescriptor()

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

newBuilder()

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder newBuilder()
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

newBuilder(ImportProcessorVersionRequest.ExternalProcessorVersionSource prototype)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder newBuilder(ImportProcessorVersionRequest.ExternalProcessorVersionSource prototype)
Parameter
NameDescription
prototypeImportProcessorVersionRequest.ExternalProcessorVersionSource
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

parseDelimitedFrom(InputStream input)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ImportProcessorVersionRequest.ExternalProcessorVersionSource> parser()
Returns
TypeDescription
Parser<ExternalProcessorVersionSource>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource getDefaultInstanceForType()
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource

getParserForType()

public Parser<ImportProcessorVersionRequest.ExternalProcessorVersionSource> getParserForType()
Returns
TypeDescription
Parser<ExternalProcessorVersionSource>
Overrides

getProcessorVersion()

public String getProcessorVersion()

Required. The processor version name. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string processor_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The processorVersion.

getProcessorVersionBytes()

public ByteString getProcessorVersionBytes()

Required. The processor version name. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string processor_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for processorVersion.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceEndpoint()

public String getServiceEndpoint()

Optional. The Document AI service endpoint. For example, 'https://us-documentai.googleapis.com'

string service_endpoint = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The serviceEndpoint.

getServiceEndpointBytes()

public ByteString getServiceEndpointBytes()

Optional. The Document AI service endpoint. For example, 'https://us-documentai.googleapis.com'

string service_endpoint = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for serviceEndpoint.

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 ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder newBuilderForType()
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder toBuilder()
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

writeTo(CodedOutputStream output)

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