@@ -4406,6 +4406,23 @@ public interface NodeIdentityOrBuilder extends
4406
4406
*/
4407
4407
com .google .protobuf .ByteString
4408
4408
getApiKeyBytes ();
4409
+
4410
+ /**
4411
+ * <code>optional string agent = 5;</code>
4412
+ * @return Whether the agent field is set.
4413
+ */
4414
+ boolean hasAgent ();
4415
+ /**
4416
+ * <code>optional string agent = 5;</code>
4417
+ * @return The agent.
4418
+ */
4419
+ java .lang .String getAgent ();
4420
+ /**
4421
+ * <code>optional string agent = 5;</code>
4422
+ * @return The bytes for agent.
4423
+ */
4424
+ com .google .protobuf .ByteString
4425
+ getAgentBytes ();
4409
4426
}
4410
4427
/**
4411
4428
* Protobuf type {@code NodeIdentity}
@@ -4424,6 +4441,7 @@ private NodeIdentity() {
4424
4441
instance_ = "" ;
4425
4442
host_ = "" ;
4426
4443
apiKey_ = "" ;
4444
+ agent_ = "" ;
4427
4445
}
4428
4446
4429
4447
@ java .lang .Override
@@ -4481,6 +4499,12 @@ private NodeIdentity(
4481
4499
apiKey_ = bs ;
4482
4500
break ;
4483
4501
}
4502
+ case 42 : {
4503
+ com .google .protobuf .ByteString bs = input .readBytes ();
4504
+ bitField0_ |= 0x00000010 ;
4505
+ agent_ = bs ;
4506
+ break ;
4507
+ }
4484
4508
default : {
4485
4509
if (!parseUnknownField (
4486
4510
input , unknownFields , extensionRegistry , tag )) {
@@ -4682,6 +4706,54 @@ public java.lang.String getApiKey() {
4682
4706
}
4683
4707
}
4684
4708
4709
+ public static final int AGENT_FIELD_NUMBER = 5 ;
4710
+ private volatile java .lang .Object agent_ ;
4711
+ /**
4712
+ * <code>optional string agent = 5;</code>
4713
+ * @return Whether the agent field is set.
4714
+ */
4715
+ @ java .lang .Override
4716
+ public boolean hasAgent () {
4717
+ return ((bitField0_ & 0x00000010 ) != 0 );
4718
+ }
4719
+ /**
4720
+ * <code>optional string agent = 5;</code>
4721
+ * @return The agent.
4722
+ */
4723
+ @ java .lang .Override
4724
+ public java .lang .String getAgent () {
4725
+ java .lang .Object ref = agent_ ;
4726
+ if (ref instanceof java .lang .String ) {
4727
+ return (java .lang .String ) ref ;
4728
+ } else {
4729
+ com .google .protobuf .ByteString bs =
4730
+ (com .google .protobuf .ByteString ) ref ;
4731
+ java .lang .String s = bs .toStringUtf8 ();
4732
+ if (bs .isValidUtf8 ()) {
4733
+ agent_ = s ;
4734
+ }
4735
+ return s ;
4736
+ }
4737
+ }
4738
+ /**
4739
+ * <code>optional string agent = 5;</code>
4740
+ * @return The bytes for agent.
4741
+ */
4742
+ @ java .lang .Override
4743
+ public com .google .protobuf .ByteString
4744
+ getAgentBytes () {
4745
+ java .lang .Object ref = agent_ ;
4746
+ if (ref instanceof java .lang .String ) {
4747
+ com .google .protobuf .ByteString b =
4748
+ com .google .protobuf .ByteString .copyFromUtf8 (
4749
+ (java .lang .String ) ref );
4750
+ agent_ = b ;
4751
+ return b ;
4752
+ } else {
4753
+ return (com .google .protobuf .ByteString ) ref ;
4754
+ }
4755
+ }
4756
+
4685
4757
private byte memoizedIsInitialized = -1 ;
4686
4758
@ java .lang .Override
4687
4759
public final boolean isInitialized () {
@@ -4724,6 +4796,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
4724
4796
if (((bitField0_ & 0x00000008 ) != 0 )) {
4725
4797
com .google .protobuf .GeneratedMessageV3 .writeString (output , 4 , apiKey_ );
4726
4798
}
4799
+ if (((bitField0_ & 0x00000010 ) != 0 )) {
4800
+ com .google .protobuf .GeneratedMessageV3 .writeString (output , 5 , agent_ );
4801
+ }
4727
4802
unknownFields .writeTo (output );
4728
4803
}
4729
4804
@@ -4745,6 +4820,9 @@ public int getSerializedSize() {
4745
4820
if (((bitField0_ & 0x00000008 ) != 0 )) {
4746
4821
size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (4 , apiKey_ );
4747
4822
}
4823
+ if (((bitField0_ & 0x00000010 ) != 0 )) {
4824
+ size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (5 , agent_ );
4825
+ }
4748
4826
size += unknownFields .getSerializedSize ();
4749
4827
memoizedSize = size ;
4750
4828
return size ;
@@ -4780,6 +4858,11 @@ public boolean equals(final java.lang.Object obj) {
4780
4858
if (!getApiKey ()
4781
4859
.equals (other .getApiKey ())) return false ;
4782
4860
}
4861
+ if (hasAgent () != other .hasAgent ()) return false ;
4862
+ if (hasAgent ()) {
4863
+ if (!getAgent ()
4864
+ .equals (other .getAgent ())) return false ;
4865
+ }
4783
4866
if (!unknownFields .equals (other .unknownFields )) return false ;
4784
4867
return true ;
4785
4868
}
@@ -4807,6 +4890,10 @@ public int hashCode() {
4807
4890
hash = (37 * hash ) + APIKEY_FIELD_NUMBER ;
4808
4891
hash = (53 * hash ) + getApiKey ().hashCode ();
4809
4892
}
4893
+ if (hasAgent ()) {
4894
+ hash = (37 * hash ) + AGENT_FIELD_NUMBER ;
4895
+ hash = (53 * hash ) + getAgent ().hashCode ();
4896
+ }
4810
4897
hash = (29 * hash ) + unknownFields .hashCode ();
4811
4898
memoizedHashCode = hash ;
4812
4899
return hash ;
@@ -4948,6 +5035,8 @@ public Builder clear() {
4948
5035
bitField0_ = (bitField0_ & ~0x00000004 );
4949
5036
apiKey_ = "" ;
4950
5037
bitField0_ = (bitField0_ & ~0x00000008 );
5038
+ agent_ = "" ;
5039
+ bitField0_ = (bitField0_ & ~0x00000010 );
4951
5040
return this ;
4952
5041
}
4953
5042
@@ -4992,6 +5081,10 @@ public kamino.IngestionV1.NodeIdentity buildPartial() {
4992
5081
to_bitField0_ |= 0x00000008 ;
4993
5082
}
4994
5083
result .apiKey_ = apiKey_ ;
5084
+ if (((from_bitField0_ & 0x00000010 ) != 0 )) {
5085
+ to_bitField0_ |= 0x00000010 ;
5086
+ }
5087
+ result .agent_ = agent_ ;
4995
5088
result .bitField0_ = to_bitField0_ ;
4996
5089
onBuilt ();
4997
5090
return result ;
@@ -5061,6 +5154,11 @@ public Builder mergeFrom(kamino.IngestionV1.NodeIdentity other) {
5061
5154
apiKey_ = other .apiKey_ ;
5062
5155
onChanged ();
5063
5156
}
5157
+ if (other .hasAgent ()) {
5158
+ bitField0_ |= 0x00000010 ;
5159
+ agent_ = other .agent_ ;
5160
+ onChanged ();
5161
+ }
5064
5162
this .mergeUnknownFields (other .unknownFields );
5065
5163
onChanged ();
5066
5164
return this ;
@@ -5406,6 +5504,90 @@ public Builder setApiKeyBytes(
5406
5504
onChanged ();
5407
5505
return this ;
5408
5506
}
5507
+
5508
+ private java .lang .Object agent_ = "" ;
5509
+ /**
5510
+ * <code>optional string agent = 5;</code>
5511
+ * @return Whether the agent field is set.
5512
+ */
5513
+ public boolean hasAgent () {
5514
+ return ((bitField0_ & 0x00000010 ) != 0 );
5515
+ }
5516
+ /**
5517
+ * <code>optional string agent = 5;</code>
5518
+ * @return The agent.
5519
+ */
5520
+ public java .lang .String getAgent () {
5521
+ java .lang .Object ref = agent_ ;
5522
+ if (!(ref instanceof java .lang .String )) {
5523
+ com .google .protobuf .ByteString bs =
5524
+ (com .google .protobuf .ByteString ) ref ;
5525
+ java .lang .String s = bs .toStringUtf8 ();
5526
+ if (bs .isValidUtf8 ()) {
5527
+ agent_ = s ;
5528
+ }
5529
+ return s ;
5530
+ } else {
5531
+ return (java .lang .String ) ref ;
5532
+ }
5533
+ }
5534
+ /**
5535
+ * <code>optional string agent = 5;</code>
5536
+ * @return The bytes for agent.
5537
+ */
5538
+ public com .google .protobuf .ByteString
5539
+ getAgentBytes () {
5540
+ java .lang .Object ref = agent_ ;
5541
+ if (ref instanceof String ) {
5542
+ com .google .protobuf .ByteString b =
5543
+ com .google .protobuf .ByteString .copyFromUtf8 (
5544
+ (java .lang .String ) ref );
5545
+ agent_ = b ;
5546
+ return b ;
5547
+ } else {
5548
+ return (com .google .protobuf .ByteString ) ref ;
5549
+ }
5550
+ }
5551
+ /**
5552
+ * <code>optional string agent = 5;</code>
5553
+ * @param value The agent to set.
5554
+ * @return This builder for chaining.
5555
+ */
5556
+ public Builder setAgent (
5557
+ java .lang .String value ) {
5558
+ if (value == null ) {
5559
+ throw new NullPointerException ();
5560
+ }
5561
+ bitField0_ |= 0x00000010 ;
5562
+ agent_ = value ;
5563
+ onChanged ();
5564
+ return this ;
5565
+ }
5566
+ /**
5567
+ * <code>optional string agent = 5;</code>
5568
+ * @return This builder for chaining.
5569
+ */
5570
+ public Builder clearAgent () {
5571
+ bitField0_ = (bitField0_ & ~0x00000010 );
5572
+ agent_ = getDefaultInstance ().getAgent ();
5573
+ onChanged ();
5574
+ return this ;
5575
+ }
5576
+ /**
5577
+ * <code>optional string agent = 5;</code>
5578
+ * @param value The bytes for agent to set.
5579
+ * @return This builder for chaining.
5580
+ */
5581
+ public Builder setAgentBytes (
5582
+ com .google .protobuf .ByteString value ) {
5583
+ if (value == null ) {
5584
+ throw new NullPointerException ();
5585
+ }
5586
+ bitField0_ |= 0x00000010 ;
5587
+ agent_ = value ;
5588
+ onChanged ();
5589
+ return this ;
5590
+ }
5409
5591
@ java .lang .Override
5410
5592
public final Builder setUnknownFields (
5411
5593
final com .google .protobuf .UnknownFieldSet unknownFields ) {
@@ -14152,41 +14334,41 @@ public kamino.IngestionV1.Link getDefaultInstanceForType() {
14152
14334
"c\022 \014 \n \004 name\030 \001 \002 (\t \022 \037 \n \004 tags\030 \002 \003 (\013 2\021 .Metric.T" +
14153
14335
"agsEntry\022 \' \n \016 instrumentType\030 \003 \002 (\016 2\017 .Instr" +
14154
14336
"umentType\022 \014 \n \004 data\030 \004 \002 (\014 \032 +\n \t TagsEntry\022 \013 \n \003 " +
14155
- "key\030 \001 \001 (\t \022 \r \n \005 value\030 \002 \001 (\t :\002 8\001 \" O \n \014 NodeIden" +
14337
+ "key\030 \001 \001 (\t \022 \r \n \005 value\030 \002 \001 (\t :\002 8\001 \" ^ \n \014 NodeIden" +
14156
14338
"tity\022 \017 \n \007 service\030 \001 \002 (\t \022 \020 \n \010 instance\030 \002 \002 (\t \022 " +
14157
- "\014 \n \004 host\030 \003 \002 (\t \022 \016 \n \006 apiKey\030 \004 \002 (\t \" X \n \005 Hello \022 \033 " +
14158
- "\n \004 node \ 030\001 \002 ( \013 2 \r .NodeIdentity \ 022\014 \n \004 time \030 \002 \002 (" +
14159
- "\003 \ 022\023 \n \013 incarnation \030 \003 \002 (\t \022 \017 \n \007 version \030 \004 \002 ( \t \" " +
14160
- "4 \n \007 Goodbye \022 \033 \n \004 node \030 \001 \002 (\013 2 \r .NodeIdentity \ 022 " +
14161
- "\014 \n \004 time\030 \002 \002 (\003 \" u\n \t SpanBatch \022 \023 \n \013 serviceNam " +
14162
- "e \030 \001 \002 ( \t \ 022\016 \n \006 apiKey \030 \002 \002 (\t \022 \014 \n \004 host \030 \003 \002 ( \t \022 \020 \n " +
14163
- "\010 instance \ 030\004 \002 (\t \022 \024 \n \005 spans \030 \005 \003 ( \013 2 \005 .Span \ 022\r \n " +
14164
- "\005 agent \030 \006 \001 ( \t \" $ \n \004 Mark \ 022\017 \n \007 instant \030 \001 \002 ( \003 \022 \013 \n " +
14165
- "\003 key \ 030\002 \002 (\t \" \252 \ 003\n \004 Span \ 022\n \n \002 id \030 \001 \002 (\t \022 \017 \n \007 trace " +
14166
- "Id \ 030\002 \002 (\t \022 \020 \n \010 parentId \030 \003 \002 (\t \022 \025 \n \r operationN " +
14167
- "ame \030 \004 \002 (\t \022 \023 \n \013 startMicros \030 \005 \002 (\003 \022 \021 \n \t endMic " +
14168
- "ros \030 \006 \002 (\003 \022 \035 \n \004 tags \030 \007 \003 ( \013 2 \017 .Span.TagsEntry " +
14169
- "\022 \024 \n \005 marks \030 \010 \003 (\013 2\005 .Mark \022 \020 \n \010 hasError \030 \t \001 ( \010 " +
14170
- "\022 \022 \n \n wasDelayed \030 \n \001 (\010 \022 \027 \n \004 kind \030 \013 \001 ( \016 2 \t .Spa " +
14171
- "nKind \ 022\037 \n \010 position \030 \014 \001 (\016 2\r .SpanPosition \022 ) " +
14172
- "\n \n metricTags\030 \r \003 (\013 2 \025 .Span.MetricTagsEntr " +
14173
- "y \ 022\024 \n \005 links\030 \016 \003 (\013 2\005 .Link \032 + \n \t TagsEntry \022 \013 \n \003 " +
14174
- "key \030 \001 \001 ( \t \ 022\r \n \005 value \030 \002 \001 (\t : \002 8 \001 \032 1 \n \017 MetricTa " +
14175
- "gsEntry \022 \013 \n \003 key \ 030\001 \001 (\t \022 \r \n \005 value \030 \002 \001 ( \t : \002 8 \001 \" " +
14176
- "5 \n \021 IngestionResponse \ 022 \n \006 status \030 \001 \002 ( \016 2 \020 .I " +
14177
- "ngestionStatus \" @ \n \004 Link \ 022\027 \n \004 kind \030 \001 \002 (\016 2\t .L " +
14178
- "inkKind \022 \017 \n \007 traceId \030 \002 \002 (\t \022 \016 \n \006 spanId \030 \003 \002 ( \t " +
14179
- "*L \n \016 InstrumentType \ 022\013 \n \007 COUNTER \020 \000 \022 \t \n \005 GAUGE " +
14180
- "\020 \001 \022 \r \n \t HISTOGRAM \020 \002 \022 \023 \n \017 MIN_MAX_COUNTER \020 \003 *+ " +
14181
- "\n \004 Plan \022 \017 \n \013 METRIC_ONLY \020 \001 \ 022\022 \n \016 METRIC_TRACIN " +
14182
- "G \020 \002 *] \n \017 IngestionStatus \ 022\006 \n \002 OK \020 \000 \022 \t \n \005 ERROR \020 " +
14183
- "\001 \ 022\t \n \005 STALE \020 \002 \022 \020 \n \014 UNAUTHORIZED \020 \003 \022 \013 \n \007 BLOCKE " +
14184
- "D \020 \004 \022 \r \n \t CORRUPTED \020 \005 *Y \n \010 SpanKind \ 022\013 \n \007 UNKNOW " +
14185
- "N \020 \000 \022 \n \n \006 SERVER \020 \001 \022 \n \n \006 CLIENT \020 \002 \022 \014 \n \010 PRODUCER \020 " +
14186
- "\003 \ 022\014 \n \010 CONSUMER \020 \004 \022 \014 \n \010 INTERNAL \020 \005 *> \n \014 SpanPos " +
14187
- "ition \022 \024 \n \020 POSITION_UNKNOWN \ 020\000 \022 \010 \n \004 ROOT \020 \001 \ 022\016 \n " +
14188
- "\n LOCAL_ROOT \ 020\002 * \034 \n \010 LinkKind \ 022\020 \n \014 FOLLOWS_FRO " +
14189
- "M \020 \001 B\010 \n \006 kamino"
14339
+ "\014 \n \004 host\030 \003 \002 (\t \022 \016 \n \006 apiKey\030 \004 \002 (\t \022 \r \n \005 " +
14340
+ "agent \ 030\005 \001 ( \t \" X \n \005 Hello \ 022\033 \n \004 node \030 \001 \002 (\013 2 \r .Nod " +
14341
+ "eIdentity \ 022\014 \n \004 time \030 \002 \002 (\003 \022 \023 \n \013 incarnation \030 \003 " +
14342
+ " \002 ( \t \022 \017 \n \007 version \030 \004 \002 (\t \" 4 \n \007 Goodbye \ 022\033 \n \004 node " +
14343
+ "\030 \001 \002 ( \013 2 \r .NodeIdentity \022 \ 014\n \004 time\030 \002 \002 (\003 \" u\n \t S " +
14344
+ "panBatch \ 022\023 \n \013 serviceName \030 \001 \002 (\t \022 \016 \n \006 apiKey \030 " +
14345
+ "\002 \002 ( \t \022 \014 \n \004 host \ 030\003 \002 (\t \022 \020 \n \010 instance \030 \004 \002 ( \t \ 022\024 \n " +
14346
+ "\005 spans \030 \005 \003 ( \013 2 \005 .Span \ 022\r \n \005 agent \030 \006 \001 ( \t \" $ \n \004 Ma " +
14347
+ "rk \022 \017 \n \007 instant \ 030\001 \002 (\003 \022 \013 \n \003 key \030 \002 \002 (\t \" \252 \003 \n \004 Spa " +
14348
+ "n \022 \n \n \002 id \ 030\001 \002 (\t \022 \017 \n \007 traceId \030 \002 \002 (\t \022 \020 \n \010 parent " +
14349
+ "Id \030 \003 \002 (\t \022 \025 \n \r operationName \030 \004 \002 (\t \022 \023 \n \013 start " +
14350
+ "Micros \030 \005 \002 (\003 \022 \021 \n \t endMicros \030 \006 \002 ( \003 \022 \035 \n \004 tags \030 " +
14351
+ "\007 \003 (\013 2\017 .Span.TagsEntry \022 \024 \n \005 marks \030 \010 \003 ( \013 2 \005 . " +
14352
+ "Mark \022 \020 \n \010 hasError \030 \t \001 (\010 \022 \022 \n \n wasDelayed \030 \n \001 " +
14353
+ "( \010 \ 022\027 \n \004 kind \030 \013 \001 (\016 2\t .SpanKind \022 \037 \n \010 position \030 " +
14354
+ "\014 \001 ( \016 2 \r .SpanPosition \022 ) \ n\n metricTags\030 \r \003 (\013 " +
14355
+ "2 \025 .Span.MetricTagsEntry \ 022\024 \n \005 links\030 \016 \003 (\013 2\005 " +
14356
+ ".Link \032 + \n \t TagsEntry \ 022\013 \n \003 key \030 \001 \001 (\t \022 \r \n \005 value " +
14357
+ "\ 030\002 \001 (\t : \002 8 \001 \032 1 \n \017 MetricTagsEntry \022 \013 \n \003 key \030 \001 \001 " +
14358
+ "( \t \ 022\r \n \005 value \030 \002 \001 ( \t : \002 8 \001 \" 5 \n \021 IngestionRespon " +
14359
+ "se \ 022 \n \006 status \030 \001 \002 (\016 2\020 .IngestionStatus \" @ \n \004 " +
14360
+ "Link \022 \027 \n \004 kind \030 \001 \002 (\016 2 \t .LinkKind \022 \017 \n \007 traceId " +
14361
+ "\030 \002 \002 ( \t \ 022\016 \n \006 spanId \030 \003 \002 ( \t *L \n \016 InstrumentType " +
14362
+ "\022 \013 \n \007 COUNTER \ 020\000 \022 \t \n \005 GAUGE \020 \001 \022 \r \n \t HISTOGRAM \020 \002 \022 " +
14363
+ "\023 \n \017 MIN_MAX_COUNTER \020 \003 *+ \n \004 Plan \ 022\017 \n \013 METRIC_O " +
14364
+ "NLY \020 \001 \022 \ 022\n \016 METRIC_TRACING \020 \002 *] \n \017 IngestionSt " +
14365
+ "atus \022 \006 \n \002 OK \020 \000 \ 022\t \n \005 ERROR \020 \001 \022 \t \n \005 STALE \020 \002 \022 \020 \n \014 UN " +
14366
+ "AUTHORIZED \020 \003 \022 \013 \n \007 BLOCKED \020 \004 \ 022\r \n \t CORRUPTED \020 \005 " +
14367
+ "*Y \n \010 SpanKind \022 \013 \n \007 UNKNOWN \020 \000 \022 \n \n \006 SERVER \020 \001 \022 \n \n " +
14368
+ "\006 CLIENT \020 \002 \ 022\014 \n \010 PRODUCER \020 \003 \022 \014 \n \010 CONSUMER \020 \004 \022 \014 \n " +
14369
+ "\010 INTERNAL \ 020\005 *> \n \014 SpanPosition \ 022\024 \n \020 POSITION_ " +
14370
+ "UNKNOWN \ 020\000 \022 \010 \n \004 ROOT \020 \001 \ 022\016 \n \n LOCAL_ROOT \ 020\002 * \034 \n \010 L " +
14371
+ "inkKind \022 \020 \n \014 FOLLOWS_FROM \020 \001 B\010 \n \006 kamino"
14190
14372
};
14191
14373
descriptor = com .google .protobuf .Descriptors .FileDescriptor
14192
14374
.internalBuildGeneratedFileFrom (descriptorData ,
@@ -14221,7 +14403,7 @@ public kamino.IngestionV1.Link getDefaultInstanceForType() {
14221
14403
internal_static_NodeIdentity_fieldAccessorTable = new
14222
14404
com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
14223
14405
internal_static_NodeIdentity_descriptor ,
14224
- new java .lang .String [] { "Service" , "Instance" , "Host" , "ApiKey" , });
14406
+ new java .lang .String [] { "Service" , "Instance" , "Host" , "ApiKey" , "Agent" , });
14225
14407
internal_static_Hello_descriptor =
14226
14408
getDescriptor ().getMessageTypes ().get (4 );
14227
14409
internal_static_Hello_fieldAccessorTable = new
0 commit comments