Class UpdateWorkerBuildIdCompatabilityRequest

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

    @Generated(value="protoc",
               comments="annotations:UpdateWorkerBuildIdCompatabilityRequest.java.pb.meta")
    public final class UpdateWorkerBuildIdCompatabilityRequest
    extends com.google.protobuf.GeneratedMessageV3
    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
    See Also:
    Serialized Form
    • Field Detail

      • TASK_QUEUE_FIELD_NUMBER

        public static final int TASK_QUEUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADD_NEW_BUILD_ID_IN_NEW_DEFAULT_SET_FIELD_NUMBER

        public static final int ADD_NEW_BUILD_ID_IN_NEW_DEFAULT_SET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADD_NEW_COMPATIBLE_BUILD_ID_FIELD_NUMBER

        public static final int ADD_NEW_COMPATIBLE_BUILD_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROMOTE_SET_BY_BUILD_ID_FIELD_NUMBER

        public static final int PROMOTE_SET_BY_BUILD_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROMOTE_BUILD_ID_WITHIN_SET_FIELD_NUMBER

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

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

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

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

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

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

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

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

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

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

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

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