1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: grpc/channelz/v1/channelz.proto
3 
4 package io.grpc.channelz.v1;
5 
6 /**
7  * <pre>
8  * For use with SocketOption's additional field.  Tcp info for
9  * SOL_TCP and TCP_INFO.
10  * </pre>
11  *
12  * Protobuf type {@code grpc.channelz.v1.SocketOptionTcpInfo}
13  */
14 public  final class SocketOptionTcpInfo extends
15     com.google.protobuf.GeneratedMessageV3 implements
16     // @@protoc_insertion_point(message_implements:grpc.channelz.v1.SocketOptionTcpInfo)
17     SocketOptionTcpInfoOrBuilder {
18 private static final long serialVersionUID = 0L;
19   // Use SocketOptionTcpInfo.newBuilder() to construct.
SocketOptionTcpInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)20   private SocketOptionTcpInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
21     super(builder);
22   }
SocketOptionTcpInfo()23   private SocketOptionTcpInfo() {
24     tcpiState_ = 0;
25     tcpiCaState_ = 0;
26     tcpiRetransmits_ = 0;
27     tcpiProbes_ = 0;
28     tcpiBackoff_ = 0;
29     tcpiOptions_ = 0;
30     tcpiSndWscale_ = 0;
31     tcpiRcvWscale_ = 0;
32     tcpiRto_ = 0;
33     tcpiAto_ = 0;
34     tcpiSndMss_ = 0;
35     tcpiRcvMss_ = 0;
36     tcpiUnacked_ = 0;
37     tcpiSacked_ = 0;
38     tcpiLost_ = 0;
39     tcpiRetrans_ = 0;
40     tcpiFackets_ = 0;
41     tcpiLastDataSent_ = 0;
42     tcpiLastAckSent_ = 0;
43     tcpiLastDataRecv_ = 0;
44     tcpiLastAckRecv_ = 0;
45     tcpiPmtu_ = 0;
46     tcpiRcvSsthresh_ = 0;
47     tcpiRtt_ = 0;
48     tcpiRttvar_ = 0;
49     tcpiSndSsthresh_ = 0;
50     tcpiSndCwnd_ = 0;
51     tcpiAdvmss_ = 0;
52     tcpiReordering_ = 0;
53   }
54 
55   @java.lang.Override
56   public final com.google.protobuf.UnknownFieldSet
getUnknownFields()57   getUnknownFields() {
58     return this.unknownFields;
59   }
SocketOptionTcpInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)60   private SocketOptionTcpInfo(
61       com.google.protobuf.CodedInputStream input,
62       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
63       throws com.google.protobuf.InvalidProtocolBufferException {
64     this();
65     if (extensionRegistry == null) {
66       throw new java.lang.NullPointerException();
67     }
68     int mutable_bitField0_ = 0;
69     com.google.protobuf.UnknownFieldSet.Builder unknownFields =
70         com.google.protobuf.UnknownFieldSet.newBuilder();
71     try {
72       boolean done = false;
73       while (!done) {
74         int tag = input.readTag();
75         switch (tag) {
76           case 0:
77             done = true;
78             break;
79           default: {
80             if (!parseUnknownFieldProto3(
81                 input, unknownFields, extensionRegistry, tag)) {
82               done = true;
83             }
84             break;
85           }
86           case 8: {
87 
88             tcpiState_ = input.readUInt32();
89             break;
90           }
91           case 16: {
92 
93             tcpiCaState_ = input.readUInt32();
94             break;
95           }
96           case 24: {
97 
98             tcpiRetransmits_ = input.readUInt32();
99             break;
100           }
101           case 32: {
102 
103             tcpiProbes_ = input.readUInt32();
104             break;
105           }
106           case 40: {
107 
108             tcpiBackoff_ = input.readUInt32();
109             break;
110           }
111           case 48: {
112 
113             tcpiOptions_ = input.readUInt32();
114             break;
115           }
116           case 56: {
117 
118             tcpiSndWscale_ = input.readUInt32();
119             break;
120           }
121           case 64: {
122 
123             tcpiRcvWscale_ = input.readUInt32();
124             break;
125           }
126           case 72: {
127 
128             tcpiRto_ = input.readUInt32();
129             break;
130           }
131           case 80: {
132 
133             tcpiAto_ = input.readUInt32();
134             break;
135           }
136           case 88: {
137 
138             tcpiSndMss_ = input.readUInt32();
139             break;
140           }
141           case 96: {
142 
143             tcpiRcvMss_ = input.readUInt32();
144             break;
145           }
146           case 104: {
147 
148             tcpiUnacked_ = input.readUInt32();
149             break;
150           }
151           case 112: {
152 
153             tcpiSacked_ = input.readUInt32();
154             break;
155           }
156           case 120: {
157 
158             tcpiLost_ = input.readUInt32();
159             break;
160           }
161           case 128: {
162 
163             tcpiRetrans_ = input.readUInt32();
164             break;
165           }
166           case 136: {
167 
168             tcpiFackets_ = input.readUInt32();
169             break;
170           }
171           case 144: {
172 
173             tcpiLastDataSent_ = input.readUInt32();
174             break;
175           }
176           case 152: {
177 
178             tcpiLastAckSent_ = input.readUInt32();
179             break;
180           }
181           case 160: {
182 
183             tcpiLastDataRecv_ = input.readUInt32();
184             break;
185           }
186           case 168: {
187 
188             tcpiLastAckRecv_ = input.readUInt32();
189             break;
190           }
191           case 176: {
192 
193             tcpiPmtu_ = input.readUInt32();
194             break;
195           }
196           case 184: {
197 
198             tcpiRcvSsthresh_ = input.readUInt32();
199             break;
200           }
201           case 192: {
202 
203             tcpiRtt_ = input.readUInt32();
204             break;
205           }
206           case 200: {
207 
208             tcpiRttvar_ = input.readUInt32();
209             break;
210           }
211           case 208: {
212 
213             tcpiSndSsthresh_ = input.readUInt32();
214             break;
215           }
216           case 216: {
217 
218             tcpiSndCwnd_ = input.readUInt32();
219             break;
220           }
221           case 224: {
222 
223             tcpiAdvmss_ = input.readUInt32();
224             break;
225           }
226           case 232: {
227 
228             tcpiReordering_ = input.readUInt32();
229             break;
230           }
231         }
232       }
233     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
234       throw e.setUnfinishedMessage(this);
235     } catch (java.io.IOException e) {
236       throw new com.google.protobuf.InvalidProtocolBufferException(
237           e).setUnfinishedMessage(this);
238     } finally {
239       this.unknownFields = unknownFields.build();
240       makeExtensionsImmutable();
241     }
242   }
243   public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor()244       getDescriptor() {
245     return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_descriptor;
246   }
247 
248   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()249       internalGetFieldAccessorTable() {
250     return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_fieldAccessorTable
251         .ensureFieldAccessorsInitialized(
252             io.grpc.channelz.v1.SocketOptionTcpInfo.class, io.grpc.channelz.v1.SocketOptionTcpInfo.Builder.class);
253   }
254 
255   public static final int TCPI_STATE_FIELD_NUMBER = 1;
256   private int tcpiState_;
257   /**
258    * <code>uint32 tcpi_state = 1;</code>
259    */
getTcpiState()260   public int getTcpiState() {
261     return tcpiState_;
262   }
263 
264   public static final int TCPI_CA_STATE_FIELD_NUMBER = 2;
265   private int tcpiCaState_;
266   /**
267    * <code>uint32 tcpi_ca_state = 2;</code>
268    */
getTcpiCaState()269   public int getTcpiCaState() {
270     return tcpiCaState_;
271   }
272 
273   public static final int TCPI_RETRANSMITS_FIELD_NUMBER = 3;
274   private int tcpiRetransmits_;
275   /**
276    * <code>uint32 tcpi_retransmits = 3;</code>
277    */
getTcpiRetransmits()278   public int getTcpiRetransmits() {
279     return tcpiRetransmits_;
280   }
281 
282   public static final int TCPI_PROBES_FIELD_NUMBER = 4;
283   private int tcpiProbes_;
284   /**
285    * <code>uint32 tcpi_probes = 4;</code>
286    */
getTcpiProbes()287   public int getTcpiProbes() {
288     return tcpiProbes_;
289   }
290 
291   public static final int TCPI_BACKOFF_FIELD_NUMBER = 5;
292   private int tcpiBackoff_;
293   /**
294    * <code>uint32 tcpi_backoff = 5;</code>
295    */
getTcpiBackoff()296   public int getTcpiBackoff() {
297     return tcpiBackoff_;
298   }
299 
300   public static final int TCPI_OPTIONS_FIELD_NUMBER = 6;
301   private int tcpiOptions_;
302   /**
303    * <code>uint32 tcpi_options = 6;</code>
304    */
getTcpiOptions()305   public int getTcpiOptions() {
306     return tcpiOptions_;
307   }
308 
309   public static final int TCPI_SND_WSCALE_FIELD_NUMBER = 7;
310   private int tcpiSndWscale_;
311   /**
312    * <code>uint32 tcpi_snd_wscale = 7;</code>
313    */
getTcpiSndWscale()314   public int getTcpiSndWscale() {
315     return tcpiSndWscale_;
316   }
317 
318   public static final int TCPI_RCV_WSCALE_FIELD_NUMBER = 8;
319   private int tcpiRcvWscale_;
320   /**
321    * <code>uint32 tcpi_rcv_wscale = 8;</code>
322    */
getTcpiRcvWscale()323   public int getTcpiRcvWscale() {
324     return tcpiRcvWscale_;
325   }
326 
327   public static final int TCPI_RTO_FIELD_NUMBER = 9;
328   private int tcpiRto_;
329   /**
330    * <code>uint32 tcpi_rto = 9;</code>
331    */
getTcpiRto()332   public int getTcpiRto() {
333     return tcpiRto_;
334   }
335 
336   public static final int TCPI_ATO_FIELD_NUMBER = 10;
337   private int tcpiAto_;
338   /**
339    * <code>uint32 tcpi_ato = 10;</code>
340    */
getTcpiAto()341   public int getTcpiAto() {
342     return tcpiAto_;
343   }
344 
345   public static final int TCPI_SND_MSS_FIELD_NUMBER = 11;
346   private int tcpiSndMss_;
347   /**
348    * <code>uint32 tcpi_snd_mss = 11;</code>
349    */
getTcpiSndMss()350   public int getTcpiSndMss() {
351     return tcpiSndMss_;
352   }
353 
354   public static final int TCPI_RCV_MSS_FIELD_NUMBER = 12;
355   private int tcpiRcvMss_;
356   /**
357    * <code>uint32 tcpi_rcv_mss = 12;</code>
358    */
getTcpiRcvMss()359   public int getTcpiRcvMss() {
360     return tcpiRcvMss_;
361   }
362 
363   public static final int TCPI_UNACKED_FIELD_NUMBER = 13;
364   private int tcpiUnacked_;
365   /**
366    * <code>uint32 tcpi_unacked = 13;</code>
367    */
getTcpiUnacked()368   public int getTcpiUnacked() {
369     return tcpiUnacked_;
370   }
371 
372   public static final int TCPI_SACKED_FIELD_NUMBER = 14;
373   private int tcpiSacked_;
374   /**
375    * <code>uint32 tcpi_sacked = 14;</code>
376    */
getTcpiSacked()377   public int getTcpiSacked() {
378     return tcpiSacked_;
379   }
380 
381   public static final int TCPI_LOST_FIELD_NUMBER = 15;
382   private int tcpiLost_;
383   /**
384    * <code>uint32 tcpi_lost = 15;</code>
385    */
getTcpiLost()386   public int getTcpiLost() {
387     return tcpiLost_;
388   }
389 
390   public static final int TCPI_RETRANS_FIELD_NUMBER = 16;
391   private int tcpiRetrans_;
392   /**
393    * <code>uint32 tcpi_retrans = 16;</code>
394    */
getTcpiRetrans()395   public int getTcpiRetrans() {
396     return tcpiRetrans_;
397   }
398 
399   public static final int TCPI_FACKETS_FIELD_NUMBER = 17;
400   private int tcpiFackets_;
401   /**
402    * <code>uint32 tcpi_fackets = 17;</code>
403    */
getTcpiFackets()404   public int getTcpiFackets() {
405     return tcpiFackets_;
406   }
407 
408   public static final int TCPI_LAST_DATA_SENT_FIELD_NUMBER = 18;
409   private int tcpiLastDataSent_;
410   /**
411    * <code>uint32 tcpi_last_data_sent = 18;</code>
412    */
getTcpiLastDataSent()413   public int getTcpiLastDataSent() {
414     return tcpiLastDataSent_;
415   }
416 
417   public static final int TCPI_LAST_ACK_SENT_FIELD_NUMBER = 19;
418   private int tcpiLastAckSent_;
419   /**
420    * <code>uint32 tcpi_last_ack_sent = 19;</code>
421    */
getTcpiLastAckSent()422   public int getTcpiLastAckSent() {
423     return tcpiLastAckSent_;
424   }
425 
426   public static final int TCPI_LAST_DATA_RECV_FIELD_NUMBER = 20;
427   private int tcpiLastDataRecv_;
428   /**
429    * <code>uint32 tcpi_last_data_recv = 20;</code>
430    */
getTcpiLastDataRecv()431   public int getTcpiLastDataRecv() {
432     return tcpiLastDataRecv_;
433   }
434 
435   public static final int TCPI_LAST_ACK_RECV_FIELD_NUMBER = 21;
436   private int tcpiLastAckRecv_;
437   /**
438    * <code>uint32 tcpi_last_ack_recv = 21;</code>
439    */
getTcpiLastAckRecv()440   public int getTcpiLastAckRecv() {
441     return tcpiLastAckRecv_;
442   }
443 
444   public static final int TCPI_PMTU_FIELD_NUMBER = 22;
445   private int tcpiPmtu_;
446   /**
447    * <code>uint32 tcpi_pmtu = 22;</code>
448    */
getTcpiPmtu()449   public int getTcpiPmtu() {
450     return tcpiPmtu_;
451   }
452 
453   public static final int TCPI_RCV_SSTHRESH_FIELD_NUMBER = 23;
454   private int tcpiRcvSsthresh_;
455   /**
456    * <code>uint32 tcpi_rcv_ssthresh = 23;</code>
457    */
getTcpiRcvSsthresh()458   public int getTcpiRcvSsthresh() {
459     return tcpiRcvSsthresh_;
460   }
461 
462   public static final int TCPI_RTT_FIELD_NUMBER = 24;
463   private int tcpiRtt_;
464   /**
465    * <code>uint32 tcpi_rtt = 24;</code>
466    */
getTcpiRtt()467   public int getTcpiRtt() {
468     return tcpiRtt_;
469   }
470 
471   public static final int TCPI_RTTVAR_FIELD_NUMBER = 25;
472   private int tcpiRttvar_;
473   /**
474    * <code>uint32 tcpi_rttvar = 25;</code>
475    */
getTcpiRttvar()476   public int getTcpiRttvar() {
477     return tcpiRttvar_;
478   }
479 
480   public static final int TCPI_SND_SSTHRESH_FIELD_NUMBER = 26;
481   private int tcpiSndSsthresh_;
482   /**
483    * <code>uint32 tcpi_snd_ssthresh = 26;</code>
484    */
getTcpiSndSsthresh()485   public int getTcpiSndSsthresh() {
486     return tcpiSndSsthresh_;
487   }
488 
489   public static final int TCPI_SND_CWND_FIELD_NUMBER = 27;
490   private int tcpiSndCwnd_;
491   /**
492    * <code>uint32 tcpi_snd_cwnd = 27;</code>
493    */
getTcpiSndCwnd()494   public int getTcpiSndCwnd() {
495     return tcpiSndCwnd_;
496   }
497 
498   public static final int TCPI_ADVMSS_FIELD_NUMBER = 28;
499   private int tcpiAdvmss_;
500   /**
501    * <code>uint32 tcpi_advmss = 28;</code>
502    */
getTcpiAdvmss()503   public int getTcpiAdvmss() {
504     return tcpiAdvmss_;
505   }
506 
507   public static final int TCPI_REORDERING_FIELD_NUMBER = 29;
508   private int tcpiReordering_;
509   /**
510    * <code>uint32 tcpi_reordering = 29;</code>
511    */
getTcpiReordering()512   public int getTcpiReordering() {
513     return tcpiReordering_;
514   }
515 
516   private byte memoizedIsInitialized = -1;
isInitialized()517   public final boolean isInitialized() {
518     byte isInitialized = memoizedIsInitialized;
519     if (isInitialized == 1) return true;
520     if (isInitialized == 0) return false;
521 
522     memoizedIsInitialized = 1;
523     return true;
524   }
525 
writeTo(com.google.protobuf.CodedOutputStream output)526   public void writeTo(com.google.protobuf.CodedOutputStream output)
527                       throws java.io.IOException {
528     if (tcpiState_ != 0) {
529       output.writeUInt32(1, tcpiState_);
530     }
531     if (tcpiCaState_ != 0) {
532       output.writeUInt32(2, tcpiCaState_);
533     }
534     if (tcpiRetransmits_ != 0) {
535       output.writeUInt32(3, tcpiRetransmits_);
536     }
537     if (tcpiProbes_ != 0) {
538       output.writeUInt32(4, tcpiProbes_);
539     }
540     if (tcpiBackoff_ != 0) {
541       output.writeUInt32(5, tcpiBackoff_);
542     }
543     if (tcpiOptions_ != 0) {
544       output.writeUInt32(6, tcpiOptions_);
545     }
546     if (tcpiSndWscale_ != 0) {
547       output.writeUInt32(7, tcpiSndWscale_);
548     }
549     if (tcpiRcvWscale_ != 0) {
550       output.writeUInt32(8, tcpiRcvWscale_);
551     }
552     if (tcpiRto_ != 0) {
553       output.writeUInt32(9, tcpiRto_);
554     }
555     if (tcpiAto_ != 0) {
556       output.writeUInt32(10, tcpiAto_);
557     }
558     if (tcpiSndMss_ != 0) {
559       output.writeUInt32(11, tcpiSndMss_);
560     }
561     if (tcpiRcvMss_ != 0) {
562       output.writeUInt32(12, tcpiRcvMss_);
563     }
564     if (tcpiUnacked_ != 0) {
565       output.writeUInt32(13, tcpiUnacked_);
566     }
567     if (tcpiSacked_ != 0) {
568       output.writeUInt32(14, tcpiSacked_);
569     }
570     if (tcpiLost_ != 0) {
571       output.writeUInt32(15, tcpiLost_);
572     }
573     if (tcpiRetrans_ != 0) {
574       output.writeUInt32(16, tcpiRetrans_);
575     }
576     if (tcpiFackets_ != 0) {
577       output.writeUInt32(17, tcpiFackets_);
578     }
579     if (tcpiLastDataSent_ != 0) {
580       output.writeUInt32(18, tcpiLastDataSent_);
581     }
582     if (tcpiLastAckSent_ != 0) {
583       output.writeUInt32(19, tcpiLastAckSent_);
584     }
585     if (tcpiLastDataRecv_ != 0) {
586       output.writeUInt32(20, tcpiLastDataRecv_);
587     }
588     if (tcpiLastAckRecv_ != 0) {
589       output.writeUInt32(21, tcpiLastAckRecv_);
590     }
591     if (tcpiPmtu_ != 0) {
592       output.writeUInt32(22, tcpiPmtu_);
593     }
594     if (tcpiRcvSsthresh_ != 0) {
595       output.writeUInt32(23, tcpiRcvSsthresh_);
596     }
597     if (tcpiRtt_ != 0) {
598       output.writeUInt32(24, tcpiRtt_);
599     }
600     if (tcpiRttvar_ != 0) {
601       output.writeUInt32(25, tcpiRttvar_);
602     }
603     if (tcpiSndSsthresh_ != 0) {
604       output.writeUInt32(26, tcpiSndSsthresh_);
605     }
606     if (tcpiSndCwnd_ != 0) {
607       output.writeUInt32(27, tcpiSndCwnd_);
608     }
609     if (tcpiAdvmss_ != 0) {
610       output.writeUInt32(28, tcpiAdvmss_);
611     }
612     if (tcpiReordering_ != 0) {
613       output.writeUInt32(29, tcpiReordering_);
614     }
615     unknownFields.writeTo(output);
616   }
617 
getSerializedSize()618   public int getSerializedSize() {
619     int size = memoizedSize;
620     if (size != -1) return size;
621 
622     size = 0;
623     if (tcpiState_ != 0) {
624       size += com.google.protobuf.CodedOutputStream
625         .computeUInt32Size(1, tcpiState_);
626     }
627     if (tcpiCaState_ != 0) {
628       size += com.google.protobuf.CodedOutputStream
629         .computeUInt32Size(2, tcpiCaState_);
630     }
631     if (tcpiRetransmits_ != 0) {
632       size += com.google.protobuf.CodedOutputStream
633         .computeUInt32Size(3, tcpiRetransmits_);
634     }
635     if (tcpiProbes_ != 0) {
636       size += com.google.protobuf.CodedOutputStream
637         .computeUInt32Size(4, tcpiProbes_);
638     }
639     if (tcpiBackoff_ != 0) {
640       size += com.google.protobuf.CodedOutputStream
641         .computeUInt32Size(5, tcpiBackoff_);
642     }
643     if (tcpiOptions_ != 0) {
644       size += com.google.protobuf.CodedOutputStream
645         .computeUInt32Size(6, tcpiOptions_);
646     }
647     if (tcpiSndWscale_ != 0) {
648       size += com.google.protobuf.CodedOutputStream
649         .computeUInt32Size(7, tcpiSndWscale_);
650     }
651     if (tcpiRcvWscale_ != 0) {
652       size += com.google.protobuf.CodedOutputStream
653         .computeUInt32Size(8, tcpiRcvWscale_);
654     }
655     if (tcpiRto_ != 0) {
656       size += com.google.protobuf.CodedOutputStream
657         .computeUInt32Size(9, tcpiRto_);
658     }
659     if (tcpiAto_ != 0) {
660       size += com.google.protobuf.CodedOutputStream
661         .computeUInt32Size(10, tcpiAto_);
662     }
663     if (tcpiSndMss_ != 0) {
664       size += com.google.protobuf.CodedOutputStream
665         .computeUInt32Size(11, tcpiSndMss_);
666     }
667     if (tcpiRcvMss_ != 0) {
668       size += com.google.protobuf.CodedOutputStream
669         .computeUInt32Size(12, tcpiRcvMss_);
670     }
671     if (tcpiUnacked_ != 0) {
672       size += com.google.protobuf.CodedOutputStream
673         .computeUInt32Size(13, tcpiUnacked_);
674     }
675     if (tcpiSacked_ != 0) {
676       size += com.google.protobuf.CodedOutputStream
677         .computeUInt32Size(14, tcpiSacked_);
678     }
679     if (tcpiLost_ != 0) {
680       size += com.google.protobuf.CodedOutputStream
681         .computeUInt32Size(15, tcpiLost_);
682     }
683     if (tcpiRetrans_ != 0) {
684       size += com.google.protobuf.CodedOutputStream
685         .computeUInt32Size(16, tcpiRetrans_);
686     }
687     if (tcpiFackets_ != 0) {
688       size += com.google.protobuf.CodedOutputStream
689         .computeUInt32Size(17, tcpiFackets_);
690     }
691     if (tcpiLastDataSent_ != 0) {
692       size += com.google.protobuf.CodedOutputStream
693         .computeUInt32Size(18, tcpiLastDataSent_);
694     }
695     if (tcpiLastAckSent_ != 0) {
696       size += com.google.protobuf.CodedOutputStream
697         .computeUInt32Size(19, tcpiLastAckSent_);
698     }
699     if (tcpiLastDataRecv_ != 0) {
700       size += com.google.protobuf.CodedOutputStream
701         .computeUInt32Size(20, tcpiLastDataRecv_);
702     }
703     if (tcpiLastAckRecv_ != 0) {
704       size += com.google.protobuf.CodedOutputStream
705         .computeUInt32Size(21, tcpiLastAckRecv_);
706     }
707     if (tcpiPmtu_ != 0) {
708       size += com.google.protobuf.CodedOutputStream
709         .computeUInt32Size(22, tcpiPmtu_);
710     }
711     if (tcpiRcvSsthresh_ != 0) {
712       size += com.google.protobuf.CodedOutputStream
713         .computeUInt32Size(23, tcpiRcvSsthresh_);
714     }
715     if (tcpiRtt_ != 0) {
716       size += com.google.protobuf.CodedOutputStream
717         .computeUInt32Size(24, tcpiRtt_);
718     }
719     if (tcpiRttvar_ != 0) {
720       size += com.google.protobuf.CodedOutputStream
721         .computeUInt32Size(25, tcpiRttvar_);
722     }
723     if (tcpiSndSsthresh_ != 0) {
724       size += com.google.protobuf.CodedOutputStream
725         .computeUInt32Size(26, tcpiSndSsthresh_);
726     }
727     if (tcpiSndCwnd_ != 0) {
728       size += com.google.protobuf.CodedOutputStream
729         .computeUInt32Size(27, tcpiSndCwnd_);
730     }
731     if (tcpiAdvmss_ != 0) {
732       size += com.google.protobuf.CodedOutputStream
733         .computeUInt32Size(28, tcpiAdvmss_);
734     }
735     if (tcpiReordering_ != 0) {
736       size += com.google.protobuf.CodedOutputStream
737         .computeUInt32Size(29, tcpiReordering_);
738     }
739     size += unknownFields.getSerializedSize();
740     memoizedSize = size;
741     return size;
742   }
743 
744   @java.lang.Override
equals(final java.lang.Object obj)745   public boolean equals(final java.lang.Object obj) {
746     if (obj == this) {
747      return true;
748     }
749     if (!(obj instanceof io.grpc.channelz.v1.SocketOptionTcpInfo)) {
750       return super.equals(obj);
751     }
752     io.grpc.channelz.v1.SocketOptionTcpInfo other = (io.grpc.channelz.v1.SocketOptionTcpInfo) obj;
753 
754     boolean result = true;
755     result = result && (getTcpiState()
756         == other.getTcpiState());
757     result = result && (getTcpiCaState()
758         == other.getTcpiCaState());
759     result = result && (getTcpiRetransmits()
760         == other.getTcpiRetransmits());
761     result = result && (getTcpiProbes()
762         == other.getTcpiProbes());
763     result = result && (getTcpiBackoff()
764         == other.getTcpiBackoff());
765     result = result && (getTcpiOptions()
766         == other.getTcpiOptions());
767     result = result && (getTcpiSndWscale()
768         == other.getTcpiSndWscale());
769     result = result && (getTcpiRcvWscale()
770         == other.getTcpiRcvWscale());
771     result = result && (getTcpiRto()
772         == other.getTcpiRto());
773     result = result && (getTcpiAto()
774         == other.getTcpiAto());
775     result = result && (getTcpiSndMss()
776         == other.getTcpiSndMss());
777     result = result && (getTcpiRcvMss()
778         == other.getTcpiRcvMss());
779     result = result && (getTcpiUnacked()
780         == other.getTcpiUnacked());
781     result = result && (getTcpiSacked()
782         == other.getTcpiSacked());
783     result = result && (getTcpiLost()
784         == other.getTcpiLost());
785     result = result && (getTcpiRetrans()
786         == other.getTcpiRetrans());
787     result = result && (getTcpiFackets()
788         == other.getTcpiFackets());
789     result = result && (getTcpiLastDataSent()
790         == other.getTcpiLastDataSent());
791     result = result && (getTcpiLastAckSent()
792         == other.getTcpiLastAckSent());
793     result = result && (getTcpiLastDataRecv()
794         == other.getTcpiLastDataRecv());
795     result = result && (getTcpiLastAckRecv()
796         == other.getTcpiLastAckRecv());
797     result = result && (getTcpiPmtu()
798         == other.getTcpiPmtu());
799     result = result && (getTcpiRcvSsthresh()
800         == other.getTcpiRcvSsthresh());
801     result = result && (getTcpiRtt()
802         == other.getTcpiRtt());
803     result = result && (getTcpiRttvar()
804         == other.getTcpiRttvar());
805     result = result && (getTcpiSndSsthresh()
806         == other.getTcpiSndSsthresh());
807     result = result && (getTcpiSndCwnd()
808         == other.getTcpiSndCwnd());
809     result = result && (getTcpiAdvmss()
810         == other.getTcpiAdvmss());
811     result = result && (getTcpiReordering()
812         == other.getTcpiReordering());
813     result = result && unknownFields.equals(other.unknownFields);
814     return result;
815   }
816 
817   @java.lang.Override
hashCode()818   public int hashCode() {
819     if (memoizedHashCode != 0) {
820       return memoizedHashCode;
821     }
822     int hash = 41;
823     hash = (19 * hash) + getDescriptor().hashCode();
824     hash = (37 * hash) + TCPI_STATE_FIELD_NUMBER;
825     hash = (53 * hash) + getTcpiState();
826     hash = (37 * hash) + TCPI_CA_STATE_FIELD_NUMBER;
827     hash = (53 * hash) + getTcpiCaState();
828     hash = (37 * hash) + TCPI_RETRANSMITS_FIELD_NUMBER;
829     hash = (53 * hash) + getTcpiRetransmits();
830     hash = (37 * hash) + TCPI_PROBES_FIELD_NUMBER;
831     hash = (53 * hash) + getTcpiProbes();
832     hash = (37 * hash) + TCPI_BACKOFF_FIELD_NUMBER;
833     hash = (53 * hash) + getTcpiBackoff();
834     hash = (37 * hash) + TCPI_OPTIONS_FIELD_NUMBER;
835     hash = (53 * hash) + getTcpiOptions();
836     hash = (37 * hash) + TCPI_SND_WSCALE_FIELD_NUMBER;
837     hash = (53 * hash) + getTcpiSndWscale();
838     hash = (37 * hash) + TCPI_RCV_WSCALE_FIELD_NUMBER;
839     hash = (53 * hash) + getTcpiRcvWscale();
840     hash = (37 * hash) + TCPI_RTO_FIELD_NUMBER;
841     hash = (53 * hash) + getTcpiRto();
842     hash = (37 * hash) + TCPI_ATO_FIELD_NUMBER;
843     hash = (53 * hash) + getTcpiAto();
844     hash = (37 * hash) + TCPI_SND_MSS_FIELD_NUMBER;
845     hash = (53 * hash) + getTcpiSndMss();
846     hash = (37 * hash) + TCPI_RCV_MSS_FIELD_NUMBER;
847     hash = (53 * hash) + getTcpiRcvMss();
848     hash = (37 * hash) + TCPI_UNACKED_FIELD_NUMBER;
849     hash = (53 * hash) + getTcpiUnacked();
850     hash = (37 * hash) + TCPI_SACKED_FIELD_NUMBER;
851     hash = (53 * hash) + getTcpiSacked();
852     hash = (37 * hash) + TCPI_LOST_FIELD_NUMBER;
853     hash = (53 * hash) + getTcpiLost();
854     hash = (37 * hash) + TCPI_RETRANS_FIELD_NUMBER;
855     hash = (53 * hash) + getTcpiRetrans();
856     hash = (37 * hash) + TCPI_FACKETS_FIELD_NUMBER;
857     hash = (53 * hash) + getTcpiFackets();
858     hash = (37 * hash) + TCPI_LAST_DATA_SENT_FIELD_NUMBER;
859     hash = (53 * hash) + getTcpiLastDataSent();
860     hash = (37 * hash) + TCPI_LAST_ACK_SENT_FIELD_NUMBER;
861     hash = (53 * hash) + getTcpiLastAckSent();
862     hash = (37 * hash) + TCPI_LAST_DATA_RECV_FIELD_NUMBER;
863     hash = (53 * hash) + getTcpiLastDataRecv();
864     hash = (37 * hash) + TCPI_LAST_ACK_RECV_FIELD_NUMBER;
865     hash = (53 * hash) + getTcpiLastAckRecv();
866     hash = (37 * hash) + TCPI_PMTU_FIELD_NUMBER;
867     hash = (53 * hash) + getTcpiPmtu();
868     hash = (37 * hash) + TCPI_RCV_SSTHRESH_FIELD_NUMBER;
869     hash = (53 * hash) + getTcpiRcvSsthresh();
870     hash = (37 * hash) + TCPI_RTT_FIELD_NUMBER;
871     hash = (53 * hash) + getTcpiRtt();
872     hash = (37 * hash) + TCPI_RTTVAR_FIELD_NUMBER;
873     hash = (53 * hash) + getTcpiRttvar();
874     hash = (37 * hash) + TCPI_SND_SSTHRESH_FIELD_NUMBER;
875     hash = (53 * hash) + getTcpiSndSsthresh();
876     hash = (37 * hash) + TCPI_SND_CWND_FIELD_NUMBER;
877     hash = (53 * hash) + getTcpiSndCwnd();
878     hash = (37 * hash) + TCPI_ADVMSS_FIELD_NUMBER;
879     hash = (53 * hash) + getTcpiAdvmss();
880     hash = (37 * hash) + TCPI_REORDERING_FIELD_NUMBER;
881     hash = (53 * hash) + getTcpiReordering();
882     hash = (29 * hash) + unknownFields.hashCode();
883     memoizedHashCode = hash;
884     return hash;
885   }
886 
parseFrom( java.nio.ByteBuffer data)887   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
888       java.nio.ByteBuffer data)
889       throws com.google.protobuf.InvalidProtocolBufferException {
890     return PARSER.parseFrom(data);
891   }
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)892   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
893       java.nio.ByteBuffer data,
894       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
895       throws com.google.protobuf.InvalidProtocolBufferException {
896     return PARSER.parseFrom(data, extensionRegistry);
897   }
parseFrom( com.google.protobuf.ByteString data)898   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
899       com.google.protobuf.ByteString data)
900       throws com.google.protobuf.InvalidProtocolBufferException {
901     return PARSER.parseFrom(data);
902   }
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)903   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
904       com.google.protobuf.ByteString data,
905       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
906       throws com.google.protobuf.InvalidProtocolBufferException {
907     return PARSER.parseFrom(data, extensionRegistry);
908   }
parseFrom(byte[] data)909   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(byte[] data)
910       throws com.google.protobuf.InvalidProtocolBufferException {
911     return PARSER.parseFrom(data);
912   }
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)913   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
914       byte[] data,
915       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
916       throws com.google.protobuf.InvalidProtocolBufferException {
917     return PARSER.parseFrom(data, extensionRegistry);
918   }
parseFrom(java.io.InputStream input)919   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(java.io.InputStream input)
920       throws java.io.IOException {
921     return com.google.protobuf.GeneratedMessageV3
922         .parseWithIOException(PARSER, input);
923   }
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)924   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
925       java.io.InputStream input,
926       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
927       throws java.io.IOException {
928     return com.google.protobuf.GeneratedMessageV3
929         .parseWithIOException(PARSER, input, extensionRegistry);
930   }
parseDelimitedFrom(java.io.InputStream input)931   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseDelimitedFrom(java.io.InputStream input)
932       throws java.io.IOException {
933     return com.google.protobuf.GeneratedMessageV3
934         .parseDelimitedWithIOException(PARSER, input);
935   }
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)936   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseDelimitedFrom(
937       java.io.InputStream input,
938       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
939       throws java.io.IOException {
940     return com.google.protobuf.GeneratedMessageV3
941         .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
942   }
parseFrom( com.google.protobuf.CodedInputStream input)943   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
944       com.google.protobuf.CodedInputStream input)
945       throws java.io.IOException {
946     return com.google.protobuf.GeneratedMessageV3
947         .parseWithIOException(PARSER, input);
948   }
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)949   public static io.grpc.channelz.v1.SocketOptionTcpInfo parseFrom(
950       com.google.protobuf.CodedInputStream input,
951       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
952       throws java.io.IOException {
953     return com.google.protobuf.GeneratedMessageV3
954         .parseWithIOException(PARSER, input, extensionRegistry);
955   }
956 
newBuilderForType()957   public Builder newBuilderForType() { return newBuilder(); }
newBuilder()958   public static Builder newBuilder() {
959     return DEFAULT_INSTANCE.toBuilder();
960   }
newBuilder(io.grpc.channelz.v1.SocketOptionTcpInfo prototype)961   public static Builder newBuilder(io.grpc.channelz.v1.SocketOptionTcpInfo prototype) {
962     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
963   }
toBuilder()964   public Builder toBuilder() {
965     return this == DEFAULT_INSTANCE
966         ? new Builder() : new Builder().mergeFrom(this);
967   }
968 
969   @java.lang.Override
newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)970   protected Builder newBuilderForType(
971       com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
972     Builder builder = new Builder(parent);
973     return builder;
974   }
975   /**
976    * <pre>
977    * For use with SocketOption's additional field.  Tcp info for
978    * SOL_TCP and TCP_INFO.
979    * </pre>
980    *
981    * Protobuf type {@code grpc.channelz.v1.SocketOptionTcpInfo}
982    */
983   public static final class Builder extends
984       com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
985       // @@protoc_insertion_point(builder_implements:grpc.channelz.v1.SocketOptionTcpInfo)
986       io.grpc.channelz.v1.SocketOptionTcpInfoOrBuilder {
987     public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor()988         getDescriptor() {
989       return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_descriptor;
990     }
991 
992     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()993         internalGetFieldAccessorTable() {
994       return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_fieldAccessorTable
995           .ensureFieldAccessorsInitialized(
996               io.grpc.channelz.v1.SocketOptionTcpInfo.class, io.grpc.channelz.v1.SocketOptionTcpInfo.Builder.class);
997     }
998 
999     // Construct using io.grpc.channelz.v1.SocketOptionTcpInfo.newBuilder()
Builder()1000     private Builder() {
1001       maybeForceBuilderInitialization();
1002     }
1003 
Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1004     private Builder(
1005         com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1006       super(parent);
1007       maybeForceBuilderInitialization();
1008     }
maybeForceBuilderInitialization()1009     private void maybeForceBuilderInitialization() {
1010       if (com.google.protobuf.GeneratedMessageV3
1011               .alwaysUseFieldBuilders) {
1012       }
1013     }
clear()1014     public Builder clear() {
1015       super.clear();
1016       tcpiState_ = 0;
1017 
1018       tcpiCaState_ = 0;
1019 
1020       tcpiRetransmits_ = 0;
1021 
1022       tcpiProbes_ = 0;
1023 
1024       tcpiBackoff_ = 0;
1025 
1026       tcpiOptions_ = 0;
1027 
1028       tcpiSndWscale_ = 0;
1029 
1030       tcpiRcvWscale_ = 0;
1031 
1032       tcpiRto_ = 0;
1033 
1034       tcpiAto_ = 0;
1035 
1036       tcpiSndMss_ = 0;
1037 
1038       tcpiRcvMss_ = 0;
1039 
1040       tcpiUnacked_ = 0;
1041 
1042       tcpiSacked_ = 0;
1043 
1044       tcpiLost_ = 0;
1045 
1046       tcpiRetrans_ = 0;
1047 
1048       tcpiFackets_ = 0;
1049 
1050       tcpiLastDataSent_ = 0;
1051 
1052       tcpiLastAckSent_ = 0;
1053 
1054       tcpiLastDataRecv_ = 0;
1055 
1056       tcpiLastAckRecv_ = 0;
1057 
1058       tcpiPmtu_ = 0;
1059 
1060       tcpiRcvSsthresh_ = 0;
1061 
1062       tcpiRtt_ = 0;
1063 
1064       tcpiRttvar_ = 0;
1065 
1066       tcpiSndSsthresh_ = 0;
1067 
1068       tcpiSndCwnd_ = 0;
1069 
1070       tcpiAdvmss_ = 0;
1071 
1072       tcpiReordering_ = 0;
1073 
1074       return this;
1075     }
1076 
1077     public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()1078         getDescriptorForType() {
1079       return io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_SocketOptionTcpInfo_descriptor;
1080     }
1081 
getDefaultInstanceForType()1082     public io.grpc.channelz.v1.SocketOptionTcpInfo getDefaultInstanceForType() {
1083       return io.grpc.channelz.v1.SocketOptionTcpInfo.getDefaultInstance();
1084     }
1085 
build()1086     public io.grpc.channelz.v1.SocketOptionTcpInfo build() {
1087       io.grpc.channelz.v1.SocketOptionTcpInfo result = buildPartial();
1088       if (!result.isInitialized()) {
1089         throw newUninitializedMessageException(result);
1090       }
1091       return result;
1092     }
1093 
buildPartial()1094     public io.grpc.channelz.v1.SocketOptionTcpInfo buildPartial() {
1095       io.grpc.channelz.v1.SocketOptionTcpInfo result = new io.grpc.channelz.v1.SocketOptionTcpInfo(this);
1096       result.tcpiState_ = tcpiState_;
1097       result.tcpiCaState_ = tcpiCaState_;
1098       result.tcpiRetransmits_ = tcpiRetransmits_;
1099       result.tcpiProbes_ = tcpiProbes_;
1100       result.tcpiBackoff_ = tcpiBackoff_;
1101       result.tcpiOptions_ = tcpiOptions_;
1102       result.tcpiSndWscale_ = tcpiSndWscale_;
1103       result.tcpiRcvWscale_ = tcpiRcvWscale_;
1104       result.tcpiRto_ = tcpiRto_;
1105       result.tcpiAto_ = tcpiAto_;
1106       result.tcpiSndMss_ = tcpiSndMss_;
1107       result.tcpiRcvMss_ = tcpiRcvMss_;
1108       result.tcpiUnacked_ = tcpiUnacked_;
1109       result.tcpiSacked_ = tcpiSacked_;
1110       result.tcpiLost_ = tcpiLost_;
1111       result.tcpiRetrans_ = tcpiRetrans_;
1112       result.tcpiFackets_ = tcpiFackets_;
1113       result.tcpiLastDataSent_ = tcpiLastDataSent_;
1114       result.tcpiLastAckSent_ = tcpiLastAckSent_;
1115       result.tcpiLastDataRecv_ = tcpiLastDataRecv_;
1116       result.tcpiLastAckRecv_ = tcpiLastAckRecv_;
1117       result.tcpiPmtu_ = tcpiPmtu_;
1118       result.tcpiRcvSsthresh_ = tcpiRcvSsthresh_;
1119       result.tcpiRtt_ = tcpiRtt_;
1120       result.tcpiRttvar_ = tcpiRttvar_;
1121       result.tcpiSndSsthresh_ = tcpiSndSsthresh_;
1122       result.tcpiSndCwnd_ = tcpiSndCwnd_;
1123       result.tcpiAdvmss_ = tcpiAdvmss_;
1124       result.tcpiReordering_ = tcpiReordering_;
1125       onBuilt();
1126       return result;
1127     }
1128 
clone()1129     public Builder clone() {
1130       return (Builder) super.clone();
1131     }
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1132     public Builder setField(
1133         com.google.protobuf.Descriptors.FieldDescriptor field,
1134         java.lang.Object value) {
1135       return (Builder) super.setField(field, value);
1136     }
clearField( com.google.protobuf.Descriptors.FieldDescriptor field)1137     public Builder clearField(
1138         com.google.protobuf.Descriptors.FieldDescriptor field) {
1139       return (Builder) super.clearField(field);
1140     }
clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)1141     public Builder clearOneof(
1142         com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1143       return (Builder) super.clearOneof(oneof);
1144     }
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)1145     public Builder setRepeatedField(
1146         com.google.protobuf.Descriptors.FieldDescriptor field,
1147         int index, java.lang.Object value) {
1148       return (Builder) super.setRepeatedField(field, index, value);
1149     }
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1150     public Builder addRepeatedField(
1151         com.google.protobuf.Descriptors.FieldDescriptor field,
1152         java.lang.Object value) {
1153       return (Builder) super.addRepeatedField(field, value);
1154     }
mergeFrom(com.google.protobuf.Message other)1155     public Builder mergeFrom(com.google.protobuf.Message other) {
1156       if (other instanceof io.grpc.channelz.v1.SocketOptionTcpInfo) {
1157         return mergeFrom((io.grpc.channelz.v1.SocketOptionTcpInfo)other);
1158       } else {
1159         super.mergeFrom(other);
1160         return this;
1161       }
1162     }
1163 
mergeFrom(io.grpc.channelz.v1.SocketOptionTcpInfo other)1164     public Builder mergeFrom(io.grpc.channelz.v1.SocketOptionTcpInfo other) {
1165       if (other == io.grpc.channelz.v1.SocketOptionTcpInfo.getDefaultInstance()) return this;
1166       if (other.getTcpiState() != 0) {
1167         setTcpiState(other.getTcpiState());
1168       }
1169       if (other.getTcpiCaState() != 0) {
1170         setTcpiCaState(other.getTcpiCaState());
1171       }
1172       if (other.getTcpiRetransmits() != 0) {
1173         setTcpiRetransmits(other.getTcpiRetransmits());
1174       }
1175       if (other.getTcpiProbes() != 0) {
1176         setTcpiProbes(other.getTcpiProbes());
1177       }
1178       if (other.getTcpiBackoff() != 0) {
1179         setTcpiBackoff(other.getTcpiBackoff());
1180       }
1181       if (other.getTcpiOptions() != 0) {
1182         setTcpiOptions(other.getTcpiOptions());
1183       }
1184       if (other.getTcpiSndWscale() != 0) {
1185         setTcpiSndWscale(other.getTcpiSndWscale());
1186       }
1187       if (other.getTcpiRcvWscale() != 0) {
1188         setTcpiRcvWscale(other.getTcpiRcvWscale());
1189       }
1190       if (other.getTcpiRto() != 0) {
1191         setTcpiRto(other.getTcpiRto());
1192       }
1193       if (other.getTcpiAto() != 0) {
1194         setTcpiAto(other.getTcpiAto());
1195       }
1196       if (other.getTcpiSndMss() != 0) {
1197         setTcpiSndMss(other.getTcpiSndMss());
1198       }
1199       if (other.getTcpiRcvMss() != 0) {
1200         setTcpiRcvMss(other.getTcpiRcvMss());
1201       }
1202       if (other.getTcpiUnacked() != 0) {
1203         setTcpiUnacked(other.getTcpiUnacked());
1204       }
1205       if (other.getTcpiSacked() != 0) {
1206         setTcpiSacked(other.getTcpiSacked());
1207       }
1208       if (other.getTcpiLost() != 0) {
1209         setTcpiLost(other.getTcpiLost());
1210       }
1211       if (other.getTcpiRetrans() != 0) {
1212         setTcpiRetrans(other.getTcpiRetrans());
1213       }
1214       if (other.getTcpiFackets() != 0) {
1215         setTcpiFackets(other.getTcpiFackets());
1216       }
1217       if (other.getTcpiLastDataSent() != 0) {
1218         setTcpiLastDataSent(other.getTcpiLastDataSent());
1219       }
1220       if (other.getTcpiLastAckSent() != 0) {
1221         setTcpiLastAckSent(other.getTcpiLastAckSent());
1222       }
1223       if (other.getTcpiLastDataRecv() != 0) {
1224         setTcpiLastDataRecv(other.getTcpiLastDataRecv());
1225       }
1226       if (other.getTcpiLastAckRecv() != 0) {
1227         setTcpiLastAckRecv(other.getTcpiLastAckRecv());
1228       }
1229       if (other.getTcpiPmtu() != 0) {
1230         setTcpiPmtu(other.getTcpiPmtu());
1231       }
1232       if (other.getTcpiRcvSsthresh() != 0) {
1233         setTcpiRcvSsthresh(other.getTcpiRcvSsthresh());
1234       }
1235       if (other.getTcpiRtt() != 0) {
1236         setTcpiRtt(other.getTcpiRtt());
1237       }
1238       if (other.getTcpiRttvar() != 0) {
1239         setTcpiRttvar(other.getTcpiRttvar());
1240       }
1241       if (other.getTcpiSndSsthresh() != 0) {
1242         setTcpiSndSsthresh(other.getTcpiSndSsthresh());
1243       }
1244       if (other.getTcpiSndCwnd() != 0) {
1245         setTcpiSndCwnd(other.getTcpiSndCwnd());
1246       }
1247       if (other.getTcpiAdvmss() != 0) {
1248         setTcpiAdvmss(other.getTcpiAdvmss());
1249       }
1250       if (other.getTcpiReordering() != 0) {
1251         setTcpiReordering(other.getTcpiReordering());
1252       }
1253       this.mergeUnknownFields(other.unknownFields);
1254       onChanged();
1255       return this;
1256     }
1257 
isInitialized()1258     public final boolean isInitialized() {
1259       return true;
1260     }
1261 
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1262     public Builder mergeFrom(
1263         com.google.protobuf.CodedInputStream input,
1264         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1265         throws java.io.IOException {
1266       io.grpc.channelz.v1.SocketOptionTcpInfo parsedMessage = null;
1267       try {
1268         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1269       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1270         parsedMessage = (io.grpc.channelz.v1.SocketOptionTcpInfo) e.getUnfinishedMessage();
1271         throw e.unwrapIOException();
1272       } finally {
1273         if (parsedMessage != null) {
1274           mergeFrom(parsedMessage);
1275         }
1276       }
1277       return this;
1278     }
1279 
1280     private int tcpiState_ ;
1281     /**
1282      * <code>uint32 tcpi_state = 1;</code>
1283      */
getTcpiState()1284     public int getTcpiState() {
1285       return tcpiState_;
1286     }
1287     /**
1288      * <code>uint32 tcpi_state = 1;</code>
1289      */
setTcpiState(int value)1290     public Builder setTcpiState(int value) {
1291 
1292       tcpiState_ = value;
1293       onChanged();
1294       return this;
1295     }
1296     /**
1297      * <code>uint32 tcpi_state = 1;</code>
1298      */
clearTcpiState()1299     public Builder clearTcpiState() {
1300 
1301       tcpiState_ = 0;
1302       onChanged();
1303       return this;
1304     }
1305 
1306     private int tcpiCaState_ ;
1307     /**
1308      * <code>uint32 tcpi_ca_state = 2;</code>
1309      */
getTcpiCaState()1310     public int getTcpiCaState() {
1311       return tcpiCaState_;
1312     }
1313     /**
1314      * <code>uint32 tcpi_ca_state = 2;</code>
1315      */
setTcpiCaState(int value)1316     public Builder setTcpiCaState(int value) {
1317 
1318       tcpiCaState_ = value;
1319       onChanged();
1320       return this;
1321     }
1322     /**
1323      * <code>uint32 tcpi_ca_state = 2;</code>
1324      */
clearTcpiCaState()1325     public Builder clearTcpiCaState() {
1326 
1327       tcpiCaState_ = 0;
1328       onChanged();
1329       return this;
1330     }
1331 
1332     private int tcpiRetransmits_ ;
1333     /**
1334      * <code>uint32 tcpi_retransmits = 3;</code>
1335      */
getTcpiRetransmits()1336     public int getTcpiRetransmits() {
1337       return tcpiRetransmits_;
1338     }
1339     /**
1340      * <code>uint32 tcpi_retransmits = 3;</code>
1341      */
setTcpiRetransmits(int value)1342     public Builder setTcpiRetransmits(int value) {
1343 
1344       tcpiRetransmits_ = value;
1345       onChanged();
1346       return this;
1347     }
1348     /**
1349      * <code>uint32 tcpi_retransmits = 3;</code>
1350      */
clearTcpiRetransmits()1351     public Builder clearTcpiRetransmits() {
1352 
1353       tcpiRetransmits_ = 0;
1354       onChanged();
1355       return this;
1356     }
1357 
1358     private int tcpiProbes_ ;
1359     /**
1360      * <code>uint32 tcpi_probes = 4;</code>
1361      */
getTcpiProbes()1362     public int getTcpiProbes() {
1363       return tcpiProbes_;
1364     }
1365     /**
1366      * <code>uint32 tcpi_probes = 4;</code>
1367      */
setTcpiProbes(int value)1368     public Builder setTcpiProbes(int value) {
1369 
1370       tcpiProbes_ = value;
1371       onChanged();
1372       return this;
1373     }
1374     /**
1375      * <code>uint32 tcpi_probes = 4;</code>
1376      */
clearTcpiProbes()1377     public Builder clearTcpiProbes() {
1378 
1379       tcpiProbes_ = 0;
1380       onChanged();
1381       return this;
1382     }
1383 
1384     private int tcpiBackoff_ ;
1385     /**
1386      * <code>uint32 tcpi_backoff = 5;</code>
1387      */
getTcpiBackoff()1388     public int getTcpiBackoff() {
1389       return tcpiBackoff_;
1390     }
1391     /**
1392      * <code>uint32 tcpi_backoff = 5;</code>
1393      */
setTcpiBackoff(int value)1394     public Builder setTcpiBackoff(int value) {
1395 
1396       tcpiBackoff_ = value;
1397       onChanged();
1398       return this;
1399     }
1400     /**
1401      * <code>uint32 tcpi_backoff = 5;</code>
1402      */
clearTcpiBackoff()1403     public Builder clearTcpiBackoff() {
1404 
1405       tcpiBackoff_ = 0;
1406       onChanged();
1407       return this;
1408     }
1409 
1410     private int tcpiOptions_ ;
1411     /**
1412      * <code>uint32 tcpi_options = 6;</code>
1413      */
getTcpiOptions()1414     public int getTcpiOptions() {
1415       return tcpiOptions_;
1416     }
1417     /**
1418      * <code>uint32 tcpi_options = 6;</code>
1419      */
setTcpiOptions(int value)1420     public Builder setTcpiOptions(int value) {
1421 
1422       tcpiOptions_ = value;
1423       onChanged();
1424       return this;
1425     }
1426     /**
1427      * <code>uint32 tcpi_options = 6;</code>
1428      */
clearTcpiOptions()1429     public Builder clearTcpiOptions() {
1430 
1431       tcpiOptions_ = 0;
1432       onChanged();
1433       return this;
1434     }
1435 
1436     private int tcpiSndWscale_ ;
1437     /**
1438      * <code>uint32 tcpi_snd_wscale = 7;</code>
1439      */
getTcpiSndWscale()1440     public int getTcpiSndWscale() {
1441       return tcpiSndWscale_;
1442     }
1443     /**
1444      * <code>uint32 tcpi_snd_wscale = 7;</code>
1445      */
setTcpiSndWscale(int value)1446     public Builder setTcpiSndWscale(int value) {
1447 
1448       tcpiSndWscale_ = value;
1449       onChanged();
1450       return this;
1451     }
1452     /**
1453      * <code>uint32 tcpi_snd_wscale = 7;</code>
1454      */
clearTcpiSndWscale()1455     public Builder clearTcpiSndWscale() {
1456 
1457       tcpiSndWscale_ = 0;
1458       onChanged();
1459       return this;
1460     }
1461 
1462     private int tcpiRcvWscale_ ;
1463     /**
1464      * <code>uint32 tcpi_rcv_wscale = 8;</code>
1465      */
getTcpiRcvWscale()1466     public int getTcpiRcvWscale() {
1467       return tcpiRcvWscale_;
1468     }
1469     /**
1470      * <code>uint32 tcpi_rcv_wscale = 8;</code>
1471      */
setTcpiRcvWscale(int value)1472     public Builder setTcpiRcvWscale(int value) {
1473 
1474       tcpiRcvWscale_ = value;
1475       onChanged();
1476       return this;
1477     }
1478     /**
1479      * <code>uint32 tcpi_rcv_wscale = 8;</code>
1480      */
clearTcpiRcvWscale()1481     public Builder clearTcpiRcvWscale() {
1482 
1483       tcpiRcvWscale_ = 0;
1484       onChanged();
1485       return this;
1486     }
1487 
1488     private int tcpiRto_ ;
1489     /**
1490      * <code>uint32 tcpi_rto = 9;</code>
1491      */
getTcpiRto()1492     public int getTcpiRto() {
1493       return tcpiRto_;
1494     }
1495     /**
1496      * <code>uint32 tcpi_rto = 9;</code>
1497      */
setTcpiRto(int value)1498     public Builder setTcpiRto(int value) {
1499 
1500       tcpiRto_ = value;
1501       onChanged();
1502       return this;
1503     }
1504     /**
1505      * <code>uint32 tcpi_rto = 9;</code>
1506      */
clearTcpiRto()1507     public Builder clearTcpiRto() {
1508 
1509       tcpiRto_ = 0;
1510       onChanged();
1511       return this;
1512     }
1513 
1514     private int tcpiAto_ ;
1515     /**
1516      * <code>uint32 tcpi_ato = 10;</code>
1517      */
getTcpiAto()1518     public int getTcpiAto() {
1519       return tcpiAto_;
1520     }
1521     /**
1522      * <code>uint32 tcpi_ato = 10;</code>
1523      */
setTcpiAto(int value)1524     public Builder setTcpiAto(int value) {
1525 
1526       tcpiAto_ = value;
1527       onChanged();
1528       return this;
1529     }
1530     /**
1531      * <code>uint32 tcpi_ato = 10;</code>
1532      */
clearTcpiAto()1533     public Builder clearTcpiAto() {
1534 
1535       tcpiAto_ = 0;
1536       onChanged();
1537       return this;
1538     }
1539 
1540     private int tcpiSndMss_ ;
1541     /**
1542      * <code>uint32 tcpi_snd_mss = 11;</code>
1543      */
getTcpiSndMss()1544     public int getTcpiSndMss() {
1545       return tcpiSndMss_;
1546     }
1547     /**
1548      * <code>uint32 tcpi_snd_mss = 11;</code>
1549      */
setTcpiSndMss(int value)1550     public Builder setTcpiSndMss(int value) {
1551 
1552       tcpiSndMss_ = value;
1553       onChanged();
1554       return this;
1555     }
1556     /**
1557      * <code>uint32 tcpi_snd_mss = 11;</code>
1558      */
clearTcpiSndMss()1559     public Builder clearTcpiSndMss() {
1560 
1561       tcpiSndMss_ = 0;
1562       onChanged();
1563       return this;
1564     }
1565 
1566     private int tcpiRcvMss_ ;
1567     /**
1568      * <code>uint32 tcpi_rcv_mss = 12;</code>
1569      */
getTcpiRcvMss()1570     public int getTcpiRcvMss() {
1571       return tcpiRcvMss_;
1572     }
1573     /**
1574      * <code>uint32 tcpi_rcv_mss = 12;</code>
1575      */
setTcpiRcvMss(int value)1576     public Builder setTcpiRcvMss(int value) {
1577 
1578       tcpiRcvMss_ = value;
1579       onChanged();
1580       return this;
1581     }
1582     /**
1583      * <code>uint32 tcpi_rcv_mss = 12;</code>
1584      */
clearTcpiRcvMss()1585     public Builder clearTcpiRcvMss() {
1586 
1587       tcpiRcvMss_ = 0;
1588       onChanged();
1589       return this;
1590     }
1591 
1592     private int tcpiUnacked_ ;
1593     /**
1594      * <code>uint32 tcpi_unacked = 13;</code>
1595      */
getTcpiUnacked()1596     public int getTcpiUnacked() {
1597       return tcpiUnacked_;
1598     }
1599     /**
1600      * <code>uint32 tcpi_unacked = 13;</code>
1601      */
setTcpiUnacked(int value)1602     public Builder setTcpiUnacked(int value) {
1603 
1604       tcpiUnacked_ = value;
1605       onChanged();
1606       return this;
1607     }
1608     /**
1609      * <code>uint32 tcpi_unacked = 13;</code>
1610      */
clearTcpiUnacked()1611     public Builder clearTcpiUnacked() {
1612 
1613       tcpiUnacked_ = 0;
1614       onChanged();
1615       return this;
1616     }
1617 
1618     private int tcpiSacked_ ;
1619     /**
1620      * <code>uint32 tcpi_sacked = 14;</code>
1621      */
getTcpiSacked()1622     public int getTcpiSacked() {
1623       return tcpiSacked_;
1624     }
1625     /**
1626      * <code>uint32 tcpi_sacked = 14;</code>
1627      */
setTcpiSacked(int value)1628     public Builder setTcpiSacked(int value) {
1629 
1630       tcpiSacked_ = value;
1631       onChanged();
1632       return this;
1633     }
1634     /**
1635      * <code>uint32 tcpi_sacked = 14;</code>
1636      */
clearTcpiSacked()1637     public Builder clearTcpiSacked() {
1638 
1639       tcpiSacked_ = 0;
1640       onChanged();
1641       return this;
1642     }
1643 
1644     private int tcpiLost_ ;
1645     /**
1646      * <code>uint32 tcpi_lost = 15;</code>
1647      */
getTcpiLost()1648     public int getTcpiLost() {
1649       return tcpiLost_;
1650     }
1651     /**
1652      * <code>uint32 tcpi_lost = 15;</code>
1653      */
setTcpiLost(int value)1654     public Builder setTcpiLost(int value) {
1655 
1656       tcpiLost_ = value;
1657       onChanged();
1658       return this;
1659     }
1660     /**
1661      * <code>uint32 tcpi_lost = 15;</code>
1662      */
clearTcpiLost()1663     public Builder clearTcpiLost() {
1664 
1665       tcpiLost_ = 0;
1666       onChanged();
1667       return this;
1668     }
1669 
1670     private int tcpiRetrans_ ;
1671     /**
1672      * <code>uint32 tcpi_retrans = 16;</code>
1673      */
getTcpiRetrans()1674     public int getTcpiRetrans() {
1675       return tcpiRetrans_;
1676     }
1677     /**
1678      * <code>uint32 tcpi_retrans = 16;</code>
1679      */
setTcpiRetrans(int value)1680     public Builder setTcpiRetrans(int value) {
1681 
1682       tcpiRetrans_ = value;
1683       onChanged();
1684       return this;
1685     }
1686     /**
1687      * <code>uint32 tcpi_retrans = 16;</code>
1688      */
clearTcpiRetrans()1689     public Builder clearTcpiRetrans() {
1690 
1691       tcpiRetrans_ = 0;
1692       onChanged();
1693       return this;
1694     }
1695 
1696     private int tcpiFackets_ ;
1697     /**
1698      * <code>uint32 tcpi_fackets = 17;</code>
1699      */
getTcpiFackets()1700     public int getTcpiFackets() {
1701       return tcpiFackets_;
1702     }
1703     /**
1704      * <code>uint32 tcpi_fackets = 17;</code>
1705      */
setTcpiFackets(int value)1706     public Builder setTcpiFackets(int value) {
1707 
1708       tcpiFackets_ = value;
1709       onChanged();
1710       return this;
1711     }
1712     /**
1713      * <code>uint32 tcpi_fackets = 17;</code>
1714      */
clearTcpiFackets()1715     public Builder clearTcpiFackets() {
1716 
1717       tcpiFackets_ = 0;
1718       onChanged();
1719       return this;
1720     }
1721 
1722     private int tcpiLastDataSent_ ;
1723     /**
1724      * <code>uint32 tcpi_last_data_sent = 18;</code>
1725      */
getTcpiLastDataSent()1726     public int getTcpiLastDataSent() {
1727       return tcpiLastDataSent_;
1728     }
1729     /**
1730      * <code>uint32 tcpi_last_data_sent = 18;</code>
1731      */
setTcpiLastDataSent(int value)1732     public Builder setTcpiLastDataSent(int value) {
1733 
1734       tcpiLastDataSent_ = value;
1735       onChanged();
1736       return this;
1737     }
1738     /**
1739      * <code>uint32 tcpi_last_data_sent = 18;</code>
1740      */
clearTcpiLastDataSent()1741     public Builder clearTcpiLastDataSent() {
1742 
1743       tcpiLastDataSent_ = 0;
1744       onChanged();
1745       return this;
1746     }
1747 
1748     private int tcpiLastAckSent_ ;
1749     /**
1750      * <code>uint32 tcpi_last_ack_sent = 19;</code>
1751      */
getTcpiLastAckSent()1752     public int getTcpiLastAckSent() {
1753       return tcpiLastAckSent_;
1754     }
1755     /**
1756      * <code>uint32 tcpi_last_ack_sent = 19;</code>
1757      */
setTcpiLastAckSent(int value)1758     public Builder setTcpiLastAckSent(int value) {
1759 
1760       tcpiLastAckSent_ = value;
1761       onChanged();
1762       return this;
1763     }
1764     /**
1765      * <code>uint32 tcpi_last_ack_sent = 19;</code>
1766      */
clearTcpiLastAckSent()1767     public Builder clearTcpiLastAckSent() {
1768 
1769       tcpiLastAckSent_ = 0;
1770       onChanged();
1771       return this;
1772     }
1773 
1774     private int tcpiLastDataRecv_ ;
1775     /**
1776      * <code>uint32 tcpi_last_data_recv = 20;</code>
1777      */
getTcpiLastDataRecv()1778     public int getTcpiLastDataRecv() {
1779       return tcpiLastDataRecv_;
1780     }
1781     /**
1782      * <code>uint32 tcpi_last_data_recv = 20;</code>
1783      */
setTcpiLastDataRecv(int value)1784     public Builder setTcpiLastDataRecv(int value) {
1785 
1786       tcpiLastDataRecv_ = value;
1787       onChanged();
1788       return this;
1789     }
1790     /**
1791      * <code>uint32 tcpi_last_data_recv = 20;</code>
1792      */
clearTcpiLastDataRecv()1793     public Builder clearTcpiLastDataRecv() {
1794 
1795       tcpiLastDataRecv_ = 0;
1796       onChanged();
1797       return this;
1798     }
1799 
1800     private int tcpiLastAckRecv_ ;
1801     /**
1802      * <code>uint32 tcpi_last_ack_recv = 21;</code>
1803      */
getTcpiLastAckRecv()1804     public int getTcpiLastAckRecv() {
1805       return tcpiLastAckRecv_;
1806     }
1807     /**
1808      * <code>uint32 tcpi_last_ack_recv = 21;</code>
1809      */
setTcpiLastAckRecv(int value)1810     public Builder setTcpiLastAckRecv(int value) {
1811 
1812       tcpiLastAckRecv_ = value;
1813       onChanged();
1814       return this;
1815     }
1816     /**
1817      * <code>uint32 tcpi_last_ack_recv = 21;</code>
1818      */
clearTcpiLastAckRecv()1819     public Builder clearTcpiLastAckRecv() {
1820 
1821       tcpiLastAckRecv_ = 0;
1822       onChanged();
1823       return this;
1824     }
1825 
1826     private int tcpiPmtu_ ;
1827     /**
1828      * <code>uint32 tcpi_pmtu = 22;</code>
1829      */
getTcpiPmtu()1830     public int getTcpiPmtu() {
1831       return tcpiPmtu_;
1832     }
1833     /**
1834      * <code>uint32 tcpi_pmtu = 22;</code>
1835      */
setTcpiPmtu(int value)1836     public Builder setTcpiPmtu(int value) {
1837 
1838       tcpiPmtu_ = value;
1839       onChanged();
1840       return this;
1841     }
1842     /**
1843      * <code>uint32 tcpi_pmtu = 22;</code>
1844      */
clearTcpiPmtu()1845     public Builder clearTcpiPmtu() {
1846 
1847       tcpiPmtu_ = 0;
1848       onChanged();
1849       return this;
1850     }
1851 
1852     private int tcpiRcvSsthresh_ ;
1853     /**
1854      * <code>uint32 tcpi_rcv_ssthresh = 23;</code>
1855      */
getTcpiRcvSsthresh()1856     public int getTcpiRcvSsthresh() {
1857       return tcpiRcvSsthresh_;
1858     }
1859     /**
1860      * <code>uint32 tcpi_rcv_ssthresh = 23;</code>
1861      */
setTcpiRcvSsthresh(int value)1862     public Builder setTcpiRcvSsthresh(int value) {
1863 
1864       tcpiRcvSsthresh_ = value;
1865       onChanged();
1866       return this;
1867     }
1868     /**
1869      * <code>uint32 tcpi_rcv_ssthresh = 23;</code>
1870      */
clearTcpiRcvSsthresh()1871     public Builder clearTcpiRcvSsthresh() {
1872 
1873       tcpiRcvSsthresh_ = 0;
1874       onChanged();
1875       return this;
1876     }
1877 
1878     private int tcpiRtt_ ;
1879     /**
1880      * <code>uint32 tcpi_rtt = 24;</code>
1881      */
getTcpiRtt()1882     public int getTcpiRtt() {
1883       return tcpiRtt_;
1884     }
1885     /**
1886      * <code>uint32 tcpi_rtt = 24;</code>
1887      */
setTcpiRtt(int value)1888     public Builder setTcpiRtt(int value) {
1889 
1890       tcpiRtt_ = value;
1891       onChanged();
1892       return this;
1893     }
1894     /**
1895      * <code>uint32 tcpi_rtt = 24;</code>
1896      */
clearTcpiRtt()1897     public Builder clearTcpiRtt() {
1898 
1899       tcpiRtt_ = 0;
1900       onChanged();
1901       return this;
1902     }
1903 
1904     private int tcpiRttvar_ ;
1905     /**
1906      * <code>uint32 tcpi_rttvar = 25;</code>
1907      */
getTcpiRttvar()1908     public int getTcpiRttvar() {
1909       return tcpiRttvar_;
1910     }
1911     /**
1912      * <code>uint32 tcpi_rttvar = 25;</code>
1913      */
setTcpiRttvar(int value)1914     public Builder setTcpiRttvar(int value) {
1915 
1916       tcpiRttvar_ = value;
1917       onChanged();
1918       return this;
1919     }
1920     /**
1921      * <code>uint32 tcpi_rttvar = 25;</code>
1922      */
clearTcpiRttvar()1923     public Builder clearTcpiRttvar() {
1924 
1925       tcpiRttvar_ = 0;
1926       onChanged();
1927       return this;
1928     }
1929 
1930     private int tcpiSndSsthresh_ ;
1931     /**
1932      * <code>uint32 tcpi_snd_ssthresh = 26;</code>
1933      */
getTcpiSndSsthresh()1934     public int getTcpiSndSsthresh() {
1935       return tcpiSndSsthresh_;
1936     }
1937     /**
1938      * <code>uint32 tcpi_snd_ssthresh = 26;</code>
1939      */
setTcpiSndSsthresh(int value)1940     public Builder setTcpiSndSsthresh(int value) {
1941 
1942       tcpiSndSsthresh_ = value;
1943       onChanged();
1944       return this;
1945     }
1946     /**
1947      * <code>uint32 tcpi_snd_ssthresh = 26;</code>
1948      */
clearTcpiSndSsthresh()1949     public Builder clearTcpiSndSsthresh() {
1950 
1951       tcpiSndSsthresh_ = 0;
1952       onChanged();
1953       return this;
1954     }
1955 
1956     private int tcpiSndCwnd_ ;
1957     /**
1958      * <code>uint32 tcpi_snd_cwnd = 27;</code>
1959      */
getTcpiSndCwnd()1960     public int getTcpiSndCwnd() {
1961       return tcpiSndCwnd_;
1962     }
1963     /**
1964      * <code>uint32 tcpi_snd_cwnd = 27;</code>
1965      */
setTcpiSndCwnd(int value)1966     public Builder setTcpiSndCwnd(int value) {
1967 
1968       tcpiSndCwnd_ = value;
1969       onChanged();
1970       return this;
1971     }
1972     /**
1973      * <code>uint32 tcpi_snd_cwnd = 27;</code>
1974      */
clearTcpiSndCwnd()1975     public Builder clearTcpiSndCwnd() {
1976 
1977       tcpiSndCwnd_ = 0;
1978       onChanged();
1979       return this;
1980     }
1981 
1982     private int tcpiAdvmss_ ;
1983     /**
1984      * <code>uint32 tcpi_advmss = 28;</code>
1985      */
getTcpiAdvmss()1986     public int getTcpiAdvmss() {
1987       return tcpiAdvmss_;
1988     }
1989     /**
1990      * <code>uint32 tcpi_advmss = 28;</code>
1991      */
setTcpiAdvmss(int value)1992     public Builder setTcpiAdvmss(int value) {
1993 
1994       tcpiAdvmss_ = value;
1995       onChanged();
1996       return this;
1997     }
1998     /**
1999      * <code>uint32 tcpi_advmss = 28;</code>
2000      */
clearTcpiAdvmss()2001     public Builder clearTcpiAdvmss() {
2002 
2003       tcpiAdvmss_ = 0;
2004       onChanged();
2005       return this;
2006     }
2007 
2008     private int tcpiReordering_ ;
2009     /**
2010      * <code>uint32 tcpi_reordering = 29;</code>
2011      */
getTcpiReordering()2012     public int getTcpiReordering() {
2013       return tcpiReordering_;
2014     }
2015     /**
2016      * <code>uint32 tcpi_reordering = 29;</code>
2017      */
setTcpiReordering(int value)2018     public Builder setTcpiReordering(int value) {
2019 
2020       tcpiReordering_ = value;
2021       onChanged();
2022       return this;
2023     }
2024     /**
2025      * <code>uint32 tcpi_reordering = 29;</code>
2026      */
clearTcpiReordering()2027     public Builder clearTcpiReordering() {
2028 
2029       tcpiReordering_ = 0;
2030       onChanged();
2031       return this;
2032     }
setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)2033     public final Builder setUnknownFields(
2034         final com.google.protobuf.UnknownFieldSet unknownFields) {
2035       return super.setUnknownFieldsProto3(unknownFields);
2036     }
2037 
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)2038     public final Builder mergeUnknownFields(
2039         final com.google.protobuf.UnknownFieldSet unknownFields) {
2040       return super.mergeUnknownFields(unknownFields);
2041     }
2042 
2043 
2044     // @@protoc_insertion_point(builder_scope:grpc.channelz.v1.SocketOptionTcpInfo)
2045   }
2046 
2047   // @@protoc_insertion_point(class_scope:grpc.channelz.v1.SocketOptionTcpInfo)
2048   private static final io.grpc.channelz.v1.SocketOptionTcpInfo DEFAULT_INSTANCE;
2049   static {
2050     DEFAULT_INSTANCE = new io.grpc.channelz.v1.SocketOptionTcpInfo();
2051   }
2052 
getDefaultInstance()2053   public static io.grpc.channelz.v1.SocketOptionTcpInfo getDefaultInstance() {
2054     return DEFAULT_INSTANCE;
2055   }
2056 
2057   private static final com.google.protobuf.Parser<SocketOptionTcpInfo>
2058       PARSER = new com.google.protobuf.AbstractParser<SocketOptionTcpInfo>() {
2059     public SocketOptionTcpInfo parsePartialFrom(
2060         com.google.protobuf.CodedInputStream input,
2061         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2062         throws com.google.protobuf.InvalidProtocolBufferException {
2063       return new SocketOptionTcpInfo(input, extensionRegistry);
2064     }
2065   };
2066 
parser()2067   public static com.google.protobuf.Parser<SocketOptionTcpInfo> parser() {
2068     return PARSER;
2069   }
2070 
2071   @java.lang.Override
getParserForType()2072   public com.google.protobuf.Parser<SocketOptionTcpInfo> getParserForType() {
2073     return PARSER;
2074   }
2075 
getDefaultInstanceForType()2076   public io.grpc.channelz.v1.SocketOptionTcpInfo getDefaultInstanceForType() {
2077     return DEFAULT_INSTANCE;
2078   }
2079 
2080 }
2081 
2082