Package com.google.cloud.vision.v1
Interface OperationMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperationMetadata,OperationMetadata.Builder
@Generated
public interface OperationMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time when the batch request was received.com.google.protobuf.TimestampOrBuilderThe time when the batch request was received.getState()Current state of the batch operation.intCurrent state of the batch operation.com.google.protobuf.TimestampThe time when the operation result was last updated.com.google.protobuf.TimestampOrBuilderThe time when the operation result was last updated.booleanThe time when the batch request was received.booleanThe time when the operation result was last updated.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()Current state of the batch operation.
.google.cloud.vision.v1.OperationMetadata.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
OperationMetadata.State getState()Current state of the batch operation.
.google.cloud.vision.v1.OperationMetadata.State state = 1;- Returns:
- The state.
-
hasCreateTime
boolean hasCreateTime()The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5; -
hasUpdateTime
boolean hasUpdateTime()The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
-