Class CreateScheduleRequest.Builder

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

public static final class CreateScheduleRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder> implements CreateScheduleRequestOrBuilder
 (-- api-linter: core::0203::optional=disabled
     aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)
 
Protobuf type temporal.api.workflowservice.v1.CreateScheduleRequest
  • 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<CreateScheduleRequest.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<CreateScheduleRequest.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<CreateScheduleRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public CreateScheduleRequest.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<CreateScheduleRequest.Builder>
      Throws:
      IOException
    • getNamespace

      public String getNamespace()
       The namespace the schedule should be created in.
       
      string namespace = 1;
      Specified by:
      getNamespace in interface CreateScheduleRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       The namespace the schedule should be created in.
       
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface CreateScheduleRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public CreateScheduleRequest.Builder setNamespace(String value)
       The namespace the schedule should be created in.
       
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public CreateScheduleRequest.Builder clearNamespace()
       The namespace the schedule should be created in.
       
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public CreateScheduleRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
       The namespace the schedule should be created in.
       
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getScheduleId

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

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

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

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

      public CreateScheduleRequest.Builder setScheduleIdBytes(com.google.protobuf.ByteString value)
       The id of the new schedule.
       
      string schedule_id = 2;
      Parameters:
      value - The bytes for scheduleId to set.
      Returns:
      This builder for chaining.
    • hasSchedule

      public boolean hasSchedule()
       The schedule spec, policies, action, and initial state.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
      Specified by:
      hasSchedule in interface CreateScheduleRequestOrBuilder
      Returns:
      Whether the schedule field is set.
    • getSchedule

      public Schedule getSchedule()
       The schedule spec, policies, action, and initial state.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
      Specified by:
      getSchedule in interface CreateScheduleRequestOrBuilder
      Returns:
      The schedule.
    • setSchedule

      public CreateScheduleRequest.Builder setSchedule(Schedule value)
       The schedule spec, policies, action, and initial state.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
    • setSchedule

      public CreateScheduleRequest.Builder setSchedule(Schedule.Builder builderForValue)
       The schedule spec, policies, action, and initial state.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
    • mergeSchedule

      public CreateScheduleRequest.Builder mergeSchedule(Schedule value)
       The schedule spec, policies, action, and initial state.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
    • clearSchedule

      public CreateScheduleRequest.Builder clearSchedule()
       The schedule spec, policies, action, and initial state.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
    • getScheduleBuilder

      public Schedule.Builder getScheduleBuilder()
       The schedule spec, policies, action, and initial state.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
    • getScheduleOrBuilder

      public ScheduleOrBuilder getScheduleOrBuilder()
       The schedule spec, policies, action, and initial state.
       
      .temporal.api.schedule.v1.Schedule schedule = 3;
      Specified by:
      getScheduleOrBuilder in interface CreateScheduleRequestOrBuilder
    • hasInitialPatch

      public boolean hasInitialPatch()
       Optional initial patch (e.g. to run the action once immediately).
       
      .temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
      Specified by:
      hasInitialPatch in interface CreateScheduleRequestOrBuilder
      Returns:
      Whether the initialPatch field is set.
    • getInitialPatch

      public SchedulePatch getInitialPatch()
       Optional initial patch (e.g. to run the action once immediately).
       
      .temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
      Specified by:
      getInitialPatch in interface CreateScheduleRequestOrBuilder
      Returns:
      The initialPatch.
    • setInitialPatch

      public CreateScheduleRequest.Builder setInitialPatch(SchedulePatch value)
       Optional initial patch (e.g. to run the action once immediately).
       
      .temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
    • setInitialPatch

      public CreateScheduleRequest.Builder setInitialPatch(SchedulePatch.Builder builderForValue)
       Optional initial patch (e.g. to run the action once immediately).
       
      .temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
    • mergeInitialPatch

      public CreateScheduleRequest.Builder mergeInitialPatch(SchedulePatch value)
       Optional initial patch (e.g. to run the action once immediately).
       
      .temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
    • clearInitialPatch

      public CreateScheduleRequest.Builder clearInitialPatch()
       Optional initial patch (e.g. to run the action once immediately).
       
      .temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
    • getInitialPatchBuilder

      public SchedulePatch.Builder getInitialPatchBuilder()
       Optional initial patch (e.g. to run the action once immediately).
       
      .temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
    • getInitialPatchOrBuilder

      public SchedulePatchOrBuilder getInitialPatchOrBuilder()
       Optional initial patch (e.g. to run the action once immediately).
       
      .temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
      Specified by:
      getInitialPatchOrBuilder in interface CreateScheduleRequestOrBuilder
    • getIdentity

      public String getIdentity()
       The identity of the client who initiated this request.
       
      string identity = 5;
      Specified by:
      getIdentity in interface CreateScheduleRequestOrBuilder
      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 CreateScheduleRequestOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

      public CreateScheduleRequest.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 CreateScheduleRequest.Builder clearIdentity()
       The identity of the client who initiated this request.
       
      string identity = 5;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public CreateScheduleRequest.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 create request for idempotence. Typically UUIDv4.
       
      string request_id = 6;
      Specified by:
      getRequestId in interface CreateScheduleRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

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

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

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

      public CreateScheduleRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       A unique identifier for this create request for idempotence. Typically UUIDv4.
       
      string request_id = 6;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • hasMemo

      public boolean hasMemo()
       Memo and search attributes to attach to the schedule itself.
       
      .temporal.api.common.v1.Memo memo = 7;
      Specified by:
      hasMemo in interface CreateScheduleRequestOrBuilder
      Returns:
      Whether the memo field is set.
    • getMemo

      public Memo getMemo()
       Memo and search attributes to attach to the schedule itself.
       
      .temporal.api.common.v1.Memo memo = 7;
      Specified by:
      getMemo in interface CreateScheduleRequestOrBuilder
      Returns:
      The memo.
    • setMemo

      public CreateScheduleRequest.Builder setMemo(Memo value)
       Memo and search attributes to attach to the schedule itself.
       
      .temporal.api.common.v1.Memo memo = 7;
    • setMemo

      public CreateScheduleRequest.Builder setMemo(Memo.Builder builderForValue)
       Memo and search attributes to attach to the schedule itself.
       
      .temporal.api.common.v1.Memo memo = 7;
    • mergeMemo

      public CreateScheduleRequest.Builder mergeMemo(Memo value)
       Memo and search attributes to attach to the schedule itself.
       
      .temporal.api.common.v1.Memo memo = 7;
    • clearMemo

      public CreateScheduleRequest.Builder clearMemo()
       Memo and search attributes to attach to the schedule itself.
       
      .temporal.api.common.v1.Memo memo = 7;
    • getMemoBuilder

      public Memo.Builder getMemoBuilder()
       Memo and search attributes to attach to the schedule itself.
       
      .temporal.api.common.v1.Memo memo = 7;
    • getMemoOrBuilder

      public MemoOrBuilder getMemoOrBuilder()
       Memo and search attributes to attach to the schedule itself.
       
      .temporal.api.common.v1.Memo memo = 7;
      Specified by:
      getMemoOrBuilder in interface CreateScheduleRequestOrBuilder
    • hasSearchAttributes

      public boolean hasSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
      Specified by:
      hasSearchAttributes in interface CreateScheduleRequestOrBuilder
      Returns:
      Whether the searchAttributes field is set.
    • getSearchAttributes

      public SearchAttributes getSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
      Specified by:
      getSearchAttributes in interface CreateScheduleRequestOrBuilder
      Returns:
      The searchAttributes.
    • setSearchAttributes

      public CreateScheduleRequest.Builder setSearchAttributes(SearchAttributes value)
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
    • setSearchAttributes

      public CreateScheduleRequest.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
    • mergeSearchAttributes

      public CreateScheduleRequest.Builder mergeSearchAttributes(SearchAttributes value)
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
    • clearSearchAttributes

      public CreateScheduleRequest.Builder clearSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
    • getSearchAttributesBuilder

      public SearchAttributes.Builder getSearchAttributesBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
      Specified by:
      getSearchAttributesOrBuilder in interface CreateScheduleRequestOrBuilder
    • setUnknownFields

      public final CreateScheduleRequest.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<CreateScheduleRequest.Builder>
    • mergeUnknownFields

      public final CreateScheduleRequest.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<CreateScheduleRequest.Builder>