Class TofInterval.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TofInterval.Builder>
com.google.protobuf.GeneratedMessage.Builder<TofInterval.Builder>
org.yamcs.protobuf.TofInterval.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, TofIntervalOrBuilder
Enclosing class:
TofInterval

public static final class TofInterval.Builder extends com.google.protobuf.GeneratedMessage.Builder<TofInterval.Builder> implements TofIntervalOrBuilder
Protobuf type yamcs.protobuf.tco.TofInterval
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllPolCoef(Iterable<? extends Double> values)
    repeated double polCoef = 3;
    addPolCoef(double value)
    repeated double polCoef = 3;
     
     
     
    optional .google.protobuf.Timestamp ertStart = 1;
    optional .google.protobuf.Timestamp ertStop = 2;
    repeated double polCoef = 3;
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Timestamp
    optional .google.protobuf.Timestamp ertStart = 1;
    com.google.protobuf.Timestamp.Builder
    optional .google.protobuf.Timestamp ertStart = 1;
    com.google.protobuf.TimestampOrBuilder
    optional .google.protobuf.Timestamp ertStart = 1;
    com.google.protobuf.Timestamp
    optional .google.protobuf.Timestamp ertStop = 2;
    com.google.protobuf.Timestamp.Builder
    optional .google.protobuf.Timestamp ertStop = 2;
    com.google.protobuf.TimestampOrBuilder
    optional .google.protobuf.Timestamp ertStop = 2;
    double
    getPolCoef(int index)
    repeated double polCoef = 3;
    int
    repeated double polCoef = 3;
    repeated double polCoef = 3;
    boolean
    optional .google.protobuf.Timestamp ertStart = 1;
    boolean
    optional .google.protobuf.Timestamp ertStop = 2;
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeErtStart(com.google.protobuf.Timestamp value)
    optional .google.protobuf.Timestamp ertStart = 1;
    mergeErtStop(com.google.protobuf.Timestamp value)
    optional .google.protobuf.Timestamp ertStop = 2;
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setErtStart(com.google.protobuf.Timestamp value)
    optional .google.protobuf.Timestamp ertStart = 1;
    setErtStart(com.google.protobuf.Timestamp.Builder builderForValue)
    optional .google.protobuf.Timestamp ertStart = 1;
    setErtStop(com.google.protobuf.Timestamp value)
    optional .google.protobuf.Timestamp ertStop = 2;
    setErtStop(com.google.protobuf.Timestamp.Builder builderForValue)
    optional .google.protobuf.Timestamp ertStop = 2;
    setPolCoef(int index, double value)
    repeated double polCoef = 3;

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TofInterval.Builder>
    • clear

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

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

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

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

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

      public TofInterval.Builder mergeFrom(TofInterval other)
    • isInitialized

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

      public TofInterval.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<TofInterval.Builder>
      Throws:
      IOException
    • hasErtStart

      public boolean hasErtStart()
      optional .google.protobuf.Timestamp ertStart = 1;
      Specified by:
      hasErtStart in interface TofIntervalOrBuilder
      Returns:
      Whether the ertStart field is set.
    • getErtStart

      public com.google.protobuf.Timestamp getErtStart()
      optional .google.protobuf.Timestamp ertStart = 1;
      Specified by:
      getErtStart in interface TofIntervalOrBuilder
      Returns:
      The ertStart.
    • setErtStart

      public TofInterval.Builder setErtStart(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp ertStart = 1;
    • setErtStart

      public TofInterval.Builder setErtStart(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp ertStart = 1;
    • mergeErtStart

      public TofInterval.Builder mergeErtStart(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp ertStart = 1;
    • clearErtStart

      public TofInterval.Builder clearErtStart()
      optional .google.protobuf.Timestamp ertStart = 1;
    • getErtStartBuilder

      public com.google.protobuf.Timestamp.Builder getErtStartBuilder()
      optional .google.protobuf.Timestamp ertStart = 1;
    • getErtStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getErtStartOrBuilder()
      optional .google.protobuf.Timestamp ertStart = 1;
      Specified by:
      getErtStartOrBuilder in interface TofIntervalOrBuilder
    • hasErtStop

      public boolean hasErtStop()
      optional .google.protobuf.Timestamp ertStop = 2;
      Specified by:
      hasErtStop in interface TofIntervalOrBuilder
      Returns:
      Whether the ertStop field is set.
    • getErtStop

      public com.google.protobuf.Timestamp getErtStop()
      optional .google.protobuf.Timestamp ertStop = 2;
      Specified by:
      getErtStop in interface TofIntervalOrBuilder
      Returns:
      The ertStop.
    • setErtStop

      public TofInterval.Builder setErtStop(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp ertStop = 2;
    • setErtStop

      public TofInterval.Builder setErtStop(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp ertStop = 2;
    • mergeErtStop

      public TofInterval.Builder mergeErtStop(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp ertStop = 2;
    • clearErtStop

      public TofInterval.Builder clearErtStop()
      optional .google.protobuf.Timestamp ertStop = 2;
    • getErtStopBuilder

      public com.google.protobuf.Timestamp.Builder getErtStopBuilder()
      optional .google.protobuf.Timestamp ertStop = 2;
    • getErtStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getErtStopOrBuilder()
      optional .google.protobuf.Timestamp ertStop = 2;
      Specified by:
      getErtStopOrBuilder in interface TofIntervalOrBuilder
    • getPolCoefList

      public List<Double> getPolCoefList()
      repeated double polCoef = 3;
      Specified by:
      getPolCoefList in interface TofIntervalOrBuilder
      Returns:
      A list containing the polCoef.
    • getPolCoefCount

      public int getPolCoefCount()
      repeated double polCoef = 3;
      Specified by:
      getPolCoefCount in interface TofIntervalOrBuilder
      Returns:
      The count of polCoef.
    • getPolCoef

      public double getPolCoef(int index)
      repeated double polCoef = 3;
      Specified by:
      getPolCoef in interface TofIntervalOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The polCoef at the given index.
    • setPolCoef

      public TofInterval.Builder setPolCoef(int index, double value)
      repeated double polCoef = 3;
      Parameters:
      index - The index to set the value at.
      value - The polCoef to set.
      Returns:
      This builder for chaining.
    • addPolCoef

      public TofInterval.Builder addPolCoef(double value)
      repeated double polCoef = 3;
      Parameters:
      value - The polCoef to add.
      Returns:
      This builder for chaining.
    • addAllPolCoef

      public TofInterval.Builder addAllPolCoef(Iterable<? extends Double> values)
      repeated double polCoef = 3;
      Parameters:
      values - The polCoef to add.
      Returns:
      This builder for chaining.
    • clearPolCoef

      public TofInterval.Builder clearPolCoef()
      repeated double polCoef = 3;
      Returns:
      This builder for chaining.