155 lines
6.2 KiB
Go
155 lines
6.2 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: encryption_access.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/gogo/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type EncryptionAccess struct {
|
|
DefaultKey []byte `protobuf:"bytes,1,opt,name=default_key,json=defaultKey,proto3" json:"default_key,omitempty"`
|
|
StoreEntries []*EncryptionAccess_StoreEntry `protobuf:"bytes,2,rep,name=store_entries,json=storeEntries,proto3" json:"store_entries,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *EncryptionAccess) Reset() { *m = EncryptionAccess{} }
|
|
func (m *EncryptionAccess) String() string { return proto.CompactTextString(m) }
|
|
func (*EncryptionAccess) ProtoMessage() {}
|
|
func (*EncryptionAccess) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_464b1a18bff4a17b, []int{0}
|
|
}
|
|
func (m *EncryptionAccess) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_EncryptionAccess.Unmarshal(m, b)
|
|
}
|
|
func (m *EncryptionAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_EncryptionAccess.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *EncryptionAccess) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_EncryptionAccess.Merge(m, src)
|
|
}
|
|
func (m *EncryptionAccess) XXX_Size() int {
|
|
return xxx_messageInfo_EncryptionAccess.Size(m)
|
|
}
|
|
func (m *EncryptionAccess) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_EncryptionAccess.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_EncryptionAccess proto.InternalMessageInfo
|
|
|
|
func (m *EncryptionAccess) GetDefaultKey() []byte {
|
|
if m != nil {
|
|
return m.DefaultKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *EncryptionAccess) GetStoreEntries() []*EncryptionAccess_StoreEntry {
|
|
if m != nil {
|
|
return m.StoreEntries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EncryptionAccess_StoreEntry struct {
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
UnencryptedPath []byte `protobuf:"bytes,2,opt,name=unencrypted_path,json=unencryptedPath,proto3" json:"unencrypted_path,omitempty"`
|
|
EncryptedPath []byte `protobuf:"bytes,3,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
|
|
Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *EncryptionAccess_StoreEntry) Reset() { *m = EncryptionAccess_StoreEntry{} }
|
|
func (m *EncryptionAccess_StoreEntry) String() string { return proto.CompactTextString(m) }
|
|
func (*EncryptionAccess_StoreEntry) ProtoMessage() {}
|
|
func (*EncryptionAccess_StoreEntry) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_464b1a18bff4a17b, []int{0, 0}
|
|
}
|
|
func (m *EncryptionAccess_StoreEntry) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_EncryptionAccess_StoreEntry.Unmarshal(m, b)
|
|
}
|
|
func (m *EncryptionAccess_StoreEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_EncryptionAccess_StoreEntry.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *EncryptionAccess_StoreEntry) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_EncryptionAccess_StoreEntry.Merge(m, src)
|
|
}
|
|
func (m *EncryptionAccess_StoreEntry) XXX_Size() int {
|
|
return xxx_messageInfo_EncryptionAccess_StoreEntry.Size(m)
|
|
}
|
|
func (m *EncryptionAccess_StoreEntry) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_EncryptionAccess_StoreEntry.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_EncryptionAccess_StoreEntry proto.InternalMessageInfo
|
|
|
|
func (m *EncryptionAccess_StoreEntry) GetBucket() []byte {
|
|
if m != nil {
|
|
return m.Bucket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *EncryptionAccess_StoreEntry) GetUnencryptedPath() []byte {
|
|
if m != nil {
|
|
return m.UnencryptedPath
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *EncryptionAccess_StoreEntry) GetEncryptedPath() []byte {
|
|
if m != nil {
|
|
return m.EncryptedPath
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *EncryptionAccess_StoreEntry) GetKey() []byte {
|
|
if m != nil {
|
|
return m.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*EncryptionAccess)(nil), "encryption_access.EncryptionAccess")
|
|
proto.RegisterType((*EncryptionAccess_StoreEntry)(nil), "encryption_access.EncryptionAccess.StoreEntry")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("encryption_access.proto", fileDescriptor_464b1a18bff4a17b) }
|
|
|
|
var fileDescriptor_464b1a18bff4a17b = []byte{
|
|
// 219 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0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