Package com.google.cloud.vision.v1
Interface BatchOperationMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchOperationMetadata,BatchOperationMetadata.Builder
@Generated
public interface BatchOperationMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.com.google.protobuf.TimestampOrBuilderThe time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.getState()The current state of the batch operation.intThe current state of the batch operation.com.google.protobuf.TimestampThe time when the batch request was submitted to the server.com.google.protobuf.TimestampOrBuilderThe time when the batch request was submitted to the server.booleanThe time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.booleanThe time when the batch request was submitted to the server.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 current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
BatchOperationMetadata.State getState()The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;- Returns:
- The state.
-
hasSubmitTime
boolean hasSubmitTime()The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;- Returns:
- Whether the submitTime field is set.
-
getSubmitTime
com.google.protobuf.Timestamp getSubmitTime()The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;- Returns:
- The submitTime.
-
getSubmitTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder()The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2; -
hasEndTime
boolean hasEndTime()The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
-