Class UpdateScheduleRequest

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

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

    • NAMESPACE_FIELD_NUMBER

      public static final int NAMESPACE_FIELD_NUMBER
      See Also:
    • SCHEDULE_ID_FIELD_NUMBER

      public static final int SCHEDULE_ID_FIELD_NUMBER
      See Also:
    • SCHEDULE_FIELD_NUMBER

      public static final int SCHEDULE_FIELD_NUMBER
      See Also:
    • CONFLICT_TOKEN_FIELD_NUMBER

      public static final int CONFLICT_TOKEN_FIELD_NUMBER
      See Also:
    • IDENTITY_FIELD_NUMBER

      public static final int IDENTITY_FIELD_NUMBER
      See Also:
    • REQUEST_ID_FIELD_NUMBER

      public static final int REQUEST_ID_FIELD_NUMBER
      See Also:
    • SEARCH_ATTRIBUTES_FIELD_NUMBER

      public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • MEMO_FIELD_NUMBER

      public static final int MEMO_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
    • getNamespace

      public String getNamespace()
       The namespace of the schedule to update.
       
      string namespace = 1;
      Specified by:
      getNamespace in interface UpdateScheduleRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       The namespace of the schedule to update.
       
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface UpdateScheduleRequestOrBuilder
      Returns:
      The bytes for namespace.
    • getScheduleId

      public String getScheduleId()
       The id of the schedule to update.
       
      string schedule_id = 2;
      Specified by:
      getScheduleId in interface UpdateScheduleRequestOrBuilder
      Returns:
      The scheduleId.
    • getScheduleIdBytes

      public com.google.protobuf.ByteString getScheduleIdBytes()
       The id of the schedule to update.
       
      string schedule_id = 2;
      Specified by:
      getScheduleIdBytes in interface UpdateScheduleRequestOrBuilder
      Returns:
      The bytes for scheduleId.
    • hasSchedule

      public boolean hasSchedule()
       The new schedule. The four main fields of the schedule (spec, action,
       policies, state) are replaced completely by the values in this message.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
      Specified by:
      hasSchedule in interface UpdateScheduleRequestOrBuilder
      Returns:
      Whether the schedule field is set.
    • getSchedule

      public Schedule getSchedule()
       The new schedule. The four main fields of the schedule (spec, action,
       policies, state) are replaced completely by the values in this message.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
      Specified by:
      getSchedule in interface UpdateScheduleRequestOrBuilder
      Returns:
      The schedule.
    • getScheduleOrBuilder

      public ScheduleOrBuilder getScheduleOrBuilder()
       The new schedule. The four main fields of the schedule (spec, action,
       policies, state) are replaced completely by the values in this message.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
      Specified by:
      getScheduleOrBuilder in interface UpdateScheduleRequestOrBuilder
    • getConflictToken

      public com.google.protobuf.ByteString getConflictToken()
       This can be the value of conflict_token from a DescribeScheduleResponse,
       which will cause this request to fail if the schedule has been modified
       between the Describe and this Update.
       If missing, the schedule will be updated unconditionally.
       
      bytes conflict_token = 4;
      Specified by:
      getConflictToken in interface UpdateScheduleRequestOrBuilder
      Returns:
      The conflictToken.
    • getIdentity

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

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

      public String getRequestId()
       A unique identifier for this update request for idempotence. Typically UUIDv4.
       
      string request_id = 6;
      Specified by:
      getRequestId in interface UpdateScheduleRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       A unique identifier for this update request for idempotence. Typically UUIDv4.
       
      string request_id = 6;
      Specified by:
      getRequestIdBytes in interface UpdateScheduleRequestOrBuilder
      Returns:
      The bytes for requestId.
    • hasSearchAttributes

      public boolean hasSearchAttributes()
       Schedule search attributes to be updated.
       Do not set this field if you do not want to update the search attributes.
       A non-null empty object will set the search attributes to an empty map.
       Note: you cannot only update the search attributes with `UpdateScheduleRequest`,
       you must also set the `schedule` field; otherwise, it will unset the schedule.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 7;
      Specified by:
      hasSearchAttributes in interface UpdateScheduleRequestOrBuilder
      Returns:
      Whether the searchAttributes field is set.
    • getSearchAttributes

      public SearchAttributes getSearchAttributes()
       Schedule search attributes to be updated.
       Do not set this field if you do not want to update the search attributes.
       A non-null empty object will set the search attributes to an empty map.
       Note: you cannot only update the search attributes with `UpdateScheduleRequest`,
       you must also set the `schedule` field; otherwise, it will unset the schedule.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 7;
      Specified by:
      getSearchAttributes in interface UpdateScheduleRequestOrBuilder
      Returns:
      The searchAttributes.
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
       Schedule search attributes to be updated.
       Do not set this field if you do not want to update the search attributes.
       A non-null empty object will set the search attributes to an empty map.
       Note: you cannot only update the search attributes with `UpdateScheduleRequest`,
       you must also set the `schedule` field; otherwise, it will unset the schedule.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 7;
      Specified by:
      getSearchAttributesOrBuilder in interface UpdateScheduleRequestOrBuilder
    • hasMemo

      public boolean hasMemo()
       Schedule memo to replace. If set, replaces the entire memo.
       Do not set this field if you do not want to update the memo.
       A non-null empty object will clear the memo.
       
      .temporal.api.common.v1.Memo memo = 8;
      Specified by:
      hasMemo in interface UpdateScheduleRequestOrBuilder
      Returns:
      Whether the memo field is set.
    • getMemo

      public Memo getMemo()
       Schedule memo to replace. If set, replaces the entire memo.
       Do not set this field if you do not want to update the memo.
       A non-null empty object will clear the memo.
       
      .temporal.api.common.v1.Memo memo = 8;
      Specified by:
      getMemo in interface UpdateScheduleRequestOrBuilder
      Returns:
      The memo.
    • getMemoOrBuilder

      public MemoOrBuilder getMemoOrBuilder()
       Schedule memo to replace. If set, replaces the entire memo.
       Do not set this field if you do not want to update the memo.
       A non-null empty object will clear the memo.
       
      .temporal.api.common.v1.Memo memo = 8;
      Specified by:
      getMemoOrBuilder in interface UpdateScheduleRequestOrBuilder
    • 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 UpdateScheduleRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UpdateScheduleRequest.Builder newBuilder()
    • newBuilder

      public static UpdateScheduleRequest.Builder newBuilder(UpdateScheduleRequest prototype)
    • toBuilder

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

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

      public static UpdateScheduleRequest getDefaultInstance()
    • parser

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

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