Class SetWorkerDeploymentManagerResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.Cloneable
- Enclosing class:
- SetWorkerDeploymentManagerResponse
public static final class SetWorkerDeploymentManagerResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder> implements SetWorkerDeploymentManagerResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SetWorkerDeploymentManagerResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SetWorkerDeploymentManagerResponsebuild()SetWorkerDeploymentManagerResponsebuildPartial()SetWorkerDeploymentManagerResponse.Builderclear()SetWorkerDeploymentManagerResponse.BuilderclearConflictToken()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.SetWorkerDeploymentManagerResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SetWorkerDeploymentManagerResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SetWorkerDeploymentManagerResponse.BuilderclearPreviousManagerIdentity()Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.SetWorkerDeploymentManagerResponse.Builderclone()com.google.protobuf.ByteStringgetConflictToken()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.SetWorkerDeploymentManagerResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetPreviousManagerIdentity()Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.com.google.protobuf.ByteStringgetPreviousManagerIdentityBytes()Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SetWorkerDeploymentManagerResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SetWorkerDeploymentManagerResponse.BuildermergeFrom(com.google.protobuf.Message other)SetWorkerDeploymentManagerResponse.BuildermergeFrom(SetWorkerDeploymentManagerResponse other)SetWorkerDeploymentManagerResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SetWorkerDeploymentManagerResponse.BuildersetConflictToken(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.SetWorkerDeploymentManagerResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SetWorkerDeploymentManagerResponse.BuildersetPreviousManagerIdentity(java.lang.String value)Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.SetWorkerDeploymentManagerResponse.BuildersetPreviousManagerIdentityBytes(com.google.protobuf.ByteString value)Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated.SetWorkerDeploymentManagerResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)SetWorkerDeploymentManagerResponse.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<SetWorkerDeploymentManagerResponse.Builder>
-
clear
public 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
public SetWorkerDeploymentManagerResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SetWorkerDeploymentManagerResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SetWorkerDeploymentManagerResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SetWorkerDeploymentManagerResponse.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
-
mergeFrom
public SetWorkerDeploymentManagerResponse.Builder mergeFrom(com.google.protobuf.Message other)
- 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 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<SetWorkerDeploymentManagerResponse.Builder>- Throws:
java.io.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
public SetWorkerDeploymentManagerResponse.Builder 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 public java.lang.String getPreviousManagerIdentity()
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456What 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 public com.google.protobuf.ByteString getPreviousManagerIdentityBytes()
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456What 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(java.lang.String value)
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456What 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 public SetWorkerDeploymentManagerResponse.Builder clearPreviousManagerIdentity()
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456What 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=2456What 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>
-
-