Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.grpc.channelz.v1.SocketOptionTcpInfo Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/channelz/v1/channelz.proto
// Protobuf Java Version: 3.25.1
package io.grpc.channelz.v1;
/**
*
* For use with SocketOption's additional field. Tcp info for
* SOL_TCP and TCP_INFO.
*
*
* Protobuf type {@code grpc.channelz.v1.SocketOptionTcpInfo}
*/
public final class SocketOptionTcpInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:grpc.channelz.v1.SocketOptionTcpInfo)
SocketOptionTcpInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SocketOptionTcpInfo.newBuilder() to construct.
private SocketOptionTcpInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SocketOptionTcpInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SocketOptionTcpInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.grpc.channelz.v1.SocketOptionTcpInfo.class, io.grpc.channelz.v1.SocketOptionTcpInfo.Builder.class);
}
public static final int TCPI_STATE_FIELD_NUMBER = 1;
private int tcpiState_ = 0;
/**
* uint32 tcpi_state = 1;
* @return The tcpiState.
*/
@java.lang.Override
public int getTcpiState() {
return tcpiState_;
}
public static final int TCPI_CA_STATE_FIELD_NUMBER = 2;
private int tcpiCaState_ = 0;
/**
* uint32 tcpi_ca_state = 2;
* @return The tcpiCaState.
*/
@java.lang.Override
public int getTcpiCaState() {
return tcpiCaState_;
}
public static final int TCPI_RETRANSMITS_FIELD_NUMBER = 3;
private int tcpiRetransmits_ = 0;
/**
* uint32 tcpi_retransmits = 3;
* @return The tcpiRetransmits.
*/
@java.lang.Override
public int getTcpiRetransmits() {
return tcpiRetransmits_;
}
public static final int TCPI_PROBES_FIELD_NUMBER = 4;
private int tcpiProbes_ = 0;
/**
* uint32 tcpi_probes = 4;
* @return The tcpiProbes.
*/
@java.lang.Override
public int getTcpiProbes() {
return tcpiProbes_;
}
public static final int TCPI_BACKOFF_FIELD_NUMBER = 5;
private int tcpiBackoff_ = 0;
/**
* uint32 tcpi_backoff = 5;
* @return The tcpiBackoff.
*/
@java.lang.Override
public int getTcpiBackoff() {
return tcpiBackoff_;
}
public static final int TCPI_OPTIONS_FIELD_NUMBER = 6;
private int tcpiOptions_ = 0;
/**
* uint32 tcpi_options = 6;
* @return The tcpiOptions.
*/
@java.lang.Override
public int getTcpiOptions() {
return tcpiOptions_;
}
public static final int TCPI_SND_WSCALE_FIELD_NUMBER = 7;
private int tcpiSndWscale_ = 0;
/**
* uint32 tcpi_snd_wscale = 7;
* @return The tcpiSndWscale.
*/
@java.lang.Override
public int getTcpiSndWscale() {
return tcpiSndWscale_;
}
public static final int TCPI_RCV_WSCALE_FIELD_NUMBER = 8;
private int tcpiRcvWscale_ = 0;
/**
* uint32 tcpi_rcv_wscale = 8;
* @return The tcpiRcvWscale.
*/
@java.lang.Override
public int getTcpiRcvWscale() {
return tcpiRcvWscale_;
}
public static final int TCPI_RTO_FIELD_NUMBER = 9;
private int tcpiRto_ = 0;
/**
* uint32 tcpi_rto = 9;
* @return The tcpiRto.
*/
@java.lang.Override
public int getTcpiRto() {
return tcpiRto_;
}
public static final int TCPI_ATO_FIELD_NUMBER = 10;
private int tcpiAto_ = 0;
/**
* uint32 tcpi_ato = 10;
* @return The tcpiAto.
*/
@java.lang.Override
public int getTcpiAto() {
return tcpiAto_;
}
public static final int TCPI_SND_MSS_FIELD_NUMBER = 11;
private int tcpiSndMss_ = 0;
/**
* uint32 tcpi_snd_mss = 11;
* @return The tcpiSndMss.
*/
@java.lang.Override
public int getTcpiSndMss() {
return tcpiSndMss_;
}
public static final int TCPI_RCV_MSS_FIELD_NUMBER = 12;
private int tcpiRcvMss_ = 0;
/**
* uint32 tcpi_rcv_mss = 12;
* @return The tcpiRcvMss.
*/
@java.lang.Override
public int getTcpiRcvMss() {
return tcpiRcvMss_;
}
public static final int TCPI_UNACKED_FIELD_NUMBER = 13;
private int tcpiUnacked_ = 0;
/**
* uint32 tcpi_unacked = 13;
* @return The tcpiUnacked.
*/
@java.lang.Override
public int getTcpiUnacked() {
return tcpiUnacked_;
}
public static final int TCPI_SACKED_FIELD_NUMBER = 14;
private int tcpiSacked_ = 0;
/**
* uint32 tcpi_sacked = 14;
* @return The tcpiSacked.
*/
@java.lang.Override
public int getTcpiSacked() {
return tcpiSacked_;
}
public static final int TCPI_LOST_FIELD_NUMBER = 15;
private int tcpiLost_ = 0;
/**
* uint32 tcpi_lost = 15;
* @return The tcpiLost.
*/
@java.lang.Override
public int getTcpiLost() {
return tcpiLost_;
}
public static final int TCPI_RETRANS_FIELD_NUMBER = 16;
private int tcpiRetrans_ = 0;
/**
* uint32 tcpi_retrans = 16;
* @return The tcpiRetrans.
*/
@java.lang.Override
public int getTcpiRetrans() {
return tcpiRetrans_;
}
public static final int TCPI_FACKETS_FIELD_NUMBER = 17;
private int tcpiFackets_ = 0;
/**
* uint32 tcpi_fackets = 17;
* @return The tcpiFackets.
*/
@java.lang.Override
public int getTcpiFackets() {
return tcpiFackets_;
}
public static final int TCPI_LAST_DATA_SENT_FIELD_NUMBER = 18;
private int tcpiLastDataSent_ = 0;
/**
* uint32 tcpi_last_data_sent = 18;
* @return The tcpiLastDataSent.
*/
@java.lang.Override
public int getTcpiLastDataSent() {
return tcpiLastDataSent_;
}
public static final int TCPI_LAST_ACK_SENT_FIELD_NUMBER = 19;
private int tcpiLastAckSent_ = 0;
/**
* uint32 tcpi_last_ack_sent = 19;
* @return The tcpiLastAckSent.
*/
@java.lang.Override
public int getTcpiLastAckSent() {
return tcpiLastAckSent_;
}
public static final int TCPI_LAST_DATA_RECV_FIELD_NUMBER = 20;
private int tcpiLastDataRecv_ = 0;
/**
* uint32 tcpi_last_data_recv = 20;
* @return The tcpiLastDataRecv.
*/
@java.lang.Override
public int getTcpiLastDataRecv() {
return tcpiLastDataRecv_;
}
public static final int TCPI_LAST_ACK_RECV_FIELD_NUMBER = 21;
private int tcpiLastAckRecv_ = 0;
/**
* uint32 tcpi_last_ack_recv = 21;
* @return The tcpiLastAckRecv.
*/
@java.lang.Override
public int getTcpiLastAckRecv() {
return tcpiLastAckRecv_;
}
public static final int TCPI_PMTU_FIELD_NUMBER = 22;
private int tcpiPmtu_ = 0;
/**
* uint32 tcpi_pmtu = 22;
* @return The tcpiPmtu.
*/
@java.lang.Override
public int getTcpiPmtu() {
return tcpiPmtu_;
}
public static final int TCPI_RCV_SSTHRESH_FIELD_NUMBER = 23;
private int tcpiRcvSsthresh_ = 0;
/**
* uint32 tcpi_rcv_ssthresh = 23;
* @return The tcpiRcvSsthresh.
*/
@java.lang.Override
public int getTcpiRcvSsthresh() {
return tcpiRcvSsthresh_;
}
public static final int TCPI_RTT_FIELD_NUMBER = 24;
private int tcpiRtt_ = 0;
/**
* uint32 tcpi_rtt = 24;
* @return The tcpiRtt.
*/
@java.lang.Override
public int getTcpiRtt() {
return tcpiRtt_;
}
public static final int TCPI_RTTVAR_FIELD_NUMBER = 25;
private int tcpiRttvar_ = 0;
/**
* uint32 tcpi_rttvar = 25;
* @return The tcpiRttvar.
*/
@java.lang.Override
public int getTcpiRttvar() {
return tcpiRttvar_;
}
public static final int TCPI_SND_SSTHRESH_FIELD_NUMBER = 26;
private int tcpiSndSsthresh_ = 0;
/**
* uint32 tcpi_snd_ssthresh = 26;
* @return The tcpiSndSsthresh.
*/
@java.lang.Override
public int getTcpiSndSsthresh() {
return tcpiSndSsthresh_;
}
public static final int TCPI_SND_CWND_FIELD_NUMBER = 27;
private int tcpiSndCwnd_ = 0;
/**
* uint32 tcpi_snd_cwnd = 27;
* @return The tcpiSndCwnd.
*/
@java.lang.Override
public int getTcpiSndCwnd() {
return tcpiSndCwnd_;
}
public static final int TCPI_ADVMSS_FIELD_NUMBER = 28;
private int tcpiAdvmss_ = 0;
/**
* uint32 tcpi_advmss = 28;
* @return The tcpiAdvmss.
*/
@java.lang.Override
public int getTcpiAdvmss() {
return tcpiAdvmss_;
}
public static final int TCPI_REORDERING_FIELD_NUMBER = 29;
private int tcpiReordering_ = 0;
/**
* uint32 tcpi_reordering = 29;
* @return The tcpiReordering.
*/
@java.lang.Override
public int getTcpiReordering() {
return tcpiReordering_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (tcpiState_ != 0) {
output.writeUInt32(1, tcpiState_);
}
if (tcpiCaState_ != 0) {
output.writeUInt32(2, tcpiCaState_);
}
if (tcpiRetransmits_ != 0) {
output.writeUInt32(3, tcpiRetransmits_);
}
if (tcpiProbes_ != 0) {
output.writeUInt32(4, tcpiProbes_);
}
if (tcpiBackoff_ != 0) {
output.writeUInt32(5, tcpiBackoff_);
}
if (tcpiOptions_ != 0) {
output.writeUInt32(6, tcpiOptions_);
}
if (tcpiSndWscale_ != 0) {
output.writeUInt32(7, tcpiSndWscale_);
}
if (tcpiRcvWscale_ != 0) {
output.writeUInt32(8, tcpiRcvWscale_);
}
if (tcpiRto_ != 0) {
output.writeUInt32(9, tcpiRto_);
}
if (tcpiAto_ != 0) {
output.writeUInt32(10, tcpiAto_);
}
if (tcpiSndMss_ != 0) {
output.writeUInt32(11, tcpiSndMss_);
}
if (tcpiRcvMss_ != 0) {
output.writeUInt32(12, tcpiRcvMss_);
}
if (tcpiUnacked_ != 0) {
output.writeUInt32(13, tcpiUnacked_);
}
if (tcpiSacked_ != 0) {
output.writeUInt32(14, tcpiSacked_);
}
if (tcpiLost_ != 0) {
output.writeUInt32(15, tcpiLost_);
}
if (tcpiRetrans_ != 0) {
output.writeUInt32(16, tcpiRetrans_);
}
if (tcpiFackets_ != 0) {
output.writeUInt32(17, tcpiFackets_);
}
if (tcpiLastDataSent_ != 0) {
output.writeUInt32(18, tcpiLastDataSent_);
}
if (tcpiLastAckSent_ != 0) {
output.writeUInt32(19, tcpiLastAckSent_);
}
if (tcpiLastDataRecv_ != 0) {
output.writeUInt32(20, tcpiLastDataRecv_);
}
if (tcpiLastAckRecv_ != 0) {
output.writeUInt32(21, tcpiLastAckRecv_);
}
if (tcpiPmtu_ != 0) {
output.writeUInt32(22, tcpiPmtu_);
}
if (tcpiRcvSsthresh_ != 0) {
output.writeUInt32(23, tcpiRcvSsthresh_);
}
if (tcpiRtt_ != 0) {
output.writeUInt32(24, tcpiRtt_);
}
if (tcpiRttvar_ != 0) {
output.writeUInt32(25, tcpiRttvar_);
}
if (tcpiSndSsthresh_ != 0) {
output.writeUInt32(26, tcpiSndSsthresh_);
}
if (tcpiSndCwnd_ != 0) {
output.writeUInt32(27, tcpiSndCwnd_);
}
if (tcpiAdvmss_ != 0) {
output.writeUInt32(28, tcpiAdvmss_);
}
if (tcpiReordering_ != 0) {
output.writeUInt32(29, tcpiReordering_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (tcpiState_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, tcpiState_);
}
if (tcpiCaState_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, tcpiCaState_);
}
if (tcpiRetransmits_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, tcpiRetransmits_);
}
if (tcpiProbes_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, tcpiProbes_);
}
if (tcpiBackoff_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, tcpiBackoff_);
}
if (tcpiOptions_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, tcpiOptions_);
}
if (tcpiSndWscale_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, tcpiSndWscale_);
}
if (tcpiRcvWscale_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, tcpiRcvWscale_);
}
if (tcpiRto_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, tcpiRto_);
}
if (tcpiAto_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, tcpiAto_);
}
if (tcpiSndMss_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, tcpiSndMss_);
}
if (tcpiRcvMss_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, tcpiRcvMss_);
}
if (tcpiUnacked_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, tcpiUnacked_);
}
if (tcpiSacked_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, tcpiSacked_);
}
if (tcpiLost_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, tcpiLost_);
}
if (tcpiRetrans_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(16, tcpiRetrans_);
}
if (tcpiFackets_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(17, tcpiFackets_);
}
if (tcpiLastDataSent_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(18, tcpiLastDataSent_);
}
if (tcpiLastAckSent_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(19, tcpiLastAckSent_);
}
if (tcpiLastDataRecv_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(20, tcpiLastDataRecv_);
}
if (tcpiLastAckRecv_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(21, tcpiLastAckRecv_);
}
if (tcpiPmtu_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(22, tcpiPmtu_);
}
if (tcpiRcvSsthresh_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(23, tcpiRcvSsthresh_);
}
if (tcpiRtt_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(24, tcpiRtt_);
}
if (tcpiRttvar_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(25, tcpiRttvar_);
}
if (tcpiSndSsthresh_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(26, tcpiSndSsthresh_);
}
if (tcpiSndCwnd_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(27, tcpiSndCwnd_);
}
if (tcpiAdvmss_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(28, tcpiAdvmss_);
}
if (tcpiReordering_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(29, tcpiReordering_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.grpc.channelz.v1.SocketOptionTcpInfo)) {
return super.equals(obj);
}
io.grpc.channelz.v1.SocketOptionTcpInfo other = (io.grpc.channelz.v1.SocketOptionTcpInfo) obj;
if (getTcpiState()
!= other.getTcpiState()) return false;
if (getTcpiCaState()
!= other.getTcpiCaState()) return false;
if (getTcpiRetransmits()
!= other.getTcpiRetransmits()) return false;
if (getTcpiProbes()
!= other.getTcpiProbes()) return false;
if (getTcpiBackoff()
!= other.getTcpiBackoff()) return false;
if (getTcpiOptions()
!= other.getTcpiOptions()) return false;
if (getTcpiSndWscale()
!= other.getTcpiSndWscale()) return false;
if (getTcpiRcvWscale()
!= other.getTcpiRcvWscale()) return false;
if (getTcpiRto()
!= other.getTcpiRto()) return false;
if (getTcpiAto()
!= other.getTcpiAto()) return false;
if (getTcpiSndMss()
!= other.getTcpiSndMss()) return false;
if (getTcpiRcvMss()
!= other.getTcpiRcvMss()) return false;
if (getTcpiUnacked()
!= other.getTcpiUnacked()) return false;
if (getTcpiSacked()
!= other.getTcpiSacked()) return false;
if (getTcpiLost()
!= other.getTcpiLost()) return false;
if (getTcpiRetrans()
!= other.getTcpiRetrans()) return false;
if (getTcpiFackets()
!= other.getTcpiFackets()) return false;
if (getTcpiLastDataSent()
!= other.getTcpiLastDataSent()) return false;
if (getTcpiLastAckSent()
!= other.getTcpiLastAckSent()) return false;
if (getTcpiLastDataRecv()
!= other.getTcpiLastDataRecv()) return false;
if (getTcpiLastAckRecv()
!= other.getTcpiLastAckRecv()) return false;
if (getTcpiPmtu()
!= other.getTcpiPmtu()) return false;
if (getTcpiRcvSsthresh()
!= other.getTcpiRcvSsthresh()) return false;
if (getTcpiRtt()
!= other.getTcpiRtt()) return false;
if (getTcpiRttvar()
!= other.getTcpiRttvar()) return false;
if (getTcpiSndSsthresh()
!= other.getTcpiSndSsthresh()) return false;
if (getTcpiSndCwnd()
!= other.getTcpiSndCwnd()) return false;
if (getTcpiAdvmss()
!= other.getTcpiAdvmss()) return false;
if (getTcpiReordering()
!= other.getTcpiReordering()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TCPI_STATE_FIELD_NUMBER;
hash = (53 * hash) + getTcpiState();
hash = (37 * hash) + TCPI_CA_STATE_FIELD_NUMBER;
hash = (53 * hash) + getTcpiCaState();
hash = (37 * hash) + TCPI_RETRANSMITS_FIELD_NUMBER;
hash = (53 * hash) + getTcpiRetransmits();
hash = (37 * hash) + TCPI_PROBES_FIELD_NUMBER;
hash = (53 * hash) + getTcpiProbes();
hash = (37 * hash) + TCPI_BACKOFF_FIELD_NUMBER;
hash = (53 * hash) + getTcpiBackoff();
hash = (37 * hash) + TCPI_OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getTcpiOptions();
hash = (37 * hash) + TCPI_SND_WSCALE_FIELD_NUMBER;
hash = (53 * hash) + getTcpiSndWscale();
hash = (37 * hash) + TCPI_RCV_WSCALE_FIELD_NUMBER;
hash = (53 * hash) + getTcpiRcvWscale();
hash = (37 * hash) + TCPI_RTO_FIELD_NUMBER;
hash = (53 * hash) + getTcpiRto();
hash = (37 * hash) + TCPI_ATO_FIELD_NUMBER;
hash = (53 * hash) + getTcpiAto();
hash = (37 * hash) + TCPI_SND_MSS_FIELD_NUMBER;
hash = (53 * hash) + getTcpiSndMss();
hash = (37 * hash) + TCPI_RCV_MSS_FIELD_NUMBER;
hash = (53 * hash) + getTcpiRcvMss();
hash = (37 * hash) + TCPI_UNACKED_FIELD_NUMBER;
hash = (53 * hash) + getTcpiUnacked();
hash = (37 * hash) + TCPI_SACKED_FIELD_NUMBER;
hash = (53 * hash) + getTcpiSacked();
hash = (37 * hash) + TCPI_LOST_FIELD_NUMBER;
hash = (53 * hash) + getTcpiLost();
hash = (37 * hash) + TCPI_RETRANS_FIELD_NUMBER;
hash = (53 * hash) + getTcpiRetrans();
hash = (37 * hash) + TCPI_FACKETS_FIELD_NUMBER;
hash = (53 * hash) + getTcpiFackets();
hash = (37 * hash) + TCPI_LAST_DATA_SENT_FIELD_NUMBER;
hash = (53 * hash) + getTcpiLastDataSent();
hash = (37 * hash) + TCPI_LAST_ACK_SENT_FIELD_NUMBER;
hash = (53 * hash) + getTcpiLastAckSent();
hash = (37 * hash) + TCPI_LAST_DATA_RECV_FIELD_NUMBER;
hash = (53 * hash) + getTcpiLastDataRecv();
hash = (37 * hash) + TCPI_LAST_ACK_RECV_FIELD_NUMBER;
hash = (53 * hash) + getTcpiLastAckRecv();
hash = (37 * hash) + TCPI_PMTU_FIELD_NUMBER;
hash = (53 * hash) + getTcpiPmtu();
hash = (37 * hash) + TCPI_RCV_SSTHRESH_FIELD_NUMBER;
hash = (53 * hash) + getTcpiRcvSsthresh();
hash = (37 * hash) + TCPI_RTT_FIELD_NUMBER;
hash = (53 * hash) + getTcpiRtt();
hash = (37 * hash) + TCPI_RTTVAR_FIELD_NUMBER;
hash = (53 * hash) + getTcpiRttvar();
hash = (37 * hash) + TCPI_SND_SSTHRESH_FIELD_NUMBER;
hash = (53 * hash) + getTcpiSndSsthresh();
hash = (37 * hash) + TCPI_SND_CWND_FIELD_NUMBER;
hash = (53 * hash) + getTcpiSndCwnd();
hash = (37 * hash) + TCPI_ADVMSS_FIELD_NUMBER;
hash = (53 * hash) + getTcpiAdvmss();
hash = (37 * hash) + TCPI_REORDERING_FIELD_NUMBER;
hash = (53 * hash) + getTcpiReordering();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.grpc.channelz.v1.SocketOptionTcpInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* For use with SocketOption's additional field. Tcp info for
* SOL_TCP and TCP_INFO.
*
*
* Protobuf type {@code grpc.channelz.v1.SocketOptionTcpInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:grpc.channelz.v1.SocketOptionTcpInfo)
io.grpc.channelz.v1.SocketOptionTcpInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.grpc.channelz.v1.SocketOptionTcpInfo.class, io.grpc.channelz.v1.SocketOptionTcpInfo.Builder.class);
}
// Construct using io.grpc.channelz.v1.SocketOptionTcpInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tcpiState_ = 0;
tcpiCaState_ = 0;
tcpiRetransmits_ = 0;
tcpiProbes_ = 0;
tcpiBackoff_ = 0;
tcpiOptions_ = 0;
tcpiSndWscale_ = 0;
tcpiRcvWscale_ = 0;
tcpiRto_ = 0;
tcpiAto_ = 0;
tcpiSndMss_ = 0;
tcpiRcvMss_ = 0;
tcpiUnacked_ = 0;
tcpiSacked_ = 0;
tcpiLost_ = 0;
tcpiRetrans_ = 0;
tcpiFackets_ = 0;
tcpiLastDataSent_ = 0;
tcpiLastAckSent_ = 0;
tcpiLastDataRecv_ = 0;
tcpiLastAckRecv_ = 0;
tcpiPmtu_ = 0;
tcpiRcvSsthresh_ = 0;
tcpiRtt_ = 0;
tcpiRttvar_ = 0;
tcpiSndSsthresh_ = 0;
tcpiSndCwnd_ = 0;
tcpiAdvmss_ = 0;
tcpiReordering_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_descriptor;
}
@java.lang.Override
public io.grpc.channelz.v1.SocketOptionTcpInfo getDefaultInstanceForType() {
return io.grpc.channelz.v1.SocketOptionTcpInfo.getDefaultInstance();
}
@java.lang.Override
public io.grpc.channelz.v1.SocketOptionTcpInfo build() {
io.grpc.channelz.v1.SocketOptionTcpInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.grpc.channelz.v1.SocketOptionTcpInfo buildPartial() {
io.grpc.channelz.v1.SocketOptionTcpInfo result = new io.grpc.channelz.v1.SocketOptionTcpInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.grpc.channelz.v1.SocketOptionTcpInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tcpiState_ = tcpiState_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tcpiCaState_ = tcpiCaState_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tcpiRetransmits_ = tcpiRetransmits_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.tcpiProbes_ = tcpiProbes_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.tcpiBackoff_ = tcpiBackoff_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.tcpiOptions_ = tcpiOptions_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.tcpiSndWscale_ = tcpiSndWscale_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.tcpiRcvWscale_ = tcpiRcvWscale_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.tcpiRto_ = tcpiRto_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.tcpiAto_ = tcpiAto_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.tcpiSndMss_ = tcpiSndMss_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.tcpiRcvMss_ = tcpiRcvMss_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.tcpiUnacked_ = tcpiUnacked_;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.tcpiSacked_ = tcpiSacked_;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.tcpiLost_ = tcpiLost_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.tcpiRetrans_ = tcpiRetrans_;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.tcpiFackets_ = tcpiFackets_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.tcpiLastDataSent_ = tcpiLastDataSent_;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.tcpiLastAckSent_ = tcpiLastAckSent_;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.tcpiLastDataRecv_ = tcpiLastDataRecv_;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
result.tcpiLastAckRecv_ = tcpiLastAckRecv_;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
result.tcpiPmtu_ = tcpiPmtu_;
}
if (((from_bitField0_ & 0x00400000) != 0)) {
result.tcpiRcvSsthresh_ = tcpiRcvSsthresh_;
}
if (((from_bitField0_ & 0x00800000) != 0)) {
result.tcpiRtt_ = tcpiRtt_;
}
if (((from_bitField0_ & 0x01000000) != 0)) {
result.tcpiRttvar_ = tcpiRttvar_;
}
if (((from_bitField0_ & 0x02000000) != 0)) {
result.tcpiSndSsthresh_ = tcpiSndSsthresh_;
}
if (((from_bitField0_ & 0x04000000) != 0)) {
result.tcpiSndCwnd_ = tcpiSndCwnd_;
}
if (((from_bitField0_ & 0x08000000) != 0)) {
result.tcpiAdvmss_ = tcpiAdvmss_;
}
if (((from_bitField0_ & 0x10000000) != 0)) {
result.tcpiReordering_ = tcpiReordering_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.grpc.channelz.v1.SocketOptionTcpInfo) {
return mergeFrom((io.grpc.channelz.v1.SocketOptionTcpInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.grpc.channelz.v1.SocketOptionTcpInfo other) {
if (other == io.grpc.channelz.v1.SocketOptionTcpInfo.getDefaultInstance()) return this;
if (other.getTcpiState() != 0) {
setTcpiState(other.getTcpiState());
}
if (other.getTcpiCaState() != 0) {
setTcpiCaState(other.getTcpiCaState());
}
if (other.getTcpiRetransmits() != 0) {
setTcpiRetransmits(other.getTcpiRetransmits());
}
if (other.getTcpiProbes() != 0) {
setTcpiProbes(other.getTcpiProbes());
}
if (other.getTcpiBackoff() != 0) {
setTcpiBackoff(other.getTcpiBackoff());
}
if (other.getTcpiOptions() != 0) {
setTcpiOptions(other.getTcpiOptions());
}
if (other.getTcpiSndWscale() != 0) {
setTcpiSndWscale(other.getTcpiSndWscale());
}
if (other.getTcpiRcvWscale() != 0) {
setTcpiRcvWscale(other.getTcpiRcvWscale());
}
if (other.getTcpiRto() != 0) {
setTcpiRto(other.getTcpiRto());
}
if (other.getTcpiAto() != 0) {
setTcpiAto(other.getTcpiAto());
}
if (other.getTcpiSndMss() != 0) {
setTcpiSndMss(other.getTcpiSndMss());
}
if (other.getTcpiRcvMss() != 0) {
setTcpiRcvMss(other.getTcpiRcvMss());
}
if (other.getTcpiUnacked() != 0) {
setTcpiUnacked(other.getTcpiUnacked());
}
if (other.getTcpiSacked() != 0) {
setTcpiSacked(other.getTcpiSacked());
}
if (other.getTcpiLost() != 0) {
setTcpiLost(other.getTcpiLost());
}
if (other.getTcpiRetrans() != 0) {
setTcpiRetrans(other.getTcpiRetrans());
}
if (other.getTcpiFackets() != 0) {
setTcpiFackets(other.getTcpiFackets());
}
if (other.getTcpiLastDataSent() != 0) {
setTcpiLastDataSent(other.getTcpiLastDataSent());
}
if (other.getTcpiLastAckSent() != 0) {
setTcpiLastAckSent(other.getTcpiLastAckSent());
}
if (other.getTcpiLastDataRecv() != 0) {
setTcpiLastDataRecv(other.getTcpiLastDataRecv());
}
if (other.getTcpiLastAckRecv() != 0) {
setTcpiLastAckRecv(other.getTcpiLastAckRecv());
}
if (other.getTcpiPmtu() != 0) {
setTcpiPmtu(other.getTcpiPmtu());
}
if (other.getTcpiRcvSsthresh() != 0) {
setTcpiRcvSsthresh(other.getTcpiRcvSsthresh());
}
if (other.getTcpiRtt() != 0) {
setTcpiRtt(other.getTcpiRtt());
}
if (other.getTcpiRttvar() != 0) {
setTcpiRttvar(other.getTcpiRttvar());
}
if (other.getTcpiSndSsthresh() != 0) {
setTcpiSndSsthresh(other.getTcpiSndSsthresh());
}
if (other.getTcpiSndCwnd() != 0) {
setTcpiSndCwnd(other.getTcpiSndCwnd());
}
if (other.getTcpiAdvmss() != 0) {
setTcpiAdvmss(other.getTcpiAdvmss());
}
if (other.getTcpiReordering() != 0) {
setTcpiReordering(other.getTcpiReordering());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
tcpiState_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
tcpiCaState_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
tcpiRetransmits_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
tcpiProbes_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
tcpiBackoff_ = input.readUInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
tcpiOptions_ = input.readUInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
tcpiSndWscale_ = input.readUInt32();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
tcpiRcvWscale_ = input.readUInt32();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
tcpiRto_ = input.readUInt32();
bitField0_ |= 0x00000100;
break;
} // case 72
case 80: {
tcpiAto_ = input.readUInt32();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
tcpiSndMss_ = input.readUInt32();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
tcpiRcvMss_ = input.readUInt32();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
tcpiUnacked_ = input.readUInt32();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
tcpiSacked_ = input.readUInt32();
bitField0_ |= 0x00002000;
break;
} // case 112
case 120: {
tcpiLost_ = input.readUInt32();
bitField0_ |= 0x00004000;
break;
} // case 120
case 128: {
tcpiRetrans_ = input.readUInt32();
bitField0_ |= 0x00008000;
break;
} // case 128
case 136: {
tcpiFackets_ = input.readUInt32();
bitField0_ |= 0x00010000;
break;
} // case 136
case 144: {
tcpiLastDataSent_ = input.readUInt32();
bitField0_ |= 0x00020000;
break;
} // case 144
case 152: {
tcpiLastAckSent_ = input.readUInt32();
bitField0_ |= 0x00040000;
break;
} // case 152
case 160: {
tcpiLastDataRecv_ = input.readUInt32();
bitField0_ |= 0x00080000;
break;
} // case 160
case 168: {
tcpiLastAckRecv_ = input.readUInt32();
bitField0_ |= 0x00100000;
break;
} // case 168
case 176: {
tcpiPmtu_ = input.readUInt32();
bitField0_ |= 0x00200000;
break;
} // case 176
case 184: {
tcpiRcvSsthresh_ = input.readUInt32();
bitField0_ |= 0x00400000;
break;
} // case 184
case 192: {
tcpiRtt_ = input.readUInt32();
bitField0_ |= 0x00800000;
break;
} // case 192
case 200: {
tcpiRttvar_ = input.readUInt32();
bitField0_ |= 0x01000000;
break;
} // case 200
case 208: {
tcpiSndSsthresh_ = input.readUInt32();
bitField0_ |= 0x02000000;
break;
} // case 208
case 216: {
tcpiSndCwnd_ = input.readUInt32();
bitField0_ |= 0x04000000;
break;
} // case 216
case 224: {
tcpiAdvmss_ = input.readUInt32();
bitField0_ |= 0x08000000;
break;
} // case 224
case 232: {
tcpiReordering_ = input.readUInt32();
bitField0_ |= 0x10000000;
break;
} // case 232
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int tcpiState_ ;
/**
* uint32 tcpi_state = 1;
* @return The tcpiState.
*/
@java.lang.Override
public int getTcpiState() {
return tcpiState_;
}
/**
* uint32 tcpi_state = 1;
* @param value The tcpiState to set.
* @return This builder for chaining.
*/
public Builder setTcpiState(int value) {
tcpiState_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* uint32 tcpi_state = 1;
* @return This builder for chaining.
*/
public Builder clearTcpiState() {
bitField0_ = (bitField0_ & ~0x00000001);
tcpiState_ = 0;
onChanged();
return this;
}
private int tcpiCaState_ ;
/**
* uint32 tcpi_ca_state = 2;
* @return The tcpiCaState.
*/
@java.lang.Override
public int getTcpiCaState() {
return tcpiCaState_;
}
/**
* uint32 tcpi_ca_state = 2;
* @param value The tcpiCaState to set.
* @return This builder for chaining.
*/
public Builder setTcpiCaState(int value) {
tcpiCaState_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint32 tcpi_ca_state = 2;
* @return This builder for chaining.
*/
public Builder clearTcpiCaState() {
bitField0_ = (bitField0_ & ~0x00000002);
tcpiCaState_ = 0;
onChanged();
return this;
}
private int tcpiRetransmits_ ;
/**
* uint32 tcpi_retransmits = 3;
* @return The tcpiRetransmits.
*/
@java.lang.Override
public int getTcpiRetransmits() {
return tcpiRetransmits_;
}
/**
* uint32 tcpi_retransmits = 3;
* @param value The tcpiRetransmits to set.
* @return This builder for chaining.
*/
public Builder setTcpiRetransmits(int value) {
tcpiRetransmits_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* uint32 tcpi_retransmits = 3;
* @return This builder for chaining.
*/
public Builder clearTcpiRetransmits() {
bitField0_ = (bitField0_ & ~0x00000004);
tcpiRetransmits_ = 0;
onChanged();
return this;
}
private int tcpiProbes_ ;
/**
* uint32 tcpi_probes = 4;
* @return The tcpiProbes.
*/
@java.lang.Override
public int getTcpiProbes() {
return tcpiProbes_;
}
/**
* uint32 tcpi_probes = 4;
* @param value The tcpiProbes to set.
* @return This builder for chaining.
*/
public Builder setTcpiProbes(int value) {
tcpiProbes_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* uint32 tcpi_probes = 4;
* @return This builder for chaining.
*/
public Builder clearTcpiProbes() {
bitField0_ = (bitField0_ & ~0x00000008);
tcpiProbes_ = 0;
onChanged();
return this;
}
private int tcpiBackoff_ ;
/**
* uint32 tcpi_backoff = 5;
* @return The tcpiBackoff.
*/
@java.lang.Override
public int getTcpiBackoff() {
return tcpiBackoff_;
}
/**
* uint32 tcpi_backoff = 5;
* @param value The tcpiBackoff to set.
* @return This builder for chaining.
*/
public Builder setTcpiBackoff(int value) {
tcpiBackoff_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* uint32 tcpi_backoff = 5;
* @return This builder for chaining.
*/
public Builder clearTcpiBackoff() {
bitField0_ = (bitField0_ & ~0x00000010);
tcpiBackoff_ = 0;
onChanged();
return this;
}
private int tcpiOptions_ ;
/**
* uint32 tcpi_options = 6;
* @return The tcpiOptions.
*/
@java.lang.Override
public int getTcpiOptions() {
return tcpiOptions_;
}
/**
* uint32 tcpi_options = 6;
* @param value The tcpiOptions to set.
* @return This builder for chaining.
*/
public Builder setTcpiOptions(int value) {
tcpiOptions_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* uint32 tcpi_options = 6;
* @return This builder for chaining.
*/
public Builder clearTcpiOptions() {
bitField0_ = (bitField0_ & ~0x00000020);
tcpiOptions_ = 0;
onChanged();
return this;
}
private int tcpiSndWscale_ ;
/**
* uint32 tcpi_snd_wscale = 7;
* @return The tcpiSndWscale.
*/
@java.lang.Override
public int getTcpiSndWscale() {
return tcpiSndWscale_;
}
/**
* uint32 tcpi_snd_wscale = 7;
* @param value The tcpiSndWscale to set.
* @return This builder for chaining.
*/
public Builder setTcpiSndWscale(int value) {
tcpiSndWscale_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* uint32 tcpi_snd_wscale = 7;
* @return This builder for chaining.
*/
public Builder clearTcpiSndWscale() {
bitField0_ = (bitField0_ & ~0x00000040);
tcpiSndWscale_ = 0;
onChanged();
return this;
}
private int tcpiRcvWscale_ ;
/**
* uint32 tcpi_rcv_wscale = 8;
* @return The tcpiRcvWscale.
*/
@java.lang.Override
public int getTcpiRcvWscale() {
return tcpiRcvWscale_;
}
/**
* uint32 tcpi_rcv_wscale = 8;
* @param value The tcpiRcvWscale to set.
* @return This builder for chaining.
*/
public Builder setTcpiRcvWscale(int value) {
tcpiRcvWscale_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* uint32 tcpi_rcv_wscale = 8;
* @return This builder for chaining.
*/
public Builder clearTcpiRcvWscale() {
bitField0_ = (bitField0_ & ~0x00000080);
tcpiRcvWscale_ = 0;
onChanged();
return this;
}
private int tcpiRto_ ;
/**
* uint32 tcpi_rto = 9;
* @return The tcpiRto.
*/
@java.lang.Override
public int getTcpiRto() {
return tcpiRto_;
}
/**
* uint32 tcpi_rto = 9;
* @param value The tcpiRto to set.
* @return This builder for chaining.
*/
public Builder setTcpiRto(int value) {
tcpiRto_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* uint32 tcpi_rto = 9;
* @return This builder for chaining.
*/
public Builder clearTcpiRto() {
bitField0_ = (bitField0_ & ~0x00000100);
tcpiRto_ = 0;
onChanged();
return this;
}
private int tcpiAto_ ;
/**
* uint32 tcpi_ato = 10;
* @return The tcpiAto.
*/
@java.lang.Override
public int getTcpiAto() {
return tcpiAto_;
}
/**
* uint32 tcpi_ato = 10;
* @param value The tcpiAto to set.
* @return This builder for chaining.
*/
public Builder setTcpiAto(int value) {
tcpiAto_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* uint32 tcpi_ato = 10;
* @return This builder for chaining.
*/
public Builder clearTcpiAto() {
bitField0_ = (bitField0_ & ~0x00000200);
tcpiAto_ = 0;
onChanged();
return this;
}
private int tcpiSndMss_ ;
/**
* uint32 tcpi_snd_mss = 11;
* @return The tcpiSndMss.
*/
@java.lang.Override
public int getTcpiSndMss() {
return tcpiSndMss_;
}
/**
* uint32 tcpi_snd_mss = 11;
* @param value The tcpiSndMss to set.
* @return This builder for chaining.
*/
public Builder setTcpiSndMss(int value) {
tcpiSndMss_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* uint32 tcpi_snd_mss = 11;
* @return This builder for chaining.
*/
public Builder clearTcpiSndMss() {
bitField0_ = (bitField0_ & ~0x00000400);
tcpiSndMss_ = 0;
onChanged();
return this;
}
private int tcpiRcvMss_ ;
/**
* uint32 tcpi_rcv_mss = 12;
* @return The tcpiRcvMss.
*/
@java.lang.Override
public int getTcpiRcvMss() {
return tcpiRcvMss_;
}
/**
* uint32 tcpi_rcv_mss = 12;
* @param value The tcpiRcvMss to set.
* @return This builder for chaining.
*/
public Builder setTcpiRcvMss(int value) {
tcpiRcvMss_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* uint32 tcpi_rcv_mss = 12;
* @return This builder for chaining.
*/
public Builder clearTcpiRcvMss() {
bitField0_ = (bitField0_ & ~0x00000800);
tcpiRcvMss_ = 0;
onChanged();
return this;
}
private int tcpiUnacked_ ;
/**
* uint32 tcpi_unacked = 13;
* @return The tcpiUnacked.
*/
@java.lang.Override
public int getTcpiUnacked() {
return tcpiUnacked_;
}
/**
* uint32 tcpi_unacked = 13;
* @param value The tcpiUnacked to set.
* @return This builder for chaining.
*/
public Builder setTcpiUnacked(int value) {
tcpiUnacked_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* uint32 tcpi_unacked = 13;
* @return This builder for chaining.
*/
public Builder clearTcpiUnacked() {
bitField0_ = (bitField0_ & ~0x00001000);
tcpiUnacked_ = 0;
onChanged();
return this;
}
private int tcpiSacked_ ;
/**
* uint32 tcpi_sacked = 14;
* @return The tcpiSacked.
*/
@java.lang.Override
public int getTcpiSacked() {
return tcpiSacked_;
}
/**
* uint32 tcpi_sacked = 14;
* @param value The tcpiSacked to set.
* @return This builder for chaining.
*/
public Builder setTcpiSacked(int value) {
tcpiSacked_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* uint32 tcpi_sacked = 14;
* @return This builder for chaining.
*/
public Builder clearTcpiSacked() {
bitField0_ = (bitField0_ & ~0x00002000);
tcpiSacked_ = 0;
onChanged();
return this;
}
private int tcpiLost_ ;
/**
* uint32 tcpi_lost = 15;
* @return The tcpiLost.
*/
@java.lang.Override
public int getTcpiLost() {
return tcpiLost_;
}
/**
* uint32 tcpi_lost = 15;
* @param value The tcpiLost to set.
* @return This builder for chaining.
*/
public Builder setTcpiLost(int value) {
tcpiLost_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* uint32 tcpi_lost = 15;
* @return This builder for chaining.
*/
public Builder clearTcpiLost() {
bitField0_ = (bitField0_ & ~0x00004000);
tcpiLost_ = 0;
onChanged();
return this;
}
private int tcpiRetrans_ ;
/**
* uint32 tcpi_retrans = 16;
* @return The tcpiRetrans.
*/
@java.lang.Override
public int getTcpiRetrans() {
return tcpiRetrans_;
}
/**
* uint32 tcpi_retrans = 16;
* @param value The tcpiRetrans to set.
* @return This builder for chaining.
*/
public Builder setTcpiRetrans(int value) {
tcpiRetrans_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* uint32 tcpi_retrans = 16;
* @return This builder for chaining.
*/
public Builder clearTcpiRetrans() {
bitField0_ = (bitField0_ & ~0x00008000);
tcpiRetrans_ = 0;
onChanged();
return this;
}
private int tcpiFackets_ ;
/**
* uint32 tcpi_fackets = 17;
* @return The tcpiFackets.
*/
@java.lang.Override
public int getTcpiFackets() {
return tcpiFackets_;
}
/**
* uint32 tcpi_fackets = 17;
* @param value The tcpiFackets to set.
* @return This builder for chaining.
*/
public Builder setTcpiFackets(int value) {
tcpiFackets_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* uint32 tcpi_fackets = 17;
* @return This builder for chaining.
*/
public Builder clearTcpiFackets() {
bitField0_ = (bitField0_ & ~0x00010000);
tcpiFackets_ = 0;
onChanged();
return this;
}
private int tcpiLastDataSent_ ;
/**
* uint32 tcpi_last_data_sent = 18;
* @return The tcpiLastDataSent.
*/
@java.lang.Override
public int getTcpiLastDataSent() {
return tcpiLastDataSent_;
}
/**
* uint32 tcpi_last_data_sent = 18;
* @param value The tcpiLastDataSent to set.
* @return This builder for chaining.
*/
public Builder setTcpiLastDataSent(int value) {
tcpiLastDataSent_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* uint32 tcpi_last_data_sent = 18;
* @return This builder for chaining.
*/
public Builder clearTcpiLastDataSent() {
bitField0_ = (bitField0_ & ~0x00020000);
tcpiLastDataSent_ = 0;
onChanged();
return this;
}
private int tcpiLastAckSent_ ;
/**
* uint32 tcpi_last_ack_sent = 19;
* @return The tcpiLastAckSent.
*/
@java.lang.Override
public int getTcpiLastAckSent() {
return tcpiLastAckSent_;
}
/**
* uint32 tcpi_last_ack_sent = 19;
* @param value The tcpiLastAckSent to set.
* @return This builder for chaining.
*/
public Builder setTcpiLastAckSent(int value) {
tcpiLastAckSent_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
/**
* uint32 tcpi_last_ack_sent = 19;
* @return This builder for chaining.
*/
public Builder clearTcpiLastAckSent() {
bitField0_ = (bitField0_ & ~0x00040000);
tcpiLastAckSent_ = 0;
onChanged();
return this;
}
private int tcpiLastDataRecv_ ;
/**
* uint32 tcpi_last_data_recv = 20;
* @return The tcpiLastDataRecv.
*/
@java.lang.Override
public int getTcpiLastDataRecv() {
return tcpiLastDataRecv_;
}
/**
* uint32 tcpi_last_data_recv = 20;
* @param value The tcpiLastDataRecv to set.
* @return This builder for chaining.
*/
public Builder setTcpiLastDataRecv(int value) {
tcpiLastDataRecv_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
/**
* uint32 tcpi_last_data_recv = 20;
* @return This builder for chaining.
*/
public Builder clearTcpiLastDataRecv() {
bitField0_ = (bitField0_ & ~0x00080000);
tcpiLastDataRecv_ = 0;
onChanged();
return this;
}
private int tcpiLastAckRecv_ ;
/**
* uint32 tcpi_last_ack_recv = 21;
* @return The tcpiLastAckRecv.
*/
@java.lang.Override
public int getTcpiLastAckRecv() {
return tcpiLastAckRecv_;
}
/**
* uint32 tcpi_last_ack_recv = 21;
* @param value The tcpiLastAckRecv to set.
* @return This builder for chaining.
*/
public Builder setTcpiLastAckRecv(int value) {
tcpiLastAckRecv_ = value;
bitField0_ |= 0x00100000;
onChanged();
return this;
}
/**
* uint32 tcpi_last_ack_recv = 21;
* @return This builder for chaining.
*/
public Builder clearTcpiLastAckRecv() {
bitField0_ = (bitField0_ & ~0x00100000);
tcpiLastAckRecv_ = 0;
onChanged();
return this;
}
private int tcpiPmtu_ ;
/**
* uint32 tcpi_pmtu = 22;
* @return The tcpiPmtu.
*/
@java.lang.Override
public int getTcpiPmtu() {
return tcpiPmtu_;
}
/**
* uint32 tcpi_pmtu = 22;
* @param value The tcpiPmtu to set.
* @return This builder for chaining.
*/
public Builder setTcpiPmtu(int value) {
tcpiPmtu_ = value;
bitField0_ |= 0x00200000;
onChanged();
return this;
}
/**
* uint32 tcpi_pmtu = 22;
* @return This builder for chaining.
*/
public Builder clearTcpiPmtu() {
bitField0_ = (bitField0_ & ~0x00200000);
tcpiPmtu_ = 0;
onChanged();
return this;
}
private int tcpiRcvSsthresh_ ;
/**
* uint32 tcpi_rcv_ssthresh = 23;
* @return The tcpiRcvSsthresh.
*/
@java.lang.Override
public int getTcpiRcvSsthresh() {
return tcpiRcvSsthresh_;
}
/**
* uint32 tcpi_rcv_ssthresh = 23;
* @param value The tcpiRcvSsthresh to set.
* @return This builder for chaining.
*/
public Builder setTcpiRcvSsthresh(int value) {
tcpiRcvSsthresh_ = value;
bitField0_ |= 0x00400000;
onChanged();
return this;
}
/**
* uint32 tcpi_rcv_ssthresh = 23;
* @return This builder for chaining.
*/
public Builder clearTcpiRcvSsthresh() {
bitField0_ = (bitField0_ & ~0x00400000);
tcpiRcvSsthresh_ = 0;
onChanged();
return this;
}
private int tcpiRtt_ ;
/**
* uint32 tcpi_rtt = 24;
* @return The tcpiRtt.
*/
@java.lang.Override
public int getTcpiRtt() {
return tcpiRtt_;
}
/**
* uint32 tcpi_rtt = 24;
* @param value The tcpiRtt to set.
* @return This builder for chaining.
*/
public Builder setTcpiRtt(int value) {
tcpiRtt_ = value;
bitField0_ |= 0x00800000;
onChanged();
return this;
}
/**
* uint32 tcpi_rtt = 24;
* @return This builder for chaining.
*/
public Builder clearTcpiRtt() {
bitField0_ = (bitField0_ & ~0x00800000);
tcpiRtt_ = 0;
onChanged();
return this;
}
private int tcpiRttvar_ ;
/**
* uint32 tcpi_rttvar = 25;
* @return The tcpiRttvar.
*/
@java.lang.Override
public int getTcpiRttvar() {
return tcpiRttvar_;
}
/**
* uint32 tcpi_rttvar = 25;
* @param value The tcpiRttvar to set.
* @return This builder for chaining.
*/
public Builder setTcpiRttvar(int value) {
tcpiRttvar_ = value;
bitField0_ |= 0x01000000;
onChanged();
return this;
}
/**
* uint32 tcpi_rttvar = 25;
* @return This builder for chaining.
*/
public Builder clearTcpiRttvar() {
bitField0_ = (bitField0_ & ~0x01000000);
tcpiRttvar_ = 0;
onChanged();
return this;
}
private int tcpiSndSsthresh_ ;
/**
* uint32 tcpi_snd_ssthresh = 26;
* @return The tcpiSndSsthresh.
*/
@java.lang.Override
public int getTcpiSndSsthresh() {
return tcpiSndSsthresh_;
}
/**
* uint32 tcpi_snd_ssthresh = 26;
* @param value The tcpiSndSsthresh to set.
* @return This builder for chaining.
*/
public Builder setTcpiSndSsthresh(int value) {
tcpiSndSsthresh_ = value;
bitField0_ |= 0x02000000;
onChanged();
return this;
}
/**
* uint32 tcpi_snd_ssthresh = 26;
* @return This builder for chaining.
*/
public Builder clearTcpiSndSsthresh() {
bitField0_ = (bitField0_ & ~0x02000000);
tcpiSndSsthresh_ = 0;
onChanged();
return this;
}
private int tcpiSndCwnd_ ;
/**
* uint32 tcpi_snd_cwnd = 27;
* @return The tcpiSndCwnd.
*/
@java.lang.Override
public int getTcpiSndCwnd() {
return tcpiSndCwnd_;
}
/**
* uint32 tcpi_snd_cwnd = 27;
* @param value The tcpiSndCwnd to set.
* @return This builder for chaining.
*/
public Builder setTcpiSndCwnd(int value) {
tcpiSndCwnd_ = value;
bitField0_ |= 0x04000000;
onChanged();
return this;
}
/**
* uint32 tcpi_snd_cwnd = 27;
* @return This builder for chaining.
*/
public Builder clearTcpiSndCwnd() {
bitField0_ = (bitField0_ & ~0x04000000);
tcpiSndCwnd_ = 0;
onChanged();
return this;
}
private int tcpiAdvmss_ ;
/**
* uint32 tcpi_advmss = 28;
* @return The tcpiAdvmss.
*/
@java.lang.Override
public int getTcpiAdvmss() {
return tcpiAdvmss_;
}
/**
* uint32 tcpi_advmss = 28;
* @param value The tcpiAdvmss to set.
* @return This builder for chaining.
*/
public Builder setTcpiAdvmss(int value) {
tcpiAdvmss_ = value;
bitField0_ |= 0x08000000;
onChanged();
return this;
}
/**
* uint32 tcpi_advmss = 28;
* @return This builder for chaining.
*/
public Builder clearTcpiAdvmss() {
bitField0_ = (bitField0_ & ~0x08000000);
tcpiAdvmss_ = 0;
onChanged();
return this;
}
private int tcpiReordering_ ;
/**
* uint32 tcpi_reordering = 29;
* @return The tcpiReordering.
*/
@java.lang.Override
public int getTcpiReordering() {
return tcpiReordering_;
}
/**
* uint32 tcpi_reordering = 29;
* @param value The tcpiReordering to set.
* @return This builder for chaining.
*/
public Builder setTcpiReordering(int value) {
tcpiReordering_ = value;
bitField0_ |= 0x10000000;
onChanged();
return this;
}
/**
* uint32 tcpi_reordering = 29;
* @return This builder for chaining.
*/
public Builder clearTcpiReordering() {
bitField0_ = (bitField0_ & ~0x10000000);
tcpiReordering_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:grpc.channelz.v1.SocketOptionTcpInfo)
}
// @@protoc_insertion_point(class_scope:grpc.channelz.v1.SocketOptionTcpInfo)
private static final io.grpc.channelz.v1.SocketOptionTcpInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.grpc.channelz.v1.SocketOptionTcpInfo();
}
public static io.grpc.channelz.v1.SocketOptionTcpInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SocketOptionTcpInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.grpc.channelz.v1.SocketOptionTcpInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}