Class UpdateActivityOptionsRequest

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateActivityOptionsRequestOrBuilder, java.io.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
     
    Protobuf type temporal.api.workflowservice.v1.UpdateActivityOptionsRequest
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected java.lang.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
      • 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.
      • 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.
      • 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.
      • 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 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 UpdateActivityOptionsRequest parseFrom​(java.nio.ByteBuffer data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateActivityOptionsRequest parseFrom​(java.nio.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​(java.io.InputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static UpdateActivityOptionsRequest parseDelimitedFrom​(java.io.InputStream input)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

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

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