Package io.grpc.channelz.v1
Class SocketOptionTcpInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
- io.grpc.channelz.v1.SocketOptionTcpInfo.Builder
-
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,SocketOptionTcpInfoOrBuilder,Cloneable
- Enclosing class:
- SocketOptionTcpInfo
public static final class SocketOptionTcpInfo.Builder extends GeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder> implements SocketOptionTcpInfoOrBuilder
For use with SocketOption's additional field. Tcp info for SOL_TCP and TCP_INFO.
Protobuf typegrpc.channelz.v1.SocketOptionTcpInfo
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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 Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
clear
public SocketOptionTcpInfo.Builder clear()
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
getDefaultInstanceForType
public SocketOptionTcpInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public SocketOptionTcpInfo build()
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public SocketOptionTcpInfo buildPartial()
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public SocketOptionTcpInfo.Builder clone()
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
setField
public SocketOptionTcpInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
clearField
public SocketOptionTcpInfo.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
clearOneof
public SocketOptionTcpInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
setRepeatedField
public SocketOptionTcpInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
addRepeatedField
public SocketOptionTcpInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
mergeFrom
public SocketOptionTcpInfo.Builder mergeFrom(Message other)
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SocketOptionTcpInfo.Builder>
-
mergeFrom
public SocketOptionTcpInfo.Builder mergeFrom(SocketOptionTcpInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
mergeFrom
public SocketOptionTcpInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SocketOptionTcpInfo.Builder>- Throws:
IOException
-
getTcpiState
public int getTcpiState()
uint32 tcpi_state = 1;- Specified by:
getTcpiStatein interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiState.
-
setTcpiState
public SocketOptionTcpInfo.Builder setTcpiState(int value)
uint32 tcpi_state = 1;- Parameters:
value- The tcpiState to set.- Returns:
- This builder for chaining.
-
clearTcpiState
public SocketOptionTcpInfo.Builder clearTcpiState()
uint32 tcpi_state = 1;- Returns:
- This builder for chaining.
-
getTcpiCaState
public int getTcpiCaState()
uint32 tcpi_ca_state = 2;- Specified by:
getTcpiCaStatein interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiCaState.
-
setTcpiCaState
public SocketOptionTcpInfo.Builder setTcpiCaState(int value)
uint32 tcpi_ca_state = 2;- Parameters:
value- The tcpiCaState to set.- Returns:
- This builder for chaining.
-
clearTcpiCaState
public SocketOptionTcpInfo.Builder clearTcpiCaState()
uint32 tcpi_ca_state = 2;- Returns:
- This builder for chaining.
-
getTcpiRetransmits
public int getTcpiRetransmits()
uint32 tcpi_retransmits = 3;- Specified by:
getTcpiRetransmitsin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiRetransmits.
-
setTcpiRetransmits
public SocketOptionTcpInfo.Builder setTcpiRetransmits(int value)
uint32 tcpi_retransmits = 3;- Parameters:
value- The tcpiRetransmits to set.- Returns:
- This builder for chaining.
-
clearTcpiRetransmits
public SocketOptionTcpInfo.Builder clearTcpiRetransmits()
uint32 tcpi_retransmits = 3;- Returns:
- This builder for chaining.
-
getTcpiProbes
public int getTcpiProbes()
uint32 tcpi_probes = 4;- Specified by:
getTcpiProbesin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiProbes.
-
setTcpiProbes
public SocketOptionTcpInfo.Builder setTcpiProbes(int value)
uint32 tcpi_probes = 4;- Parameters:
value- The tcpiProbes to set.- Returns:
- This builder for chaining.
-
clearTcpiProbes
public SocketOptionTcpInfo.Builder clearTcpiProbes()
uint32 tcpi_probes = 4;- Returns:
- This builder for chaining.
-
getTcpiBackoff
public int getTcpiBackoff()
uint32 tcpi_backoff = 5;- Specified by:
getTcpiBackoffin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiBackoff.
-
setTcpiBackoff
public SocketOptionTcpInfo.Builder setTcpiBackoff(int value)
uint32 tcpi_backoff = 5;- Parameters:
value- The tcpiBackoff to set.- Returns:
- This builder for chaining.
-
clearTcpiBackoff
public SocketOptionTcpInfo.Builder clearTcpiBackoff()
uint32 tcpi_backoff = 5;- Returns:
- This builder for chaining.
-
getTcpiOptions
public int getTcpiOptions()
uint32 tcpi_options = 6;- Specified by:
getTcpiOptionsin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiOptions.
-
setTcpiOptions
public SocketOptionTcpInfo.Builder setTcpiOptions(int value)
uint32 tcpi_options = 6;- Parameters:
value- The tcpiOptions to set.- Returns:
- This builder for chaining.
-
clearTcpiOptions
public SocketOptionTcpInfo.Builder clearTcpiOptions()
uint32 tcpi_options = 6;- Returns:
- This builder for chaining.
-
getTcpiSndWscale
public int getTcpiSndWscale()
uint32 tcpi_snd_wscale = 7;- Specified by:
getTcpiSndWscalein interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiSndWscale.
-
setTcpiSndWscale
public SocketOptionTcpInfo.Builder setTcpiSndWscale(int value)
uint32 tcpi_snd_wscale = 7;- Parameters:
value- The tcpiSndWscale to set.- Returns:
- This builder for chaining.
-
clearTcpiSndWscale
public SocketOptionTcpInfo.Builder clearTcpiSndWscale()
uint32 tcpi_snd_wscale = 7;- Returns:
- This builder for chaining.
-
getTcpiRcvWscale
public int getTcpiRcvWscale()
uint32 tcpi_rcv_wscale = 8;- Specified by:
getTcpiRcvWscalein interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiRcvWscale.
-
setTcpiRcvWscale
public SocketOptionTcpInfo.Builder setTcpiRcvWscale(int value)
uint32 tcpi_rcv_wscale = 8;- Parameters:
value- The tcpiRcvWscale to set.- Returns:
- This builder for chaining.
-
clearTcpiRcvWscale
public SocketOptionTcpInfo.Builder clearTcpiRcvWscale()
uint32 tcpi_rcv_wscale = 8;- Returns:
- This builder for chaining.
-
getTcpiRto
public int getTcpiRto()
uint32 tcpi_rto = 9;- Specified by:
getTcpiRtoin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiRto.
-
setTcpiRto
public SocketOptionTcpInfo.Builder setTcpiRto(int value)
uint32 tcpi_rto = 9;- Parameters:
value- The tcpiRto to set.- Returns:
- This builder for chaining.
-
clearTcpiRto
public SocketOptionTcpInfo.Builder clearTcpiRto()
uint32 tcpi_rto = 9;- Returns:
- This builder for chaining.
-
getTcpiAto
public int getTcpiAto()
uint32 tcpi_ato = 10;- Specified by:
getTcpiAtoin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiAto.
-
setTcpiAto
public SocketOptionTcpInfo.Builder setTcpiAto(int value)
uint32 tcpi_ato = 10;- Parameters:
value- The tcpiAto to set.- Returns:
- This builder for chaining.
-
clearTcpiAto
public SocketOptionTcpInfo.Builder clearTcpiAto()
uint32 tcpi_ato = 10;- Returns:
- This builder for chaining.
-
getTcpiSndMss
public int getTcpiSndMss()
uint32 tcpi_snd_mss = 11;- Specified by:
getTcpiSndMssin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiSndMss.
-
setTcpiSndMss
public SocketOptionTcpInfo.Builder setTcpiSndMss(int value)
uint32 tcpi_snd_mss = 11;- Parameters:
value- The tcpiSndMss to set.- Returns:
- This builder for chaining.
-
clearTcpiSndMss
public SocketOptionTcpInfo.Builder clearTcpiSndMss()
uint32 tcpi_snd_mss = 11;- Returns:
- This builder for chaining.
-
getTcpiRcvMss
public int getTcpiRcvMss()
uint32 tcpi_rcv_mss = 12;- Specified by:
getTcpiRcvMssin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiRcvMss.
-
setTcpiRcvMss
public SocketOptionTcpInfo.Builder setTcpiRcvMss(int value)
uint32 tcpi_rcv_mss = 12;- Parameters:
value- The tcpiRcvMss to set.- Returns:
- This builder for chaining.
-
clearTcpiRcvMss
public SocketOptionTcpInfo.Builder clearTcpiRcvMss()
uint32 tcpi_rcv_mss = 12;- Returns:
- This builder for chaining.
-
getTcpiUnacked
public int getTcpiUnacked()
uint32 tcpi_unacked = 13;- Specified by:
getTcpiUnackedin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiUnacked.
-
setTcpiUnacked
public SocketOptionTcpInfo.Builder setTcpiUnacked(int value)
uint32 tcpi_unacked = 13;- Parameters:
value- The tcpiUnacked to set.- Returns:
- This builder for chaining.
-
clearTcpiUnacked
public SocketOptionTcpInfo.Builder clearTcpiUnacked()
uint32 tcpi_unacked = 13;- Returns:
- This builder for chaining.
-
getTcpiSacked
public int getTcpiSacked()
uint32 tcpi_sacked = 14;- Specified by:
getTcpiSackedin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiSacked.
-
setTcpiSacked
public SocketOptionTcpInfo.Builder setTcpiSacked(int value)
uint32 tcpi_sacked = 14;- Parameters:
value- The tcpiSacked to set.- Returns:
- This builder for chaining.
-
clearTcpiSacked
public SocketOptionTcpInfo.Builder clearTcpiSacked()
uint32 tcpi_sacked = 14;- Returns:
- This builder for chaining.
-
getTcpiLost
public int getTcpiLost()
uint32 tcpi_lost = 15;- Specified by:
getTcpiLostin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiLost.
-
setTcpiLost
public SocketOptionTcpInfo.Builder setTcpiLost(int value)
uint32 tcpi_lost = 15;- Parameters:
value- The tcpiLost to set.- Returns:
- This builder for chaining.
-
clearTcpiLost
public SocketOptionTcpInfo.Builder clearTcpiLost()
uint32 tcpi_lost = 15;- Returns:
- This builder for chaining.
-
getTcpiRetrans
public int getTcpiRetrans()
uint32 tcpi_retrans = 16;- Specified by:
getTcpiRetransin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiRetrans.
-
setTcpiRetrans
public SocketOptionTcpInfo.Builder setTcpiRetrans(int value)
uint32 tcpi_retrans = 16;- Parameters:
value- The tcpiRetrans to set.- Returns:
- This builder for chaining.
-
clearTcpiRetrans
public SocketOptionTcpInfo.Builder clearTcpiRetrans()
uint32 tcpi_retrans = 16;- Returns:
- This builder for chaining.
-
getTcpiFackets
public int getTcpiFackets()
uint32 tcpi_fackets = 17;- Specified by:
getTcpiFacketsin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiFackets.
-
setTcpiFackets
public SocketOptionTcpInfo.Builder setTcpiFackets(int value)
uint32 tcpi_fackets = 17;- Parameters:
value- The tcpiFackets to set.- Returns:
- This builder for chaining.
-
clearTcpiFackets
public SocketOptionTcpInfo.Builder clearTcpiFackets()
uint32 tcpi_fackets = 17;- Returns:
- This builder for chaining.
-
getTcpiLastDataSent
public int getTcpiLastDataSent()
uint32 tcpi_last_data_sent = 18;- Specified by:
getTcpiLastDataSentin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiLastDataSent.
-
setTcpiLastDataSent
public SocketOptionTcpInfo.Builder setTcpiLastDataSent(int value)
uint32 tcpi_last_data_sent = 18;- Parameters:
value- The tcpiLastDataSent to set.- Returns:
- This builder for chaining.
-
clearTcpiLastDataSent
public SocketOptionTcpInfo.Builder clearTcpiLastDataSent()
uint32 tcpi_last_data_sent = 18;- Returns:
- This builder for chaining.
-
getTcpiLastAckSent
public int getTcpiLastAckSent()
uint32 tcpi_last_ack_sent = 19;- Specified by:
getTcpiLastAckSentin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiLastAckSent.
-
setTcpiLastAckSent
public SocketOptionTcpInfo.Builder setTcpiLastAckSent(int value)
uint32 tcpi_last_ack_sent = 19;- Parameters:
value- The tcpiLastAckSent to set.- Returns:
- This builder for chaining.
-
clearTcpiLastAckSent
public SocketOptionTcpInfo.Builder clearTcpiLastAckSent()
uint32 tcpi_last_ack_sent = 19;- Returns:
- This builder for chaining.
-
getTcpiLastDataRecv
public int getTcpiLastDataRecv()
uint32 tcpi_last_data_recv = 20;- Specified by:
getTcpiLastDataRecvin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiLastDataRecv.
-
setTcpiLastDataRecv
public SocketOptionTcpInfo.Builder setTcpiLastDataRecv(int value)
uint32 tcpi_last_data_recv = 20;- Parameters:
value- The tcpiLastDataRecv to set.- Returns:
- This builder for chaining.
-
clearTcpiLastDataRecv
public SocketOptionTcpInfo.Builder clearTcpiLastDataRecv()
uint32 tcpi_last_data_recv = 20;- Returns:
- This builder for chaining.
-
getTcpiLastAckRecv
public int getTcpiLastAckRecv()
uint32 tcpi_last_ack_recv = 21;- Specified by:
getTcpiLastAckRecvin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiLastAckRecv.
-
setTcpiLastAckRecv
public SocketOptionTcpInfo.Builder setTcpiLastAckRecv(int value)
uint32 tcpi_last_ack_recv = 21;- Parameters:
value- The tcpiLastAckRecv to set.- Returns:
- This builder for chaining.
-
clearTcpiLastAckRecv
public SocketOptionTcpInfo.Builder clearTcpiLastAckRecv()
uint32 tcpi_last_ack_recv = 21;- Returns:
- This builder for chaining.
-
getTcpiPmtu
public int getTcpiPmtu()
uint32 tcpi_pmtu = 22;- Specified by:
getTcpiPmtuin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiPmtu.
-
setTcpiPmtu
public SocketOptionTcpInfo.Builder setTcpiPmtu(int value)
uint32 tcpi_pmtu = 22;- Parameters:
value- The tcpiPmtu to set.- Returns:
- This builder for chaining.
-
clearTcpiPmtu
public SocketOptionTcpInfo.Builder clearTcpiPmtu()
uint32 tcpi_pmtu = 22;- Returns:
- This builder for chaining.
-
getTcpiRcvSsthresh
public int getTcpiRcvSsthresh()
uint32 tcpi_rcv_ssthresh = 23;- Specified by:
getTcpiRcvSsthreshin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiRcvSsthresh.
-
setTcpiRcvSsthresh
public SocketOptionTcpInfo.Builder setTcpiRcvSsthresh(int value)
uint32 tcpi_rcv_ssthresh = 23;- Parameters:
value- The tcpiRcvSsthresh to set.- Returns:
- This builder for chaining.
-
clearTcpiRcvSsthresh
public SocketOptionTcpInfo.Builder clearTcpiRcvSsthresh()
uint32 tcpi_rcv_ssthresh = 23;- Returns:
- This builder for chaining.
-
getTcpiRtt
public int getTcpiRtt()
uint32 tcpi_rtt = 24;- Specified by:
getTcpiRttin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiRtt.
-
setTcpiRtt
public SocketOptionTcpInfo.Builder setTcpiRtt(int value)
uint32 tcpi_rtt = 24;- Parameters:
value- The tcpiRtt to set.- Returns:
- This builder for chaining.
-
clearTcpiRtt
public SocketOptionTcpInfo.Builder clearTcpiRtt()
uint32 tcpi_rtt = 24;- Returns:
- This builder for chaining.
-
getTcpiRttvar
public int getTcpiRttvar()
uint32 tcpi_rttvar = 25;- Specified by:
getTcpiRttvarin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiRttvar.
-
setTcpiRttvar
public SocketOptionTcpInfo.Builder setTcpiRttvar(int value)
uint32 tcpi_rttvar = 25;- Parameters:
value- The tcpiRttvar to set.- Returns:
- This builder for chaining.
-
clearTcpiRttvar
public SocketOptionTcpInfo.Builder clearTcpiRttvar()
uint32 tcpi_rttvar = 25;- Returns:
- This builder for chaining.
-
getTcpiSndSsthresh
public int getTcpiSndSsthresh()
uint32 tcpi_snd_ssthresh = 26;- Specified by:
getTcpiSndSsthreshin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiSndSsthresh.
-
setTcpiSndSsthresh
public SocketOptionTcpInfo.Builder setTcpiSndSsthresh(int value)
uint32 tcpi_snd_ssthresh = 26;- Parameters:
value- The tcpiSndSsthresh to set.- Returns:
- This builder for chaining.
-
clearTcpiSndSsthresh
public SocketOptionTcpInfo.Builder clearTcpiSndSsthresh()
uint32 tcpi_snd_ssthresh = 26;- Returns:
- This builder for chaining.
-
getTcpiSndCwnd
public int getTcpiSndCwnd()
uint32 tcpi_snd_cwnd = 27;- Specified by:
getTcpiSndCwndin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiSndCwnd.
-
setTcpiSndCwnd
public SocketOptionTcpInfo.Builder setTcpiSndCwnd(int value)
uint32 tcpi_snd_cwnd = 27;- Parameters:
value- The tcpiSndCwnd to set.- Returns:
- This builder for chaining.
-
clearTcpiSndCwnd
public SocketOptionTcpInfo.Builder clearTcpiSndCwnd()
uint32 tcpi_snd_cwnd = 27;- Returns:
- This builder for chaining.
-
getTcpiAdvmss
public int getTcpiAdvmss()
uint32 tcpi_advmss = 28;- Specified by:
getTcpiAdvmssin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiAdvmss.
-
setTcpiAdvmss
public SocketOptionTcpInfo.Builder setTcpiAdvmss(int value)
uint32 tcpi_advmss = 28;- Parameters:
value- The tcpiAdvmss to set.- Returns:
- This builder for chaining.
-
clearTcpiAdvmss
public SocketOptionTcpInfo.Builder clearTcpiAdvmss()
uint32 tcpi_advmss = 28;- Returns:
- This builder for chaining.
-
getTcpiReordering
public int getTcpiReordering()
uint32 tcpi_reordering = 29;- Specified by:
getTcpiReorderingin interfaceSocketOptionTcpInfoOrBuilder- Returns:
- The tcpiReordering.
-
setTcpiReordering
public SocketOptionTcpInfo.Builder setTcpiReordering(int value)
uint32 tcpi_reordering = 29;- Parameters:
value- The tcpiReordering to set.- Returns:
- This builder for chaining.
-
clearTcpiReordering
public SocketOptionTcpInfo.Builder clearTcpiReordering()
uint32 tcpi_reordering = 29;- Returns:
- This builder for chaining.
-
setUnknownFields
public final SocketOptionTcpInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
mergeUnknownFields
public final SocketOptionTcpInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
-