mirror of
https://github.com/kopia/kopia.git
synced 2026-03-27 10:32:08 -04:00
* cli: added a flag to create repository with v2 index features * content: plumb through compression.ID parameter to content.Manager.WriteContent() * content: expose content.Manager.SupportsContentCompression This allows object manager to decide whether to create compressed object or let the content manager do it. * object: if compression is requested and the repo supports it, pass compression ID to the content manager * cli: show compression status in 'repository status' * cli: output compression information in 'content list' and 'content stats' * content: compression and decompression support * content: unit tests for compression * object: compression tests * testing: added integration tests against v2 index * testing: run all e2e tests with and without content-level compression * htmlui: added UI for specifying index format on creation * cli: additional tests for 'content ls' and 'content stats' * applied pr suggestions
2320 lines
84 KiB
Go
2320 lines
84 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.26.0
|
|
// protoc v3.15.7
|
|
// source: repository_server.proto
|
|
|
|
package grpcapi
|
|
|
|
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)
|
|
)
|
|
|
|
type ErrorResponse_Code int32
|
|
|
|
const (
|
|
ErrorResponse_UNKNOWN_ERROR ErrorResponse_Code = 0
|
|
ErrorResponse_CLIENT_ERROR ErrorResponse_Code = 1
|
|
ErrorResponse_CONTENT_NOT_FOUND ErrorResponse_Code = 2
|
|
ErrorResponse_MANIFEST_NOT_FOUND ErrorResponse_Code = 3
|
|
ErrorResponse_OBJECT_NOT_FOUND ErrorResponse_Code = 4
|
|
ErrorResponse_ACCESS_DENIED ErrorResponse_Code = 5
|
|
ErrorResponse_STREAM_BROKEN ErrorResponse_Code = 6
|
|
)
|
|
|
|
// Enum value maps for ErrorResponse_Code.
|
|
var (
|
|
ErrorResponse_Code_name = map[int32]string{
|
|
0: "UNKNOWN_ERROR",
|
|
1: "CLIENT_ERROR",
|
|
2: "CONTENT_NOT_FOUND",
|
|
3: "MANIFEST_NOT_FOUND",
|
|
4: "OBJECT_NOT_FOUND",
|
|
5: "ACCESS_DENIED",
|
|
6: "STREAM_BROKEN",
|
|
}
|
|
ErrorResponse_Code_value = map[string]int32{
|
|
"UNKNOWN_ERROR": 0,
|
|
"CLIENT_ERROR": 1,
|
|
"CONTENT_NOT_FOUND": 2,
|
|
"MANIFEST_NOT_FOUND": 3,
|
|
"OBJECT_NOT_FOUND": 4,
|
|
"ACCESS_DENIED": 5,
|
|
"STREAM_BROKEN": 6,
|
|
}
|
|
)
|
|
|
|
func (x ErrorResponse_Code) Enum() *ErrorResponse_Code {
|
|
p := new(ErrorResponse_Code)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ErrorResponse_Code) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ErrorResponse_Code) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_repository_server_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ErrorResponse_Code) Type() protoreflect.EnumType {
|
|
return &file_repository_server_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ErrorResponse_Code) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ErrorResponse_Code.Descriptor instead.
|
|
func (ErrorResponse_Code) EnumDescriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{2, 0}
|
|
}
|
|
|
|
// corresponds to content.Info
|
|
type ContentInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
PackedLength uint32 `protobuf:"varint,2,opt,name=packed_length,json=packedLength,proto3" json:"packed_length,omitempty"`
|
|
TimestampSeconds int64 `protobuf:"varint,3,opt,name=timestamp_seconds,json=timestampSeconds,proto3" json:"timestamp_seconds,omitempty"`
|
|
PackBlobId string `protobuf:"bytes,4,opt,name=pack_blob_id,json=packBlobId,proto3" json:"pack_blob_id,omitempty"`
|
|
PackOffset uint32 `protobuf:"varint,5,opt,name=pack_offset,json=packOffset,proto3" json:"pack_offset,omitempty"`
|
|
Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
FormatVersion uint32 `protobuf:"varint,7,opt,name=format_version,json=formatVersion,proto3" json:"format_version,omitempty"`
|
|
OriginalLength uint32 `protobuf:"varint,8,opt,name=original_length,json=originalLength,proto3" json:"original_length,omitempty"`
|
|
}
|
|
|
|
func (x *ContentInfo) Reset() {
|
|
*x = ContentInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ContentInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentInfo) ProtoMessage() {}
|
|
|
|
func (x *ContentInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 ContentInfo.ProtoReflect.Descriptor instead.
|
|
func (*ContentInfo) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ContentInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentInfo) GetPackedLength() uint32 {
|
|
if x != nil {
|
|
return x.PackedLength
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContentInfo) GetTimestampSeconds() int64 {
|
|
if x != nil {
|
|
return x.TimestampSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContentInfo) GetPackBlobId() string {
|
|
if x != nil {
|
|
return x.PackBlobId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentInfo) GetPackOffset() uint32 {
|
|
if x != nil {
|
|
return x.PackOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContentInfo) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ContentInfo) GetFormatVersion() uint32 {
|
|
if x != nil {
|
|
return x.FormatVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContentInfo) GetOriginalLength() uint32 {
|
|
if x != nil {
|
|
return x.OriginalLength
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// corresponds to manifest.EntryMetadata
|
|
type ManifestEntryMetadata struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ModTimeNanos int64 `protobuf:"varint,2,opt,name=mod_time_nanos,json=modTimeNanos,proto3" json:"mod_time_nanos,omitempty"`
|
|
Length int32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
|
|
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *ManifestEntryMetadata) Reset() {
|
|
*x = ManifestEntryMetadata{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ManifestEntryMetadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ManifestEntryMetadata) ProtoMessage() {}
|
|
|
|
func (x *ManifestEntryMetadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 ManifestEntryMetadata.ProtoReflect.Descriptor instead.
|
|
func (*ManifestEntryMetadata) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ManifestEntryMetadata) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ManifestEntryMetadata) GetModTimeNanos() int64 {
|
|
if x != nil {
|
|
return x.ModTimeNanos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ManifestEntryMetadata) GetLength() int32 {
|
|
if x != nil {
|
|
return x.Length
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ManifestEntryMetadata) GetLabels() map[string]string {
|
|
if x != nil {
|
|
return x.Labels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ErrorResponse can be sent in response to any request.
|
|
type ErrorResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=kopia_repository.ErrorResponse_Code" json:"code,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *ErrorResponse) Reset() {
|
|
*x = ErrorResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ErrorResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ErrorResponse) ProtoMessage() {}
|
|
|
|
func (x *ErrorResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 ErrorResponse.ProtoReflect.Descriptor instead.
|
|
func (*ErrorResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ErrorResponse) GetCode() ErrorResponse_Code {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorResponse_UNKNOWN_ERROR
|
|
}
|
|
|
|
func (x *ErrorResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// RepositoryParameters describes repository parameters.
|
|
type RepositoryParameters struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HashFunction string `protobuf:"bytes,1,opt,name=hash_function,json=hashFunction,proto3" json:"hash_function,omitempty"`
|
|
HmacSecret []byte `protobuf:"bytes,2,opt,name=hmac_secret,json=hmacSecret,proto3" json:"hmac_secret,omitempty"`
|
|
Splitter string `protobuf:"bytes,3,opt,name=splitter,proto3" json:"splitter,omitempty"`
|
|
SupportsContentCompression bool `protobuf:"varint,4,opt,name=supports_content_compression,json=supportsContentCompression,proto3" json:"supports_content_compression,omitempty"`
|
|
}
|
|
|
|
func (x *RepositoryParameters) Reset() {
|
|
*x = RepositoryParameters{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RepositoryParameters) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RepositoryParameters) ProtoMessage() {}
|
|
|
|
func (x *RepositoryParameters) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 RepositoryParameters.ProtoReflect.Descriptor instead.
|
|
func (*RepositoryParameters) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RepositoryParameters) GetHashFunction() string {
|
|
if x != nil {
|
|
return x.HashFunction
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RepositoryParameters) GetHmacSecret() []byte {
|
|
if x != nil {
|
|
return x.HmacSecret
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RepositoryParameters) GetSplitter() string {
|
|
if x != nil {
|
|
return x.Splitter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RepositoryParameters) GetSupportsContentCompression() bool {
|
|
if x != nil {
|
|
return x.SupportsContentCompression
|
|
}
|
|
return false
|
|
}
|
|
|
|
// InitializeSessionRequest must be sent by the client as the first request in a session.
|
|
type InitializeSessionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Purpose string `protobuf:"bytes,1,opt,name=purpose,proto3" json:"purpose,omitempty"`
|
|
ReadOnly bool `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
|
|
}
|
|
|
|
func (x *InitializeSessionRequest) Reset() {
|
|
*x = InitializeSessionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InitializeSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InitializeSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *InitializeSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 InitializeSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*InitializeSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *InitializeSessionRequest) GetPurpose() string {
|
|
if x != nil {
|
|
return x.Purpose
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InitializeSessionRequest) GetReadOnly() bool {
|
|
if x != nil {
|
|
return x.ReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
// InitializeSessionResponse will be sent as the first response by the server.
|
|
type InitializeSessionResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Parameters *RepositoryParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
|
|
}
|
|
|
|
func (x *InitializeSessionResponse) Reset() {
|
|
*x = InitializeSessionResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InitializeSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InitializeSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *InitializeSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 InitializeSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*InitializeSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *InitializeSessionResponse) GetParameters() *RepositoryParameters {
|
|
if x != nil {
|
|
return x.Parameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetContentInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ContentId string `protobuf:"bytes,1,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetContentInfoRequest) Reset() {
|
|
*x = GetContentInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetContentInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetContentInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetContentInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 GetContentInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetContentInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetContentInfoRequest) GetContentId() string {
|
|
if x != nil {
|
|
return x.ContentId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetContentInfoResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *ContentInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
|
|
}
|
|
|
|
func (x *GetContentInfoResponse) Reset() {
|
|
*x = GetContentInfoResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetContentInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetContentInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetContentInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 GetContentInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetContentInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetContentInfoResponse) GetInfo() *ContentInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetContentRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ContentId string `protobuf:"bytes,1,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetContentRequest) Reset() {
|
|
*x = GetContentRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetContentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetContentRequest) ProtoMessage() {}
|
|
|
|
func (x *GetContentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 GetContentRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetContentRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetContentRequest) GetContentId() string {
|
|
if x != nil {
|
|
return x.ContentId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetContentResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *GetContentResponse) Reset() {
|
|
*x = GetContentResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetContentResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetContentResponse) ProtoMessage() {}
|
|
|
|
func (x *GetContentResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 GetContentResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetContentResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GetContentResponse) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FlushRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *FlushRequest) Reset() {
|
|
*x = FlushRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FlushRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FlushRequest) ProtoMessage() {}
|
|
|
|
func (x *FlushRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 FlushRequest.ProtoReflect.Descriptor instead.
|
|
func (*FlushRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
type FlushResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *FlushResponse) Reset() {
|
|
*x = FlushResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FlushResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FlushResponse) ProtoMessage() {}
|
|
|
|
func (x *FlushResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 FlushResponse.ProtoReflect.Descriptor instead.
|
|
func (*FlushResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type WriteContentRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
Compression uint32 `protobuf:"varint,3,opt,name=compression,proto3" json:"compression,omitempty"`
|
|
}
|
|
|
|
func (x *WriteContentRequest) Reset() {
|
|
*x = WriteContentRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WriteContentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteContentRequest) ProtoMessage() {}
|
|
|
|
func (x *WriteContentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 WriteContentRequest.ProtoReflect.Descriptor instead.
|
|
func (*WriteContentRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *WriteContentRequest) GetPrefix() string {
|
|
if x != nil {
|
|
return x.Prefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WriteContentRequest) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WriteContentRequest) GetCompression() uint32 {
|
|
if x != nil {
|
|
return x.Compression
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WriteContentResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ContentId string `protobuf:"bytes,1,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
|
|
}
|
|
|
|
func (x *WriteContentResponse) Reset() {
|
|
*x = WriteContentResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WriteContentResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteContentResponse) ProtoMessage() {}
|
|
|
|
func (x *WriteContentResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 WriteContentResponse.ProtoReflect.Descriptor instead.
|
|
func (*WriteContentResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *WriteContentResponse) GetContentId() string {
|
|
if x != nil {
|
|
return x.ContentId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetManifestRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ManifestId string `protobuf:"bytes,1,opt,name=manifest_id,json=manifestId,proto3" json:"manifest_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetManifestRequest) Reset() {
|
|
*x = GetManifestRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetManifestRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetManifestRequest) ProtoMessage() {}
|
|
|
|
func (x *GetManifestRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_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 GetManifestRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetManifestRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *GetManifestRequest) GetManifestId() string {
|
|
if x != nil {
|
|
return x.ManifestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetManifestResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
JsonData []byte `protobuf:"bytes,1,opt,name=json_data,json=jsonData,proto3" json:"json_data,omitempty"`
|
|
Metadata *ManifestEntryMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *GetManifestResponse) Reset() {
|
|
*x = GetManifestResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetManifestResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetManifestResponse) ProtoMessage() {}
|
|
|
|
func (x *GetManifestResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[15]
|
|
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 GetManifestResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetManifestResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *GetManifestResponse) GetJsonData() []byte {
|
|
if x != nil {
|
|
return x.JsonData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetManifestResponse) GetMetadata() *ManifestEntryMetadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutManifestRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
JsonData []byte `protobuf:"bytes,1,opt,name=json_data,json=jsonData,proto3" json:"json_data,omitempty"`
|
|
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *PutManifestRequest) Reset() {
|
|
*x = PutManifestRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PutManifestRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutManifestRequest) ProtoMessage() {}
|
|
|
|
func (x *PutManifestRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[16]
|
|
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 PutManifestRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutManifestRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *PutManifestRequest) GetJsonData() []byte {
|
|
if x != nil {
|
|
return x.JsonData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PutManifestRequest) GetLabels() map[string]string {
|
|
if x != nil {
|
|
return x.Labels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutManifestResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ManifestId string `protobuf:"bytes,1,opt,name=manifest_id,json=manifestId,proto3" json:"manifest_id,omitempty"`
|
|
}
|
|
|
|
func (x *PutManifestResponse) Reset() {
|
|
*x = PutManifestResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PutManifestResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutManifestResponse) ProtoMessage() {}
|
|
|
|
func (x *PutManifestResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[17]
|
|
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 PutManifestResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutManifestResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *PutManifestResponse) GetManifestId() string {
|
|
if x != nil {
|
|
return x.ManifestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteManifestRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ManifestId string `protobuf:"bytes,1,opt,name=manifest_id,json=manifestId,proto3" json:"manifest_id,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteManifestRequest) Reset() {
|
|
*x = DeleteManifestRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteManifestRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteManifestRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteManifestRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[18]
|
|
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 DeleteManifestRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteManifestRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *DeleteManifestRequest) GetManifestId() string {
|
|
if x != nil {
|
|
return x.ManifestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteManifestResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DeleteManifestResponse) Reset() {
|
|
*x = DeleteManifestResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteManifestResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteManifestResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteManifestResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[19]
|
|
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 DeleteManifestResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteManifestResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
type FindManifestsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *FindManifestsRequest) Reset() {
|
|
*x = FindManifestsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FindManifestsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindManifestsRequest) ProtoMessage() {}
|
|
|
|
func (x *FindManifestsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[20]
|
|
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 FindManifestsRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindManifestsRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *FindManifestsRequest) GetLabels() map[string]string {
|
|
if x != nil {
|
|
return x.Labels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FindManifestsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata []*ManifestEntryMetadata `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *FindManifestsResponse) Reset() {
|
|
*x = FindManifestsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FindManifestsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindManifestsResponse) ProtoMessage() {}
|
|
|
|
func (x *FindManifestsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[21]
|
|
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 FindManifestsResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindManifestsResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *FindManifestsResponse) GetMetadata() []*ManifestEntryMetadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SessionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// each SessionRequest returns SessionResponse with request_id matching the request
|
|
// and corresponding type specific to each request. In case of an error, ErrorResponse
|
|
// is returned instead.
|
|
//
|
|
// Types that are assignable to Request:
|
|
// *SessionRequest_InitializeSession
|
|
// *SessionRequest_GetContentInfo
|
|
// *SessionRequest_Flush
|
|
// *SessionRequest_WriteContent
|
|
// *SessionRequest_GetContent
|
|
// *SessionRequest_GetManifest
|
|
// *SessionRequest_PutManifest
|
|
// *SessionRequest_FindManifests
|
|
// *SessionRequest_DeleteManifest
|
|
Request isSessionRequest_Request `protobuf_oneof:"request"`
|
|
}
|
|
|
|
func (x *SessionRequest) Reset() {
|
|
*x = SessionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SessionRequest) ProtoMessage() {}
|
|
|
|
func (x *SessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[22]
|
|
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 SessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*SessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *SessionRequest) GetRequestId() int64 {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SessionRequest) GetRequest() isSessionRequest_Request {
|
|
if m != nil {
|
|
return m.Request
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetInitializeSession() *InitializeSessionRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_InitializeSession); ok {
|
|
return x.InitializeSession
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetGetContentInfo() *GetContentInfoRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_GetContentInfo); ok {
|
|
return x.GetContentInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetFlush() *FlushRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_Flush); ok {
|
|
return x.Flush
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetWriteContent() *WriteContentRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_WriteContent); ok {
|
|
return x.WriteContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetGetContent() *GetContentRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_GetContent); ok {
|
|
return x.GetContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetGetManifest() *GetManifestRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_GetManifest); ok {
|
|
return x.GetManifest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetPutManifest() *PutManifestRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_PutManifest); ok {
|
|
return x.PutManifest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetFindManifests() *FindManifestsRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_FindManifests); ok {
|
|
return x.FindManifests
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionRequest) GetDeleteManifest() *DeleteManifestRequest {
|
|
if x, ok := x.GetRequest().(*SessionRequest_DeleteManifest); ok {
|
|
return x.DeleteManifest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSessionRequest_Request interface {
|
|
isSessionRequest_Request()
|
|
}
|
|
|
|
type SessionRequest_InitializeSession struct {
|
|
InitializeSession *InitializeSessionRequest `protobuf:"bytes,10,opt,name=initialize_session,json=initializeSession,proto3,oneof"`
|
|
}
|
|
|
|
type SessionRequest_GetContentInfo struct {
|
|
GetContentInfo *GetContentInfoRequest `protobuf:"bytes,11,opt,name=get_content_info,json=getContentInfo,proto3,oneof"`
|
|
}
|
|
|
|
type SessionRequest_Flush struct {
|
|
Flush *FlushRequest `protobuf:"bytes,12,opt,name=flush,proto3,oneof"`
|
|
}
|
|
|
|
type SessionRequest_WriteContent struct {
|
|
WriteContent *WriteContentRequest `protobuf:"bytes,13,opt,name=write_content,json=writeContent,proto3,oneof"`
|
|
}
|
|
|
|
type SessionRequest_GetContent struct {
|
|
GetContent *GetContentRequest `protobuf:"bytes,14,opt,name=get_content,json=getContent,proto3,oneof"`
|
|
}
|
|
|
|
type SessionRequest_GetManifest struct {
|
|
GetManifest *GetManifestRequest `protobuf:"bytes,15,opt,name=get_manifest,json=getManifest,proto3,oneof"`
|
|
}
|
|
|
|
type SessionRequest_PutManifest struct {
|
|
PutManifest *PutManifestRequest `protobuf:"bytes,16,opt,name=put_manifest,json=putManifest,proto3,oneof"`
|
|
}
|
|
|
|
type SessionRequest_FindManifests struct {
|
|
FindManifests *FindManifestsRequest `protobuf:"bytes,17,opt,name=find_manifests,json=findManifests,proto3,oneof"`
|
|
}
|
|
|
|
type SessionRequest_DeleteManifest struct {
|
|
DeleteManifest *DeleteManifestRequest `protobuf:"bytes,18,opt,name=delete_manifest,json=deleteManifest,proto3,oneof"`
|
|
}
|
|
|
|
func (*SessionRequest_InitializeSession) isSessionRequest_Request() {}
|
|
|
|
func (*SessionRequest_GetContentInfo) isSessionRequest_Request() {}
|
|
|
|
func (*SessionRequest_Flush) isSessionRequest_Request() {}
|
|
|
|
func (*SessionRequest_WriteContent) isSessionRequest_Request() {}
|
|
|
|
func (*SessionRequest_GetContent) isSessionRequest_Request() {}
|
|
|
|
func (*SessionRequest_GetManifest) isSessionRequest_Request() {}
|
|
|
|
func (*SessionRequest_PutManifest) isSessionRequest_Request() {}
|
|
|
|
func (*SessionRequest_FindManifests) isSessionRequest_Request() {}
|
|
|
|
func (*SessionRequest_DeleteManifest) isSessionRequest_Request() {}
|
|
|
|
type SessionResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // corresponds to request ID
|
|
// Types that are assignable to Response:
|
|
// *SessionResponse_Error
|
|
// *SessionResponse_InitializeSession
|
|
// *SessionResponse_GetContentInfo
|
|
// *SessionResponse_Flush
|
|
// *SessionResponse_WriteContent
|
|
// *SessionResponse_GetContent
|
|
// *SessionResponse_GetManifest
|
|
// *SessionResponse_PutManifest
|
|
// *SessionResponse_FindManifests
|
|
// *SessionResponse_DeleteManifest
|
|
Response isSessionResponse_Response `protobuf_oneof:"response"`
|
|
}
|
|
|
|
func (x *SessionResponse) Reset() {
|
|
*x = SessionResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repository_server_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SessionResponse) ProtoMessage() {}
|
|
|
|
func (x *SessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repository_server_proto_msgTypes[23]
|
|
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 SessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*SessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_repository_server_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *SessionResponse) GetRequestId() int64 {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SessionResponse) GetResponse() isSessionResponse_Response {
|
|
if m != nil {
|
|
return m.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetError() *ErrorResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_Error); ok {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetInitializeSession() *InitializeSessionResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_InitializeSession); ok {
|
|
return x.InitializeSession
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetGetContentInfo() *GetContentInfoResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_GetContentInfo); ok {
|
|
return x.GetContentInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetFlush() *FlushResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_Flush); ok {
|
|
return x.Flush
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetWriteContent() *WriteContentResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_WriteContent); ok {
|
|
return x.WriteContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetGetContent() *GetContentResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_GetContent); ok {
|
|
return x.GetContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetGetManifest() *GetManifestResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_GetManifest); ok {
|
|
return x.GetManifest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetPutManifest() *PutManifestResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_PutManifest); ok {
|
|
return x.PutManifest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetFindManifests() *FindManifestsResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_FindManifests); ok {
|
|
return x.FindManifests
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SessionResponse) GetDeleteManifest() *DeleteManifestResponse {
|
|
if x, ok := x.GetResponse().(*SessionResponse_DeleteManifest); ok {
|
|
return x.DeleteManifest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSessionResponse_Response interface {
|
|
isSessionResponse_Response()
|
|
}
|
|
|
|
type SessionResponse_Error struct {
|
|
Error *ErrorResponse `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_InitializeSession struct {
|
|
InitializeSession *InitializeSessionResponse `protobuf:"bytes,10,opt,name=initialize_session,json=initializeSession,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_GetContentInfo struct {
|
|
GetContentInfo *GetContentInfoResponse `protobuf:"bytes,11,opt,name=get_content_info,json=getContentInfo,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_Flush struct {
|
|
Flush *FlushResponse `protobuf:"bytes,12,opt,name=flush,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_WriteContent struct {
|
|
WriteContent *WriteContentResponse `protobuf:"bytes,13,opt,name=write_content,json=writeContent,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_GetContent struct {
|
|
GetContent *GetContentResponse `protobuf:"bytes,14,opt,name=get_content,json=getContent,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_GetManifest struct {
|
|
GetManifest *GetManifestResponse `protobuf:"bytes,15,opt,name=get_manifest,json=getManifest,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_PutManifest struct {
|
|
PutManifest *PutManifestResponse `protobuf:"bytes,16,opt,name=put_manifest,json=putManifest,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_FindManifests struct {
|
|
FindManifests *FindManifestsResponse `protobuf:"bytes,17,opt,name=find_manifests,json=findManifests,proto3,oneof"`
|
|
}
|
|
|
|
type SessionResponse_DeleteManifest struct {
|
|
DeleteManifest *DeleteManifestResponse `protobuf:"bytes,18,opt,name=delete_manifest,json=deleteManifest,proto3,oneof"`
|
|
}
|
|
|
|
func (*SessionResponse_Error) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_InitializeSession) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_GetContentInfo) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_Flush) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_WriteContent) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_GetContent) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_GetManifest) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_PutManifest) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_FindManifests) isSessionResponse_Response() {}
|
|
|
|
func (*SessionResponse_DeleteManifest) isSessionResponse_Response() {}
|
|
|
|
var File_repository_server_proto protoreflect.FileDescriptor
|
|
|
|
var file_repository_server_proto_rawDesc = []byte{
|
|
0x0a, 0x17, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6b, 0x6f, 0x70, 0x69, 0x61,
|
|
0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x9c, 0x02, 0x0a, 0x0b,
|
|
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70,
|
|
0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0d, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68,
|
|
0x12, 0x2b, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x73, 0x65,
|
|
0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x20, 0x0a,
|
|
0x0c, 0x70, 0x61, 0x63, 0x6b, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x42, 0x6c, 0x6f, 0x62, 0x49, 0x64, 0x12,
|
|
0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
|
0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x6f,
|
|
0x72, 0x6d, 0x61, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01,
|
|
0x28, 0x0d, 0x52, 0x0d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x65,
|
|
0x6e, 0x67, 0x74, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6f, 0x72, 0x69, 0x67,
|
|
0x69, 0x6e, 0x61, 0x6c, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0xed, 0x01, 0x0a, 0x15, 0x4d,
|
|
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61,
|
|
0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x6f, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
|
|
0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x6f,
|
|
0x64, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65,
|
|
0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67,
|
|
0x74, 0x68, 0x12, 0x4b, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73,
|
|
0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65,
|
|
0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a,
|
|
0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfc, 0x01, 0x0a, 0x0d, 0x45,
|
|
0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x04,
|
|
0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x6b, 0x6f, 0x70,
|
|
0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x45, 0x72,
|
|
0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x64, 0x65,
|
|
0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x22, 0x96, 0x01, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x4b,
|
|
0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c,
|
|
0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x15,
|
|
0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f,
|
|
0x55, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x41, 0x4e, 0x49, 0x46, 0x45, 0x53,
|
|
0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x03, 0x12, 0x14, 0x0a,
|
|
0x10, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e,
|
|
0x44, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x44, 0x45,
|
|
0x4e, 0x49, 0x45, 0x44, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d,
|
|
0x5f, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x06, 0x22, 0xba, 0x01, 0x0a, 0x14, 0x52, 0x65,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
|
|
0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x68, 0x61, 0x73, 0x68, 0x46,
|
|
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x6d, 0x61, 0x63, 0x5f,
|
|
0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x68, 0x6d,
|
|
0x61, 0x63, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x70, 0x6c, 0x69,
|
|
0x74, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x70, 0x6c, 0x69,
|
|
0x74, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x1c, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73,
|
|
0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x73, 0x75, 0x70, 0x70,
|
|
0x6f, 0x72, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x72,
|
|
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x51, 0x0a, 0x18, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61,
|
|
0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09,
|
|
0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x63, 0x0a, 0x19, 0x49, 0x6e, 0x69,
|
|
0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65,
|
|
0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x6f, 0x70,
|
|
0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x52, 0x65,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
|
|
0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x36,
|
|
0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x31, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
|
|
0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
|
|
0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69,
|
|
0x6e, 0x66, 0x6f, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f,
|
|
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x28, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
|
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74,
|
|
0x61, 0x22, 0x0e, 0x0a, 0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x22, 0x0f, 0x0a, 0x0d, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x22, 0x63, 0x0a, 0x13, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65,
|
|
0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69,
|
|
0x78, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70,
|
|
0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x14, 0x57, 0x72, 0x69, 0x74, 0x65,
|
|
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x35,
|
|
0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74,
|
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x6e, 0x69, 0x66,
|
|
0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x69,
|
|
0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09,
|
|
0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x08, 0x6d, 0x65, 0x74,
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x6f,
|
|
0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4d,
|
|
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61,
|
|
0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb6,
|
|
0x01, 0x0a, 0x12, 0x50, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x64, 0x61,
|
|
0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x44, 0x61,
|
|
0x74, 0x61, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73,
|
|
0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x50, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b,
|
|
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x36, 0x0a, 0x13, 0x50, 0x75, 0x74, 0x4d, 0x61,
|
|
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22,
|
|
0x38, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x6e, 0x69,
|
|
0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d,
|
|
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c,
|
|
0x65, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x69,
|
|
0x66, 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06,
|
|
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6b,
|
|
0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e,
|
|
0x46, 0x69, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65,
|
|
0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
|
0x02, 0x38, 0x01, 0x22, 0x5c, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
|
0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x08,
|
|
0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
|
|
0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
|
|
0x79, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4d,
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
|
0x61, 0x22, 0xf5, 0x05, 0x0a, 0x0e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a,
|
|
0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x2a, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f,
|
|
0x72, 0x79, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x11, 0x69,
|
|
0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x12, 0x53, 0x0a, 0x10, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x6f, 0x70,
|
|
0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x47, 0x65,
|
|
0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
|
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x05, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x18, 0x0c,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70,
|
|
0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x12, 0x4c, 0x0a,
|
|
0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70,
|
|
0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x77,
|
|
0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x0b, 0x67,
|
|
0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x23, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
|
0x6f, 0x72, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x0c, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66,
|
|
0x65, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x6f, 0x70, 0x69,
|
|
0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x47, 0x65, 0x74,
|
|
0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48,
|
|
0x00, 0x52, 0x0b, 0x67, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x49,
|
|
0x0a, 0x0c, 0x70, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x10,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70,
|
|
0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x50, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
|
0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x75,
|
|
0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x0e, 0x66, 0x69, 0x6e,
|
|
0x64, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
|
|
0x74, 0x6f, 0x72, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
|
0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x66, 0x69, 0x6e,
|
|
0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x73, 0x12, 0x52, 0x0a, 0x0f, 0x64, 0x65,
|
|
0x6c, 0x65, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x12, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f,
|
|
0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x6e,
|
|
0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0e,
|
|
0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x42, 0x09,
|
|
0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xb9, 0x06, 0x0a, 0x0f, 0x53, 0x65,
|
|
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x05,
|
|
0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x6f,
|
|
0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x45,
|
|
0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x05,
|
|
0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5c, 0x0a, 0x12, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c,
|
|
0x69, 0x7a, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x2b, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
|
|
0x74, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53,
|
|
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00,
|
|
0x52, 0x11, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x73, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x10, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
|
|
0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79,
|
|
0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x67, 0x65, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x66, 0x6c, 0x75,
|
|
0x73, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61,
|
|
0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x46, 0x6c, 0x75, 0x73,
|
|
0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x05, 0x66, 0x6c, 0x75,
|
|
0x73, 0x68, 0x12, 0x4d, 0x0a, 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x6f, 0x70, 0x69,
|
|
0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x57, 0x72, 0x69,
|
|
0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x48, 0x00, 0x52, 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
|
0x74, 0x12, 0x47, 0x0a, 0x0b, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
|
0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72,
|
|
0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0a,
|
|
0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x0c, 0x67, 0x65,
|
|
0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x25, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
|
0x6f, 0x72, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x67, 0x65, 0x74, 0x4d, 0x61,
|
|
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x0c, 0x70, 0x75, 0x74, 0x5f, 0x6d, 0x61,
|
|
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b,
|
|
0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e,
|
|
0x50, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65,
|
|
0x73, 0x74, 0x12, 0x50, 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66,
|
|
0x65, 0x73, 0x74, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x6f, 0x70,
|
|
0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x46, 0x69,
|
|
0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x66, 0x69, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
|
0x65, 0x73, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x6d,
|
|
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
|
|
0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79,
|
|
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74,
|
|
0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x65, 0x0a, 0x0f, 0x4b, 0x6f, 0x70, 0x69, 0x61, 0x52, 0x65,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x52, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65, 0x70, 0x6f,
|
|
0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x5f, 0x72, 0x65,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x29, 0x5a, 0x27,
|
|
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x6f, 0x70, 0x69, 0x61,
|
|
0x2f, 0x6b, 0x6f, 0x70, 0x69, 0x61, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
|
|
0x67, 0x72, 0x70, 0x63, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_repository_server_proto_rawDescOnce sync.Once
|
|
file_repository_server_proto_rawDescData = file_repository_server_proto_rawDesc
|
|
)
|
|
|
|
func file_repository_server_proto_rawDescGZIP() []byte {
|
|
file_repository_server_proto_rawDescOnce.Do(func() {
|
|
file_repository_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_repository_server_proto_rawDescData)
|
|
})
|
|
return file_repository_server_proto_rawDescData
|
|
}
|
|
|
|
var file_repository_server_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_repository_server_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
|
|
var file_repository_server_proto_goTypes = []interface{}{
|
|
(ErrorResponse_Code)(0), // 0: kopia_repository.ErrorResponse.Code
|
|
(*ContentInfo)(nil), // 1: kopia_repository.ContentInfo
|
|
(*ManifestEntryMetadata)(nil), // 2: kopia_repository.ManifestEntryMetadata
|
|
(*ErrorResponse)(nil), // 3: kopia_repository.ErrorResponse
|
|
(*RepositoryParameters)(nil), // 4: kopia_repository.RepositoryParameters
|
|
(*InitializeSessionRequest)(nil), // 5: kopia_repository.InitializeSessionRequest
|
|
(*InitializeSessionResponse)(nil), // 6: kopia_repository.InitializeSessionResponse
|
|
(*GetContentInfoRequest)(nil), // 7: kopia_repository.GetContentInfoRequest
|
|
(*GetContentInfoResponse)(nil), // 8: kopia_repository.GetContentInfoResponse
|
|
(*GetContentRequest)(nil), // 9: kopia_repository.GetContentRequest
|
|
(*GetContentResponse)(nil), // 10: kopia_repository.GetContentResponse
|
|
(*FlushRequest)(nil), // 11: kopia_repository.FlushRequest
|
|
(*FlushResponse)(nil), // 12: kopia_repository.FlushResponse
|
|
(*WriteContentRequest)(nil), // 13: kopia_repository.WriteContentRequest
|
|
(*WriteContentResponse)(nil), // 14: kopia_repository.WriteContentResponse
|
|
(*GetManifestRequest)(nil), // 15: kopia_repository.GetManifestRequest
|
|
(*GetManifestResponse)(nil), // 16: kopia_repository.GetManifestResponse
|
|
(*PutManifestRequest)(nil), // 17: kopia_repository.PutManifestRequest
|
|
(*PutManifestResponse)(nil), // 18: kopia_repository.PutManifestResponse
|
|
(*DeleteManifestRequest)(nil), // 19: kopia_repository.DeleteManifestRequest
|
|
(*DeleteManifestResponse)(nil), // 20: kopia_repository.DeleteManifestResponse
|
|
(*FindManifestsRequest)(nil), // 21: kopia_repository.FindManifestsRequest
|
|
(*FindManifestsResponse)(nil), // 22: kopia_repository.FindManifestsResponse
|
|
(*SessionRequest)(nil), // 23: kopia_repository.SessionRequest
|
|
(*SessionResponse)(nil), // 24: kopia_repository.SessionResponse
|
|
nil, // 25: kopia_repository.ManifestEntryMetadata.LabelsEntry
|
|
nil, // 26: kopia_repository.PutManifestRequest.LabelsEntry
|
|
nil, // 27: kopia_repository.FindManifestsRequest.LabelsEntry
|
|
}
|
|
var file_repository_server_proto_depIdxs = []int32{
|
|
25, // 0: kopia_repository.ManifestEntryMetadata.labels:type_name -> kopia_repository.ManifestEntryMetadata.LabelsEntry
|
|
0, // 1: kopia_repository.ErrorResponse.code:type_name -> kopia_repository.ErrorResponse.Code
|
|
4, // 2: kopia_repository.InitializeSessionResponse.parameters:type_name -> kopia_repository.RepositoryParameters
|
|
1, // 3: kopia_repository.GetContentInfoResponse.info:type_name -> kopia_repository.ContentInfo
|
|
2, // 4: kopia_repository.GetManifestResponse.metadata:type_name -> kopia_repository.ManifestEntryMetadata
|
|
26, // 5: kopia_repository.PutManifestRequest.labels:type_name -> kopia_repository.PutManifestRequest.LabelsEntry
|
|
27, // 6: kopia_repository.FindManifestsRequest.labels:type_name -> kopia_repository.FindManifestsRequest.LabelsEntry
|
|
2, // 7: kopia_repository.FindManifestsResponse.metadata:type_name -> kopia_repository.ManifestEntryMetadata
|
|
5, // 8: kopia_repository.SessionRequest.initialize_session:type_name -> kopia_repository.InitializeSessionRequest
|
|
7, // 9: kopia_repository.SessionRequest.get_content_info:type_name -> kopia_repository.GetContentInfoRequest
|
|
11, // 10: kopia_repository.SessionRequest.flush:type_name -> kopia_repository.FlushRequest
|
|
13, // 11: kopia_repository.SessionRequest.write_content:type_name -> kopia_repository.WriteContentRequest
|
|
9, // 12: kopia_repository.SessionRequest.get_content:type_name -> kopia_repository.GetContentRequest
|
|
15, // 13: kopia_repository.SessionRequest.get_manifest:type_name -> kopia_repository.GetManifestRequest
|
|
17, // 14: kopia_repository.SessionRequest.put_manifest:type_name -> kopia_repository.PutManifestRequest
|
|
21, // 15: kopia_repository.SessionRequest.find_manifests:type_name -> kopia_repository.FindManifestsRequest
|
|
19, // 16: kopia_repository.SessionRequest.delete_manifest:type_name -> kopia_repository.DeleteManifestRequest
|
|
3, // 17: kopia_repository.SessionResponse.error:type_name -> kopia_repository.ErrorResponse
|
|
6, // 18: kopia_repository.SessionResponse.initialize_session:type_name -> kopia_repository.InitializeSessionResponse
|
|
8, // 19: kopia_repository.SessionResponse.get_content_info:type_name -> kopia_repository.GetContentInfoResponse
|
|
12, // 20: kopia_repository.SessionResponse.flush:type_name -> kopia_repository.FlushResponse
|
|
14, // 21: kopia_repository.SessionResponse.write_content:type_name -> kopia_repository.WriteContentResponse
|
|
10, // 22: kopia_repository.SessionResponse.get_content:type_name -> kopia_repository.GetContentResponse
|
|
16, // 23: kopia_repository.SessionResponse.get_manifest:type_name -> kopia_repository.GetManifestResponse
|
|
18, // 24: kopia_repository.SessionResponse.put_manifest:type_name -> kopia_repository.PutManifestResponse
|
|
22, // 25: kopia_repository.SessionResponse.find_manifests:type_name -> kopia_repository.FindManifestsResponse
|
|
20, // 26: kopia_repository.SessionResponse.delete_manifest:type_name -> kopia_repository.DeleteManifestResponse
|
|
23, // 27: kopia_repository.KopiaRepository.Session:input_type -> kopia_repository.SessionRequest
|
|
24, // 28: kopia_repository.KopiaRepository.Session:output_type -> kopia_repository.SessionResponse
|
|
28, // [28:29] is the sub-list for method output_type
|
|
27, // [27:28] is the sub-list for method input_type
|
|
27, // [27:27] is the sub-list for extension type_name
|
|
27, // [27:27] is the sub-list for extension extendee
|
|
0, // [0:27] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_repository_server_proto_init() }
|
|
func file_repository_server_proto_init() {
|
|
if File_repository_server_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_repository_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ContentInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ManifestEntryMetadata); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ErrorResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RepositoryParameters); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InitializeSessionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InitializeSessionResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetContentInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetContentInfoResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetContentRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetContentResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FlushRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FlushResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WriteContentRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WriteContentResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetManifestRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetManifestResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PutManifestRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PutManifestResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteManifestRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteManifestResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FindManifestsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FindManifestsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SessionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SessionResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_repository_server_proto_msgTypes[22].OneofWrappers = []interface{}{
|
|
(*SessionRequest_InitializeSession)(nil),
|
|
(*SessionRequest_GetContentInfo)(nil),
|
|
(*SessionRequest_Flush)(nil),
|
|
(*SessionRequest_WriteContent)(nil),
|
|
(*SessionRequest_GetContent)(nil),
|
|
(*SessionRequest_GetManifest)(nil),
|
|
(*SessionRequest_PutManifest)(nil),
|
|
(*SessionRequest_FindManifests)(nil),
|
|
(*SessionRequest_DeleteManifest)(nil),
|
|
}
|
|
file_repository_server_proto_msgTypes[23].OneofWrappers = []interface{}{
|
|
(*SessionResponse_Error)(nil),
|
|
(*SessionResponse_InitializeSession)(nil),
|
|
(*SessionResponse_GetContentInfo)(nil),
|
|
(*SessionResponse_Flush)(nil),
|
|
(*SessionResponse_WriteContent)(nil),
|
|
(*SessionResponse_GetContent)(nil),
|
|
(*SessionResponse_GetManifest)(nil),
|
|
(*SessionResponse_PutManifest)(nil),
|
|
(*SessionResponse_FindManifests)(nil),
|
|
(*SessionResponse_DeleteManifest)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_repository_server_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 27,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_repository_server_proto_goTypes,
|
|
DependencyIndexes: file_repository_server_proto_depIdxs,
|
|
EnumInfos: file_repository_server_proto_enumTypes,
|
|
MessageInfos: file_repository_server_proto_msgTypes,
|
|
}.Build()
|
|
File_repository_server_proto = out.File
|
|
file_repository_server_proto_rawDesc = nil
|
|
file_repository_server_proto_goTypes = nil
|
|
file_repository_server_proto_depIdxs = nil
|
|
}
|