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