mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 11:46:06 +00:00
303 lines
10 KiB
Go
303 lines
10 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11-devel
|
|
// protoc v4.25.2
|
|
// source: BackupItemAction.proto
|
|
|
|
package generated
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 ExecuteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Item []byte `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
Backup []byte `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ExecuteRequest) Reset() {
|
|
*x = ExecuteRequest{}
|
|
mi := &file_BackupItemAction_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ExecuteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExecuteRequest) ProtoMessage() {}
|
|
|
|
func (x *ExecuteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_BackupItemAction_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
|
|
func (*ExecuteRequest) Descriptor() ([]byte, []int) {
|
|
return file_BackupItemAction_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ExecuteRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ExecuteRequest) GetItem() []byte {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecuteRequest) GetBackup() []byte {
|
|
if x != nil {
|
|
return x.Backup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ExecuteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item []byte `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
AdditionalItems []*ResourceIdentifier `protobuf:"bytes,2,rep,name=additionalItems,proto3" json:"additionalItems,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ExecuteResponse) Reset() {
|
|
*x = ExecuteResponse{}
|
|
mi := &file_BackupItemAction_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ExecuteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExecuteResponse) ProtoMessage() {}
|
|
|
|
func (x *ExecuteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_BackupItemAction_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.
|
|
func (*ExecuteResponse) Descriptor() ([]byte, []int) {
|
|
return file_BackupItemAction_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ExecuteResponse) GetItem() []byte {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecuteResponse) GetAdditionalItems() []*ResourceIdentifier {
|
|
if x != nil {
|
|
return x.AdditionalItems
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BackupItemActionAppliesToRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BackupItemActionAppliesToRequest) Reset() {
|
|
*x = BackupItemActionAppliesToRequest{}
|
|
mi := &file_BackupItemAction_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BackupItemActionAppliesToRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BackupItemActionAppliesToRequest) ProtoMessage() {}
|
|
|
|
func (x *BackupItemActionAppliesToRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_BackupItemAction_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BackupItemActionAppliesToRequest.ProtoReflect.Descriptor instead.
|
|
func (*BackupItemActionAppliesToRequest) Descriptor() ([]byte, []int) {
|
|
return file_BackupItemAction_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *BackupItemActionAppliesToRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BackupItemActionAppliesToResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ResourceSelector *ResourceSelector `protobuf:"bytes,1,opt,name=ResourceSelector,proto3" json:"ResourceSelector,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BackupItemActionAppliesToResponse) Reset() {
|
|
*x = BackupItemActionAppliesToResponse{}
|
|
mi := &file_BackupItemAction_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BackupItemActionAppliesToResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BackupItemActionAppliesToResponse) ProtoMessage() {}
|
|
|
|
func (x *BackupItemActionAppliesToResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_BackupItemAction_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BackupItemActionAppliesToResponse.ProtoReflect.Descriptor instead.
|
|
func (*BackupItemActionAppliesToResponse) Descriptor() ([]byte, []int) {
|
|
return file_BackupItemAction_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *BackupItemActionAppliesToResponse) GetResourceSelector() *ResourceSelector {
|
|
if x != nil {
|
|
return x.ResourceSelector
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_BackupItemAction_proto protoreflect.FileDescriptor
|
|
|
|
const file_BackupItemAction_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x16BackupItemAction.proto\x12\tgenerated\x1a\fShared.proto\"T\n" +
|
|
"\x0eExecuteRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x12\n" +
|
|
"\x04item\x18\x02 \x01(\fR\x04item\x12\x16\n" +
|
|
"\x06backup\x18\x03 \x01(\fR\x06backup\"n\n" +
|
|
"\x0fExecuteResponse\x12\x12\n" +
|
|
"\x04item\x18\x01 \x01(\fR\x04item\x12G\n" +
|
|
"\x0fadditionalItems\x18\x02 \x03(\v2\x1d.generated.ResourceIdentifierR\x0fadditionalItems\":\n" +
|
|
" BackupItemActionAppliesToRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\"l\n" +
|
|
"!BackupItemActionAppliesToResponse\x12G\n" +
|
|
"\x10ResourceSelector\x18\x01 \x01(\v2\x1b.generated.ResourceSelectorR\x10ResourceSelector2\xbc\x01\n" +
|
|
"\x10BackupItemAction\x12f\n" +
|
|
"\tAppliesTo\x12+.generated.BackupItemActionAppliesToRequest\x1a,.generated.BackupItemActionAppliesToResponse\x12@\n" +
|
|
"\aExecute\x12\x19.generated.ExecuteRequest\x1a\x1a.generated.ExecuteResponseB5Z3github.com/vmware-tanzu/velero/pkg/plugin/generatedb\x06proto3"
|
|
|
|
var (
|
|
file_BackupItemAction_proto_rawDescOnce sync.Once
|
|
file_BackupItemAction_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_BackupItemAction_proto_rawDescGZIP() []byte {
|
|
file_BackupItemAction_proto_rawDescOnce.Do(func() {
|
|
file_BackupItemAction_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_BackupItemAction_proto_rawDesc), len(file_BackupItemAction_proto_rawDesc)))
|
|
})
|
|
return file_BackupItemAction_proto_rawDescData
|
|
}
|
|
|
|
var file_BackupItemAction_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_BackupItemAction_proto_goTypes = []any{
|
|
(*ExecuteRequest)(nil), // 0: generated.ExecuteRequest
|
|
(*ExecuteResponse)(nil), // 1: generated.ExecuteResponse
|
|
(*BackupItemActionAppliesToRequest)(nil), // 2: generated.BackupItemActionAppliesToRequest
|
|
(*BackupItemActionAppliesToResponse)(nil), // 3: generated.BackupItemActionAppliesToResponse
|
|
(*ResourceIdentifier)(nil), // 4: generated.ResourceIdentifier
|
|
(*ResourceSelector)(nil), // 5: generated.ResourceSelector
|
|
}
|
|
var file_BackupItemAction_proto_depIdxs = []int32{
|
|
4, // 0: generated.ExecuteResponse.additionalItems:type_name -> generated.ResourceIdentifier
|
|
5, // 1: generated.BackupItemActionAppliesToResponse.ResourceSelector:type_name -> generated.ResourceSelector
|
|
2, // 2: generated.BackupItemAction.AppliesTo:input_type -> generated.BackupItemActionAppliesToRequest
|
|
0, // 3: generated.BackupItemAction.Execute:input_type -> generated.ExecuteRequest
|
|
3, // 4: generated.BackupItemAction.AppliesTo:output_type -> generated.BackupItemActionAppliesToResponse
|
|
1, // 5: generated.BackupItemAction.Execute:output_type -> generated.ExecuteResponse
|
|
4, // [4:6] is the sub-list for method output_type
|
|
2, // [2:4] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_BackupItemAction_proto_init() }
|
|
func file_BackupItemAction_proto_init() {
|
|
if File_BackupItemAction_proto != nil {
|
|
return
|
|
}
|
|
file_Shared_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_BackupItemAction_proto_rawDesc), len(file_BackupItemAction_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_BackupItemAction_proto_goTypes,
|
|
DependencyIndexes: file_BackupItemAction_proto_depIdxs,
|
|
MessageInfos: file_BackupItemAction_proto_msgTypes,
|
|
}.Build()
|
|
File_BackupItemAction_proto = out.File
|
|
file_BackupItemAction_proto_goTypes = nil
|
|
file_BackupItemAction_proto_depIdxs = nil
|
|
}
|