Skip to content
Snippets Groups Projects
kmsintercom.pb.go 55.8 KiB
Newer Older
  • Learn to ignore specific revisions
  • Malte Bauch's avatar
    Malte Bauch committed
    // Code generated by protoc-gen-go. DO NOT EDIT.
    // versions:
    
    // 	protoc-gen-go v1.34.2
    
    Malte Bauch's avatar
    Malte Bauch committed
    // 	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)
    )
    
    
    Malte Bauch's avatar
    Malte Bauch committed
    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}
    }
    
    
    Malte Bauch's avatar
    Malte Bauch committed
    // 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"`
    
    Malte Bauch's avatar
    Malte Bauch committed
    }
    
    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 {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	if x != nil {
    
    func (x *InterComCapabilitiesRequest) GetResetKeyStore() bool {
    	if x != nil {
    		return x.ResetKeyStore
    	}
    	return false
    }
    
    
    Malte Bauch's avatar
    Malte Bauch committed
    // 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"`
    
    Malte Bauch's avatar
    Malte Bauch committed
    }
    
    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
    }
    
    
    Malte Bauch's avatar
    Malte Bauch committed
    func (x *InterComCapabilitiesReply) GetPeerKmsName() string {
    	if x != nil {
    		return x.PeerKmsName
    	}
    	return ""
    }
    
    
    type SyncQkdBulkRequest struct {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	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{}
    
    Malte Bauch's avatar
    Malte Bauch committed
    	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 {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	return protoimpl.X.MessageStringOf(x)
    }
    
    
    func (*SyncQkdBulkRequest) ProtoMessage() {}
    
    func (x *SyncQkdBulkRequest) ProtoReflect() protoreflect.Message {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	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) {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	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 {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	if x != nil {
    
    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"`
    
    }
    
    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 {
    
    	}
    	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
    }
    
    
    type SyncQkdBulkResponse struct {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	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{}
    
    Malte Bauch's avatar
    Malte Bauch committed
    	if protoimpl.UnsafeEnabled {
    
    		mi := &file_kmsintercom_kmsintercom_proto_msgTypes[5]
    
    Malte Bauch's avatar
    Malte Bauch committed
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    
    func (x *SyncQkdBulkResponse) String() string {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	return protoimpl.X.MessageStringOf(x)
    }
    
    
    func (*SyncQkdBulkResponse) ProtoMessage() {}
    
    func (x *SyncQkdBulkResponse) ProtoReflect() protoreflect.Message {
    
    	mi := &file_kmsintercom_kmsintercom_proto_msgTypes[5]
    
    Malte Bauch's avatar
    Malte Bauch committed
    	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
    
    
    Malte Bauch's avatar
    Malte Bauch committed
    	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 {
    
    Malte Bauch's avatar
    Malte Bauch committed
    	if x != nil {
    
    		return x.PathId
    
    func (x *KeyForwardingRequest) GetProcessId() string {
    	if x != nil {
    		return x.ProcessId
    	}
    	return ""
    }
    
    
    Malte Bauch's avatar
    Malte Bauch committed
    func (x *KeyForwardingRequest) GetCryptoAlgorithm() CryptoAlgorithm {
    	if x != nil {
    		return x.CryptoAlgorithm
    	}
    	return CryptoAlgorithm_AES_256_GCM
    }
    
    
    func (x *KeyForwardingRequest) GetKey() *Key {
    
    	if x != nil {
    
    }
    
    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
    }
    
    
    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 {
    
    	if x != nil {
    
    	}
    	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
    
    
    Malte Bauch's avatar
    Malte Bauch committed
    	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 {
    
    	if x != nil {
    
    func (x *KeyDeliveryRequest) GetKeyId() string {
    	if x != nil {
    		return x.KeyId
    	}
    	return ""
    }
    
    
    func (x *KeyDeliveryRequest) GetRequestId() string {
    	if x != nil {
    		return x.RequestId
    	}
    	return ""
    }
    
    
    Malte Bauch's avatar
    Malte Bauch committed
    func (x *KeyDeliveryRequest) GetCryptoAlgorithm() CryptoAlgorithm {
    	if x != nil {
    		return x.CryptoAlgorithm
    	}
    	return CryptoAlgorithm_AES_256_GCM
    }
    
    
    Fabian Seidl's avatar
    Fabian Seidl committed
    func (x *KeyDeliveryRequest) GetKeys() []*Key {
    
    	if x != nil {
    
    Fabian Seidl's avatar
    Fabian Seidl committed
    		return x.Keys
    
    	}
    	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() {}