Class OperationMetadata.Builder (2.11.0)

public static final class OperationMetadata.Builder extends GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder

Contains metadata for the BatchProcessDocuments operation.

Protobuf type google.cloud.documentai.v1beta1.OperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OperationMetadata build()
Returns
TypeDescription
OperationMetadata

buildPartial()

public OperationMetadata buildPartial()
Returns
TypeDescription
OperationMetadata

clear()

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

clearCreateTime()

public OperationMetadata.Builder clearCreateTime()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
OperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public OperationMetadata.Builder clearState()

The state of the current batch processing.

.google.cloud.documentai.v1beta1.OperationMetadata.State state = 1;

Returns
TypeDescription
OperationMetadata.Builder

This builder for chaining.

clearStateMessage()

public OperationMetadata.Builder clearStateMessage()

A message providing more details about the current state of processing.

string state_message = 2;

Returns
TypeDescription
OperationMetadata.Builder

This builder for chaining.

clearUpdateTime()

public OperationMetadata.Builder clearUpdateTime()

The last update time of the operation.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
OperationMetadata.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public OperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
OperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides