Class EvaluateProcessorVersionMetadata.Builder (2.22.0)

public static final class EvaluateProcessorVersionMetadata.Builder extends GeneratedMessageV3.Builder<EvaluateProcessorVersionMetadata.Builder> implements EvaluateProcessorVersionMetadataOrBuilder

Metadata of the EvaluateProcessorVersion method.

Protobuf type google.cloud.documentai.v1.EvaluateProcessorVersionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EvaluateProcessorVersionMetadata build()
Returns
TypeDescription
EvaluateProcessorVersionMetadata

buildPartial()

public EvaluateProcessorVersionMetadata buildPartial()
Returns
TypeDescription
EvaluateProcessorVersionMetadata

clear()

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

clearCommonMetadata()

public EvaluateProcessorVersionMetadata.Builder clearCommonMetadata()

The basic metadata of the long running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
EvaluateProcessorVersionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadata

The commonMetadata.

getCommonMetadataBuilder()

public CommonOperationMetadata.Builder getCommonMetadataBuilder()

The basic metadata of the long running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public EvaluateProcessorVersionMetadata getDefaultInstanceForType()
Returns
TypeDescription
EvaluateProcessorVersionMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata of the long running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
boolean

Whether the commonMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCommonMetadata(CommonOperationMetadata value)

public EvaluateProcessorVersionMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
EvaluateProcessorVersionMetadata.Builder

mergeFrom(EvaluateProcessorVersionMetadata other)

public EvaluateProcessorVersionMetadata.Builder mergeFrom(EvaluateProcessorVersionMetadata other)
Parameter
NameDescription
otherEvaluateProcessorVersionMetadata
Returns
TypeDescription
EvaluateProcessorVersionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonMetadata(CommonOperationMetadata value)

public EvaluateProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
EvaluateProcessorVersionMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public EvaluateProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata of the long running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Parameter
NameDescription
builderForValueCommonOperationMetadata.Builder
Returns
TypeDescription
EvaluateProcessorVersionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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