Package com.google.cloud.documentai.v1
Interface CommonOperationMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonOperationMetadata,CommonOperationMetadata.Builder
@Generated
public interface CommonOperationMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe creation time of the operation.com.google.protobuf.TimestampOrBuilderThe creation time of the operation.A related resource to this operation.com.google.protobuf.ByteStringA related resource to this operation.getState()The state of the operation.A message providing more details about the current state of processing.com.google.protobuf.ByteStringA message providing more details about the current state of processing.intThe state of the operation.com.google.protobuf.TimestampThe last update time of the operation.com.google.protobuf.TimestampOrBuilderThe last update time of the operation.booleanThe creation time of the operation.booleanThe last update time of the operation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStateValue
int getStateValue()The state of the operation.
.google.cloud.documentai.v1.CommonOperationMetadata.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
CommonOperationMetadata.State getState()The state of the operation.
.google.cloud.documentai.v1.CommonOperationMetadata.State state = 1;- Returns:
- The state.
-
getStateMessage
String getStateMessage()A message providing more details about the current state of processing.
string state_message = 2;- Returns:
- The stateMessage.
-
getStateMessageBytes
com.google.protobuf.ByteString getStateMessageBytes()A message providing more details about the current state of processing.
string state_message = 2;- Returns:
- The bytes for stateMessage.
-
getResource
String getResource()A related resource to this operation.
string resource = 5;- Returns:
- The resource.
-
getResourceBytes
com.google.protobuf.ByteString getResourceBytes()A related resource to this operation.
string resource = 5;- Returns:
- The bytes for resource.
-
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;
-