Class UpdateWorkerBuildIdCompatibilityRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateWorkerBuildIdCompatibilityRequestOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:UpdateWorkerBuildIdCompatibilityRequest.java.pb.meta") public final class UpdateWorkerBuildIdCompatibilityRequest extends com.google.protobuf.GeneratedMessageV3 implements UpdateWorkerBuildIdCompatibilityRequestOrBuilder
 [cleanup-wv-pre-release]
 
Protobuf type temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest
See Also:
  • Field Details

    • NAMESPACE_FIELD_NUMBER

      public static final int NAMESPACE_FIELD_NUMBER
      See Also:
    • TASK_QUEUE_FIELD_NUMBER

      public static final int TASK_QUEUE_FIELD_NUMBER
      See Also:
    • 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:
    • ADD_NEW_COMPATIBLE_BUILD_ID_FIELD_NUMBER

      public static final int ADD_NEW_COMPATIBLE_BUILD_ID_FIELD_NUMBER
      See Also:
    • PROMOTE_SET_BY_BUILD_ID_FIELD_NUMBER

      public static final int PROMOTE_SET_BY_BUILD_ID_FIELD_NUMBER
      See Also:
    • PROMOTE_BUILD_ID_WITHIN_SET_FIELD_NUMBER

      public static final int PROMOTE_BUILD_ID_WITHIN_SET_FIELD_NUMBER
      See Also:
    • MERGE_SETS_FIELD_NUMBER

      public static final int MERGE_SETS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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
    • getOperationCase

    • getNamespace

      public String getNamespace()
      string namespace = 1;
      Specified by:
      getNamespace in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      The bytes for namespace.
    • getTaskQueue

      public 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 UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      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 UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      The bytes for taskQueue.
    • hasAddNewBuildIdInNewDefaultSet

      public boolean hasAddNewBuildIdInNewDefaultSet()
       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:
      hasAddNewBuildIdInNewDefaultSet in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      Whether the addNewBuildIdInNewDefaultSet field is set.
    • getAddNewBuildIdInNewDefaultSet

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

       Adds a new id to an existing compatible set, see sub-message definition for more.
       
      .temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion add_new_compatible_build_id = 4;
      Specified by:
      getAddNewCompatibleBuildId in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      The addNewCompatibleBuildId.
    • getAddNewCompatibleBuildIdOrBuilder

       Adds a new id to an existing compatible set, see sub-message definition for more.
       
      .temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion add_new_compatible_build_id = 4;
      Specified by:
      getAddNewCompatibleBuildIdOrBuilder in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
    • hasPromoteSetByBuildId

      public boolean hasPromoteSetByBuildId()
       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:
      hasPromoteSetByBuildId in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      Whether the promoteSetByBuildId field is set.
    • getPromoteSetByBuildId

      public 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 UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      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 UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      The bytes for promoteSetByBuildId.
    • hasPromoteBuildIdWithinSet

      public boolean hasPromoteBuildIdWithinSet()
       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:
      hasPromoteBuildIdWithinSet in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      Whether the promoteBuildIdWithinSet field is set.
    • getPromoteBuildIdWithinSet

      public 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 UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      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 UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      The bytes for promoteBuildIdWithinSet.
    • hasMergeSets

      public boolean hasMergeSets()
       Merge two existing sets together, thus declaring all build IDs in both sets compatible
       with one another. The primary set's default will become the default for the merged set.
       This is useful if you've accidentally declared a new ID as incompatible you meant to
       declare as compatible. The unusual case of incomplete replication during failover could
       also result in a split set, which this operation can repair.
       
      .temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets merge_sets = 7;
      Specified by:
      hasMergeSets in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      Whether the mergeSets field is set.
    • getMergeSets

       Merge two existing sets together, thus declaring all build IDs in both sets compatible
       with one another. The primary set's default will become the default for the merged set.
       This is useful if you've accidentally declared a new ID as incompatible you meant to
       declare as compatible. The unusual case of incomplete replication during failover could
       also result in a split set, which this operation can repair.
       
      .temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets merge_sets = 7;
      Specified by:
      getMergeSets in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
      Returns:
      The mergeSets.
    • getMergeSetsOrBuilder

       Merge two existing sets together, thus declaring all build IDs in both sets compatible
       with one another. The primary set's default will become the default for the merged set.
       This is useful if you've accidentally declared a new ID as incompatible you meant to
       declare as compatible. The unusual case of incomplete replication during failover could
       also result in a split set, which this operation can repair.
       
      .temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets merge_sets = 7;
      Specified by:
      getMergeSetsOrBuilder in interface UpdateWorkerBuildIdCompatibilityRequestOrBuilder
    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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 UpdateWorkerBuildIdCompatibilityRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static UpdateWorkerBuildIdCompatibilityRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static UpdateWorkerBuildIdCompatibilityRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpdateWorkerBuildIdCompatibilityRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static UpdateWorkerBuildIdCompatibilityRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpdateWorkerBuildIdCompatibilityRequest> parser()
    • getParserForType

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