Class UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
- io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion
public static final class UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder> implements UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionOrBuilder
Protobuf typetemporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
clear
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
getDefaultInstanceForType
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
setField
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
clearField
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
clearOneof
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
setRepeatedField
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
addRepeatedField
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
mergeFrom
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
mergeFrom
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder mergeFrom(UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
mergeFrom
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
- Throws:
java.io.IOException
-
getNewBuildId
public java.lang.String getNewBuildId()
A new id to be added to an existing compatible set.
string new_build_id = 1;
- Specified by:
getNewBuildId
in interfaceUpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionOrBuilder
- Returns:
- The newBuildId.
-
getNewBuildIdBytes
public com.google.protobuf.ByteString getNewBuildIdBytes()
A new id to be added to an existing compatible set.
string new_build_id = 1;
- Specified by:
getNewBuildIdBytes
in interfaceUpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionOrBuilder
- Returns:
- The bytes for newBuildId.
-
setNewBuildId
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder setNewBuildId(java.lang.String value)
A new id to be added to an existing compatible set.
string new_build_id = 1;
- Parameters:
value
- The newBuildId to set.- Returns:
- This builder for chaining.
-
clearNewBuildId
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder clearNewBuildId()
A new id to be added to an existing compatible set.
string new_build_id = 1;
- Returns:
- This builder for chaining.
-
setNewBuildIdBytes
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder setNewBuildIdBytes(com.google.protobuf.ByteString value)
A new id to be added to an existing compatible set.
string new_build_id = 1;
- Parameters:
value
- The bytes for newBuildId to set.- Returns:
- This builder for chaining.
-
getExistingCompatibleBuildId
public java.lang.String getExistingCompatibleBuildId()
A build id which must already exist in the version sets known by the task queue. The new id will be stored in the set containing this id, marking it as compatible with the versions within.
string existing_compatible_build_id = 2;
- Specified by:
getExistingCompatibleBuildId
in interfaceUpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionOrBuilder
- Returns:
- The existingCompatibleBuildId.
-
getExistingCompatibleBuildIdBytes
public com.google.protobuf.ByteString getExistingCompatibleBuildIdBytes()
A build id which must already exist in the version sets known by the task queue. The new id will be stored in the set containing this id, marking it as compatible with the versions within.
string existing_compatible_build_id = 2;
- Specified by:
getExistingCompatibleBuildIdBytes
in interfaceUpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionOrBuilder
- Returns:
- The bytes for existingCompatibleBuildId.
-
setExistingCompatibleBuildId
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder setExistingCompatibleBuildId(java.lang.String value)
A build id which must already exist in the version sets known by the task queue. The new id will be stored in the set containing this id, marking it as compatible with the versions within.
string existing_compatible_build_id = 2;
- Parameters:
value
- The existingCompatibleBuildId to set.- Returns:
- This builder for chaining.
-
clearExistingCompatibleBuildId
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder clearExistingCompatibleBuildId()
A build id which must already exist in the version sets known by the task queue. The new id will be stored in the set containing this id, marking it as compatible with the versions within.
string existing_compatible_build_id = 2;
- Returns:
- This builder for chaining.
-
setExistingCompatibleBuildIdBytes
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder setExistingCompatibleBuildIdBytes(com.google.protobuf.ByteString value)
A build id which must already exist in the version sets known by the task queue. The new id will be stored in the set containing this id, marking it as compatible with the versions within.
string existing_compatible_build_id = 2;
- Parameters:
value
- The bytes for existingCompatibleBuildId to set.- Returns:
- This builder for chaining.
-
getMakeSetDefault
public boolean getMakeSetDefault()
When set, establishes the compatible set being targeted as the overall default for the queue. If a different set was the current default, the targeted set will replace it as the new default.
bool make_set_default = 3;
- Specified by:
getMakeSetDefault
in interfaceUpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionOrBuilder
- Returns:
- The makeSetDefault.
-
setMakeSetDefault
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder setMakeSetDefault(boolean value)
When set, establishes the compatible set being targeted as the overall default for the queue. If a different set was the current default, the targeted set will replace it as the new default.
bool make_set_default = 3;
- Parameters:
value
- The makeSetDefault to set.- Returns:
- This builder for chaining.
-
clearMakeSetDefault
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder clearMakeSetDefault()
When set, establishes the compatible set being targeted as the overall default for the queue. If a different set was the current default, the targeted set will replace it as the new default.
bool make_set_default = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
mergeUnknownFields
public final UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder>
-
-