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
public interface BatchOperationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.BatchOperationMetadata.State
getState()
The current state of the batch operation.int
getStateValue()
The current state of the batch operation.com.google.protobuf.Timestamp
getSubmitTime()
The time when the batch request was submitted to the server.com.google.protobuf.TimestampOrBuilder
getSubmitTimeOrBuilder()
The time when the batch request was submitted to the server.boolean
hasEndTime()
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.boolean
hasSubmitTime()
The time when the batch request was submitted to the server.-
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()
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;
-
-