Class TimelineView.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TimelineView.Builder>
org.yamcs.protobuf.TimelineView.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, TimelineViewOrBuilder
Enclosing class:
TimelineView

public static final class TimelineView.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimelineView.Builder> implements TimelineViewOrBuilder
Protobuf type yamcs.protobuf.timeline.TimelineView
  • 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<TimelineView.Builder>
    • clear

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

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

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

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

      public TimelineView.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<TimelineView.Builder>
    • setField

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

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

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

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

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

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

      public TimelineView.Builder mergeFrom(TimelineView other)
    • isInitialized

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

      public TimelineView.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<TimelineView.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface TimelineViewOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface TimelineViewOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface TimelineViewOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public TimelineView.Builder setInstance(String value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public TimelineView.Builder clearInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public TimelineView.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       View identifier. This is a UUID
       
      optional string id = 2;
      Specified by:
      hasId in interface TimelineViewOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       View identifier. This is a UUID
       
      optional string id = 2;
      Specified by:
      getId in interface TimelineViewOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       View identifier. This is a UUID
       
      optional string id = 2;
      Specified by:
      getIdBytes in interface TimelineViewOrBuilder
      Returns:
      The bytes for id.
    • setId

      public TimelineView.Builder setId(String value)
       View identifier. This is a UUID
       
      optional string id = 2;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public TimelineView.Builder clearId()
       View identifier. This is a UUID
       
      optional string id = 2;
      Returns:
      This builder for chaining.
    • setIdBytes

      public TimelineView.Builder setIdBytes(com.google.protobuf.ByteString value)
       View identifier. This is a UUID
       
      optional string id = 2;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       View name
       
      optional string name = 3;
      Specified by:
      hasName in interface TimelineViewOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       View name
       
      optional string name = 3;
      Specified by:
      getName in interface TimelineViewOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       View name
       
      optional string name = 3;
      Specified by:
      getNameBytes in interface TimelineViewOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TimelineView.Builder setName(String value)
       View name
       
      optional string name = 3;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public TimelineView.Builder clearName()
       View name
       
      optional string name = 3;
      Returns:
      This builder for chaining.
    • setNameBytes

      public TimelineView.Builder setNameBytes(com.google.protobuf.ByteString value)
       View name
       
      optional string name = 3;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
       View description
       
      optional string description = 4;
      Specified by:
      hasDescription in interface TimelineViewOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       View description
       
      optional string description = 4;
      Specified by:
      getDescription in interface TimelineViewOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       View description
       
      optional string description = 4;
      Specified by:
      getDescriptionBytes in interface TimelineViewOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public TimelineView.Builder setDescription(String value)
       View description
       
      optional string description = 4;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public TimelineView.Builder clearDescription()
       View description
       
      optional string description = 4;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public TimelineView.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       View description
       
      optional string description = 4;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getBandsList

      public List<TimelineBand> getBandsList()
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
      Specified by:
      getBandsList in interface TimelineViewOrBuilder
    • getBandsCount

      public int getBandsCount()
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
      Specified by:
      getBandsCount in interface TimelineViewOrBuilder
    • getBands

      public TimelineBand getBands(int index)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
      Specified by:
      getBands in interface TimelineViewOrBuilder
    • setBands

      public TimelineView.Builder setBands(int index, TimelineBand value)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • setBands

      public TimelineView.Builder setBands(int index, TimelineBand.Builder builderForValue)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • addBands

      public TimelineView.Builder addBands(TimelineBand value)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • addBands

      public TimelineView.Builder addBands(int index, TimelineBand value)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • addBands

      public TimelineView.Builder addBands(TimelineBand.Builder builderForValue)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • addBands

      public TimelineView.Builder addBands(int index, TimelineBand.Builder builderForValue)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • addAllBands

      public TimelineView.Builder addAllBands(Iterable<? extends TimelineBand> values)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • clearBands

      public TimelineView.Builder clearBands()
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • removeBands

      public TimelineView.Builder removeBands(int index)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • getBandsBuilder

      public TimelineBand.Builder getBandsBuilder(int index)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • getBandsOrBuilder

      public TimelineBandOrBuilder getBandsOrBuilder(int index)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
      Specified by:
      getBandsOrBuilder in interface TimelineViewOrBuilder
    • getBandsOrBuilderList

      public List<? extends TimelineBandOrBuilder> getBandsOrBuilderList()
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
      Specified by:
      getBandsOrBuilderList in interface TimelineViewOrBuilder
    • addBandsBuilder

      public TimelineBand.Builder addBandsBuilder()
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • addBandsBuilder

      public TimelineBand.Builder addBandsBuilder(int index)
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • getBandsBuilderList

      public List<TimelineBand.Builder> getBandsBuilderList()
       array of bands
       
      repeated .yamcs.protobuf.timeline.TimelineBand bands = 5;
    • setUnknownFields

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

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