Class UpdateScheduleRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateScheduleRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
io.temporal.api.workflowservice.v1.UpdateScheduleRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateScheduleRequestOrBuilder, Cloneable
Enclosing class:
UpdateScheduleRequest

public static final class UpdateScheduleRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder> implements UpdateScheduleRequestOrBuilder
Protobuf type temporal.api.workflowservice.v1.UpdateScheduleRequest
  • Method Details

    • 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.Builder<UpdateScheduleRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • getDefaultInstanceForType

      public UpdateScheduleRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • setField

      public UpdateScheduleRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • clearField

      public UpdateScheduleRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • clearOneof

      public UpdateScheduleRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • setRepeatedField

      public UpdateScheduleRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • addRepeatedField

      public UpdateScheduleRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • mergeFrom

      public UpdateScheduleRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateScheduleRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • mergeFrom

      public UpdateScheduleRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateScheduleRequest.Builder>
      Throws:
      IOException
    • 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.
    • setNamespace

      public UpdateScheduleRequest.Builder setNamespace(String value)
       The namespace of the schedule to update.
       
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public UpdateScheduleRequest.Builder clearNamespace()
       The namespace of the schedule to update.
       
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public UpdateScheduleRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
       The namespace of the schedule to update.
       
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • 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.
    • setScheduleId

      public UpdateScheduleRequest.Builder setScheduleId(String value)
       The id of the schedule to update.
       
      string schedule_id = 2;
      Parameters:
      value - The scheduleId to set.
      Returns:
      This builder for chaining.
    • clearScheduleId

      public UpdateScheduleRequest.Builder clearScheduleId()
       The id of the schedule to update.
       
      string schedule_id = 2;
      Returns:
      This builder for chaining.
    • setScheduleIdBytes

      public UpdateScheduleRequest.Builder setScheduleIdBytes(com.google.protobuf.ByteString value)
       The id of the schedule to update.
       
      string schedule_id = 2;
      Parameters:
      value - The bytes for scheduleId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSchedule

      public UpdateScheduleRequest.Builder setSchedule(Schedule value)
       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;
    • setSchedule

      public UpdateScheduleRequest.Builder setSchedule(Schedule.Builder builderForValue)
       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;
    • mergeSchedule

      public UpdateScheduleRequest.Builder mergeSchedule(Schedule value)
       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;
    • clearSchedule

      public UpdateScheduleRequest.Builder clearSchedule()
       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;
    • getScheduleBuilder

      public Schedule.Builder getScheduleBuilder()
       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;
    • 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.
    • setConflictToken

      public UpdateScheduleRequest.Builder setConflictToken(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The conflictToken to set.
      Returns:
      This builder for chaining.
    • clearConflictToken

      public UpdateScheduleRequest.Builder clearConflictToken()
       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;
      Returns:
      This builder for chaining.
    • 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.
    • setIdentity

      public UpdateScheduleRequest.Builder setIdentity(String value)
       The identity of the client who initiated this request.
       
      string identity = 5;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

      public UpdateScheduleRequest.Builder clearIdentity()
       The identity of the client who initiated this request.
       
      string identity = 5;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public UpdateScheduleRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       The identity of the client who initiated this request.
       
      string identity = 5;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • 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.
    • setRequestId

      public UpdateScheduleRequest.Builder setRequestId(String value)
       A unique identifier for this update request for idempotence. Typically UUIDv4.
       
      string request_id = 6;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public UpdateScheduleRequest.Builder clearRequestId()
       A unique identifier for this update request for idempotence. Typically UUIDv4.
       
      string request_id = 6;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public UpdateScheduleRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       A unique identifier for this update request for idempotence. Typically UUIDv4.
       
      string request_id = 6;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSearchAttributes

      public UpdateScheduleRequest.Builder setSearchAttributes(SearchAttributes value)
       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;
    • setSearchAttributes

      public UpdateScheduleRequest.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
       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;
    • mergeSearchAttributes

      public UpdateScheduleRequest.Builder mergeSearchAttributes(SearchAttributes value)
       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;
    • clearSearchAttributes

      public UpdateScheduleRequest.Builder clearSearchAttributes()
       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;
    • getSearchAttributesBuilder

      public SearchAttributes.Builder getSearchAttributesBuilder()
       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;
    • 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.
    • setMemo

      public UpdateScheduleRequest.Builder setMemo(Memo value)
       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;
    • setMemo

      public UpdateScheduleRequest.Builder setMemo(Memo.Builder builderForValue)
       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;
    • mergeMemo

      public UpdateScheduleRequest.Builder mergeMemo(Memo value)
       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;
    • clearMemo

      public UpdateScheduleRequest.Builder clearMemo()
       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;
    • getMemoBuilder

      public Memo.Builder getMemoBuilder()
       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;
    • 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
    • setUnknownFields

      public final UpdateScheduleRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    • mergeUnknownFields

      public final UpdateScheduleRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>