Class SetWorkerDeploymentManagerResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SetWorkerDeploymentManagerResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
io.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SetWorkerDeploymentManagerResponseOrBuilder,Cloneable
- Enclosing class:
SetWorkerDeploymentManagerResponse
public static final class SetWorkerDeploymentManagerResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
implements SetWorkerDeploymentManagerResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.clone()com.google.protobuf.ByteStringThis value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setConflictToken(com.google.protobuf.ByteString value) This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.setPreviousManagerIdentity(String value) Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.setPreviousManagerIdentityBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<SetWorkerDeploymentManagerResponse.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<SetWorkerDeploymentManagerResponse.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<SetWorkerDeploymentManagerResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<SetWorkerDeploymentManagerResponse.Builder>
-
setField
public SetWorkerDeploymentManagerResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
clearField
public SetWorkerDeploymentManagerResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
clearOneof
public SetWorkerDeploymentManagerResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
setRepeatedField
public SetWorkerDeploymentManagerResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
addRepeatedField
public SetWorkerDeploymentManagerResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
mergeFrom
public SetWorkerDeploymentManagerResponse.Builder mergeFrom(SetWorkerDeploymentManagerResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
mergeFrom
public SetWorkerDeploymentManagerResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetWorkerDeploymentManagerResponse.Builder>- Throws:
IOException
-
getConflictToken
public com.google.protobuf.ByteString getConflictToken()This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.
bytes conflict_token = 1;- Specified by:
getConflictTokenin interfaceSetWorkerDeploymentManagerResponseOrBuilder- Returns:
- The conflictToken.
-
setConflictToken
public SetWorkerDeploymentManagerResponse.Builder setConflictToken(com.google.protobuf.ByteString value) This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.
bytes conflict_token = 1;- Parameters:
value- The conflictToken to set.- Returns:
- This builder for chaining.
-
clearConflictToken
This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.
bytes conflict_token = 1;- Returns:
- This builder for chaining.
-
getPreviousManagerIdentity
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2861What the `manager_identity` field was before this change. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the manager identity before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
string previous_manager_identity = 2 [deprecated = true];- Specified by:
getPreviousManagerIdentityin interfaceSetWorkerDeploymentManagerResponseOrBuilder- Returns:
- The previousManagerIdentity.
-
getPreviousManagerIdentityBytes
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2861What the `manager_identity` field was before this change. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the manager identity before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
string previous_manager_identity = 2 [deprecated = true];- Specified by:
getPreviousManagerIdentityBytesin interfaceSetWorkerDeploymentManagerResponseOrBuilder- Returns:
- The bytes for previousManagerIdentity.
-
setPreviousManagerIdentity
@Deprecated public SetWorkerDeploymentManagerResponse.Builder setPreviousManagerIdentity(String value) Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2861What the `manager_identity` field was before this change. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the manager identity before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
string previous_manager_identity = 2 [deprecated = true];- Parameters:
value- The previousManagerIdentity to set.- Returns:
- This builder for chaining.
-
clearPreviousManagerIdentity
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2861What the `manager_identity` field was before this change. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the manager identity before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
string previous_manager_identity = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
setPreviousManagerIdentityBytes
@Deprecated public SetWorkerDeploymentManagerResponse.Builder setPreviousManagerIdentityBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2861What the `manager_identity` field was before this change. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the manager identity before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
string previous_manager_identity = 2 [deprecated = true];- Parameters:
value- The bytes for previousManagerIdentity to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SetWorkerDeploymentManagerResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
mergeUnknownFields
public final SetWorkerDeploymentManagerResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-