Class Cop1Config.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Cop1Config.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Cop1Config.Builder> implements Cop1ConfigOrBuilder
Protobuf type yamcs.protobuf.cop1.Cop1Config
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    If true, the BD frames are sent immediately, without going to the waiting queue
    How many milliseconds to wait between retransmissions
    What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
    How many times the frames are transmitted before timing out
    optional uint32 vcId = 1;
    Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the queue before timing out)
    boolean
    If true, the BD frames are sent immediately, without going to the waiting queue
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    long
    How many milliseconds to wait between retransmissions
    What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
    int
    How many times the frames are transmitted before timing out
    int
    optional uint32 vcId = 1;
    int
    Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the queue before timing out)
    boolean
    If true, the BD frames are sent immediately, without going to the waiting queue
    boolean
    How many milliseconds to wait between retransmissions
    boolean
    What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
    boolean
    How many times the frames are transmitted before timing out
    boolean
    optional uint32 vcId = 1;
    boolean
    Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the queue before timing out)
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setBdAbsolutePriority(boolean value)
    If true, the BD frames are sent immediately, without going to the waiting queue
    setT1(long value)
    How many milliseconds to wait between retransmissions
    What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
    setTxLimit(int value)
    How many times the frames are transmitted before timing out
    setVcId(int value)
    optional uint32 vcId = 1;
    setWindowWidth(int value)
    Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the queue before timing out)

    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<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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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.