1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: grpc/lb/v1/load_balancer.proto 3 4 package io.grpc.lb.v1; 5 6 /** 7 * <pre> 8 * Contains the number of calls finished for a particular load balance token. 9 * </pre> 10 * 11 * Protobuf type {@code grpc.lb.v1.ClientStatsPerToken} 12 */ 13 public final class ClientStatsPerToken extends 14 com.google.protobuf.GeneratedMessageV3 implements 15 // @@protoc_insertion_point(message_implements:grpc.lb.v1.ClientStatsPerToken) 16 ClientStatsPerTokenOrBuilder { 17 private static final long serialVersionUID = 0L; 18 // Use ClientStatsPerToken.newBuilder() to construct. ClientStatsPerToken(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)19 private ClientStatsPerToken(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 20 super(builder); 21 } ClientStatsPerToken()22 private ClientStatsPerToken() { 23 loadBalanceToken_ = ""; 24 numCalls_ = 0L; 25 } 26 27 @java.lang.Override 28 public final com.google.protobuf.UnknownFieldSet getUnknownFields()29 getUnknownFields() { 30 return this.unknownFields; 31 } ClientStatsPerToken( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)32 private ClientStatsPerToken( 33 com.google.protobuf.CodedInputStream input, 34 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 35 throws com.google.protobuf.InvalidProtocolBufferException { 36 this(); 37 if (extensionRegistry == null) { 38 throw new java.lang.NullPointerException(); 39 } 40 int mutable_bitField0_ = 0; 41 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 42 com.google.protobuf.UnknownFieldSet.newBuilder(); 43 try { 44 boolean done = false; 45 while (!done) { 46 int tag = input.readTag(); 47 switch (tag) { 48 case 0: 49 done = true; 50 break; 51 default: { 52 if (!parseUnknownFieldProto3( 53 input, unknownFields, extensionRegistry, tag)) { 54 done = true; 55 } 56 break; 57 } 58 case 10: { 59 java.lang.String s = input.readStringRequireUtf8(); 60 61 loadBalanceToken_ = s; 62 break; 63 } 64 case 16: { 65 66 numCalls_ = input.readInt64(); 67 break; 68 } 69 } 70 } 71 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 72 throw e.setUnfinishedMessage(this); 73 } catch (java.io.IOException e) { 74 throw new com.google.protobuf.InvalidProtocolBufferException( 75 e).setUnfinishedMessage(this); 76 } finally { 77 this.unknownFields = unknownFields.build(); 78 makeExtensionsImmutable(); 79 } 80 } 81 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()82 getDescriptor() { 83 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStatsPerToken_descriptor; 84 } 85 86 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()87 internalGetFieldAccessorTable() { 88 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStatsPerToken_fieldAccessorTable 89 .ensureFieldAccessorsInitialized( 90 io.grpc.lb.v1.ClientStatsPerToken.class, io.grpc.lb.v1.ClientStatsPerToken.Builder.class); 91 } 92 93 public static final int LOAD_BALANCE_TOKEN_FIELD_NUMBER = 1; 94 private volatile java.lang.Object loadBalanceToken_; 95 /** 96 * <pre> 97 * See Server.load_balance_token. 98 * </pre> 99 * 100 * <code>string load_balance_token = 1;</code> 101 */ getLoadBalanceToken()102 public java.lang.String getLoadBalanceToken() { 103 java.lang.Object ref = loadBalanceToken_; 104 if (ref instanceof java.lang.String) { 105 return (java.lang.String) ref; 106 } else { 107 com.google.protobuf.ByteString bs = 108 (com.google.protobuf.ByteString) ref; 109 java.lang.String s = bs.toStringUtf8(); 110 loadBalanceToken_ = s; 111 return s; 112 } 113 } 114 /** 115 * <pre> 116 * See Server.load_balance_token. 117 * </pre> 118 * 119 * <code>string load_balance_token = 1;</code> 120 */ 121 public com.google.protobuf.ByteString getLoadBalanceTokenBytes()122 getLoadBalanceTokenBytes() { 123 java.lang.Object ref = loadBalanceToken_; 124 if (ref instanceof java.lang.String) { 125 com.google.protobuf.ByteString b = 126 com.google.protobuf.ByteString.copyFromUtf8( 127 (java.lang.String) ref); 128 loadBalanceToken_ = b; 129 return b; 130 } else { 131 return (com.google.protobuf.ByteString) ref; 132 } 133 } 134 135 public static final int NUM_CALLS_FIELD_NUMBER = 2; 136 private long numCalls_; 137 /** 138 * <pre> 139 * The total number of RPCs that finished associated with the token. 140 * </pre> 141 * 142 * <code>int64 num_calls = 2;</code> 143 */ getNumCalls()144 public long getNumCalls() { 145 return numCalls_; 146 } 147 148 private byte memoizedIsInitialized = -1; isInitialized()149 public final boolean isInitialized() { 150 byte isInitialized = memoizedIsInitialized; 151 if (isInitialized == 1) return true; 152 if (isInitialized == 0) return false; 153 154 memoizedIsInitialized = 1; 155 return true; 156 } 157 writeTo(com.google.protobuf.CodedOutputStream output)158 public void writeTo(com.google.protobuf.CodedOutputStream output) 159 throws java.io.IOException { 160 if (!getLoadBalanceTokenBytes().isEmpty()) { 161 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, loadBalanceToken_); 162 } 163 if (numCalls_ != 0L) { 164 output.writeInt64(2, numCalls_); 165 } 166 unknownFields.writeTo(output); 167 } 168 getSerializedSize()169 public int getSerializedSize() { 170 int size = memoizedSize; 171 if (size != -1) return size; 172 173 size = 0; 174 if (!getLoadBalanceTokenBytes().isEmpty()) { 175 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, loadBalanceToken_); 176 } 177 if (numCalls_ != 0L) { 178 size += com.google.protobuf.CodedOutputStream 179 .computeInt64Size(2, numCalls_); 180 } 181 size += unknownFields.getSerializedSize(); 182 memoizedSize = size; 183 return size; 184 } 185 186 @java.lang.Override equals(final java.lang.Object obj)187 public boolean equals(final java.lang.Object obj) { 188 if (obj == this) { 189 return true; 190 } 191 if (!(obj instanceof io.grpc.lb.v1.ClientStatsPerToken)) { 192 return super.equals(obj); 193 } 194 io.grpc.lb.v1.ClientStatsPerToken other = (io.grpc.lb.v1.ClientStatsPerToken) obj; 195 196 boolean result = true; 197 result = result && getLoadBalanceToken() 198 .equals(other.getLoadBalanceToken()); 199 result = result && (getNumCalls() 200 == other.getNumCalls()); 201 result = result && unknownFields.equals(other.unknownFields); 202 return result; 203 } 204 205 @java.lang.Override hashCode()206 public int hashCode() { 207 if (memoizedHashCode != 0) { 208 return memoizedHashCode; 209 } 210 int hash = 41; 211 hash = (19 * hash) + getDescriptor().hashCode(); 212 hash = (37 * hash) + LOAD_BALANCE_TOKEN_FIELD_NUMBER; 213 hash = (53 * hash) + getLoadBalanceToken().hashCode(); 214 hash = (37 * hash) + NUM_CALLS_FIELD_NUMBER; 215 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 216 getNumCalls()); 217 hash = (29 * hash) + unknownFields.hashCode(); 218 memoizedHashCode = hash; 219 return hash; 220 } 221 parseFrom( java.nio.ByteBuffer data)222 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( 223 java.nio.ByteBuffer data) 224 throws com.google.protobuf.InvalidProtocolBufferException { 225 return PARSER.parseFrom(data); 226 } parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)227 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( 228 java.nio.ByteBuffer data, 229 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 230 throws com.google.protobuf.InvalidProtocolBufferException { 231 return PARSER.parseFrom(data, extensionRegistry); 232 } parseFrom( com.google.protobuf.ByteString data)233 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( 234 com.google.protobuf.ByteString data) 235 throws com.google.protobuf.InvalidProtocolBufferException { 236 return PARSER.parseFrom(data); 237 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)238 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( 239 com.google.protobuf.ByteString data, 240 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 241 throws com.google.protobuf.InvalidProtocolBufferException { 242 return PARSER.parseFrom(data, extensionRegistry); 243 } parseFrom(byte[] data)244 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom(byte[] data) 245 throws com.google.protobuf.InvalidProtocolBufferException { 246 return PARSER.parseFrom(data); 247 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)248 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( 249 byte[] data, 250 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 251 throws com.google.protobuf.InvalidProtocolBufferException { 252 return PARSER.parseFrom(data, extensionRegistry); 253 } parseFrom(java.io.InputStream input)254 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom(java.io.InputStream input) 255 throws java.io.IOException { 256 return com.google.protobuf.GeneratedMessageV3 257 .parseWithIOException(PARSER, input); 258 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)259 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( 260 java.io.InputStream input, 261 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 262 throws java.io.IOException { 263 return com.google.protobuf.GeneratedMessageV3 264 .parseWithIOException(PARSER, input, extensionRegistry); 265 } parseDelimitedFrom(java.io.InputStream input)266 public static io.grpc.lb.v1.ClientStatsPerToken parseDelimitedFrom(java.io.InputStream input) 267 throws java.io.IOException { 268 return com.google.protobuf.GeneratedMessageV3 269 .parseDelimitedWithIOException(PARSER, input); 270 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)271 public static io.grpc.lb.v1.ClientStatsPerToken parseDelimitedFrom( 272 java.io.InputStream input, 273 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 274 throws java.io.IOException { 275 return com.google.protobuf.GeneratedMessageV3 276 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 277 } parseFrom( com.google.protobuf.CodedInputStream input)278 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( 279 com.google.protobuf.CodedInputStream input) 280 throws java.io.IOException { 281 return com.google.protobuf.GeneratedMessageV3 282 .parseWithIOException(PARSER, input); 283 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)284 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( 285 com.google.protobuf.CodedInputStream input, 286 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 287 throws java.io.IOException { 288 return com.google.protobuf.GeneratedMessageV3 289 .parseWithIOException(PARSER, input, extensionRegistry); 290 } 291 newBuilderForType()292 public Builder newBuilderForType() { return newBuilder(); } newBuilder()293 public static Builder newBuilder() { 294 return DEFAULT_INSTANCE.toBuilder(); 295 } newBuilder(io.grpc.lb.v1.ClientStatsPerToken prototype)296 public static Builder newBuilder(io.grpc.lb.v1.ClientStatsPerToken prototype) { 297 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 298 } toBuilder()299 public Builder toBuilder() { 300 return this == DEFAULT_INSTANCE 301 ? new Builder() : new Builder().mergeFrom(this); 302 } 303 304 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)305 protected Builder newBuilderForType( 306 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 307 Builder builder = new Builder(parent); 308 return builder; 309 } 310 /** 311 * <pre> 312 * Contains the number of calls finished for a particular load balance token. 313 * </pre> 314 * 315 * Protobuf type {@code grpc.lb.v1.ClientStatsPerToken} 316 */ 317 public static final class Builder extends 318 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 319 // @@protoc_insertion_point(builder_implements:grpc.lb.v1.ClientStatsPerToken) 320 io.grpc.lb.v1.ClientStatsPerTokenOrBuilder { 321 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()322 getDescriptor() { 323 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStatsPerToken_descriptor; 324 } 325 326 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()327 internalGetFieldAccessorTable() { 328 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStatsPerToken_fieldAccessorTable 329 .ensureFieldAccessorsInitialized( 330 io.grpc.lb.v1.ClientStatsPerToken.class, io.grpc.lb.v1.ClientStatsPerToken.Builder.class); 331 } 332 333 // Construct using io.grpc.lb.v1.ClientStatsPerToken.newBuilder() Builder()334 private Builder() { 335 maybeForceBuilderInitialization(); 336 } 337 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)338 private Builder( 339 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 340 super(parent); 341 maybeForceBuilderInitialization(); 342 } maybeForceBuilderInitialization()343 private void maybeForceBuilderInitialization() { 344 if (com.google.protobuf.GeneratedMessageV3 345 .alwaysUseFieldBuilders) { 346 } 347 } clear()348 public Builder clear() { 349 super.clear(); 350 loadBalanceToken_ = ""; 351 352 numCalls_ = 0L; 353 354 return this; 355 } 356 357 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()358 getDescriptorForType() { 359 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStatsPerToken_descriptor; 360 } 361 getDefaultInstanceForType()362 public io.grpc.lb.v1.ClientStatsPerToken getDefaultInstanceForType() { 363 return io.grpc.lb.v1.ClientStatsPerToken.getDefaultInstance(); 364 } 365 build()366 public io.grpc.lb.v1.ClientStatsPerToken build() { 367 io.grpc.lb.v1.ClientStatsPerToken result = buildPartial(); 368 if (!result.isInitialized()) { 369 throw newUninitializedMessageException(result); 370 } 371 return result; 372 } 373 buildPartial()374 public io.grpc.lb.v1.ClientStatsPerToken buildPartial() { 375 io.grpc.lb.v1.ClientStatsPerToken result = new io.grpc.lb.v1.ClientStatsPerToken(this); 376 result.loadBalanceToken_ = loadBalanceToken_; 377 result.numCalls_ = numCalls_; 378 onBuilt(); 379 return result; 380 } 381 clone()382 public Builder clone() { 383 return (Builder) super.clone(); 384 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)385 public Builder setField( 386 com.google.protobuf.Descriptors.FieldDescriptor field, 387 java.lang.Object value) { 388 return (Builder) super.setField(field, value); 389 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)390 public Builder clearField( 391 com.google.protobuf.Descriptors.FieldDescriptor field) { 392 return (Builder) super.clearField(field); 393 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)394 public Builder clearOneof( 395 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 396 return (Builder) super.clearOneof(oneof); 397 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)398 public Builder setRepeatedField( 399 com.google.protobuf.Descriptors.FieldDescriptor field, 400 int index, java.lang.Object value) { 401 return (Builder) super.setRepeatedField(field, index, value); 402 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)403 public Builder addRepeatedField( 404 com.google.protobuf.Descriptors.FieldDescriptor field, 405 java.lang.Object value) { 406 return (Builder) super.addRepeatedField(field, value); 407 } mergeFrom(com.google.protobuf.Message other)408 public Builder mergeFrom(com.google.protobuf.Message other) { 409 if (other instanceof io.grpc.lb.v1.ClientStatsPerToken) { 410 return mergeFrom((io.grpc.lb.v1.ClientStatsPerToken)other); 411 } else { 412 super.mergeFrom(other); 413 return this; 414 } 415 } 416 mergeFrom(io.grpc.lb.v1.ClientStatsPerToken other)417 public Builder mergeFrom(io.grpc.lb.v1.ClientStatsPerToken other) { 418 if (other == io.grpc.lb.v1.ClientStatsPerToken.getDefaultInstance()) return this; 419 if (!other.getLoadBalanceToken().isEmpty()) { 420 loadBalanceToken_ = other.loadBalanceToken_; 421 onChanged(); 422 } 423 if (other.getNumCalls() != 0L) { 424 setNumCalls(other.getNumCalls()); 425 } 426 this.mergeUnknownFields(other.unknownFields); 427 onChanged(); 428 return this; 429 } 430 isInitialized()431 public final boolean isInitialized() { 432 return true; 433 } 434 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)435 public Builder mergeFrom( 436 com.google.protobuf.CodedInputStream input, 437 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 438 throws java.io.IOException { 439 io.grpc.lb.v1.ClientStatsPerToken parsedMessage = null; 440 try { 441 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 442 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 443 parsedMessage = (io.grpc.lb.v1.ClientStatsPerToken) e.getUnfinishedMessage(); 444 throw e.unwrapIOException(); 445 } finally { 446 if (parsedMessage != null) { 447 mergeFrom(parsedMessage); 448 } 449 } 450 return this; 451 } 452 453 private java.lang.Object loadBalanceToken_ = ""; 454 /** 455 * <pre> 456 * See Server.load_balance_token. 457 * </pre> 458 * 459 * <code>string load_balance_token = 1;</code> 460 */ getLoadBalanceToken()461 public java.lang.String getLoadBalanceToken() { 462 java.lang.Object ref = loadBalanceToken_; 463 if (!(ref instanceof java.lang.String)) { 464 com.google.protobuf.ByteString bs = 465 (com.google.protobuf.ByteString) ref; 466 java.lang.String s = bs.toStringUtf8(); 467 loadBalanceToken_ = s; 468 return s; 469 } else { 470 return (java.lang.String) ref; 471 } 472 } 473 /** 474 * <pre> 475 * See Server.load_balance_token. 476 * </pre> 477 * 478 * <code>string load_balance_token = 1;</code> 479 */ 480 public com.google.protobuf.ByteString getLoadBalanceTokenBytes()481 getLoadBalanceTokenBytes() { 482 java.lang.Object ref = loadBalanceToken_; 483 if (ref instanceof String) { 484 com.google.protobuf.ByteString b = 485 com.google.protobuf.ByteString.copyFromUtf8( 486 (java.lang.String) ref); 487 loadBalanceToken_ = b; 488 return b; 489 } else { 490 return (com.google.protobuf.ByteString) ref; 491 } 492 } 493 /** 494 * <pre> 495 * See Server.load_balance_token. 496 * </pre> 497 * 498 * <code>string load_balance_token = 1;</code> 499 */ setLoadBalanceToken( java.lang.String value)500 public Builder setLoadBalanceToken( 501 java.lang.String value) { 502 if (value == null) { 503 throw new NullPointerException(); 504 } 505 506 loadBalanceToken_ = value; 507 onChanged(); 508 return this; 509 } 510 /** 511 * <pre> 512 * See Server.load_balance_token. 513 * </pre> 514 * 515 * <code>string load_balance_token = 1;</code> 516 */ clearLoadBalanceToken()517 public Builder clearLoadBalanceToken() { 518 519 loadBalanceToken_ = getDefaultInstance().getLoadBalanceToken(); 520 onChanged(); 521 return this; 522 } 523 /** 524 * <pre> 525 * See Server.load_balance_token. 526 * </pre> 527 * 528 * <code>string load_balance_token = 1;</code> 529 */ setLoadBalanceTokenBytes( com.google.protobuf.ByteString value)530 public Builder setLoadBalanceTokenBytes( 531 com.google.protobuf.ByteString value) { 532 if (value == null) { 533 throw new NullPointerException(); 534 } 535 checkByteStringIsUtf8(value); 536 537 loadBalanceToken_ = value; 538 onChanged(); 539 return this; 540 } 541 542 private long numCalls_ ; 543 /** 544 * <pre> 545 * The total number of RPCs that finished associated with the token. 546 * </pre> 547 * 548 * <code>int64 num_calls = 2;</code> 549 */ getNumCalls()550 public long getNumCalls() { 551 return numCalls_; 552 } 553 /** 554 * <pre> 555 * The total number of RPCs that finished associated with the token. 556 * </pre> 557 * 558 * <code>int64 num_calls = 2;</code> 559 */ setNumCalls(long value)560 public Builder setNumCalls(long value) { 561 562 numCalls_ = value; 563 onChanged(); 564 return this; 565 } 566 /** 567 * <pre> 568 * The total number of RPCs that finished associated with the token. 569 * </pre> 570 * 571 * <code>int64 num_calls = 2;</code> 572 */ clearNumCalls()573 public Builder clearNumCalls() { 574 575 numCalls_ = 0L; 576 onChanged(); 577 return this; 578 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)579 public final Builder setUnknownFields( 580 final com.google.protobuf.UnknownFieldSet unknownFields) { 581 return super.setUnknownFieldsProto3(unknownFields); 582 } 583 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)584 public final Builder mergeUnknownFields( 585 final com.google.protobuf.UnknownFieldSet unknownFields) { 586 return super.mergeUnknownFields(unknownFields); 587 } 588 589 590 // @@protoc_insertion_point(builder_scope:grpc.lb.v1.ClientStatsPerToken) 591 } 592 593 // @@protoc_insertion_point(class_scope:grpc.lb.v1.ClientStatsPerToken) 594 private static final io.grpc.lb.v1.ClientStatsPerToken DEFAULT_INSTANCE; 595 static { 596 DEFAULT_INSTANCE = new io.grpc.lb.v1.ClientStatsPerToken(); 597 } 598 getDefaultInstance()599 public static io.grpc.lb.v1.ClientStatsPerToken getDefaultInstance() { 600 return DEFAULT_INSTANCE; 601 } 602 603 private static final com.google.protobuf.Parser<ClientStatsPerToken> 604 PARSER = new com.google.protobuf.AbstractParser<ClientStatsPerToken>() { 605 public ClientStatsPerToken parsePartialFrom( 606 com.google.protobuf.CodedInputStream input, 607 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 608 throws com.google.protobuf.InvalidProtocolBufferException { 609 return new ClientStatsPerToken(input, extensionRegistry); 610 } 611 }; 612 parser()613 public static com.google.protobuf.Parser<ClientStatsPerToken> parser() { 614 return PARSER; 615 } 616 617 @java.lang.Override getParserForType()618 public com.google.protobuf.Parser<ClientStatsPerToken> getParserForType() { 619 return PARSER; 620 } 621 getDefaultInstanceForType()622 public io.grpc.lb.v1.ClientStatsPerToken getDefaultInstanceForType() { 623 return DEFAULT_INSTANCE; 624 } 625 626 } 627 628