Class TcoConfig.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public TcoConfig.Builder mergeFrom(TcoConfig other)
    • isInitialized

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

      public TcoConfig.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<TcoConfig.Builder>
      Throws:
      IOException
    • hasAccuracy

      public boolean hasAccuracy()
      optional double accuracy = 1;
      Specified by:
      hasAccuracy in interface TcoConfigOrBuilder
      Returns:
      Whether the accuracy field is set.
    • getAccuracy

      public double getAccuracy()
      optional double accuracy = 1;
      Specified by:
      getAccuracy in interface TcoConfigOrBuilder
      Returns:
      The accuracy.
    • setAccuracy

      public TcoConfig.Builder setAccuracy(double value)
      optional double accuracy = 1;
      Parameters:
      value - The accuracy to set.
      Returns:
      This builder for chaining.
    • clearAccuracy

      public TcoConfig.Builder clearAccuracy()
      optional double accuracy = 1;
      Returns:
      This builder for chaining.
    • hasValidity

      public boolean hasValidity()
      optional double validity = 2;
      Specified by:
      hasValidity in interface TcoConfigOrBuilder
      Returns:
      Whether the validity field is set.
    • getValidity

      public double getValidity()
      optional double validity = 2;
      Specified by:
      getValidity in interface TcoConfigOrBuilder
      Returns:
      The validity.
    • setValidity

      public TcoConfig.Builder setValidity(double value)
      optional double validity = 2;
      Parameters:
      value - The validity to set.
      Returns:
      This builder for chaining.
    • clearValidity

      public TcoConfig.Builder clearValidity()
      optional double validity = 2;
      Returns:
      This builder for chaining.
    • hasOnboardDelay

      public boolean hasOnboardDelay()
      optional double onboardDelay = 3;
      Specified by:
      hasOnboardDelay in interface TcoConfigOrBuilder
      Returns:
      Whether the onboardDelay field is set.
    • getOnboardDelay

      public double getOnboardDelay()
      optional double onboardDelay = 3;
      Specified by:
      getOnboardDelay in interface TcoConfigOrBuilder
      Returns:
      The onboardDelay.
    • setOnboardDelay

      public TcoConfig.Builder setOnboardDelay(double value)
      optional double onboardDelay = 3;
      Parameters:
      value - The onboardDelay to set.
      Returns:
      This builder for chaining.
    • clearOnboardDelay

      public TcoConfig.Builder clearOnboardDelay()
      optional double onboardDelay = 3;
      Returns:
      This builder for chaining.
    • hasDefaultTof

      public boolean hasDefaultTof()
      optional double defaultTof = 4;
      Specified by:
      hasDefaultTof in interface TcoConfigOrBuilder
      Returns:
      Whether the defaultTof field is set.
    • getDefaultTof

      public double getDefaultTof()
      optional double defaultTof = 4;
      Specified by:
      getDefaultTof in interface TcoConfigOrBuilder
      Returns:
      The defaultTof.
    • setDefaultTof

      public TcoConfig.Builder setDefaultTof(double value)
      optional double defaultTof = 4;
      Parameters:
      value - The defaultTof to set.
      Returns:
      This builder for chaining.
    • clearDefaultTof

      public TcoConfig.Builder clearDefaultTof()
      optional double defaultTof = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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