Newer
Older
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc (unknown)
// source: kmsintercom/kmsintercom.proto
package kmsintercom
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
type CryptoAlgorithm int32
const (
CryptoAlgorithm_AES_256_GCM CryptoAlgorithm = 0
CryptoAlgorithm_OTP CryptoAlgorithm = 1
)
// Enum value maps for CryptoAlgorithm.
var (
CryptoAlgorithm_name = map[int32]string{
0: "AES_256_GCM",
1: "OTP",
}
CryptoAlgorithm_value = map[string]int32{
"AES_256_GCM": 0,
"OTP": 1,
}
)
func (x CryptoAlgorithm) Enum() *CryptoAlgorithm {
p := new(CryptoAlgorithm)
*p = x
return p
}
func (x CryptoAlgorithm) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CryptoAlgorithm) Descriptor() protoreflect.EnumDescriptor {
return file_kmsintercom_kmsintercom_proto_enumTypes[0].Descriptor()
}
func (CryptoAlgorithm) Type() protoreflect.EnumType {
return &file_kmsintercom_kmsintercom_proto_enumTypes[0]
}
func (x CryptoAlgorithm) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CryptoAlgorithm.Descriptor instead.
func (CryptoAlgorithm) EnumDescriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{0}
}
// Capabilities
// The request message containing the requesting kms' name.
type InterComCapabilitiesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
KmsId string `protobuf:"bytes,2,opt,name=kmsId,proto3" json:"kmsId,omitempty"`
ResetKeyStore bool `protobuf:"varint,3,opt,name=resetKeyStore,proto3" json:"resetKeyStore,omitempty"`
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
}
func (x *InterComCapabilitiesRequest) Reset() {
*x = InterComCapabilitiesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InterComCapabilitiesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InterComCapabilitiesRequest) ProtoMessage() {}
func (x *InterComCapabilitiesRequest) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InterComCapabilitiesRequest.ProtoReflect.Descriptor instead.
func (*InterComCapabilitiesRequest) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{0}
}
func (x *InterComCapabilitiesRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *InterComCapabilitiesRequest) GetKmsId() string {
func (x *InterComCapabilitiesRequest) GetResetKeyStore() bool {
if x != nil {
return x.ResetKeyStore
}
return false
}
// The response message containing the replying kms' name.
type InterComCapabilitiesReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
PeerKmsName string `protobuf:"bytes,2,opt,name=peerKmsName,proto3" json:"peerKmsName,omitempty"`
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
}
func (x *InterComCapabilitiesReply) Reset() {
*x = InterComCapabilitiesReply{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InterComCapabilitiesReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InterComCapabilitiesReply) ProtoMessage() {}
func (x *InterComCapabilitiesReply) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InterComCapabilitiesReply.ProtoReflect.Descriptor instead.
func (*InterComCapabilitiesReply) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{1}
}
func (x *InterComCapabilitiesReply) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *InterComCapabilitiesReply) GetPeerKmsName() string {
if x != nil {
return x.PeerKmsName
}
return ""
}
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
KmsId string `protobuf:"bytes,2,opt,name=kmsId,proto3" json:"kmsId,omitempty"`
BulkId []int64 `protobuf:"varint,3,rep,packed,name=bulkId,proto3" json:"bulkId,omitempty"` //string bulkHash = 4;
func (x *SyncQkdBulkRequest) Reset() {
*x = SyncQkdBulkRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncQkdBulkRequest) String() string {
func (*SyncQkdBulkRequest) ProtoMessage() {}
func (x *SyncQkdBulkRequest) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncQkdBulkRequest.ProtoReflect.Descriptor instead.
func (*SyncQkdBulkRequest) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{2}
}
func (x *SyncQkdBulkRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *SyncQkdBulkRequest) GetKmsId() string {
func (x *SyncQkdBulkRequest) GetBulkId() []int64 {
if x != nil {
return x.BulkId
}
return nil
}
type SyncKeyIdsForBulkRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
KmsId string `protobuf:"bytes,2,opt,name=kmsId,proto3" json:"kmsId,omitempty"`
BulkId int64 `protobuf:"varint,3,opt,name=bulkId,proto3" json:"bulkId,omitempty"`
KeyId []string `protobuf:"bytes,4,rep,name=keyId,proto3" json:"keyId,omitempty"`
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
}
func (x *SyncKeyIdsForBulkRequest) Reset() {
*x = SyncKeyIdsForBulkRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncKeyIdsForBulkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncKeyIdsForBulkRequest) ProtoMessage() {}
func (x *SyncKeyIdsForBulkRequest) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncKeyIdsForBulkRequest.ProtoReflect.Descriptor instead.
func (*SyncKeyIdsForBulkRequest) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{3}
}
func (x *SyncKeyIdsForBulkRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *SyncKeyIdsForBulkRequest) GetKmsId() string {
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
}
return ""
}
func (x *SyncKeyIdsForBulkRequest) GetBulkId() int64 {
if x != nil {
return x.BulkId
}
return 0
}
func (x *SyncKeyIdsForBulkRequest) GetKeyId() []string {
if x != nil {
return x.KeyId
}
return nil
}
type SyncKeyIdsForBulkResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *SyncKeyIdsForBulkResponse) Reset() {
*x = SyncKeyIdsForBulkResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncKeyIdsForBulkResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SyncKeyIdsForBulkResponse) ProtoMessage() {}
func (x *SyncKeyIdsForBulkResponse) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncKeyIdsForBulkResponse.ProtoReflect.Descriptor instead.
func (*SyncKeyIdsForBulkResponse) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{4}
}
func (x *SyncKeyIdsForBulkResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
BulkId int64 `protobuf:"varint,2,opt,name=bulkId,proto3" json:"bulkId,omitempty"`
func (x *SyncQkdBulkResponse) Reset() {
*x = SyncQkdBulkResponse{}
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncQkdBulkResponse) String() string {
func (*SyncQkdBulkResponse) ProtoMessage() {}
func (x *SyncQkdBulkResponse) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SyncQkdBulkResponse.ProtoReflect.Descriptor instead.
func (*SyncQkdBulkResponse) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{5}
func (x *SyncQkdBulkResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *SyncQkdBulkResponse) GetBulkId() int64 {
if x != nil {
return x.BulkId
}
return 0
}
// Beim aushandeln
type InterComTransportKeyNegotiationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
PathID string `protobuf:"bytes,2,opt,name=pathID,proto3" json:"pathID,omitempty"`
KeyToUse string `protobuf:"bytes,3,opt,name=keyToUse,proto3" json:"keyToUse,omitempty"`
}
func (x *InterComTransportKeyNegotiationRequest) Reset() {
*x = InterComTransportKeyNegotiationRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InterComTransportKeyNegotiationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InterComTransportKeyNegotiationRequest) ProtoMessage() {}
func (x *InterComTransportKeyNegotiationRequest) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InterComTransportKeyNegotiationRequest.ProtoReflect.Descriptor instead.
func (*InterComTransportKeyNegotiationRequest) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{6}
}
func (x *InterComTransportKeyNegotiationRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *InterComTransportKeyNegotiationRequest) GetPathID() string {
if x != nil {
return x.PathID
}
return ""
}
func (x *InterComTransportKeyNegotiationRequest) GetKeyToUse() string {
if x != nil {
return x.KeyToUse
}
}
type InterComTransportKeyNegotiationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *InterComTransportKeyNegotiationResponse) Reset() {
*x = InterComTransportKeyNegotiationResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InterComTransportKeyNegotiationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InterComTransportKeyNegotiationResponse) ProtoMessage() {}
func (x *InterComTransportKeyNegotiationResponse) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InterComTransportKeyNegotiationResponse.ProtoReflect.Descriptor instead.
func (*InterComTransportKeyNegotiationResponse) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{7}
}
func (x *InterComTransportKeyNegotiationResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
type KeyForwardingRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
PathId string `protobuf:"bytes,2,opt,name=pathId,proto3" json:"pathId,omitempty"`
ProcessId string `protobuf:"bytes,3,opt,name=processId,proto3" json:"processId,omitempty"`
CryptoAlgorithm CryptoAlgorithm `protobuf:"varint,4,opt,name=cryptoAlgorithm,proto3,enum=kmsintercom.CryptoAlgorithm" json:"cryptoAlgorithm,omitempty"`
Key *Key `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"`
}
func (x *KeyForwardingRequest) Reset() {
*x = KeyForwardingRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeyForwardingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyForwardingRequest) ProtoMessage() {}
func (x *KeyForwardingRequest) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KeyForwardingRequest.ProtoReflect.Descriptor instead.
func (*KeyForwardingRequest) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{8}
}
func (x *KeyForwardingRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *KeyForwardingRequest) GetPathId() string {
func (x *KeyForwardingRequest) GetProcessId() string {
if x != nil {
return x.ProcessId
}
return ""
}
func (x *KeyForwardingRequest) GetCryptoAlgorithm() CryptoAlgorithm {
if x != nil {
return x.CryptoAlgorithm
}
return CryptoAlgorithm_AES_256_GCM
}
func (x *KeyForwardingRequest) GetKey() *Key {
}
type KeyForwardingResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *KeyForwardingResponse) Reset() {
*x = KeyForwardingResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeyForwardingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyForwardingResponse) ProtoMessage() {}
func (x *KeyForwardingResponse) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KeyForwardingResponse.ProtoReflect.Descriptor instead.
func (*KeyForwardingResponse) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{9}
}
func (x *KeyForwardingResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
type AckKeyForwardingRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
PathId string `protobuf:"bytes,2,opt,name=pathId,proto3" json:"pathId,omitempty"`
ProcessId string `protobuf:"bytes,3,opt,name=processId,proto3" json:"processId,omitempty"`
KeyId string `protobuf:"bytes,4,opt,name=KeyId,proto3" json:"KeyId,omitempty"`
}
func (x *AckKeyForwardingRequest) Reset() {
*x = AckKeyForwardingRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AckKeyForwardingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AckKeyForwardingRequest) ProtoMessage() {}
func (x *AckKeyForwardingRequest) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AckKeyForwardingRequest.ProtoReflect.Descriptor instead.
func (*AckKeyForwardingRequest) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{10}
}
func (x *AckKeyForwardingRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *AckKeyForwardingRequest) GetPathId() string {
if x != nil {
return x.PathId
}
return ""
}
func (x *AckKeyForwardingRequest) GetProcessId() string {
if x != nil {
return x.ProcessId
}
return ""
}
func (x *AckKeyForwardingRequest) GetKeyId() string {
if x != nil {
return x.KeyId
}
return ""
}
type AckKeyForwardingResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *AckKeyForwardingResponse) Reset() {
*x = AckKeyForwardingResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AckKeyForwardingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AckKeyForwardingResponse) ProtoMessage() {}
func (x *AckKeyForwardingResponse) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AckKeyForwardingResponse.ProtoReflect.Descriptor instead.
func (*AckKeyForwardingResponse) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{11}
}
func (x *AckKeyForwardingResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
type KeyIdNotificationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
KmsId string `protobuf:"bytes,2,opt,name=kmsId,proto3" json:"kmsId,omitempty"`
KeyIds []string `protobuf:"bytes,3,rep,name=keyIds,proto3" json:"keyIds,omitempty"`
}
func (x *KeyIdNotificationRequest) Reset() {
*x = KeyIdNotificationRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeyIdNotificationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyIdNotificationRequest) ProtoMessage() {}
func (x *KeyIdNotificationRequest) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KeyIdNotificationRequest.ProtoReflect.Descriptor instead.
func (*KeyIdNotificationRequest) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{12}
}
func (x *KeyIdNotificationRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *KeyIdNotificationRequest) GetKmsId() string {
}
return ""
}
func (x *KeyIdNotificationRequest) GetKeyIds() []string {
if x != nil {
return x.KeyIds
}
return nil
}
type KeyIdNotificationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *KeyIdNotificationResponse) Reset() {
*x = KeyIdNotificationResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeyIdNotificationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyIdNotificationResponse) ProtoMessage() {}
func (x *KeyIdNotificationResponse) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KeyIdNotificationResponse.ProtoReflect.Descriptor instead.
func (*KeyIdNotificationResponse) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{13}
}
func (x *KeyIdNotificationResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
type KeyDeliveryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
KmsId string `protobuf:"bytes,3,opt,name=kmsId,proto3" json:"kmsId,omitempty"`
KeyId string `protobuf:"bytes,4,opt,name=keyId,proto3" json:"keyId,omitempty"`
RequestId string `protobuf:"bytes,5,opt,name=requestId,proto3" json:"requestId,omitempty"`
CryptoAlgorithm CryptoAlgorithm `protobuf:"varint,6,opt,name=cryptoAlgorithm,proto3,enum=kmsintercom.CryptoAlgorithm" json:"cryptoAlgorithm,omitempty"`
Keys []*Key `protobuf:"bytes,7,rep,name=keys,proto3" json:"keys,omitempty"`
}
func (x *KeyDeliveryRequest) Reset() {
*x = KeyDeliveryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeyDeliveryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyDeliveryRequest) ProtoMessage() {}
func (x *KeyDeliveryRequest) ProtoReflect() protoreflect.Message {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KeyDeliveryRequest.ProtoReflect.Descriptor instead.
func (*KeyDeliveryRequest) Descriptor() ([]byte, []int) {
return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{14}
}
func (x *KeyDeliveryRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *KeyDeliveryRequest) GetKmsId() string {
return x.KmsId
func (x *KeyDeliveryRequest) GetKeyId() string {
if x != nil {
return x.KeyId
}
return ""
}
func (x *KeyDeliveryRequest) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *KeyDeliveryRequest) GetCryptoAlgorithm() CryptoAlgorithm {
if x != nil {
return x.CryptoAlgorithm
}
return CryptoAlgorithm_AES_256_GCM
}
}
return nil
}
type KeyDeliveryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *KeyDeliveryResponse) Reset() {
*x = KeyDeliveryResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_kmsintercom_kmsintercom_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeyDeliveryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyDeliveryResponse) ProtoMessage() {}