Class ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder (2.57.0)

public static final class ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder extends GeneratedMessageV3.Builder<ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder> implements ImportProcessorVersionRequest.ExternalProcessorVersionSourceOrBuilder

The external source processor version.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clear()
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

clearProcessorVersion()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clearProcessorVersion()

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
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

This builder for chaining.

clearServiceEndpoint()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clearServiceEndpoint()

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
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

This builder for chaining.

clone()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clone()
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportProcessorVersionRequest.ExternalProcessorVersionSource other)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder mergeFrom(ImportProcessorVersionRequest.ExternalProcessorVersionSource other)
Parameter
Name Description
other ImportProcessorVersionRequest.ExternalProcessorVersionSource
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

setProcessorVersion(String value)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setProcessorVersion(String value)

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

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

Parameter
Name Description
value String

The processorVersion to set.

Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

This builder for chaining.

setProcessorVersionBytes(ByteString value)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setProcessorVersionBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for processorVersion to set.

Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

setServiceEndpoint(String value)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setServiceEndpoint(String value)

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

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

Parameter
Name Description
value String

The serviceEndpoint to set.

Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

This builder for chaining.

setServiceEndpointBytes(ByteString value)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setServiceEndpointBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for serviceEndpoint to set.

Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides