Class TrainProcessorVersionResponse.Builder (2.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrainProcessorVersionResponse build()
Returns
TypeDescription
TrainProcessorVersionResponse

buildPartial()

public TrainProcessorVersionResponse buildPartial()
Returns
TypeDescription
TrainProcessorVersionResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessorVersion()

public TrainProcessorVersionResponse.Builder clearProcessorVersion()

The resource name of the processor version produced by training.

string processor_version = 1;

Returns
TypeDescription
TrainProcessorVersionResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TrainProcessorVersionResponse getDefaultInstanceForType()
Returns
TypeDescription
TrainProcessorVersionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProcessorVersion()

public String getProcessorVersion()

The resource name of the processor version produced by training.

string processor_version = 1;

Returns
TypeDescription
String

The processorVersion.

getProcessorVersionBytes()

public ByteString getProcessorVersionBytes()

The resource name of the processor version produced by training.

string processor_version = 1;

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

public TrainProcessorVersionResponse.Builder mergeFrom(TrainProcessorVersionResponse other)
Parameter
NameDescription
otherTrainProcessorVersionResponse
Returns
TypeDescription
TrainProcessorVersionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The processorVersion to set.

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

The bytes for processorVersion to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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