@@ -2412,6 +2412,26 @@ public interface ReplayChunkOrBuilder extends
2412
2412
*/
2413
2413
com .strongdm .api .plumbing .ReplaysPlumbing .ReplayChunkEventOrBuilder getEventsOrBuilder (
2414
2414
int index );
2415
+
2416
+ /**
2417
+ * <pre>
2418
+ * If the data is encrypted, this contains the encrypted symmetric key
2419
+ * </pre>
2420
+ *
2421
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
2422
+ * @return The symmetricKey.
2423
+ */
2424
+ java .lang .String getSymmetricKey ();
2425
+ /**
2426
+ * <pre>
2427
+ * If the data is encrypted, this contains the encrypted symmetric key
2428
+ * </pre>
2429
+ *
2430
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
2431
+ * @return The bytes for symmetricKey.
2432
+ */
2433
+ com .google .protobuf .ByteString
2434
+ getSymmetricKeyBytes ();
2415
2435
}
2416
2436
/**
2417
2437
* <pre>
@@ -2432,6 +2452,7 @@ private ReplayChunk(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
2432
2452
private ReplayChunk () {
2433
2453
data_ = com .google .protobuf .ByteString .EMPTY ;
2434
2454
events_ = java .util .Collections .emptyList ();
2455
+ symmetricKey_ = "" ;
2435
2456
}
2436
2457
2437
2458
@ java .lang .Override
@@ -2479,6 +2500,12 @@ private ReplayChunk(
2479
2500
input .readMessage (com .strongdm .api .plumbing .ReplaysPlumbing .ReplayChunkEvent .parser (), extensionRegistry ));
2480
2501
break ;
2481
2502
}
2503
+ case 26 : {
2504
+ java .lang .String s = input .readStringRequireUtf8 ();
2505
+
2506
+ symmetricKey_ = s ;
2507
+ break ;
2508
+ }
2482
2509
default : {
2483
2510
if (!parseUnknownField (
2484
2511
input , unknownFields , extensionRegistry , tag )) {
@@ -2596,6 +2623,52 @@ public com.strongdm.api.plumbing.ReplaysPlumbing.ReplayChunkEventOrBuilder getEv
2596
2623
return events_ .get (index );
2597
2624
}
2598
2625
2626
+ public static final int SYMMETRIC_KEY_FIELD_NUMBER = 3 ;
2627
+ private volatile java .lang .Object symmetricKey_ ;
2628
+ /**
2629
+ * <pre>
2630
+ * If the data is encrypted, this contains the encrypted symmetric key
2631
+ * </pre>
2632
+ *
2633
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
2634
+ * @return The symmetricKey.
2635
+ */
2636
+ @ java .lang .Override
2637
+ public java .lang .String getSymmetricKey () {
2638
+ java .lang .Object ref = symmetricKey_ ;
2639
+ if (ref instanceof java .lang .String ) {
2640
+ return (java .lang .String ) ref ;
2641
+ } else {
2642
+ com .google .protobuf .ByteString bs =
2643
+ (com .google .protobuf .ByteString ) ref ;
2644
+ java .lang .String s = bs .toStringUtf8 ();
2645
+ symmetricKey_ = s ;
2646
+ return s ;
2647
+ }
2648
+ }
2649
+ /**
2650
+ * <pre>
2651
+ * If the data is encrypted, this contains the encrypted symmetric key
2652
+ * </pre>
2653
+ *
2654
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
2655
+ * @return The bytes for symmetricKey.
2656
+ */
2657
+ @ java .lang .Override
2658
+ public com .google .protobuf .ByteString
2659
+ getSymmetricKeyBytes () {
2660
+ java .lang .Object ref = symmetricKey_ ;
2661
+ if (ref instanceof java .lang .String ) {
2662
+ com .google .protobuf .ByteString b =
2663
+ com .google .protobuf .ByteString .copyFromUtf8 (
2664
+ (java .lang .String ) ref );
2665
+ symmetricKey_ = b ;
2666
+ return b ;
2667
+ } else {
2668
+ return (com .google .protobuf .ByteString ) ref ;
2669
+ }
2670
+ }
2671
+
2599
2672
private byte memoizedIsInitialized = -1 ;
2600
2673
@ java .lang .Override
2601
2674
public final boolean isInitialized () {
@@ -2616,6 +2689,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
2616
2689
for (int i = 0 ; i < events_ .size (); i ++) {
2617
2690
output .writeMessage (2 , events_ .get (i ));
2618
2691
}
2692
+ if (!com .google .protobuf .GeneratedMessageV3 .isStringEmpty (symmetricKey_ )) {
2693
+ com .google .protobuf .GeneratedMessageV3 .writeString (output , 3 , symmetricKey_ );
2694
+ }
2619
2695
unknownFields .writeTo (output );
2620
2696
}
2621
2697
@@ -2633,6 +2709,9 @@ public int getSerializedSize() {
2633
2709
size += com .google .protobuf .CodedOutputStream
2634
2710
.computeMessageSize (2 , events_ .get (i ));
2635
2711
}
2712
+ if (!com .google .protobuf .GeneratedMessageV3 .isStringEmpty (symmetricKey_ )) {
2713
+ size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (3 , symmetricKey_ );
2714
+ }
2636
2715
size += unknownFields .getSerializedSize ();
2637
2716
memoizedSize = size ;
2638
2717
return size ;
@@ -2652,6 +2731,8 @@ public boolean equals(final java.lang.Object obj) {
2652
2731
.equals (other .getData ())) return false ;
2653
2732
if (!getEventsList ()
2654
2733
.equals (other .getEventsList ())) return false ;
2734
+ if (!getSymmetricKey ()
2735
+ .equals (other .getSymmetricKey ())) return false ;
2655
2736
if (!unknownFields .equals (other .unknownFields )) return false ;
2656
2737
return true ;
2657
2738
}
@@ -2669,6 +2750,8 @@ public int hashCode() {
2669
2750
hash = (37 * hash ) + EVENTS_FIELD_NUMBER ;
2670
2751
hash = (53 * hash ) + getEventsList ().hashCode ();
2671
2752
}
2753
+ hash = (37 * hash ) + SYMMETRIC_KEY_FIELD_NUMBER ;
2754
+ hash = (53 * hash ) + getSymmetricKey ().hashCode ();
2672
2755
hash = (29 * hash ) + unknownFields .hashCode ();
2673
2756
memoizedHashCode = hash ;
2674
2757
return hash ;
@@ -2815,6 +2898,8 @@ public Builder clear() {
2815
2898
} else {
2816
2899
eventsBuilder_ .clear ();
2817
2900
}
2901
+ symmetricKey_ = "" ;
2902
+
2818
2903
return this ;
2819
2904
}
2820
2905
@@ -2852,6 +2937,7 @@ public com.strongdm.api.plumbing.ReplaysPlumbing.ReplayChunk buildPartial() {
2852
2937
} else {
2853
2938
result .events_ = eventsBuilder_ .build ();
2854
2939
}
2940
+ result .symmetricKey_ = symmetricKey_ ;
2855
2941
onBuilt ();
2856
2942
return result ;
2857
2943
}
@@ -2929,6 +3015,10 @@ public Builder mergeFrom(com.strongdm.api.plumbing.ReplaysPlumbing.ReplayChunk o
2929
3015
}
2930
3016
}
2931
3017
}
3018
+ if (!other .getSymmetricKey ().isEmpty ()) {
3019
+ symmetricKey_ = other .symmetricKey_ ;
3020
+ onChanged ();
3021
+ }
2932
3022
this .mergeUnknownFields (other .unknownFields );
2933
3023
onChanged ();
2934
3024
return this ;
@@ -3334,6 +3424,102 @@ public com.strongdm.api.plumbing.ReplaysPlumbing.ReplayChunkEvent.Builder addEve
3334
3424
}
3335
3425
return eventsBuilder_ ;
3336
3426
}
3427
+
3428
+ private java .lang .Object symmetricKey_ = "" ;
3429
+ /**
3430
+ * <pre>
3431
+ * If the data is encrypted, this contains the encrypted symmetric key
3432
+ * </pre>
3433
+ *
3434
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
3435
+ * @return The symmetricKey.
3436
+ */
3437
+ public java .lang .String getSymmetricKey () {
3438
+ java .lang .Object ref = symmetricKey_ ;
3439
+ if (!(ref instanceof java .lang .String )) {
3440
+ com .google .protobuf .ByteString bs =
3441
+ (com .google .protobuf .ByteString ) ref ;
3442
+ java .lang .String s = bs .toStringUtf8 ();
3443
+ symmetricKey_ = s ;
3444
+ return s ;
3445
+ } else {
3446
+ return (java .lang .String ) ref ;
3447
+ }
3448
+ }
3449
+ /**
3450
+ * <pre>
3451
+ * If the data is encrypted, this contains the encrypted symmetric key
3452
+ * </pre>
3453
+ *
3454
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
3455
+ * @return The bytes for symmetricKey.
3456
+ */
3457
+ public com .google .protobuf .ByteString
3458
+ getSymmetricKeyBytes () {
3459
+ java .lang .Object ref = symmetricKey_ ;
3460
+ if (ref instanceof String ) {
3461
+ com .google .protobuf .ByteString b =
3462
+ com .google .protobuf .ByteString .copyFromUtf8 (
3463
+ (java .lang .String ) ref );
3464
+ symmetricKey_ = b ;
3465
+ return b ;
3466
+ } else {
3467
+ return (com .google .protobuf .ByteString ) ref ;
3468
+ }
3469
+ }
3470
+ /**
3471
+ * <pre>
3472
+ * If the data is encrypted, this contains the encrypted symmetric key
3473
+ * </pre>
3474
+ *
3475
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
3476
+ * @param value The symmetricKey to set.
3477
+ * @return This builder for chaining.
3478
+ */
3479
+ public Builder setSymmetricKey (
3480
+ java .lang .String value ) {
3481
+ if (value == null ) {
3482
+ throw new NullPointerException ();
3483
+ }
3484
+
3485
+ symmetricKey_ = value ;
3486
+ onChanged ();
3487
+ return this ;
3488
+ }
3489
+ /**
3490
+ * <pre>
3491
+ * If the data is encrypted, this contains the encrypted symmetric key
3492
+ * </pre>
3493
+ *
3494
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
3495
+ * @return This builder for chaining.
3496
+ */
3497
+ public Builder clearSymmetricKey () {
3498
+
3499
+ symmetricKey_ = getDefaultInstance ().getSymmetricKey ();
3500
+ onChanged ();
3501
+ return this ;
3502
+ }
3503
+ /**
3504
+ * <pre>
3505
+ * If the data is encrypted, this contains the encrypted symmetric key
3506
+ * </pre>
3507
+ *
3508
+ * <code>string symmetric_key = 3 [(.v1.field_options) = { ... }</code>
3509
+ * @param value The bytes for symmetricKey to set.
3510
+ * @return This builder for chaining.
3511
+ */
3512
+ public Builder setSymmetricKeyBytes (
3513
+ com .google .protobuf .ByteString value ) {
3514
+ if (value == null ) {
3515
+ throw new NullPointerException ();
3516
+ }
3517
+ checkByteStringIsUtf8 (value );
3518
+
3519
+ symmetricKey_ = value ;
3520
+ onChanged ();
3521
+ return this ;
3522
+ }
3337
3523
@ java .lang .Override
3338
3524
public final Builder setUnknownFields (
3339
3525
final com .google .protobuf .UnknownFieldSet unknownFields ) {
@@ -4214,22 +4400,23 @@ public com.strongdm.api.plumbing.ReplaysPlumbing.ReplayChunkEvent getDefaultInst
4214
4400
"\n rate_limit\030 \003 \001 (\013 2\025 .v1.RateLimitMetadata" +
4215
4401
"B,\362 \370 \263 \007 \005 \260 \363 \263 \007 \001 \362 \370 \263 \007 \006 \262 \364 \263 \007 \001 *\362 \370 \263 \007 \022 \262 \364 \263 \007 \r !json_g" +
4216
4402
"ateway:(\372 \370 \263 \007 \006 \322 \363 \263 \007 \001 *\372 \370 \263 \007 \030 \322 \363 \263 \007 \023 !terraform-" +
4217
- "provider\" \215 \001 \n \013 ReplayChunk\022 \030 \n \004 data\030 \001 \001 (\014 B\n " +
4403
+ "provider\" \260 \001 \n \013 ReplayChunk\022 \030 \n \004 data\030 \001 \001 (\014 B\n " +
4218
4404
"\362 \370 \263 \007 \005 \260 \363 \263 \007 \001 \022 0\n \006 events\030 \002 \003 (\013 2\024 .v1.ReplayCh" +
4219
- "unkEventB\n \362 \370 \263 \007 \005 \260 \363 \263 \007 \001 :2\372 \370 \263 \007 \005 \250 \363 \263 \007 \001 \372 \370 \263 \007 \006 \322 \363 \263 " +
4220
- "\007 \001 *\372 \370 \263 \007 \030 \322 \363 \263 \007 \023 !terraform-provider\" \231 \001 \n \020 Rep" +
4221
- "layChunkEvent\022 \030 \n \004 data\030 \001 \001 (\014 B\n \362 \370 \263 \007 \005 \260 \363 \263 \007 \001 \022 " +
4222
- "7\n \010 duration\030 \002 \001 (\013 2\031 .google.protobuf.Dura" +
4223
- "tionB\n \362 \370 \263 \007 \005 \260 \363 \263 \007 \001 :2\372 \370 \263 \007 \005 \250 \363 \263 \007 \001 \372 \370 \263 \007 \006 \322 \363 \263 \007 \001 *\372 " +
4224
- "\370 \263 \007 \030 \322 \363 \263 \007 \023 !terraform-provider2\255 \001 \n \007 Replays" +
4225
- "\022 Y\n \004 List\022 \025 .v1.ReplayListRequest\032 \026 .v1.Rep" +
4226
- "layListResponse\" \" \202 \371 \263 \007 \010 \242 \363 \263 \007 \003 get\202 \371 \263 \007 \020 \252 \363 \263 \007 \013 " +
4227
- "/v1/replays\032 G\312 \371 \263 \007 \020 \302 \371 \263 \007 \013 ReplayChunk\312 \371 \263 \007 \005 \330 " +
4228
- "\371 \263 \007 \001 \312 \371 \263 \007 \006 \312 \371 \263 \007 \001 *\312 \371 \263 \007 \030 \312 \371 \263 \007 \023 !terraform-prov" +
4229
- "iderB\213 \001 \n \031 com.strongdm.api.plumbingB\017 Repl" +
4230
- "aysPlumbingZ5github.com/strongdm/strongd" +
4231
- "m-sdk-go/v3/internal/v1;v1\302 \222 \264 \007 \006 \242 \214 \264 \007 \001 *\302 \222 \264 " +
4232
- "\007 \030 \242 \214 \264 \007 \023 !terraform-providerb\006 proto3"
4405
+ "unkEventB\n \362 \370 \263 \007 \005 \260 \363 \263 \007 \001 \022 !\n \r symmetric_key\030 \003 " +
4406
+ "\001 (\t B\n \362 \370 \263 \007 \005 \260 \363 \263 \007 \001 :2\372 \370 \263 \007 \005 \250 \363 \263 \007 \001 \372 \370 \263 \007 \006 \322 \363 \263 \007 \001 *\372 \370 " +
4407
+ "\263 \007 \030 \322 \363 \263 \007 \023 !terraform-provider\" \231 \001 \n \020 ReplayCh" +
4408
+ "unkEvent\022 \030 \n \004 data\030 \001 \001 (\014 B\n \362 \370 \263 \007 \005 \260 \363 \263 \007 \001 \022 7\n \010 du" +
4409
+ "ration\030 \002 \001 (\013 2\031 .google.protobuf.DurationB" +
4410
+ "\n \362 \370 \263 \007 \005 \260 \363 \263 \007 \001 :2\372 \370 \263 \007 \005 \250 \363 \263 \007 \001 \372 \370 \263 \007 \006 \322 \363 \263 \007 \001 *\372 \370 \263 \007 \030 \322 " +
4411
+ "\363 \263 \007 \023 !terraform-provider2\255 \001 \n \007 Replays\022 Y\n \004 L" +
4412
+ "ist\022 \025 .v1.ReplayListRequest\032 \026 .v1.ReplayLi" +
4413
+ "stResponse\" \" \202 \371 \263 \007 \010 \242 \363 \263 \007 \003 get\202 \371 \263 \007 \020 \252 \363 \263 \007 \013 /v1/r" +
4414
+ "eplays\032 G\312 \371 \263 \007 \020 \302 \371 \263 \007 \013 ReplayChunk\312 \371 \263 \007 \005 \330 \371 \263 \007 \001 \312 " +
4415
+ "\371 \263 \007 \006 \312 \371 \263 \007 \001 *\312 \371 \263 \007 \030 \312 \371 \263 \007 \023 !terraform-providerB" +
4416
+ "\213 \001 \n \031 com.strongdm.api.plumbingB\017 ReplaysPl" +
4417
+ "umbingZ5github.com/strongdm/strongdm-sdk" +
4418
+ "-go/v3/internal/v1;v1\302 \222 \264 \007 \006 \242 \214 \264 \007 \001 *\302 \222 \264 \007 \030 \242 \214 \264 " +
4419
+ "\007 \023 !terraform-providerb\006 proto3"
4233
4420
};
4234
4421
descriptor = com .google .protobuf .Descriptors .FileDescriptor
4235
4422
.internalBuildGeneratedFileFrom (descriptorData ,
@@ -4255,7 +4442,7 @@ public com.strongdm.api.plumbing.ReplaysPlumbing.ReplayChunkEvent getDefaultInst
4255
4442
internal_static_v1_ReplayChunk_fieldAccessorTable = new
4256
4443
com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
4257
4444
internal_static_v1_ReplayChunk_descriptor ,
4258
- new java .lang .String [] { "Data" , "Events" , });
4445
+ new java .lang .String [] { "Data" , "Events" , "SymmetricKey" , });
4259
4446
internal_static_v1_ReplayChunkEvent_descriptor =
4260
4447
getDescriptor ().getMessageTypes ().get (3 );
4261
4448
internal_static_v1_ReplayChunkEvent_fieldAccessorTable = new
0 commit comments