Class Cop1Config.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Cop1Config.Builder mergeFrom(Cop1Config other)
    • isInitialized

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

      public Cop1Config.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<Cop1Config.Builder>
      Throws:
      IOException
    • hasVcId

      public boolean hasVcId()
      optional uint32 vcId = 1;
      Specified by:
      hasVcId in interface Cop1ConfigOrBuilder
      Returns:
      Whether the vcId field is set.
    • getVcId

      public int getVcId()
      optional uint32 vcId = 1;
      Specified by:
      getVcId in interface Cop1ConfigOrBuilder
      Returns:
      The vcId.
    • setVcId

      public Cop1Config.Builder setVcId(int value)
      optional uint32 vcId = 1;
      Parameters:
      value - The vcId to set.
      Returns:
      This builder for chaining.
    • clearVcId

      public Cop1Config.Builder clearVcId()
      optional uint32 vcId = 1;
      Returns:
      This builder for chaining.
    • hasBdAbsolutePriority

      public boolean hasBdAbsolutePriority()
       If true, the BD frames are sent immediately, without going to the waiting queue
       
      optional bool bdAbsolutePriority = 3;
      Specified by:
      hasBdAbsolutePriority in interface Cop1ConfigOrBuilder
      Returns:
      Whether the bdAbsolutePriority field is set.
    • getBdAbsolutePriority

      public boolean getBdAbsolutePriority()
       If true, the BD frames are sent immediately, without going to the waiting queue
       
      optional bool bdAbsolutePriority = 3;
      Specified by:
      getBdAbsolutePriority in interface Cop1ConfigOrBuilder
      Returns:
      The bdAbsolutePriority.
    • setBdAbsolutePriority

      public Cop1Config.Builder setBdAbsolutePriority(boolean value)
       If true, the BD frames are sent immediately, without going to the waiting queue
       
      optional bool bdAbsolutePriority = 3;
      Parameters:
      value - The bdAbsolutePriority to set.
      Returns:
      This builder for chaining.
    • clearBdAbsolutePriority

      public Cop1Config.Builder clearBdAbsolutePriority()
       If true, the BD frames are sent immediately, without going to the waiting queue
       
      optional bool bdAbsolutePriority = 3;
      Returns:
      This builder for chaining.
    • hasWindowWidth

      public boolean hasWindowWidth()
       Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the
       queue before timing out)
       
      optional uint32 windowWidth = 4;
      Specified by:
      hasWindowWidth in interface Cop1ConfigOrBuilder
      Returns:
      Whether the windowWidth field is set.
    • getWindowWidth

      public int getWindowWidth()
       Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the
       queue before timing out)
       
      optional uint32 windowWidth = 4;
      Specified by:
      getWindowWidth in interface Cop1ConfigOrBuilder
      Returns:
      The windowWidth.
    • setWindowWidth

      public Cop1Config.Builder setWindowWidth(int value)
       Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the
       queue before timing out)
       
      optional uint32 windowWidth = 4;
      Parameters:
      value - The windowWidth to set.
      Returns:
      This builder for chaining.
    • clearWindowWidth

      public Cop1Config.Builder clearWindowWidth()
       Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the
       queue before timing out)
       
      optional uint32 windowWidth = 4;
      Returns:
      This builder for chaining.
    • hasTimeoutType

      public boolean hasTimeoutType()
       What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
       
      optional .yamcs.protobuf.cop1.TimeoutType timeoutType = 5;
      Specified by:
      hasTimeoutType in interface Cop1ConfigOrBuilder
      Returns:
      Whether the timeoutType field is set.
    • getTimeoutType

      public TimeoutType getTimeoutType()
       What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
       
      optional .yamcs.protobuf.cop1.TimeoutType timeoutType = 5;
      Specified by:
      getTimeoutType in interface Cop1ConfigOrBuilder
      Returns:
      The timeoutType.
    • setTimeoutType

      public Cop1Config.Builder setTimeoutType(TimeoutType value)
       What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
       
      optional .yamcs.protobuf.cop1.TimeoutType timeoutType = 5;
      Parameters:
      value - The timeoutType to set.
      Returns:
      This builder for chaining.
    • clearTimeoutType

      public Cop1Config.Builder clearTimeoutType()
       What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
       
      optional .yamcs.protobuf.cop1.TimeoutType timeoutType = 5;
      Returns:
      This builder for chaining.
    • hasTxLimit

      public boolean hasTxLimit()
       How many times the frames are transmitted before timing out
       
      optional uint32 txLimit = 6;
      Specified by:
      hasTxLimit in interface Cop1ConfigOrBuilder
      Returns:
      Whether the txLimit field is set.
    • getTxLimit

      public int getTxLimit()
       How many times the frames are transmitted before timing out
       
      optional uint32 txLimit = 6;
      Specified by:
      getTxLimit in interface Cop1ConfigOrBuilder
      Returns:
      The txLimit.
    • setTxLimit

      public Cop1Config.Builder setTxLimit(int value)
       How many times the frames are transmitted before timing out
       
      optional uint32 txLimit = 6;
      Parameters:
      value - The txLimit to set.
      Returns:
      This builder for chaining.
    • clearTxLimit

      public Cop1Config.Builder clearTxLimit()
       How many times the frames are transmitted before timing out
       
      optional uint32 txLimit = 6;
      Returns:
      This builder for chaining.
    • hasT1

      public boolean hasT1()
       How many milliseconds to wait between retransmissions
       
      optional uint64 t1 = 7;
      Specified by:
      hasT1 in interface Cop1ConfigOrBuilder
      Returns:
      Whether the t1 field is set.
    • getT1

      public long getT1()
       How many milliseconds to wait between retransmissions
       
      optional uint64 t1 = 7;
      Specified by:
      getT1 in interface Cop1ConfigOrBuilder
      Returns:
      The t1.
    • setT1

      public Cop1Config.Builder setT1(long value)
       How many milliseconds to wait between retransmissions
       
      optional uint64 t1 = 7;
      Parameters:
      value - The t1 to set.
      Returns:
      This builder for chaining.
    • clearT1

      public Cop1Config.Builder clearT1()
       How many milliseconds to wait between retransmissions
       
      optional uint64 t1 = 7;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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