Class EvaluateProcessorVersionResponse.Builder (2.17.0)

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

Metadata of the EvaluateProcessorVersion method.

Protobuf type google.cloud.documentai.v1beta3.EvaluateProcessorVersionResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EvaluateProcessorVersionResponse build()
Returns
TypeDescription
EvaluateProcessorVersionResponse

buildPartial()

public EvaluateProcessorVersionResponse buildPartial()
Returns
TypeDescription
EvaluateProcessorVersionResponse

clear()

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

clearEvaluation()

public EvaluateProcessorVersionResponse.Builder clearEvaluation()

The resource name of the created evaluation.

string evaluation = 2;

Returns
TypeDescription
EvaluateProcessorVersionResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EvaluateProcessorVersionResponse getDefaultInstanceForType()
Returns
TypeDescription
EvaluateProcessorVersionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEvaluation()

public String getEvaluation()

The resource name of the created evaluation.

string evaluation = 2;

Returns
TypeDescription
String

The evaluation.

getEvaluationBytes()

public ByteString getEvaluationBytes()

The resource name of the created evaluation.

string evaluation = 2;

Returns
TypeDescription
ByteString

The bytes for evaluation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EvaluateProcessorVersionResponse other)

public EvaluateProcessorVersionResponse.Builder mergeFrom(EvaluateProcessorVersionResponse other)
Parameter
NameDescription
otherEvaluateProcessorVersionResponse
Returns
TypeDescription
EvaluateProcessorVersionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEvaluation(String value)

public EvaluateProcessorVersionResponse.Builder setEvaluation(String value)

The resource name of the created evaluation.

string evaluation = 2;

Parameter
NameDescription
valueString

The evaluation to set.

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

The bytes for evaluation to set.

Returns
TypeDescription
EvaluateProcessorVersionResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public EvaluateProcessorVersionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EvaluateProcessorVersionResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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