Class EvaluateProcessorVersionResponse.Builder (2.56.0)

public static final class EvaluateProcessorVersionResponse.Builder extends GeneratedMessageV3.Builder<EvaluateProcessorVersionResponse.Builder> implements EvaluateProcessorVersionResponseOrBuilder

Response of the EvaluateProcessorVersion method.

Protobuf type google.cloud.documentai.v1beta3.EvaluateProcessorVersionResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EvaluateProcessorVersionResponse build()
Returns
Type Description
EvaluateProcessorVersionResponse

buildPartial()

public EvaluateProcessorVersionResponse buildPartial()
Returns
Type Description
EvaluateProcessorVersionResponse

clear()

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

clearEvaluation()

public EvaluateProcessorVersionResponse.Builder clearEvaluation()

The resource name of the created evaluation.

string evaluation = 2;

Returns
Type Description
EvaluateProcessorVersionResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EvaluateProcessorVersionResponse getDefaultInstanceForType()
Returns
Type Description
EvaluateProcessorVersionResponse

getDescriptorForType()

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

getEvaluation()

public String getEvaluation()

The resource name of the created evaluation.

string evaluation = 2;

Returns
Type Description
String

The evaluation.

getEvaluationBytes()

public ByteString getEvaluationBytes()

The resource name of the created evaluation.

string evaluation = 2;

Returns
Type Description
ByteString

The bytes for evaluation.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EvaluateProcessorVersionResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEvaluation(String value)

public EvaluateProcessorVersionResponse.Builder setEvaluation(String value)

The resource name of the created evaluation.

string evaluation = 2;

Parameter
Name Description
value String

The evaluation to set.

Returns
Type Description
EvaluateProcessorVersionResponse.Builder

This builder for chaining.

setEvaluationBytes(ByteString value)

public EvaluateProcessorVersionResponse.Builder setEvaluationBytes(ByteString value)

The resource name of the created evaluation.

string evaluation = 2;

Parameter
Name Description
value ByteString

The bytes for evaluation to set.

Returns
Type Description
EvaluateProcessorVersionResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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