Class AsyncOperation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
- io.temporal.api.cloud.operation.v1.AsyncOperation.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AsyncOperationOrBuilder,java.lang.Cloneable
- Enclosing class:
- AsyncOperation
public static final class AsyncOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder> implements AsyncOperationOrBuilder
Protobuf typetemporal.api.cloud.operation.v1.AsyncOperation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AsyncOperation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AsyncOperationbuild()AsyncOperationbuildPartial()AsyncOperation.Builderclear()AsyncOperation.BuilderclearCheckDuration()The recommended duration to check back for an update in the operation's state.AsyncOperation.BuilderclearFailureReason()If the operation failed, the reason for the failure.AsyncOperation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AsyncOperation.BuilderclearFinishedTime()The date and time when the operation completed.AsyncOperation.BuilderclearId()The operation id.AsyncOperation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AsyncOperation.BuilderclearOperationInput()The input to the operation being performed.AsyncOperation.BuilderclearOperationType()The type of operation being performed.AsyncOperation.BuilderclearStartedTime()The date and time when the operation initiated.AsyncOperation.BuilderclearState()The current state of this operation.AsyncOperation.BuilderclearStateDeprecated()Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.AsyncOperation.Builderclone()com.google.protobuf.DurationgetCheckDuration()The recommended duration to check back for an update in the operation's state.com.google.protobuf.Duration.BuildergetCheckDurationBuilder()The recommended duration to check back for an update in the operation's state.com.google.protobuf.DurationOrBuildergetCheckDurationOrBuilder()The recommended duration to check back for an update in the operation's state.AsyncOperationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetFailureReason()If the operation failed, the reason for the failure.com.google.protobuf.ByteStringgetFailureReasonBytes()If the operation failed, the reason for the failure.com.google.protobuf.TimestampgetFinishedTime()The date and time when the operation completed.com.google.protobuf.Timestamp.BuildergetFinishedTimeBuilder()The date and time when the operation completed.com.google.protobuf.TimestampOrBuildergetFinishedTimeOrBuilder()The date and time when the operation completed.java.lang.StringgetId()The operation id.com.google.protobuf.ByteStringgetIdBytes()The operation id.com.google.protobuf.AnygetOperationInput()The input to the operation being performed.com.google.protobuf.Any.BuildergetOperationInputBuilder()The input to the operation being performed.com.google.protobuf.AnyOrBuildergetOperationInputOrBuilder()The input to the operation being performed.java.lang.StringgetOperationType()The type of operation being performed.com.google.protobuf.ByteStringgetOperationTypeBytes()The type of operation being performed.com.google.protobuf.TimestampgetStartedTime()The date and time when the operation initiated.com.google.protobuf.Timestamp.BuildergetStartedTimeBuilder()The date and time when the operation initiated.com.google.protobuf.TimestampOrBuildergetStartedTimeOrBuilder()The date and time when the operation initiated.AsyncOperation.StategetState()The current state of this operation.java.lang.StringgetStateDeprecated()Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.com.google.protobuf.ByteStringgetStateDeprecatedBytes()Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.intgetStateValue()The current state of this operation.booleanhasCheckDuration()The recommended duration to check back for an update in the operation's state.booleanhasFinishedTime()The date and time when the operation completed.booleanhasOperationInput()The input to the operation being performed.booleanhasStartedTime()The date and time when the operation initiated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AsyncOperation.BuildermergeCheckDuration(com.google.protobuf.Duration value)The recommended duration to check back for an update in the operation's state.AsyncOperation.BuildermergeFinishedTime(com.google.protobuf.Timestamp value)The date and time when the operation completed.AsyncOperation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AsyncOperation.BuildermergeFrom(com.google.protobuf.Message other)AsyncOperation.BuildermergeFrom(AsyncOperation other)AsyncOperation.BuildermergeOperationInput(com.google.protobuf.Any value)The input to the operation being performed.AsyncOperation.BuildermergeStartedTime(com.google.protobuf.Timestamp value)The date and time when the operation initiated.AsyncOperation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AsyncOperation.BuildersetCheckDuration(com.google.protobuf.Duration value)The recommended duration to check back for an update in the operation's state.AsyncOperation.BuildersetCheckDuration(com.google.protobuf.Duration.Builder builderForValue)The recommended duration to check back for an update in the operation's state.AsyncOperation.BuildersetFailureReason(java.lang.String value)If the operation failed, the reason for the failure.AsyncOperation.BuildersetFailureReasonBytes(com.google.protobuf.ByteString value)If the operation failed, the reason for the failure.AsyncOperation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AsyncOperation.BuildersetFinishedTime(com.google.protobuf.Timestamp value)The date and time when the operation completed.AsyncOperation.BuildersetFinishedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the operation completed.AsyncOperation.BuildersetId(java.lang.String value)The operation id.AsyncOperation.BuildersetIdBytes(com.google.protobuf.ByteString value)The operation id.AsyncOperation.BuildersetOperationInput(com.google.protobuf.Any value)The input to the operation being performed.AsyncOperation.BuildersetOperationInput(com.google.protobuf.Any.Builder builderForValue)The input to the operation being performed.AsyncOperation.BuildersetOperationType(java.lang.String value)The type of operation being performed.AsyncOperation.BuildersetOperationTypeBytes(com.google.protobuf.ByteString value)The type of operation being performed.AsyncOperation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AsyncOperation.BuildersetStartedTime(com.google.protobuf.Timestamp value)The date and time when the operation initiated.AsyncOperation.BuildersetStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the operation initiated.AsyncOperation.BuildersetState(AsyncOperation.State value)The current state of this operation.AsyncOperation.BuildersetStateDeprecated(java.lang.String value)Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.AsyncOperation.BuildersetStateDeprecatedBytes(com.google.protobuf.ByteString value)Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.AsyncOperation.BuildersetStateValue(int value)The current state of this operation.AsyncOperation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
clear
public AsyncOperation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
getDefaultInstanceForType
public AsyncOperation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AsyncOperation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AsyncOperation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AsyncOperation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
setField
public AsyncOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
clearField
public AsyncOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
clearOneof
public AsyncOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
setRepeatedField
public AsyncOperation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
addRepeatedField
public AsyncOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
mergeFrom
public AsyncOperation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AsyncOperation.Builder>
-
mergeFrom
public AsyncOperation.Builder mergeFrom(AsyncOperation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
mergeFrom
public AsyncOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AsyncOperation.Builder>- Throws:
java.io.IOException
-
getId
public java.lang.String getId()
The operation id.
string id = 1;- Specified by:
getIdin interfaceAsyncOperationOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The operation id.
string id = 1;- Specified by:
getIdBytesin interfaceAsyncOperationOrBuilder- Returns:
- The bytes for id.
-
setId
public AsyncOperation.Builder setId(java.lang.String value)
The operation id.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public AsyncOperation.Builder clearId()
The operation id.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public AsyncOperation.Builder setIdBytes(com.google.protobuf.ByteString value)
The operation id.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getStateDeprecated
@Deprecated public java.lang.String getStateDeprecated()
Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated. See temporal/api/cloud/operation/v1/message.proto;l=22The current state of this operation. Possible values are: pending, in_progress, failed, cancelled, fulfilled. Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 2 [deprecated = true];- Specified by:
getStateDeprecatedin interfaceAsyncOperationOrBuilder- Returns:
- The stateDeprecated.
-
getStateDeprecatedBytes
@Deprecated public com.google.protobuf.ByteString getStateDeprecatedBytes()
Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated. See temporal/api/cloud/operation/v1/message.proto;l=22The current state of this operation. Possible values are: pending, in_progress, failed, cancelled, fulfilled. Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 2 [deprecated = true];- Specified by:
getStateDeprecatedBytesin interfaceAsyncOperationOrBuilder- Returns:
- The bytes for stateDeprecated.
-
setStateDeprecated
@Deprecated public AsyncOperation.Builder setStateDeprecated(java.lang.String value)
Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated. See temporal/api/cloud/operation/v1/message.proto;l=22The current state of this operation. Possible values are: pending, in_progress, failed, cancelled, fulfilled. Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 2 [deprecated = true];- Parameters:
value- The stateDeprecated to set.- Returns:
- This builder for chaining.
-
clearStateDeprecated
@Deprecated public AsyncOperation.Builder clearStateDeprecated()
Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated. See temporal/api/cloud/operation/v1/message.proto;l=22The current state of this operation. Possible values are: pending, in_progress, failed, cancelled, fulfilled. Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
setStateDeprecatedBytes
@Deprecated public AsyncOperation.Builder setStateDeprecatedBytes(com.google.protobuf.ByteString value)
Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated. See temporal/api/cloud/operation/v1/message.proto;l=22The current state of this operation. Possible values are: pending, in_progress, failed, cancelled, fulfilled. Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 2 [deprecated = true];- Parameters:
value- The bytes for stateDeprecated to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.operation.v1.AsyncOperation.State state = 9;- Specified by:
getStateValuein interfaceAsyncOperationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public AsyncOperation.Builder setStateValue(int value)
The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.operation.v1.AsyncOperation.State state = 9;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public AsyncOperation.State getState()
The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.operation.v1.AsyncOperation.State state = 9;- Specified by:
getStatein interfaceAsyncOperationOrBuilder- Returns:
- The state.
-
setState
public AsyncOperation.Builder setState(AsyncOperation.State value)
The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.operation.v1.AsyncOperation.State state = 9;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public AsyncOperation.Builder clearState()
The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.operation.v1.AsyncOperation.State state = 9;- Returns:
- This builder for chaining.
-
hasCheckDuration
public boolean hasCheckDuration()
The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;- Specified by:
hasCheckDurationin interfaceAsyncOperationOrBuilder- Returns:
- Whether the checkDuration field is set.
-
getCheckDuration
public 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;- Specified by:
getCheckDurationin interfaceAsyncOperationOrBuilder- Returns:
- The checkDuration.
-
setCheckDuration
public AsyncOperation.Builder setCheckDuration(com.google.protobuf.Duration value)
The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;
-
setCheckDuration
public AsyncOperation.Builder setCheckDuration(com.google.protobuf.Duration.Builder builderForValue)
The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;
-
mergeCheckDuration
public AsyncOperation.Builder mergeCheckDuration(com.google.protobuf.Duration value)
The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;
-
clearCheckDuration
public AsyncOperation.Builder clearCheckDuration()
The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;
-
getCheckDurationBuilder
public com.google.protobuf.Duration.Builder getCheckDurationBuilder()
The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;
-
getCheckDurationOrBuilder
public 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;- Specified by:
getCheckDurationOrBuilderin interfaceAsyncOperationOrBuilder
-
getOperationType
public java.lang.String getOperationType()
The type of operation being performed.
string operation_type = 4;- Specified by:
getOperationTypein interfaceAsyncOperationOrBuilder- Returns:
- The operationType.
-
getOperationTypeBytes
public com.google.protobuf.ByteString getOperationTypeBytes()
The type of operation being performed.
string operation_type = 4;- Specified by:
getOperationTypeBytesin interfaceAsyncOperationOrBuilder- Returns:
- The bytes for operationType.
-
setOperationType
public AsyncOperation.Builder setOperationType(java.lang.String value)
The type of operation being performed.
string operation_type = 4;- Parameters:
value- The operationType to set.- Returns:
- This builder for chaining.
-
clearOperationType
public AsyncOperation.Builder clearOperationType()
The type of operation being performed.
string operation_type = 4;- Returns:
- This builder for chaining.
-
setOperationTypeBytes
public AsyncOperation.Builder setOperationTypeBytes(com.google.protobuf.ByteString value)
The type of operation being performed.
string operation_type = 4;- Parameters:
value- The bytes for operationType to set.- Returns:
- This builder for chaining.
-
hasOperationInput
public boolean hasOperationInput()
The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;- Specified by:
hasOperationInputin interfaceAsyncOperationOrBuilder- Returns:
- Whether the operationInput field is set.
-
getOperationInput
public com.google.protobuf.Any getOperationInput()
The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;- Specified by:
getOperationInputin interfaceAsyncOperationOrBuilder- Returns:
- The operationInput.
-
setOperationInput
public AsyncOperation.Builder setOperationInput(com.google.protobuf.Any value)
The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;
-
setOperationInput
public AsyncOperation.Builder setOperationInput(com.google.protobuf.Any.Builder builderForValue)
The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;
-
mergeOperationInput
public AsyncOperation.Builder mergeOperationInput(com.google.protobuf.Any value)
The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;
-
clearOperationInput
public AsyncOperation.Builder clearOperationInput()
The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;
-
getOperationInputBuilder
public com.google.protobuf.Any.Builder getOperationInputBuilder()
The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;
-
getOperationInputOrBuilder
public com.google.protobuf.AnyOrBuilder getOperationInputOrBuilder()
The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;- Specified by:
getOperationInputOrBuilderin interfaceAsyncOperationOrBuilder
-
getFailureReason
public java.lang.String getFailureReason()
If the operation failed, the reason for the failure.
string failure_reason = 6;- Specified by:
getFailureReasonin interfaceAsyncOperationOrBuilder- Returns:
- The failureReason.
-
getFailureReasonBytes
public com.google.protobuf.ByteString getFailureReasonBytes()
If the operation failed, the reason for the failure.
string failure_reason = 6;- Specified by:
getFailureReasonBytesin interfaceAsyncOperationOrBuilder- Returns:
- The bytes for failureReason.
-
setFailureReason
public AsyncOperation.Builder setFailureReason(java.lang.String value)
If the operation failed, the reason for the failure.
string failure_reason = 6;- Parameters:
value- The failureReason to set.- Returns:
- This builder for chaining.
-
clearFailureReason
public AsyncOperation.Builder clearFailureReason()
If the operation failed, the reason for the failure.
string failure_reason = 6;- Returns:
- This builder for chaining.
-
setFailureReasonBytes
public AsyncOperation.Builder setFailureReasonBytes(com.google.protobuf.ByteString value)
If the operation failed, the reason for the failure.
string failure_reason = 6;- Parameters:
value- The bytes for failureReason to set.- Returns:
- This builder for chaining.
-
hasStartedTime
public boolean hasStartedTime()
The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;- Specified by:
hasStartedTimein interfaceAsyncOperationOrBuilder- Returns:
- Whether the startedTime field is set.
-
getStartedTime
public com.google.protobuf.Timestamp getStartedTime()
The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;- Specified by:
getStartedTimein interfaceAsyncOperationOrBuilder- Returns:
- The startedTime.
-
setStartedTime
public AsyncOperation.Builder setStartedTime(com.google.protobuf.Timestamp value)
The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;
-
setStartedTime
public AsyncOperation.Builder setStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;
-
mergeStartedTime
public AsyncOperation.Builder mergeStartedTime(com.google.protobuf.Timestamp value)
The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;
-
clearStartedTime
public AsyncOperation.Builder clearStartedTime()
The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;
-
getStartedTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartedTimeBuilder()
The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;
-
getStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;- Specified by:
getStartedTimeOrBuilderin interfaceAsyncOperationOrBuilder
-
hasFinishedTime
public boolean hasFinishedTime()
The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;- Specified by:
hasFinishedTimein interfaceAsyncOperationOrBuilder- Returns:
- Whether the finishedTime field is set.
-
getFinishedTime
public com.google.protobuf.Timestamp getFinishedTime()
The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;- Specified by:
getFinishedTimein interfaceAsyncOperationOrBuilder- Returns:
- The finishedTime.
-
setFinishedTime
public AsyncOperation.Builder setFinishedTime(com.google.protobuf.Timestamp value)
The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;
-
setFinishedTime
public AsyncOperation.Builder setFinishedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;
-
mergeFinishedTime
public AsyncOperation.Builder mergeFinishedTime(com.google.protobuf.Timestamp value)
The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;
-
clearFinishedTime
public AsyncOperation.Builder clearFinishedTime()
The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;
-
getFinishedTimeBuilder
public com.google.protobuf.Timestamp.Builder getFinishedTimeBuilder()
The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;
-
getFinishedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFinishedTimeOrBuilder()
The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;- Specified by:
getFinishedTimeOrBuilderin interfaceAsyncOperationOrBuilder
-
setUnknownFields
public final AsyncOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
mergeUnknownFields
public final AsyncOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncOperation.Builder>
-
-