Class GetWorkerBuildIdCompatabilityResponse

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

    @Generated(value="protoc",
               comments="annotations:GetWorkerBuildIdCompatabilityResponse.java.pb.meta")
    public final class GetWorkerBuildIdCompatabilityResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements GetWorkerBuildIdCompatabilityResponseOrBuilder
    Protobuf type temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse
    See Also:
    Serialized Form
    • Field Detail

      • MAJOR_VERSION_SETS_FIELD_NUMBER

        public static final int MAJOR_VERSION_SETS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RETIREMENT_CANDIDATES_FIELD_NUMBER

        public static final int RETIREMENT_CANDIDATES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACTIVE_VERSIONS_AND_POLLERS_FIELD_NUMBER

        public static final int ACTIVE_VERSIONS_AND_POLLERS_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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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 GetWorkerBuildIdCompatabilityResponse parseFrom​(java.nio.ByteBuffer data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GetWorkerBuildIdCompatabilityResponse parseFrom​(java.nio.ByteBuffer data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GetWorkerBuildIdCompatabilityResponse parseFrom​(com.google.protobuf.ByteString data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GetWorkerBuildIdCompatabilityResponse parseFrom​(com.google.protobuf.ByteString data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GetWorkerBuildIdCompatabilityResponse parseFrom​(byte[] data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GetWorkerBuildIdCompatabilityResponse parseFrom​(byte[] data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public com.google.protobuf.Parser<GetWorkerBuildIdCompatabilityResponse> 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 GetWorkerBuildIdCompatabilityResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder