Class GetWorkerBuildIdCompatabilityRequest.Builder

    • 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<GetWorkerBuildIdCompatabilityRequest.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<GetWorkerBuildIdCompatabilityRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public GetWorkerBuildIdCompatabilityRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
        string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • setTaskQueue

        public GetWorkerBuildIdCompatabilityRequest.Builder setTaskQueue​(java.lang.String value)
         Must be set, the task queue to interrogate about worker id ordering
         
        string task_queue = 2;
        Parameters:
        value - The taskQueue to set.
        Returns:
        This builder for chaining.
      • setTaskQueueBytes

        public GetWorkerBuildIdCompatabilityRequest.Builder setTaskQueueBytes​(com.google.protobuf.ByteString value)
         Must be set, the task queue to interrogate about worker id ordering
         
        string task_queue = 2;
        Parameters:
        value - The bytes for taskQueue to set.
        Returns:
        This builder for chaining.
      • getMaxSets

        public int getMaxSets()
         Limits how many compatible sets will be returned. Specify 1 to only return the current
         default major version set. 0 returns all sets.
         
        int32 max_sets = 3;
        Specified by:
        getMaxSets in interface GetWorkerBuildIdCompatabilityRequestOrBuilder
        Returns:
        The maxSets.
      • setMaxSets

        public GetWorkerBuildIdCompatabilityRequest.Builder setMaxSets​(int value)
         Limits how many compatible sets will be returned. Specify 1 to only return the current
         default major version set. 0 returns all sets.
         
        int32 max_sets = 3;
        Parameters:
        value - The maxSets to set.
        Returns:
        This builder for chaining.
      • clearMaxSets

        public GetWorkerBuildIdCompatabilityRequest.Builder clearMaxSets()
         Limits how many compatible sets will be returned. Specify 1 to only return the current
         default major version set. 0 returns all sets.
         
        int32 max_sets = 3;
        Returns:
        This builder for chaining.
      • setIncludeRetirementCandidates

        public GetWorkerBuildIdCompatabilityRequest.Builder setIncludeRetirementCandidates​(boolean value)
         If set, the response will include information about worker versions which are ready to be
         retired.
         
        bool include_retirement_candidates = 4;
        Parameters:
        value - The includeRetirementCandidates to set.
        Returns:
        This builder for chaining.
      • clearIncludeRetirementCandidates

        public GetWorkerBuildIdCompatabilityRequest.Builder clearIncludeRetirementCandidates()
         If set, the response will include information about worker versions which are ready to be
         retired.
         
        bool include_retirement_candidates = 4;
        Returns:
        This builder for chaining.
      • getIncludePollerCompatability

        public boolean getIncludePollerCompatability()
         If set, the response will include information about which versions have open workflows, and
         whether or not there are currently polling workers who are compatible with those versions.
         
        bool include_poller_compatability = 5;
        Specified by:
        getIncludePollerCompatability in interface GetWorkerBuildIdCompatabilityRequestOrBuilder
        Returns:
        The includePollerCompatability.
      • setIncludePollerCompatability

        public GetWorkerBuildIdCompatabilityRequest.Builder setIncludePollerCompatability​(boolean value)
         If set, the response will include information about which versions have open workflows, and
         whether or not there are currently polling workers who are compatible with those versions.
         
        bool include_poller_compatability = 5;
        Parameters:
        value - The includePollerCompatability to set.
        Returns:
        This builder for chaining.
      • clearIncludePollerCompatability

        public GetWorkerBuildIdCompatabilityRequest.Builder clearIncludePollerCompatability()
         If set, the response will include information about which versions have open workflows, and
         whether or not there are currently polling workers who are compatible with those versions.
         
        bool include_poller_compatability = 5;
        Returns:
        This builder for chaining.