Class CreateScheduleRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CreateScheduleRequestOrBuilder, java.lang.Cloneable
    Enclosing class:
    CreateScheduleRequest

    public static final class CreateScheduleRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
    implements CreateScheduleRequestOrBuilder
     (-- api-linter: core::0133::request-parent-required=disabled
         aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     (-- api-linter: core::0133::request-unknown-fields=disabled
         aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     (-- api-linter: core::0133::request-resource-behavior=disabled
         aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)
     (-- 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 Detail

      • 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

        public 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

        public CreateScheduleRequest.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,
                                                      java.lang.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,
                                                              java.lang.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,
                                                              java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
      • 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 java.io.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:
        java.io.IOException
      • getNamespace

        public java.lang.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​(java.lang.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.
      • 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​(java.lang.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;
      • 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;
      • 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.
      • 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;
      • 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;
      • getIdentity

        public java.lang.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​(java.lang.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 java.lang.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​(java.lang.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;
      • 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;
      • 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.
      • 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;
      • 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>