Class UpdateScheduleRequest.Builder

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

    public static final class UpdateScheduleRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
    implements UpdateScheduleRequestOrBuilder
     (-- api-linter: core::0134::request-mask-required=disabled
         aip.dev/not-precedent: UpdateSchedule doesn't follow Google API format --)
     
    Protobuf type temporal.api.workflowservice.v1.UpdateScheduleRequest
    • 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<UpdateScheduleRequest.Builder>
      • clear

        public 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

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

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