Class ImportProcessorVersionRequest.ExternalProcessorVersionSource (2.49.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
Type Description
int

SERVICE_ENDPOINT_FIELD_NUMBER

public static final int SERVICE_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource getDefaultInstance()
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource

getDescriptor()

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

newBuilder()

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder newBuilder()
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

newBuilder(ImportProcessorVersionRequest.ExternalProcessorVersionSource prototype)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder newBuilder(ImportProcessorVersionRequest.ExternalProcessorVersionSource prototype)
Parameter
Name Description
prototype ImportProcessorVersionRequest.ExternalProcessorVersionSource
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

parseDelimitedFrom(InputStream input)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportProcessorVersionRequest.ExternalProcessorVersionSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource getDefaultInstanceForType()
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource

getParserForType()

public Parser<ImportProcessorVersionRequest.ExternalProcessorVersionSource> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for processorVersion.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for serviceEndpoint.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder newBuilderForType()
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder toBuilder()
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException