Class DescribeScheduleResponse.Builder

    • 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<DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>
      • isInitialized

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

        public DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>
        Throws:
        java.io.IOException
      • hasSchedule

        public boolean hasSchedule()
         The complete current schedule details. This may not match the schedule as
         created because:
         - some types of schedule specs may get compiled into others (e.g.
           CronString into StructuredCalendarSpec)
         - some unspecified fields may be replaced by defaults
         - some fields in the state are modified automatically
         - the schedule may have been modified by UpdateSchedule or PatchSchedule
         
        .temporal.api.schedule.v1.Schedule schedule = 1;
        Specified by:
        hasSchedule in interface DescribeScheduleResponseOrBuilder
        Returns:
        Whether the schedule field is set.
      • getSchedule

        public Schedule getSchedule()
         The complete current schedule details. This may not match the schedule as
         created because:
         - some types of schedule specs may get compiled into others (e.g.
           CronString into StructuredCalendarSpec)
         - some unspecified fields may be replaced by defaults
         - some fields in the state are modified automatically
         - the schedule may have been modified by UpdateSchedule or PatchSchedule
         
        .temporal.api.schedule.v1.Schedule schedule = 1;
        Specified by:
        getSchedule in interface DescribeScheduleResponseOrBuilder
        Returns:
        The schedule.
      • setSchedule

        public DescribeScheduleResponse.Builder setSchedule​(Schedule value)
         The complete current schedule details. This may not match the schedule as
         created because:
         - some types of schedule specs may get compiled into others (e.g.
           CronString into StructuredCalendarSpec)
         - some unspecified fields may be replaced by defaults
         - some fields in the state are modified automatically
         - the schedule may have been modified by UpdateSchedule or PatchSchedule
         
        .temporal.api.schedule.v1.Schedule schedule = 1;
      • setSchedule

        public DescribeScheduleResponse.Builder setSchedule​(Schedule.Builder builderForValue)
         The complete current schedule details. This may not match the schedule as
         created because:
         - some types of schedule specs may get compiled into others (e.g.
           CronString into StructuredCalendarSpec)
         - some unspecified fields may be replaced by defaults
         - some fields in the state are modified automatically
         - the schedule may have been modified by UpdateSchedule or PatchSchedule
         
        .temporal.api.schedule.v1.Schedule schedule = 1;
      • mergeSchedule

        public DescribeScheduleResponse.Builder mergeSchedule​(Schedule value)
         The complete current schedule details. This may not match the schedule as
         created because:
         - some types of schedule specs may get compiled into others (e.g.
           CronString into StructuredCalendarSpec)
         - some unspecified fields may be replaced by defaults
         - some fields in the state are modified automatically
         - the schedule may have been modified by UpdateSchedule or PatchSchedule
         
        .temporal.api.schedule.v1.Schedule schedule = 1;
      • clearSchedule

        public DescribeScheduleResponse.Builder clearSchedule()
         The complete current schedule details. This may not match the schedule as
         created because:
         - some types of schedule specs may get compiled into others (e.g.
           CronString into StructuredCalendarSpec)
         - some unspecified fields may be replaced by defaults
         - some fields in the state are modified automatically
         - the schedule may have been modified by UpdateSchedule or PatchSchedule
         
        .temporal.api.schedule.v1.Schedule schedule = 1;
      • getScheduleBuilder

        public Schedule.Builder getScheduleBuilder()
         The complete current schedule details. This may not match the schedule as
         created because:
         - some types of schedule specs may get compiled into others (e.g.
           CronString into StructuredCalendarSpec)
         - some unspecified fields may be replaced by defaults
         - some fields in the state are modified automatically
         - the schedule may have been modified by UpdateSchedule or PatchSchedule
         
        .temporal.api.schedule.v1.Schedule schedule = 1;
      • getScheduleOrBuilder

        public ScheduleOrBuilder getScheduleOrBuilder()
         The complete current schedule details. This may not match the schedule as
         created because:
         - some types of schedule specs may get compiled into others (e.g.
           CronString into StructuredCalendarSpec)
         - some unspecified fields may be replaced by defaults
         - some fields in the state are modified automatically
         - the schedule may have been modified by UpdateSchedule or PatchSchedule
         
        .temporal.api.schedule.v1.Schedule schedule = 1;
        Specified by:
        getScheduleOrBuilder in interface DescribeScheduleResponseOrBuilder
      • hasInfo

        public boolean hasInfo()
         Extra schedule state info.
         
        .temporal.api.schedule.v1.ScheduleInfo info = 2;
        Specified by:
        hasInfo in interface DescribeScheduleResponseOrBuilder
        Returns:
        Whether the info field is set.
      • getInfoBuilder

        public ScheduleInfo.Builder getInfoBuilder()
         Extra schedule state info.
         
        .temporal.api.schedule.v1.ScheduleInfo info = 2;
      • hasMemo

        public boolean hasMemo()
         The memo and search attributes that the schedule was created with.
         
        .temporal.api.common.v1.Memo memo = 3;
        Specified by:
        hasMemo in interface DescribeScheduleResponseOrBuilder
        Returns:
        Whether the memo field is set.
      • getMemo

        public Memo getMemo()
         The memo and search attributes that the schedule was created with.
         
        .temporal.api.common.v1.Memo memo = 3;
        Specified by:
        getMemo in interface DescribeScheduleResponseOrBuilder
        Returns:
        The memo.
      • setMemo

        public DescribeScheduleResponse.Builder setMemo​(Memo value)
         The memo and search attributes that the schedule was created with.
         
        .temporal.api.common.v1.Memo memo = 3;
      • mergeMemo

        public DescribeScheduleResponse.Builder mergeMemo​(Memo value)
         The memo and search attributes that the schedule was created with.
         
        .temporal.api.common.v1.Memo memo = 3;
      • clearMemo

        public DescribeScheduleResponse.Builder clearMemo()
         The memo and search attributes that the schedule was created with.
         
        .temporal.api.common.v1.Memo memo = 3;
      • getMemoBuilder

        public Memo.Builder getMemoBuilder()
         The memo and search attributes that the schedule was created with.
         
        .temporal.api.common.v1.Memo memo = 3;
      • getSearchAttributesBuilder

        public SearchAttributes.Builder getSearchAttributesBuilder()
        .temporal.api.common.v1.SearchAttributes search_attributes = 4;
      • getConflictToken

        public com.google.protobuf.ByteString getConflictToken()
         This value can be passed back to UpdateSchedule to ensure that the
         schedule was not modified between a Describe and an Update, which could
         lead to lost updates and other confusion.
         
        bytes conflict_token = 5;
        Specified by:
        getConflictToken in interface DescribeScheduleResponseOrBuilder
        Returns:
        The conflictToken.
      • setConflictToken

        public DescribeScheduleResponse.Builder setConflictToken​(com.google.protobuf.ByteString value)
         This value can be passed back to UpdateSchedule to ensure that the
         schedule was not modified between a Describe and an Update, which could
         lead to lost updates and other confusion.
         
        bytes conflict_token = 5;
        Parameters:
        value - The conflictToken to set.
        Returns:
        This builder for chaining.
      • clearConflictToken

        public DescribeScheduleResponse.Builder clearConflictToken()
         This value can be passed back to UpdateSchedule to ensure that the
         schedule was not modified between a Describe and an Update, which could
         lead to lost updates and other confusion.
         
        bytes conflict_token = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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