Class ImportProcessorVersionResponse.Builder (2.47.0)

public static final class ImportProcessorVersionResponse.Builder extends GeneratedMessageV3.Builder<ImportProcessorVersionResponse.Builder> implements ImportProcessorVersionResponseOrBuilder

The response message for the ImportProcessorVersion method.

Protobuf type google.cloud.documentai.v1beta3.ImportProcessorVersionResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportProcessorVersionResponse build()
Returns
Type Description
ImportProcessorVersionResponse

buildPartial()

public ImportProcessorVersionResponse buildPartial()
Returns
Type Description
ImportProcessorVersionResponse

clear()

public ImportProcessorVersionResponse.Builder clear()
Returns
Type Description
ImportProcessorVersionResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessorVersion()

public ImportProcessorVersionResponse.Builder clearProcessorVersion()

The destination processor version name.

string processor_version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ImportProcessorVersionResponse.Builder

This builder for chaining.

clone()

public ImportProcessorVersionResponse.Builder clone()
Returns
Type Description
ImportProcessorVersionResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportProcessorVersionResponse getDefaultInstanceForType()
Returns
Type Description
ImportProcessorVersionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProcessorVersion()

public String getProcessorVersion()

The destination processor version name.

string processor_version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The processorVersion.

getProcessorVersionBytes()

public ByteString getProcessorVersionBytes()

The destination processor version name.

string processor_version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for processorVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportProcessorVersionResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProcessorVersion(String value)

public ImportProcessorVersionResponse.Builder setProcessorVersion(String value)

The destination processor version name.

string processor_version = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The processorVersion to set.

Returns
Type Description
ImportProcessorVersionResponse.Builder

This builder for chaining.

setProcessorVersionBytes(ByteString value)

public ImportProcessorVersionResponse.Builder setProcessorVersionBytes(ByteString value)

The destination processor version name.

string processor_version = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for processorVersion to set.

Returns
Type Description
ImportProcessorVersionResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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