Class ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clear()
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

This builder for chaining.

clone()

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder clone()
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportProcessorVersionRequest.ExternalProcessorVersionSource other)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder mergeFrom(ImportProcessorVersionRequest.ExternalProcessorVersionSource other)
Parameter
NameDescription
otherImportProcessorVersionRequest.ExternalProcessorVersionSource
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The processorVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for processorVersion to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceEndpoint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceEndpoint to set.

Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportProcessorVersionRequest.ExternalProcessorVersionSource.Builder
Overrides