Interface ReviewDocumentOperationMetadataOrBuilder (2.51.0)

public interface ReviewDocumentOperationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommonMetadata()

public abstract CommonOperationMetadata getCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;

Returns
Type Description
CommonOperationMetadata

The commonMetadata.

getCommonMetadataOrBuilder()

public abstract CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;

Returns
Type Description
CommonOperationMetadataOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getQuestionId()

public abstract String getQuestionId()

The Crowd Compute question ID.

string question_id = 6;

Returns
Type Description
String

The questionId.

getQuestionIdBytes()

public abstract ByteString getQuestionIdBytes()

The Crowd Compute question ID.

string question_id = 6;

Returns
Type Description
ByteString

The bytes for questionId.

getState()

public abstract ReviewDocumentOperationMetadata.State getState()

Used only when Operation.done is false.

.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;

Returns
Type Description
ReviewDocumentOperationMetadata.State

The state.

getStateMessage()

public abstract String getStateMessage()

A message providing more details about the current state of processing. For example, the error message if the operation is failed.

string state_message = 2;

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

public abstract ByteString getStateMessageBytes()

A message providing more details about the current state of processing. For example, the error message if the operation is failed.

string state_message = 2;

Returns
Type Description
ByteString

The bytes for stateMessage.

getStateValue()

public abstract int getStateValue()

Used only when Operation.done is false.

.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

The last update time of the operation.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

The last update time of the operation.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
TimestampOrBuilder

hasCommonMetadata()

public abstract boolean hasCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;

Returns
Type Description
boolean

Whether the commonMetadata field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

The last update time of the operation.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
boolean

Whether the updateTime field is set.