Interface AsyncOperationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AsyncOperation,AsyncOperation.Builder
@Generated(value="protoc", comments="annotations:AsyncOperationOrBuilder.java.pb.meta") public interface AsyncOperationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.DurationgetCheckDuration()The recommended duration to check back for an update in the operation's statecom.google.protobuf.DurationOrBuildergetCheckDurationOrBuilder()The recommended duration to check back for an update in the operation's statejava.lang.StringgetFailureReason()If the operation failed, the reason for the failurecom.google.protobuf.ByteStringgetFailureReasonBytes()If the operation failed, the reason for the failurecom.google.protobuf.TimestampgetFinishedTime()The date and time when the operation completedcom.google.protobuf.TimestampOrBuildergetFinishedTimeOrBuilder()The date and time when the operation completedjava.lang.StringgetId()The operation idcom.google.protobuf.ByteStringgetIdBytes()The operation idcom.google.protobuf.AnygetOperationInput()The input to the operation being performed (-- api-linter: core::0146::any=disabled --)com.google.protobuf.AnyOrBuildergetOperationInputOrBuilder()The input to the operation being performed (-- api-linter: core::0146::any=disabled --)java.lang.StringgetOperationType()The type of operation being performedcom.google.protobuf.ByteStringgetOperationTypeBytes()The type of operation being performedcom.google.protobuf.TimestampgetStartedTime()The date and time when the operation initiatedcom.google.protobuf.TimestampOrBuildergetStartedTimeOrBuilder()The date and time when the operation initiatedjava.lang.StringgetState()The current state of this operation Possible values are: pending, in_progress, failed, cancelled, fulfilledcom.google.protobuf.ByteStringgetStateBytes()The current state of this operation Possible values are: pending, in_progress, failed, cancelled, fulfilledbooleanhasCheckDuration()The recommended duration to check back for an update in the operation's statebooleanhasFinishedTime()The date and time when the operation completedbooleanhasOperationInput()The input to the operation being performed (-- api-linter: core::0146::any=disabled --)booleanhasStartedTime()The date and time when the operation initiated-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
The operation id
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
The operation id
string id = 1;- Returns:
- The bytes for id.
-
getState
java.lang.String getState()
The current state of this operation Possible values are: pending, in_progress, failed, cancelled, fulfilled
string state = 2;- Returns:
- The state.
-
getStateBytes
com.google.protobuf.ByteString getStateBytes()
The current state of this operation Possible values are: pending, in_progress, failed, cancelled, fulfilled
string state = 2;- Returns:
- The bytes for state.
-
hasCheckDuration
boolean hasCheckDuration()
The recommended duration to check back for an update in the operation's state
.google.protobuf.Duration check_duration = 3;- Returns:
- Whether the checkDuration field is set.
-
getCheckDuration
com.google.protobuf.Duration getCheckDuration()
The recommended duration to check back for an update in the operation's state
.google.protobuf.Duration check_duration = 3;- Returns:
- The checkDuration.
-
getCheckDurationOrBuilder
com.google.protobuf.DurationOrBuilder getCheckDurationOrBuilder()
The recommended duration to check back for an update in the operation's state
.google.protobuf.Duration check_duration = 3;
-
getOperationType
java.lang.String getOperationType()
The type of operation being performed
string operation_type = 4;- Returns:
- The operationType.
-
getOperationTypeBytes
com.google.protobuf.ByteString getOperationTypeBytes()
The type of operation being performed
string operation_type = 4;- Returns:
- The bytes for operationType.
-
hasOperationInput
boolean hasOperationInput()
The input to the operation being performed (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;- Returns:
- Whether the operationInput field is set.
-
getOperationInput
com.google.protobuf.Any getOperationInput()
The input to the operation being performed (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;- Returns:
- The operationInput.
-
getOperationInputOrBuilder
com.google.protobuf.AnyOrBuilder getOperationInputOrBuilder()
The input to the operation being performed (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;
-
getFailureReason
java.lang.String getFailureReason()
If the operation failed, the reason for the failure
string failure_reason = 6;- Returns:
- The failureReason.
-
getFailureReasonBytes
com.google.protobuf.ByteString getFailureReasonBytes()
If the operation failed, the reason for the failure
string failure_reason = 6;- Returns:
- The bytes for failureReason.
-
hasStartedTime
boolean hasStartedTime()
The date and time when the operation initiated
.google.protobuf.Timestamp started_time = 7;- Returns:
- Whether the startedTime field is set.
-
getStartedTime
com.google.protobuf.Timestamp getStartedTime()
The date and time when the operation initiated
.google.protobuf.Timestamp started_time = 7;- Returns:
- The startedTime.
-
getStartedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
The date and time when the operation initiated
.google.protobuf.Timestamp started_time = 7;
-
hasFinishedTime
boolean hasFinishedTime()
The date and time when the operation completed
.google.protobuf.Timestamp finished_time = 8;- Returns:
- Whether the finishedTime field is set.
-
getFinishedTime
com.google.protobuf.Timestamp getFinishedTime()
The date and time when the operation completed
.google.protobuf.Timestamp finished_time = 8;- Returns:
- The finishedTime.
-
getFinishedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getFinishedTimeOrBuilder()
The date and time when the operation completed
.google.protobuf.Timestamp finished_time = 8;
-
-