1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: grpc/binlog/v1alpha/binarylog.proto 3 4 package io.grpc.binarylog.v1alpha; 5 6 /** 7 * <pre> 8 * Used to record call_id. 9 * </pre> 10 * 11 * Protobuf type {@code grpc.binarylog.v1alpha.Uint128} 12 */ 13 public final class Uint128 extends 14 com.google.protobuf.GeneratedMessageV3 implements 15 // @@protoc_insertion_point(message_implements:grpc.binarylog.v1alpha.Uint128) 16 Uint128OrBuilder { 17 private static final long serialVersionUID = 0L; 18 // Use Uint128.newBuilder() to construct. Uint128(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)19 private Uint128(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 20 super(builder); 21 } Uint128()22 private Uint128() { 23 high_ = 0L; 24 low_ = 0L; 25 } 26 27 @java.lang.Override 28 public final com.google.protobuf.UnknownFieldSet getUnknownFields()29 getUnknownFields() { 30 return this.unknownFields; 31 } Uint128( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)32 private Uint128( 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 9: { 59 60 high_ = input.readFixed64(); 61 break; 62 } 63 case 17: { 64 65 low_ = input.readFixed64(); 66 break; 67 } 68 } 69 } 70 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 71 throw e.setUnfinishedMessage(this); 72 } catch (java.io.IOException e) { 73 throw new com.google.protobuf.InvalidProtocolBufferException( 74 e).setUnfinishedMessage(this); 75 } finally { 76 this.unknownFields = unknownFields.build(); 77 makeExtensionsImmutable(); 78 } 79 } 80 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()81 getDescriptor() { 82 return io.grpc.binarylog.v1alpha.BinaryLogProto.internal_static_grpc_binarylog_v1alpha_Uint128_descriptor; 83 } 84 85 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()86 internalGetFieldAccessorTable() { 87 return io.grpc.binarylog.v1alpha.BinaryLogProto.internal_static_grpc_binarylog_v1alpha_Uint128_fieldAccessorTable 88 .ensureFieldAccessorsInitialized( 89 io.grpc.binarylog.v1alpha.Uint128.class, io.grpc.binarylog.v1alpha.Uint128.Builder.class); 90 } 91 92 public static final int HIGH_FIELD_NUMBER = 1; 93 private long high_; 94 /** 95 * <code>fixed64 high = 1;</code> 96 */ getHigh()97 public long getHigh() { 98 return high_; 99 } 100 101 public static final int LOW_FIELD_NUMBER = 2; 102 private long low_; 103 /** 104 * <code>fixed64 low = 2;</code> 105 */ getLow()106 public long getLow() { 107 return low_; 108 } 109 110 private byte memoizedIsInitialized = -1; isInitialized()111 public final boolean isInitialized() { 112 byte isInitialized = memoizedIsInitialized; 113 if (isInitialized == 1) return true; 114 if (isInitialized == 0) return false; 115 116 memoizedIsInitialized = 1; 117 return true; 118 } 119 writeTo(com.google.protobuf.CodedOutputStream output)120 public void writeTo(com.google.protobuf.CodedOutputStream output) 121 throws java.io.IOException { 122 if (high_ != 0L) { 123 output.writeFixed64(1, high_); 124 } 125 if (low_ != 0L) { 126 output.writeFixed64(2, low_); 127 } 128 unknownFields.writeTo(output); 129 } 130 getSerializedSize()131 public int getSerializedSize() { 132 int size = memoizedSize; 133 if (size != -1) return size; 134 135 size = 0; 136 if (high_ != 0L) { 137 size += com.google.protobuf.CodedOutputStream 138 .computeFixed64Size(1, high_); 139 } 140 if (low_ != 0L) { 141 size += com.google.protobuf.CodedOutputStream 142 .computeFixed64Size(2, low_); 143 } 144 size += unknownFields.getSerializedSize(); 145 memoizedSize = size; 146 return size; 147 } 148 149 @java.lang.Override equals(final java.lang.Object obj)150 public boolean equals(final java.lang.Object obj) { 151 if (obj == this) { 152 return true; 153 } 154 if (!(obj instanceof io.grpc.binarylog.v1alpha.Uint128)) { 155 return super.equals(obj); 156 } 157 io.grpc.binarylog.v1alpha.Uint128 other = (io.grpc.binarylog.v1alpha.Uint128) obj; 158 159 boolean result = true; 160 result = result && (getHigh() 161 == other.getHigh()); 162 result = result && (getLow() 163 == other.getLow()); 164 result = result && unknownFields.equals(other.unknownFields); 165 return result; 166 } 167 168 @java.lang.Override hashCode()169 public int hashCode() { 170 if (memoizedHashCode != 0) { 171 return memoizedHashCode; 172 } 173 int hash = 41; 174 hash = (19 * hash) + getDescriptor().hashCode(); 175 hash = (37 * hash) + HIGH_FIELD_NUMBER; 176 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 177 getHigh()); 178 hash = (37 * hash) + LOW_FIELD_NUMBER; 179 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 180 getLow()); 181 hash = (29 * hash) + unknownFields.hashCode(); 182 memoizedHashCode = hash; 183 return hash; 184 } 185 parseFrom( java.nio.ByteBuffer data)186 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom( 187 java.nio.ByteBuffer data) 188 throws com.google.protobuf.InvalidProtocolBufferException { 189 return PARSER.parseFrom(data); 190 } parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)191 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom( 192 java.nio.ByteBuffer data, 193 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 194 throws com.google.protobuf.InvalidProtocolBufferException { 195 return PARSER.parseFrom(data, extensionRegistry); 196 } parseFrom( com.google.protobuf.ByteString data)197 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom( 198 com.google.protobuf.ByteString data) 199 throws com.google.protobuf.InvalidProtocolBufferException { 200 return PARSER.parseFrom(data); 201 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)202 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom( 203 com.google.protobuf.ByteString data, 204 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 205 throws com.google.protobuf.InvalidProtocolBufferException { 206 return PARSER.parseFrom(data, extensionRegistry); 207 } parseFrom(byte[] data)208 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom(byte[] data) 209 throws com.google.protobuf.InvalidProtocolBufferException { 210 return PARSER.parseFrom(data); 211 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)212 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom( 213 byte[] data, 214 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 215 throws com.google.protobuf.InvalidProtocolBufferException { 216 return PARSER.parseFrom(data, extensionRegistry); 217 } parseFrom(java.io.InputStream input)218 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom(java.io.InputStream input) 219 throws java.io.IOException { 220 return com.google.protobuf.GeneratedMessageV3 221 .parseWithIOException(PARSER, input); 222 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)223 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom( 224 java.io.InputStream input, 225 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 226 throws java.io.IOException { 227 return com.google.protobuf.GeneratedMessageV3 228 .parseWithIOException(PARSER, input, extensionRegistry); 229 } parseDelimitedFrom(java.io.InputStream input)230 public static io.grpc.binarylog.v1alpha.Uint128 parseDelimitedFrom(java.io.InputStream input) 231 throws java.io.IOException { 232 return com.google.protobuf.GeneratedMessageV3 233 .parseDelimitedWithIOException(PARSER, input); 234 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)235 public static io.grpc.binarylog.v1alpha.Uint128 parseDelimitedFrom( 236 java.io.InputStream input, 237 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 238 throws java.io.IOException { 239 return com.google.protobuf.GeneratedMessageV3 240 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 241 } parseFrom( com.google.protobuf.CodedInputStream input)242 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom( 243 com.google.protobuf.CodedInputStream input) 244 throws java.io.IOException { 245 return com.google.protobuf.GeneratedMessageV3 246 .parseWithIOException(PARSER, input); 247 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)248 public static io.grpc.binarylog.v1alpha.Uint128 parseFrom( 249 com.google.protobuf.CodedInputStream input, 250 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 251 throws java.io.IOException { 252 return com.google.protobuf.GeneratedMessageV3 253 .parseWithIOException(PARSER, input, extensionRegistry); 254 } 255 newBuilderForType()256 public Builder newBuilderForType() { return newBuilder(); } newBuilder()257 public static Builder newBuilder() { 258 return DEFAULT_INSTANCE.toBuilder(); 259 } newBuilder(io.grpc.binarylog.v1alpha.Uint128 prototype)260 public static Builder newBuilder(io.grpc.binarylog.v1alpha.Uint128 prototype) { 261 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 262 } toBuilder()263 public Builder toBuilder() { 264 return this == DEFAULT_INSTANCE 265 ? new Builder() : new Builder().mergeFrom(this); 266 } 267 268 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)269 protected Builder newBuilderForType( 270 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 271 Builder builder = new Builder(parent); 272 return builder; 273 } 274 /** 275 * <pre> 276 * Used to record call_id. 277 * </pre> 278 * 279 * Protobuf type {@code grpc.binarylog.v1alpha.Uint128} 280 */ 281 public static final class Builder extends 282 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 283 // @@protoc_insertion_point(builder_implements:grpc.binarylog.v1alpha.Uint128) 284 io.grpc.binarylog.v1alpha.Uint128OrBuilder { 285 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()286 getDescriptor() { 287 return io.grpc.binarylog.v1alpha.BinaryLogProto.internal_static_grpc_binarylog_v1alpha_Uint128_descriptor; 288 } 289 290 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()291 internalGetFieldAccessorTable() { 292 return io.grpc.binarylog.v1alpha.BinaryLogProto.internal_static_grpc_binarylog_v1alpha_Uint128_fieldAccessorTable 293 .ensureFieldAccessorsInitialized( 294 io.grpc.binarylog.v1alpha.Uint128.class, io.grpc.binarylog.v1alpha.Uint128.Builder.class); 295 } 296 297 // Construct using io.grpc.binarylog.v1alpha.Uint128.newBuilder() Builder()298 private Builder() { 299 maybeForceBuilderInitialization(); 300 } 301 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)302 private Builder( 303 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 304 super(parent); 305 maybeForceBuilderInitialization(); 306 } maybeForceBuilderInitialization()307 private void maybeForceBuilderInitialization() { 308 if (com.google.protobuf.GeneratedMessageV3 309 .alwaysUseFieldBuilders) { 310 } 311 } clear()312 public Builder clear() { 313 super.clear(); 314 high_ = 0L; 315 316 low_ = 0L; 317 318 return this; 319 } 320 321 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()322 getDescriptorForType() { 323 return io.grpc.binarylog.v1alpha.BinaryLogProto.internal_static_grpc_binarylog_v1alpha_Uint128_descriptor; 324 } 325 getDefaultInstanceForType()326 public io.grpc.binarylog.v1alpha.Uint128 getDefaultInstanceForType() { 327 return io.grpc.binarylog.v1alpha.Uint128.getDefaultInstance(); 328 } 329 build()330 public io.grpc.binarylog.v1alpha.Uint128 build() { 331 io.grpc.binarylog.v1alpha.Uint128 result = buildPartial(); 332 if (!result.isInitialized()) { 333 throw newUninitializedMessageException(result); 334 } 335 return result; 336 } 337 buildPartial()338 public io.grpc.binarylog.v1alpha.Uint128 buildPartial() { 339 io.grpc.binarylog.v1alpha.Uint128 result = new io.grpc.binarylog.v1alpha.Uint128(this); 340 result.high_ = high_; 341 result.low_ = low_; 342 onBuilt(); 343 return result; 344 } 345 clone()346 public Builder clone() { 347 return (Builder) super.clone(); 348 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)349 public Builder setField( 350 com.google.protobuf.Descriptors.FieldDescriptor field, 351 java.lang.Object value) { 352 return (Builder) super.setField(field, value); 353 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)354 public Builder clearField( 355 com.google.protobuf.Descriptors.FieldDescriptor field) { 356 return (Builder) super.clearField(field); 357 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)358 public Builder clearOneof( 359 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 360 return (Builder) super.clearOneof(oneof); 361 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)362 public Builder setRepeatedField( 363 com.google.protobuf.Descriptors.FieldDescriptor field, 364 int index, java.lang.Object value) { 365 return (Builder) super.setRepeatedField(field, index, value); 366 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)367 public Builder addRepeatedField( 368 com.google.protobuf.Descriptors.FieldDescriptor field, 369 java.lang.Object value) { 370 return (Builder) super.addRepeatedField(field, value); 371 } mergeFrom(com.google.protobuf.Message other)372 public Builder mergeFrom(com.google.protobuf.Message other) { 373 if (other instanceof io.grpc.binarylog.v1alpha.Uint128) { 374 return mergeFrom((io.grpc.binarylog.v1alpha.Uint128)other); 375 } else { 376 super.mergeFrom(other); 377 return this; 378 } 379 } 380 mergeFrom(io.grpc.binarylog.v1alpha.Uint128 other)381 public Builder mergeFrom(io.grpc.binarylog.v1alpha.Uint128 other) { 382 if (other == io.grpc.binarylog.v1alpha.Uint128.getDefaultInstance()) return this; 383 if (other.getHigh() != 0L) { 384 setHigh(other.getHigh()); 385 } 386 if (other.getLow() != 0L) { 387 setLow(other.getLow()); 388 } 389 this.mergeUnknownFields(other.unknownFields); 390 onChanged(); 391 return this; 392 } 393 isInitialized()394 public final boolean isInitialized() { 395 return true; 396 } 397 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)398 public Builder mergeFrom( 399 com.google.protobuf.CodedInputStream input, 400 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 401 throws java.io.IOException { 402 io.grpc.binarylog.v1alpha.Uint128 parsedMessage = null; 403 try { 404 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 405 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 406 parsedMessage = (io.grpc.binarylog.v1alpha.Uint128) e.getUnfinishedMessage(); 407 throw e.unwrapIOException(); 408 } finally { 409 if (parsedMessage != null) { 410 mergeFrom(parsedMessage); 411 } 412 } 413 return this; 414 } 415 416 private long high_ ; 417 /** 418 * <code>fixed64 high = 1;</code> 419 */ getHigh()420 public long getHigh() { 421 return high_; 422 } 423 /** 424 * <code>fixed64 high = 1;</code> 425 */ setHigh(long value)426 public Builder setHigh(long value) { 427 428 high_ = value; 429 onChanged(); 430 return this; 431 } 432 /** 433 * <code>fixed64 high = 1;</code> 434 */ clearHigh()435 public Builder clearHigh() { 436 437 high_ = 0L; 438 onChanged(); 439 return this; 440 } 441 442 private long low_ ; 443 /** 444 * <code>fixed64 low = 2;</code> 445 */ getLow()446 public long getLow() { 447 return low_; 448 } 449 /** 450 * <code>fixed64 low = 2;</code> 451 */ setLow(long value)452 public Builder setLow(long value) { 453 454 low_ = value; 455 onChanged(); 456 return this; 457 } 458 /** 459 * <code>fixed64 low = 2;</code> 460 */ clearLow()461 public Builder clearLow() { 462 463 low_ = 0L; 464 onChanged(); 465 return this; 466 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)467 public final Builder setUnknownFields( 468 final com.google.protobuf.UnknownFieldSet unknownFields) { 469 return super.setUnknownFieldsProto3(unknownFields); 470 } 471 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)472 public final Builder mergeUnknownFields( 473 final com.google.protobuf.UnknownFieldSet unknownFields) { 474 return super.mergeUnknownFields(unknownFields); 475 } 476 477 478 // @@protoc_insertion_point(builder_scope:grpc.binarylog.v1alpha.Uint128) 479 } 480 481 // @@protoc_insertion_point(class_scope:grpc.binarylog.v1alpha.Uint128) 482 private static final io.grpc.binarylog.v1alpha.Uint128 DEFAULT_INSTANCE; 483 static { 484 DEFAULT_INSTANCE = new io.grpc.binarylog.v1alpha.Uint128(); 485 } 486 getDefaultInstance()487 public static io.grpc.binarylog.v1alpha.Uint128 getDefaultInstance() { 488 return DEFAULT_INSTANCE; 489 } 490 491 private static final com.google.protobuf.Parser<Uint128> 492 PARSER = new com.google.protobuf.AbstractParser<Uint128>() { 493 public Uint128 parsePartialFrom( 494 com.google.protobuf.CodedInputStream input, 495 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 496 throws com.google.protobuf.InvalidProtocolBufferException { 497 return new Uint128(input, extensionRegistry); 498 } 499 }; 500 parser()501 public static com.google.protobuf.Parser<Uint128> parser() { 502 return PARSER; 503 } 504 505 @java.lang.Override getParserForType()506 public com.google.protobuf.Parser<Uint128> getParserForType() { 507 return PARSER; 508 } 509 getDefaultInstanceForType()510 public io.grpc.binarylog.v1alpha.Uint128 getDefaultInstanceForType() { 511 return DEFAULT_INSTANCE; 512 } 513 514 } 515 516