Class UpdateWorkerBuildIdCompatabilityRequest.Builder

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

    public static final class UpdateWorkerBuildIdCompatabilityRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkerBuildIdCompatabilityRequest.Builder>
    implements UpdateWorkerBuildIdCompatabilityRequestOrBuilder
     (-- api-linter: core::0134::request-mask-required=disabled
         aip.dev/not-precedent: UpdateWorkerBuildIdOrderingRequest doesn't follow Google API format --)
     (-- api-linter: core::0134::request-resource-required=disabled
         aip.dev/not-precedent: UpdateWorkerBuildIdOrderingRequest RPC doesn't follow Google API format. --)
     
    Protobuf type temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatabilityRequest
    • 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<UpdateWorkerBuildIdCompatabilityRequest.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<UpdateWorkerBuildIdCompatabilityRequest.Builder>
      • getDefaultInstanceForType

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

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

        public UpdateWorkerBuildIdCompatabilityRequest 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<UpdateWorkerBuildIdCompatabilityRequest.Builder>
      • mergeFrom

        public UpdateWorkerBuildIdCompatabilityRequest.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<UpdateWorkerBuildIdCompatabilityRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespaceBytes

        public UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        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 UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        Returns:
        The bytes for taskQueue.
      • setTaskQueue

        public UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        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 UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        Returns:
        The bytes for addNewBuildIdInNewDefaultSet.
      • setAddNewBuildIdInNewDefaultSet

        public UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequest.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.UpdateWorkerBuildIdCompatabilityRequest.AddNewCompatibleVersion add_new_compatible_build_id = 4;
        Specified by:
        hasAddNewCompatibleBuildId in interface UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        Returns:
        Whether the addNewCompatibleBuildId field is set.
      • clearAddNewCompatibleBuildId

        public UpdateWorkerBuildIdCompatabilityRequest.Builder clearAddNewCompatibleBuildId()
         Adds a new id to an existing compatible set, see sub-message definition for more.
         
        .temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatabilityRequest.AddNewCompatibleVersion add_new_compatible_build_id = 4;
      • getAddNewCompatibleBuildIdBuilder

        public UpdateWorkerBuildIdCompatabilityRequest.AddNewCompatibleVersion.Builder getAddNewCompatibleBuildIdBuilder()
         Adds a new id to an existing compatible set, see sub-message definition for more.
         
        .temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        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 UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        Returns:
        The bytes for promoteSetByBuildId.
      • setPromoteSetByBuildId

        public UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        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 UpdateWorkerBuildIdCompatabilityRequestOrBuilder
        Returns:
        The bytes for promoteBuildIdWithinSet.
      • setPromoteBuildIdWithinSet

        public UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequest.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 UpdateWorkerBuildIdCompatabilityRequest.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.