Class CreateScheduleRequest

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

@Generated(value="protoc", comments="annotations:CreateScheduleRequest.java.pb.meta") public final class CreateScheduleRequest extends com.google.protobuf.GeneratedMessageV3 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
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:
    • INITIAL_PATCH_FIELD_NUMBER

      public static final int INITIAL_PATCH_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:
    • MEMO_FIELD_NUMBER

      public static final int MEMO_FIELD_NUMBER
      See Also:
    • SEARCH_ATTRIBUTES_FIELD_NUMBER

      public static final int SEARCH_ATTRIBUTES_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 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 8;
      Specified by:
      getSearchAttributesOrBuilder in interface CreateScheduleRequestOrBuilder
    • 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 CreateScheduleRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CreateScheduleRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static CreateScheduleRequest getDefaultInstance()
    • parser

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

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