Class UpdateActivityOptionsRequest

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

@Generated(value="protoc", comments="annotations:UpdateActivityOptionsRequest.java.pb.meta") public final class UpdateActivityOptionsRequest extends com.google.protobuf.GeneratedMessageV3 implements UpdateActivityOptionsRequestOrBuilder
 NOTE: keep in sync with temporal.api.batch.v1.BatchOperationUpdateActivityOptions
 Deprecated. Use `UpdateActivityExecutionOptionsRequest`.
 
Protobuf type temporal.api.workflowservice.v1.UpdateActivityOptionsRequest
See Also:
  • Field Details

  • 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
    • getActivityCase

    • getNamespace

      public String getNamespace()
       Namespace of the workflow which scheduled this activity
       
      string namespace = 1;
      Specified by:
      getNamespace in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       Namespace of the workflow which scheduled this activity
       
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The bytes for namespace.
    • hasExecution

      public boolean hasExecution()
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
      Specified by:
      hasExecution in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      Whether the execution field is set.
    • getExecution

      public WorkflowExecution getExecution()
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
      Specified by:
      getExecution in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The execution.
    • getExecutionOrBuilder

      public WorkflowExecutionOrBuilder getExecutionOrBuilder()
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
      Specified by:
      getExecutionOrBuilder in interface UpdateActivityOptionsRequestOrBuilder
    • getIdentity

      public String getIdentity()
       The identity of the client who initiated this request
       
      string identity = 3;
      Specified by:
      getIdentity in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       The identity of the client who initiated this request
       
      string identity = 3;
      Specified by:
      getIdentityBytes in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The bytes for identity.
    • hasActivityOptions

      public boolean hasActivityOptions()
       Activity options. Partial updates are accepted and controlled by update_mask
       
      .temporal.api.activity.v1.ActivityOptions activity_options = 4;
      Specified by:
      hasActivityOptions in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      Whether the activityOptions field is set.
    • getActivityOptions

      public ActivityOptions getActivityOptions()
       Activity options. Partial updates are accepted and controlled by update_mask
       
      .temporal.api.activity.v1.ActivityOptions activity_options = 4;
      Specified by:
      getActivityOptions in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The activityOptions.
    • getActivityOptionsOrBuilder

      public ActivityOptionsOrBuilder getActivityOptionsOrBuilder()
       Activity options. Partial updates are accepted and controlled by update_mask
       
      .temporal.api.activity.v1.ActivityOptions activity_options = 4;
      Specified by:
      getActivityOptionsOrBuilder in interface UpdateActivityOptionsRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Controls which fields from `activity_options` will be applied
       
      .google.protobuf.FieldMask update_mask = 5;
      Specified by:
      hasUpdateMask in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Controls which fields from `activity_options` will be applied
       
      .google.protobuf.FieldMask update_mask = 5;
      Specified by:
      getUpdateMask in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Controls which fields from `activity_options` will be applied
       
      .google.protobuf.FieldMask update_mask = 5;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateActivityOptionsRequestOrBuilder
    • hasId

      public boolean hasId()
       Only activity with this ID will be updated.
       
      string id = 6;
      Specified by:
      hasId in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Only activity with this ID will be updated.
       
      string id = 6;
      Specified by:
      getId in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Only activity with this ID will be updated.
       
      string id = 6;
      Specified by:
      getIdBytes in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The bytes for id.
    • hasType

      public boolean hasType()
       Update all running activities of this type.
       
      string type = 7;
      Specified by:
      hasType in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       Update all running activities of this type.
       
      string type = 7;
      Specified by:
      getType in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Update all running activities of this type.
       
      string type = 7;
      Specified by:
      getTypeBytes in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The bytes for type.
    • hasMatchAll

      public boolean hasMatchAll()
       Update all running activities.
       
      bool match_all = 9;
      Specified by:
      hasMatchAll in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      Whether the matchAll field is set.
    • getMatchAll

      public boolean getMatchAll()
       Update all running activities.
       
      bool match_all = 9;
      Specified by:
      getMatchAll in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The matchAll.
    • getRestoreOriginal

      public boolean getRestoreOriginal()
       If set, the activity options will be restored to the default.
       Default options are then options activity was created with.
       They are part of the first schedule event.
       This flag cannot be combined with any other option; if you supply
       restore_original together with other options, the request will be rejected.
       
      bool restore_original = 8;
      Specified by:
      getRestoreOriginal in interface UpdateActivityOptionsRequestOrBuilder
      Returns:
      The restoreOriginal.
    • 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 UpdateActivityOptionsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UpdateActivityOptionsRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static UpdateActivityOptionsRequest getDefaultInstance()
    • parser

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

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