Class DescribeScheduleResponse.Builder

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

public static final class DescribeScheduleResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder> implements DescribeScheduleResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.DescribeScheduleResponse
  • 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<DescribeScheduleResponse.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<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
    • 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<DescribeScheduleResponse.Builder>
    • setField

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

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

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

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

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

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

      public DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>
      Throws:
      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.
    • getInfo

      public ScheduleInfo getInfo()
       Extra schedule state info.
       
      .temporal.api.schedule.v1.ScheduleInfo info = 2;
      Specified by:
      getInfo in interface DescribeScheduleResponseOrBuilder
      Returns:
      The info.
    • setInfo

       Extra schedule state info.
       
      .temporal.api.schedule.v1.ScheduleInfo info = 2;
    • setInfo

      public DescribeScheduleResponse.Builder setInfo(ScheduleInfo.Builder builderForValue)
       Extra schedule state info.
       
      .temporal.api.schedule.v1.ScheduleInfo info = 2;
    • mergeInfo

       Extra schedule state info.
       
      .temporal.api.schedule.v1.ScheduleInfo info = 2;
    • clearInfo

       Extra schedule state info.
       
      .temporal.api.schedule.v1.ScheduleInfo info = 2;
    • getInfoBuilder

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

      public ScheduleInfoOrBuilder getInfoOrBuilder()
       Extra schedule state info.
       
      .temporal.api.schedule.v1.ScheduleInfo info = 2;
      Specified by:
      getInfoOrBuilder in interface DescribeScheduleResponseOrBuilder
    • 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;
    • setMemo

      public DescribeScheduleResponse.Builder setMemo(Memo.Builder builderForValue)
       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

       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;
    • getMemoOrBuilder

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

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

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

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

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

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

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

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

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 4;
      Specified by:
      getSearchAttributesOrBuilder in interface DescribeScheduleResponseOrBuilder
    • 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>