Class UpdateWorkerBuildIdCompatibilityRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateWorkerBuildIdCompatibilityRequestOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:UpdateWorkerBuildIdCompatibilityRequest.java.pb.meta")
public final class UpdateWorkerBuildIdCompatibilityRequest
extends com.google.protobuf.GeneratedMessageV3
implements UpdateWorkerBuildIdCompatibilityRequestOrBuilder
[cleanup-wv-pre-release]Protobuf type
temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionstatic interfacestatic final class[cleanup-wv-pre-release]static final classProtobuf typetemporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsstatic interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA new build id.com.google.protobuf.ByteStringA new build id.Adds a new id to an existing compatible set, see sub-message definition for more.Adds a new id to an existing compatible set, see sub-message definition for more.static final com.google.protobuf.Descriptors.DescriptorMerge two existing sets together, thus declaring all build IDs in both sets compatible with one another.Merge two existing sets together, thus declaring all build IDs in both sets compatible with one another.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;com.google.protobuf.Parser<UpdateWorkerBuildIdCompatibilityRequest> Promote an existing build id within some set to be the current default for that set.com.google.protobuf.ByteStringPromote an existing build id within some set to be the current default for that set.Promote an existing set to be the current default (if it isn't already) by targeting an existing build id within it.com.google.protobuf.ByteStringPromote an existing set to be the current default (if it isn't already) by targeting an existing build id within it.intMust be set, the task queue to apply changes to.com.google.protobuf.ByteStringMust be set, the task queue to apply changes to.booleanA new build id.booleanAdds a new id to an existing compatible set, see sub-message definition for more.inthashCode()booleanMerge two existing sets together, thus declaring all build IDs in both sets compatible with one another.booleanPromote an existing build id within some set to be the current default for that set.booleanPromote an existing set to be the current default (if it isn't already) by targeting an existing build id within it.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateWorkerBuildIdCompatibilityRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
ADD_NEW_BUILD_ID_IN_NEW_DEFAULT_SET_FIELD_NUMBER
public static final int ADD_NEW_BUILD_ID_IN_NEW_DEFAULT_SET_FIELD_NUMBER- See Also:
-
ADD_NEW_COMPATIBLE_BUILD_ID_FIELD_NUMBER
public static final int ADD_NEW_COMPATIBLE_BUILD_ID_FIELD_NUMBER- See Also:
-
PROMOTE_SET_BY_BUILD_ID_FIELD_NUMBER
public static final int PROMOTE_SET_BY_BUILD_ID_FIELD_NUMBER- See Also:
-
PROMOTE_BUILD_ID_WITHIN_SET_FIELD_NUMBER
public static final int PROMOTE_BUILD_ID_WITHIN_SET_FIELD_NUMBER- See Also:
-
MERGE_SETS_FIELD_NUMBER
public static final int MERGE_SETS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getOperationCase
- Specified by:
getOperationCasein interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The bytes for namespace.
-
getTaskQueue
Must be set, the task queue to apply changes to. Because all workers on a given task queue must have the same set of workflow & activity implementations, there is no reason to specify a task queue type here.
string task_queue = 2;- Specified by:
getTaskQueuein interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueBytes
public com.google.protobuf.ByteString getTaskQueueBytes()Must be set, the task queue to apply changes to. Because all workers on a given task queue must have the same set of workflow & activity implementations, there is no reason to specify a task queue type here.
string task_queue = 2;- Specified by:
getTaskQueueBytesin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The bytes for taskQueue.
-
hasAddNewBuildIdInNewDefaultSet
public boolean hasAddNewBuildIdInNewDefaultSet()A new build id. This operation will create a new set which will be the new overall default version for the queue, with this id as its only member. This new set is incompatible with all previous sets/versions. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: In makes perfect sense here. --)string add_new_build_id_in_new_default_set = 3;- Specified by:
hasAddNewBuildIdInNewDefaultSetin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- Whether the addNewBuildIdInNewDefaultSet field is set.
-
getAddNewBuildIdInNewDefaultSet
A new build id. This operation will create a new set which will be the new overall default version for the queue, with this id as its only member. This new set is incompatible with all previous sets/versions. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: In makes perfect sense here. --)string add_new_build_id_in_new_default_set = 3;- Specified by:
getAddNewBuildIdInNewDefaultSetin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The addNewBuildIdInNewDefaultSet.
-
getAddNewBuildIdInNewDefaultSetBytes
public com.google.protobuf.ByteString getAddNewBuildIdInNewDefaultSetBytes()A new build id. This operation will create a new set which will be the new overall default version for the queue, with this id as its only member. This new set is incompatible with all previous sets/versions. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: In makes perfect sense here. --)string add_new_build_id_in_new_default_set = 3;- Specified by:
getAddNewBuildIdInNewDefaultSetBytesin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The bytes for addNewBuildIdInNewDefaultSet.
-
hasAddNewCompatibleBuildId
public boolean hasAddNewCompatibleBuildId()Adds a new id to an existing compatible set, see sub-message definition for more.
.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion add_new_compatible_build_id = 4;- Specified by:
hasAddNewCompatibleBuildIdin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- Whether the addNewCompatibleBuildId field is set.
-
getAddNewCompatibleBuildId
Adds a new id to an existing compatible set, see sub-message definition for more.
.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion add_new_compatible_build_id = 4;- Specified by:
getAddNewCompatibleBuildIdin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The addNewCompatibleBuildId.
-
getAddNewCompatibleBuildIdOrBuilder
public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionOrBuilder getAddNewCompatibleBuildIdOrBuilder()Adds a new id to an existing compatible set, see sub-message definition for more.
.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion add_new_compatible_build_id = 4;- Specified by:
getAddNewCompatibleBuildIdOrBuilderin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder
-
hasPromoteSetByBuildId
public boolean hasPromoteSetByBuildId()Promote an existing set to be the current default (if it isn't already) by targeting an existing build id within it. This field's value is the extant build id. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Names are hard. --)string promote_set_by_build_id = 5;- Specified by:
hasPromoteSetByBuildIdin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- Whether the promoteSetByBuildId field is set.
-
getPromoteSetByBuildId
Promote an existing set to be the current default (if it isn't already) by targeting an existing build id within it. This field's value is the extant build id. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Names are hard. --)string promote_set_by_build_id = 5;- Specified by:
getPromoteSetByBuildIdin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The promoteSetByBuildId.
-
getPromoteSetByBuildIdBytes
public com.google.protobuf.ByteString getPromoteSetByBuildIdBytes()Promote an existing set to be the current default (if it isn't already) by targeting an existing build id within it. This field's value is the extant build id. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Names are hard. --)string promote_set_by_build_id = 5;- Specified by:
getPromoteSetByBuildIdBytesin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The bytes for promoteSetByBuildId.
-
hasPromoteBuildIdWithinSet
public boolean hasPromoteBuildIdWithinSet()Promote an existing build id within some set to be the current default for that set. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Within makes perfect sense here. --)string promote_build_id_within_set = 6;- Specified by:
hasPromoteBuildIdWithinSetin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- Whether the promoteBuildIdWithinSet field is set.
-
getPromoteBuildIdWithinSet
Promote an existing build id within some set to be the current default for that set. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Within makes perfect sense here. --)string promote_build_id_within_set = 6;- Specified by:
getPromoteBuildIdWithinSetin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The promoteBuildIdWithinSet.
-
getPromoteBuildIdWithinSetBytes
public com.google.protobuf.ByteString getPromoteBuildIdWithinSetBytes()Promote an existing build id within some set to be the current default for that set. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Within makes perfect sense here. --)string promote_build_id_within_set = 6;- Specified by:
getPromoteBuildIdWithinSetBytesin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The bytes for promoteBuildIdWithinSet.
-
hasMergeSets
public boolean hasMergeSets()Merge two existing sets together, thus declaring all build IDs in both sets compatible with one another. The primary set's default will become the default for the merged set. This is useful if you've accidentally declared a new ID as incompatible you meant to declare as compatible. The unusual case of incomplete replication during failover could also result in a split set, which this operation can repair.
.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets merge_sets = 7;- Specified by:
hasMergeSetsin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- Whether the mergeSets field is set.
-
getMergeSets
Merge two existing sets together, thus declaring all build IDs in both sets compatible with one another. The primary set's default will become the default for the merged set. This is useful if you've accidentally declared a new ID as incompatible you meant to declare as compatible. The unusual case of incomplete replication during failover could also result in a split set, which this operation can repair.
.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets merge_sets = 7;- Specified by:
getMergeSetsin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder- Returns:
- The mergeSets.
-
getMergeSetsOrBuilder
Merge two existing sets together, thus declaring all build IDs in both sets compatible with one another. The primary set's default will become the default for the merged set. This is useful if you've accidentally declared a new ID as incompatible you meant to declare as compatible. The unusual case of incomplete replication during failover could also result in a split set, which this operation can repair.
.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets merge_sets = 7;- Specified by:
getMergeSetsOrBuilderin interfaceUpdateWorkerBuildIdCompatibilityRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static UpdateWorkerBuildIdCompatibilityRequest.Builder newBuilder(UpdateWorkerBuildIdCompatibilityRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpdateWorkerBuildIdCompatibilityRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-