Class ImportProcessorVersionResponse.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportProcessorVersionResponse build()
Returns
TypeDescription
ImportProcessorVersionResponse

buildPartial()

public ImportProcessorVersionResponse buildPartial()
Returns
TypeDescription
ImportProcessorVersionResponse

clear()

public ImportProcessorVersionResponse.Builder clear()
Returns
TypeDescription
ImportProcessorVersionResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportProcessorVersionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportProcessorVersionResponse.Builder
Overrides

clearProcessorVersion()

public ImportProcessorVersionResponse.Builder clearProcessorVersion()

The destination processor version name.

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

Returns
TypeDescription
ImportProcessorVersionResponse.Builder

This builder for chaining.

clone()

public ImportProcessorVersionResponse.Builder clone()
Returns
TypeDescription
ImportProcessorVersionResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportProcessorVersionResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportProcessorVersionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProcessorVersion()

public String getProcessorVersion()

The destination processor version name.

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

Returns
TypeDescription
String

The processorVersion.

getProcessorVersionBytes()

public ByteString getProcessorVersionBytes()

The destination processor version name.

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

Returns
TypeDescription
ByteString

The bytes for processorVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportProcessorVersionResponse other)

public ImportProcessorVersionResponse.Builder mergeFrom(ImportProcessorVersionResponse other)
Parameter
NameDescription
otherImportProcessorVersionResponse
Returns
TypeDescription
ImportProcessorVersionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The processorVersion to set.

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

The bytes for processorVersion to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportProcessorVersionResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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