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

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

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

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

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

        public java.util.List<CompatibleVersionSet> getMajorVersionSetsList()
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
        Specified by:
        getMajorVersionSetsList in interface GetWorkerBuildIdCompatabilityResponseOrBuilder
      • getMajorVersionSetsCount

        public int getMajorVersionSetsCount()
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
        Specified by:
        getMajorVersionSetsCount in interface GetWorkerBuildIdCompatabilityResponseOrBuilder
      • getMajorVersionSets

        public CompatibleVersionSet getMajorVersionSets​(int index)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
        Specified by:
        getMajorVersionSets in interface GetWorkerBuildIdCompatabilityResponseOrBuilder
      • setMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder setMajorVersionSets​(int index,
                                                                                 CompatibleVersionSet value)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • setMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder setMajorVersionSets​(int index,
                                                                                 CompatibleVersionSet.Builder builderForValue)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • addMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder addMajorVersionSets​(CompatibleVersionSet value)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • addMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder addMajorVersionSets​(int index,
                                                                                 CompatibleVersionSet value)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • addMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder addMajorVersionSets​(CompatibleVersionSet.Builder builderForValue)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • addMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder addMajorVersionSets​(int index,
                                                                                 CompatibleVersionSet.Builder builderForValue)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • addAllMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder addAllMajorVersionSets​(java.lang.Iterable<? extends CompatibleVersionSet> values)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • clearMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder clearMajorVersionSets()
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • removeMajorVersionSets

        public GetWorkerBuildIdCompatabilityResponse.Builder removeMajorVersionSets​(int index)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • getMajorVersionSetsBuilder

        public CompatibleVersionSet.Builder getMajorVersionSetsBuilder​(int index)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • getMajorVersionSetsOrBuilder

        public CompatibleVersionSetOrBuilder getMajorVersionSetsOrBuilder​(int index)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
        Specified by:
        getMajorVersionSetsOrBuilder in interface GetWorkerBuildIdCompatabilityResponseOrBuilder
      • getMajorVersionSetsOrBuilderList

        public java.util.List<? extends CompatibleVersionSetOrBuilder> getMajorVersionSetsOrBuilderList()
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
        Specified by:
        getMajorVersionSetsOrBuilderList in interface GetWorkerBuildIdCompatabilityResponseOrBuilder
      • addMajorVersionSetsBuilder

        public CompatibleVersionSet.Builder addMajorVersionSetsBuilder()
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • addMajorVersionSetsBuilder

        public CompatibleVersionSet.Builder addMajorVersionSetsBuilder​(int index)
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • getMajorVersionSetsBuilderList

        public java.util.List<CompatibleVersionSet.Builder> getMajorVersionSetsBuilderList()
         Major version sets, in order from oldest to newest. The last element of the list will always
         be the current default major version. IE: New workflows will target the most recent version
         in that version set.
         There may be fewer sets returned than exist, if the request chose to limit this response.
         
        repeated .temporal.api.taskqueue.v1.CompatibleVersionSet major_version_sets = 1;
      • getRetirementCandidatesCount

        public int getRetirementCandidatesCount()
         A list of workers who are still live and polling the task queue, but may no longer be needed
         to make progress on open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate retirement_candidates = 2;
        Specified by:
        getRetirementCandidatesCount in interface GetWorkerBuildIdCompatabilityResponseOrBuilder
      • clearRetirementCandidates

        public GetWorkerBuildIdCompatabilityResponse.Builder clearRetirementCandidates()
         A list of workers who are still live and polling the task queue, but may no longer be needed
         to make progress on open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate retirement_candidates = 2;
      • removeRetirementCandidates

        public GetWorkerBuildIdCompatabilityResponse.Builder removeRetirementCandidates​(int index)
         A list of workers who are still live and polling the task queue, but may no longer be needed
         to make progress on open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate retirement_candidates = 2;
      • getRetirementCandidatesBuilder

        public GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder getRetirementCandidatesBuilder​(int index)
         A list of workers who are still live and polling the task queue, but may no longer be needed
         to make progress on open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate retirement_candidates = 2;
      • addRetirementCandidatesBuilder

        public GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder addRetirementCandidatesBuilder()
         A list of workers who are still live and polling the task queue, but may no longer be needed
         to make progress on open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate retirement_candidates = 2;
      • addRetirementCandidatesBuilder

        public GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder addRetirementCandidatesBuilder​(int index)
         A list of workers who are still live and polling the task queue, but may no longer be needed
         to make progress on open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate retirement_candidates = 2;
      • getRetirementCandidatesBuilderList

        public java.util.List<GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder> getRetirementCandidatesBuilderList()
         A list of workers who are still live and polling the task queue, but may no longer be needed
         to make progress on open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate retirement_candidates = 2;
      • getActiveVersionsAndPollersCount

        public int getActiveVersionsAndPollersCount()
         A list of versions and pollers who are capable of processing tasks at that version (if any)
         for which there are currently open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers active_versions_and_pollers = 3;
        Specified by:
        getActiveVersionsAndPollersCount in interface GetWorkerBuildIdCompatabilityResponseOrBuilder
      • clearActiveVersionsAndPollers

        public GetWorkerBuildIdCompatabilityResponse.Builder clearActiveVersionsAndPollers()
         A list of versions and pollers who are capable of processing tasks at that version (if any)
         for which there are currently open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers active_versions_and_pollers = 3;
      • removeActiveVersionsAndPollers

        public GetWorkerBuildIdCompatabilityResponse.Builder removeActiveVersionsAndPollers​(int index)
         A list of versions and pollers who are capable of processing tasks at that version (if any)
         for which there are currently open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers active_versions_and_pollers = 3;
      • getActiveVersionsAndPollersBuilder

        public GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers.Builder getActiveVersionsAndPollersBuilder​(int index)
         A list of versions and pollers who are capable of processing tasks at that version (if any)
         for which there are currently open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers active_versions_and_pollers = 3;
      • addActiveVersionsAndPollersBuilder

        public GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers.Builder addActiveVersionsAndPollersBuilder()
         A list of versions and pollers who are capable of processing tasks at that version (if any)
         for which there are currently open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers active_versions_and_pollers = 3;
      • addActiveVersionsAndPollersBuilder

        public GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers.Builder addActiveVersionsAndPollersBuilder​(int index)
         A list of versions and pollers who are capable of processing tasks at that version (if any)
         for which there are currently open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers active_versions_and_pollers = 3;
      • getActiveVersionsAndPollersBuilderList

        public java.util.List<GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers.Builder> getActiveVersionsAndPollersBuilderList()
         A list of versions and pollers who are capable of processing tasks at that version (if any)
         for which there are currently open workflows.
         
        repeated .temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.VersionsWithCompatiblePollers active_versions_and_pollers = 3;