Class TrainProcessorVersionResponse.Builder (2.46.0)

public static final class TrainProcessorVersionResponse.Builder extends GeneratedMessageV3.Builder<TrainProcessorVersionResponse.Builder> implements TrainProcessorVersionResponseOrBuilder

The response for TrainProcessorVersion.

Protobuf type google.cloud.documentai.v1beta3.TrainProcessorVersionResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrainProcessorVersionResponse build()
Returns
Type Description
TrainProcessorVersionResponse

buildPartial()

public TrainProcessorVersionResponse buildPartial()
Returns
Type Description
TrainProcessorVersionResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessorVersion()

public TrainProcessorVersionResponse.Builder clearProcessorVersion()

The resource name of the processor version produced by training.

string processor_version = 1;

Returns
Type Description
TrainProcessorVersionResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TrainProcessorVersionResponse getDefaultInstanceForType()
Returns
Type Description
TrainProcessorVersionResponse

getDescriptorForType()

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

getProcessorVersion()

public String getProcessorVersion()

The resource name of the processor version produced by training.

string processor_version = 1;

Returns
Type Description
String

The processorVersion.

getProcessorVersionBytes()

public ByteString getProcessorVersionBytes()

The resource name of the processor version produced by training.

string processor_version = 1;

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(TrainProcessorVersionResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProcessorVersion(String value)

public TrainProcessorVersionResponse.Builder setProcessorVersion(String value)

The resource name of the processor version produced by training.

string processor_version = 1;

Parameter
Name Description
value String

The processorVersion to set.

Returns
Type Description
TrainProcessorVersionResponse.Builder

This builder for chaining.

setProcessorVersionBytes(ByteString value)

public TrainProcessorVersionResponse.Builder setProcessorVersionBytes(ByteString value)

The resource name of the processor version produced by training.

string processor_version = 1;

Parameter
Name Description
value ByteString

The bytes for processorVersion to set.

Returns
Type Description
TrainProcessorVersionResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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