Package org.yamcs.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
If true, the BD frames are sent immediately, without going to the waiting queueclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clearT1()
How many milliseconds to wait between retransmissionsWhat should happen on timeout: go to SUSPEND or go to UNINITIALIZEDHow many times the frames are transmitted before timing outoptional uint32 vcId = 1;
Maximum size of the sent queue (i.e. how many unacknowledged frames can be in the queue before timing out)clone()
boolean
If true, the BD frames are sent immediately, without going to the waiting queuestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
getT1()
How many milliseconds to wait between retransmissionsWhat should happen on timeout: go to SUSPEND or go to UNINITIALIZEDint
How many times the frames are transmitted before timing outint
getVcId()
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 queueboolean
hasT1()
How many milliseconds to wait between retransmissionsboolean
What should happen on timeout: go to SUSPEND or go to UNINITIALIZEDboolean
How many times the frames are transmitted before timing outboolean
hasVcId()
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.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Cop1Config other) final Cop1Config.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setBdAbsolutePriority
(boolean value) If true, the BD frames are sent immediately, without going to the waiting queuesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setT1
(long value) How many milliseconds to wait between retransmissionssetTimeoutType
(TimeoutType value) What should happen on timeout: go to SUSPEND or go to UNINITIALIZEDsetTxLimit
(int value) How many times the frames are transmitted before timing outfinal Cop1Config.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
setField
public Cop1Config.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
addRepeatedField
public Cop1Config.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cop1Config.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cop1Config.Builder>
- Throws:
IOException
-
hasVcId
public boolean hasVcId()optional uint32 vcId = 1;
- Specified by:
hasVcId
in interfaceCop1ConfigOrBuilder
- Returns:
- Whether the vcId field is set.
-
getVcId
public int getVcId()optional uint32 vcId = 1;
- Specified by:
getVcId
in interfaceCop1ConfigOrBuilder
- Returns:
- The vcId.
-
setVcId
optional uint32 vcId = 1;
- Parameters:
value
- The vcId to set.- Returns:
- This builder for chaining.
-
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 interfaceCop1ConfigOrBuilder
- 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 interfaceCop1ConfigOrBuilder
- Returns:
- The bdAbsolutePriority.
-
setBdAbsolutePriority
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
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 interfaceCop1ConfigOrBuilder
- 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 interfaceCop1ConfigOrBuilder
- Returns:
- The windowWidth.
-
setWindowWidth
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
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 interfaceCop1ConfigOrBuilder
- Returns:
- Whether the timeoutType field is set.
-
getTimeoutType
What should happen on timeout: go to SUSPEND or go to UNINITIALIZED
optional .yamcs.protobuf.cop1.TimeoutType timeoutType = 5;
- Specified by:
getTimeoutType
in interfaceCop1ConfigOrBuilder
- Returns:
- The timeoutType.
-
setTimeoutType
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
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 interfaceCop1ConfigOrBuilder
- 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 interfaceCop1ConfigOrBuilder
- Returns:
- The txLimit.
-
setTxLimit
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
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 interfaceCop1ConfigOrBuilder
- 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 interfaceCop1ConfigOrBuilder
- Returns:
- The t1.
-
setT1
How many milliseconds to wait between retransmissions
optional uint64 t1 = 7;
- Parameters:
value
- The t1 to set.- Returns:
- This builder for chaining.
-
clearT1
How many milliseconds to wait between retransmissions
optional uint64 t1 = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-
mergeUnknownFields
public final Cop1Config.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Config.Builder>
-