Class UpdateWorkerBuildIdCompatibilityRequest

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateWorkerBuildIdCompatibilityRequestOrBuilder, java.io.Serializable

    @Generated(value="protoc",
               comments="annotations:UpdateWorkerBuildIdCompatibilityRequest.java.pb.meta")
    public final class UpdateWorkerBuildIdCompatibilityRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements UpdateWorkerBuildIdCompatibilityRequestOrBuilder
     (-- api-linter: core::0134::request-mask-required=disabled
         aip.dev/not-precedent: UpdateWorkerBuildIdCompatibilityRequest doesn't follow Google API format --)
     (-- api-linter: core::0134::request-resource-required=disabled
         aip.dev/not-precedent: UpdateWorkerBuildIdCompatibilityRequest RPC doesn't follow Google API format. --)
     
    Protobuf type temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest
    See Also:
    Serialized Form
    • Field Detail

      • TASK_QUEUE_FIELD_NUMBER

        public static final int TASK_QUEUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • ADD_NEW_COMPATIBLE_BUILD_ID_FIELD_NUMBER

        public static final int ADD_NEW_COMPATIBLE_BUILD_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROMOTE_SET_BY_BUILD_ID_FIELD_NUMBER

        public static final int PROMOTE_SET_BY_BUILD_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROMOTE_BUILD_ID_WITHIN_SET_FIELD_NUMBER

        public static final int PROMOTE_BUILD_ID_WITHIN_SET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MERGE_SETS_FIELD_NUMBER

        public static final int MERGE_SETS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getTaskQueue

        public java.lang.String 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:
        getTaskQueue in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        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:
        getTaskQueueBytes in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        Returns:
        The bytes for taskQueue.
      • getAddNewBuildIdInNewDefaultSet

        public java.lang.String 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:
        getAddNewBuildIdInNewDefaultSet in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        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:
        getAddNewBuildIdInNewDefaultSetBytes in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        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:
        hasAddNewCompatibleBuildId in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        Returns:
        Whether the addNewCompatibleBuildId field is set.
      • getPromoteSetByBuildId

        public java.lang.String 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:
        getPromoteSetByBuildId in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        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:
        getPromoteSetByBuildIdBytes in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        Returns:
        The bytes for promoteSetByBuildId.
      • getPromoteBuildIdWithinSet

        public java.lang.String 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:
        getPromoteBuildIdWithinSet in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        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:
        getPromoteBuildIdWithinSetBytes in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        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:
        hasMergeSets in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        Returns:
        Whether the mergeSets field is set.
      • getMergeSets

        public UpdateWorkerBuildIdCompatibilityRequest.MergeSets 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:
        getMergeSets in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
        Returns:
        The mergeSets.
      • getMergeSetsOrBuilder

        public UpdateWorkerBuildIdCompatibilityRequest.MergeSetsOrBuilder 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:
        getMergeSetsOrBuilder in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static UpdateWorkerBuildIdCompatibilityRequest parseFrom​(java.nio.ByteBuffer data)
                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateWorkerBuildIdCompatibilityRequest parseFrom​(java.nio.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​(java.io.InputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static UpdateWorkerBuildIdCompatibilityRequest parseDelimitedFrom​(java.io.InputStream input,
                                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static UpdateWorkerBuildIdCompatibilityRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public UpdateWorkerBuildIdCompatibilityRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected UpdateWorkerBuildIdCompatibilityRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<UpdateWorkerBuildIdCompatibilityRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public UpdateWorkerBuildIdCompatibilityRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder