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:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
clear
public SocketOptionTcpInfo.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
getDefaultInstanceForType
public SocketOptionTcpInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public SocketOptionTcpInfo build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public SocketOptionTcpInfo buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public SocketOptionTcpInfo.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
setField
public SocketOptionTcpInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
clearField
public SocketOptionTcpInfo.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
clearOneof
public SocketOptionTcpInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
setRepeatedField
public SocketOptionTcpInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
addRepeatedField
public SocketOptionTcpInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
mergeFrom
public SocketOptionTcpInfo.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<SocketOptionTcpInfo.Builder>
-
mergeFrom
public SocketOptionTcpInfo.Builder mergeFrom(SocketOptionTcpInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
mergeFrom
public SocketOptionTcpInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<SocketOptionTcpInfo.Builder>
- Throws:
IOException
-
getTcpiState
public int getTcpiState()
uint32 tcpi_state = 1;
- Specified by:
getTcpiState
in 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:
getTcpiCaState
in 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:
getTcpiRetransmits
in 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:
getTcpiProbes
in 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:
getTcpiBackoff
in 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:
getTcpiOptions
in 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:
getTcpiSndWscale
in 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:
getTcpiRcvWscale
in 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:
getTcpiRto
in 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:
getTcpiAto
in 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:
getTcpiSndMss
in 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:
getTcpiRcvMss
in 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:
getTcpiUnacked
in 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:
getTcpiSacked
in 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:
getTcpiLost
in 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:
getTcpiRetrans
in 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:
getTcpiFackets
in 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:
getTcpiLastDataSent
in 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:
getTcpiLastAckSent
in 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:
getTcpiLastDataRecv
in 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:
getTcpiLastAckRecv
in 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:
getTcpiPmtu
in 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:
getTcpiRcvSsthresh
in 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:
getTcpiRtt
in 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:
getTcpiRttvar
in 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:
getTcpiSndSsthresh
in 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:
getTcpiSndCwnd
in 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:
getTcpiAdvmss
in 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:
getTcpiReordering
in 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:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
mergeUnknownFields
public final SocketOptionTcpInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<SocketOptionTcpInfo.Builder>
-
-