Class UpdateWorkerBuildIdCompatibilityRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateWorkerBuildIdCompatibilityRequestOrBuilder, java.lang.Cloneable
    Enclosing class:
    UpdateWorkerBuildIdCompatibilityRequest

    public static final class UpdateWorkerBuildIdCompatibilityRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.Builder>
    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
    • Method Detail

      • 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.Builder<UpdateWorkerBuildIdCompatibilityRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatibilityRequest.Builder>
      • mergeFrom

        public UpdateWorkerBuildIdCompatibilityRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                  throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateWorkerBuildIdCompatibilityRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespaceBytes

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
        string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • 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.
      • setTaskQueue

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setTaskQueue​(java.lang.String value)
         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;
        Parameters:
        value - The taskQueue to set.
        Returns:
        This builder for chaining.
      • clearTaskQueue

        public UpdateWorkerBuildIdCompatibilityRequest.Builder clearTaskQueue()
         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;
        Returns:
        This builder for chaining.
      • setTaskQueueBytes

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setTaskQueueBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for taskQueue to set.
        Returns:
        This builder for chaining.
      • 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.
      • setAddNewBuildIdInNewDefaultSet

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setAddNewBuildIdInNewDefaultSet​(java.lang.String value)
         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;
        Parameters:
        value - The addNewBuildIdInNewDefaultSet to set.
        Returns:
        This builder for chaining.
      • clearAddNewBuildIdInNewDefaultSet

        public UpdateWorkerBuildIdCompatibilityRequest.Builder clearAddNewBuildIdInNewDefaultSet()
         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;
        Returns:
        This builder for chaining.
      • setAddNewBuildIdInNewDefaultSetBytes

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setAddNewBuildIdInNewDefaultSetBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for addNewBuildIdInNewDefaultSet to set.
        Returns:
        This builder for chaining.
      • 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.
      • clearAddNewCompatibleBuildId

        public UpdateWorkerBuildIdCompatibilityRequest.Builder clearAddNewCompatibleBuildId()
         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;
      • getAddNewCompatibleBuildIdBuilder

        public UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion.Builder getAddNewCompatibleBuildIdBuilder()
         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;
      • 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.
      • setPromoteSetByBuildId

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setPromoteSetByBuildId​(java.lang.String value)
         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;
        Parameters:
        value - The promoteSetByBuildId to set.
        Returns:
        This builder for chaining.
      • clearPromoteSetByBuildId

        public UpdateWorkerBuildIdCompatibilityRequest.Builder clearPromoteSetByBuildId()
         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;
        Returns:
        This builder for chaining.
      • setPromoteSetByBuildIdBytes

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setPromoteSetByBuildIdBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for promoteSetByBuildId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setPromoteBuildIdWithinSet

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setPromoteBuildIdWithinSet​(java.lang.String value)
         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;
        Parameters:
        value - The promoteBuildIdWithinSet to set.
        Returns:
        This builder for chaining.
      • clearPromoteBuildIdWithinSet

        public UpdateWorkerBuildIdCompatibilityRequest.Builder clearPromoteBuildIdWithinSet()
         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;
        Returns:
        This builder for chaining.
      • setPromoteBuildIdWithinSetBytes

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setPromoteBuildIdWithinSetBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for promoteBuildIdWithinSet to set.
        Returns:
        This builder for chaining.
      • 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.
      • setMergeSets

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setMergeSets​(UpdateWorkerBuildIdCompatibilityRequest.MergeSets value)
         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;
      • setMergeSets

        public UpdateWorkerBuildIdCompatibilityRequest.Builder setMergeSets​(UpdateWorkerBuildIdCompatibilityRequest.MergeSets.Builder builderForValue)
         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;
      • mergeMergeSets

        public UpdateWorkerBuildIdCompatibilityRequest.Builder mergeMergeSets​(UpdateWorkerBuildIdCompatibilityRequest.MergeSets value)
         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;
      • clearMergeSets

        public UpdateWorkerBuildIdCompatibilityRequest.Builder clearMergeSets()
         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;
      • getMergeSetsBuilder

        public UpdateWorkerBuildIdCompatibilityRequest.MergeSets.Builder getMergeSetsBuilder()
         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;
      • 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