Interface ReviewDocumentOperationMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReviewDocumentOperationMetadata,ReviewDocumentOperationMetadata.Builder
public interface ReviewDocumentOperationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommonOperationMetadatagetCommonMetadata()The basic metadata of the long-running operation.CommonOperationMetadataOrBuildergetCommonMetadataOrBuilder()The basic metadata of the long-running operation.com.google.protobuf.TimestampgetCreateTime()The creation time of the operation.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The creation time of the operation.StringgetQuestionId()The Crowd Compute question ID.com.google.protobuf.ByteStringgetQuestionIdBytes()The Crowd Compute question ID.ReviewDocumentOperationMetadata.StategetState()Used only when Operation.done is false.StringgetStateMessage()A message providing more details about the current state of processing.com.google.protobuf.ByteStringgetStateMessageBytes()A message providing more details about the current state of processing.intgetStateValue()Used only when Operation.done is false.com.google.protobuf.TimestampgetUpdateTime()The last update time of the operation.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()The last update time of the operation.booleanhasCommonMetadata()The basic metadata of the long-running operation.booleanhasCreateTime()The creation time of the operation.booleanhasUpdateTime()The last update time of the operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStateValue
int getStateValue()
Used only when Operation.done is false.
.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
ReviewDocumentOperationMetadata.State getState()
Used only when Operation.done is false.
.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;- Returns:
- The state.
-
getStateMessage
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:
- The stateMessage.
-
getStateMessageBytes
com.google.protobuf.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:
- The bytes for stateMessage.
-
hasCreateTime
boolean hasCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
-
hasUpdateTime
boolean hasUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
-
hasCommonMetadata
boolean hasCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;- Returns:
- Whether the commonMetadata field is set.
-
getCommonMetadata
CommonOperationMetadata getCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;- Returns:
- The commonMetadata.
-
getCommonMetadataOrBuilder
CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;
-
getQuestionId
String getQuestionId()
The Crowd Compute question ID.
string question_id = 6;- Returns:
- The questionId.
-
getQuestionIdBytes
com.google.protobuf.ByteString getQuestionIdBytes()
The Crowd Compute question ID.
string question_id = 6;- Returns:
- The bytes for questionId.
-
-