// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11-devel // protoc v4.25.2 // source: Shared.proto package generated import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" 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 Empty struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Empty) Reset() { *x = Empty{} mi := &file_Shared_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Empty) String() string { return protoimpl.X.MessageStringOf(x) } func (*Empty) ProtoMessage() {} func (x *Empty) ProtoReflect() protoreflect.Message { mi := &file_Shared_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 Empty.ProtoReflect.Descriptor instead. func (*Empty) Descriptor() ([]byte, []int) { return file_Shared_proto_rawDescGZIP(), []int{0} } type Stack struct { state protoimpl.MessageState `protogen:"open.v1"` Frames []*StackFrame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Stack) Reset() { *x = Stack{} mi := &file_Shared_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Stack) String() string { return protoimpl.X.MessageStringOf(x) } func (*Stack) ProtoMessage() {} func (x *Stack) ProtoReflect() protoreflect.Message { mi := &file_Shared_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 Stack.ProtoReflect.Descriptor instead. func (*Stack) Descriptor() ([]byte, []int) { return file_Shared_proto_rawDescGZIP(), []int{1} } func (x *Stack) GetFrames() []*StackFrame { if x != nil { return x.Frames } return nil } type StackFrame struct { state protoimpl.MessageState `protogen:"open.v1"` File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` Function string `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StackFrame) Reset() { *x = StackFrame{} mi := &file_Shared_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StackFrame) String() string { return protoimpl.X.MessageStringOf(x) } func (*StackFrame) ProtoMessage() {} func (x *StackFrame) ProtoReflect() protoreflect.Message { mi := &file_Shared_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 StackFrame.ProtoReflect.Descriptor instead. func (*StackFrame) Descriptor() ([]byte, []int) { return file_Shared_proto_rawDescGZIP(), []int{2} } func (x *StackFrame) GetFile() string { if x != nil { return x.File } return "" } func (x *StackFrame) GetLine() int32 { if x != nil { return x.Line } return 0 } func (x *StackFrame) GetFunction() string { if x != nil { return x.Function } return "" } type ResourceIdentifier struct { state protoimpl.MessageState `protogen:"open.v1"` Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ResourceIdentifier) Reset() { *x = ResourceIdentifier{} mi := &file_Shared_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ResourceIdentifier) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResourceIdentifier) ProtoMessage() {} func (x *ResourceIdentifier) ProtoReflect() protoreflect.Message { mi := &file_Shared_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 ResourceIdentifier.ProtoReflect.Descriptor instead. func (*ResourceIdentifier) Descriptor() ([]byte, []int) { return file_Shared_proto_rawDescGZIP(), []int{3} } func (x *ResourceIdentifier) GetGroup() string { if x != nil { return x.Group } return "" } func (x *ResourceIdentifier) GetResource() string { if x != nil { return x.Resource } return "" } func (x *ResourceIdentifier) GetNamespace() string { if x != nil { return x.Namespace } return "" } func (x *ResourceIdentifier) GetName() string { if x != nil { return x.Name } return "" } type ResourceSelector struct { state protoimpl.MessageState `protogen:"open.v1"` IncludedNamespaces []string `protobuf:"bytes,1,rep,name=includedNamespaces,proto3" json:"includedNamespaces,omitempty"` ExcludedNamespaces []string `protobuf:"bytes,2,rep,name=excludedNamespaces,proto3" json:"excludedNamespaces,omitempty"` IncludedResources []string `protobuf:"bytes,3,rep,name=includedResources,proto3" json:"includedResources,omitempty"` ExcludedResources []string `protobuf:"bytes,4,rep,name=excludedResources,proto3" json:"excludedResources,omitempty"` Selector string `protobuf:"bytes,5,opt,name=selector,proto3" json:"selector,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ResourceSelector) Reset() { *x = ResourceSelector{} mi := &file_Shared_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ResourceSelector) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResourceSelector) ProtoMessage() {} func (x *ResourceSelector) ProtoReflect() protoreflect.Message { mi := &file_Shared_proto_msgTypes[4] 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 ResourceSelector.ProtoReflect.Descriptor instead. func (*ResourceSelector) Descriptor() ([]byte, []int) { return file_Shared_proto_rawDescGZIP(), []int{4} } func (x *ResourceSelector) GetIncludedNamespaces() []string { if x != nil { return x.IncludedNamespaces } return nil } func (x *ResourceSelector) GetExcludedNamespaces() []string { if x != nil { return x.ExcludedNamespaces } return nil } func (x *ResourceSelector) GetIncludedResources() []string { if x != nil { return x.IncludedResources } return nil } func (x *ResourceSelector) GetExcludedResources() []string { if x != nil { return x.ExcludedResources } return nil } func (x *ResourceSelector) GetSelector() string { if x != nil { return x.Selector } return "" } type OperationProgress struct { state protoimpl.MessageState `protogen:"open.v1"` Completed bool `protobuf:"varint,1,opt,name=completed,proto3" json:"completed,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` NCompleted int64 `protobuf:"varint,3,opt,name=nCompleted,proto3" json:"nCompleted,omitempty"` NTotal int64 `protobuf:"varint,4,opt,name=nTotal,proto3" json:"nTotal,omitempty"` OperationUnits string `protobuf:"bytes,5,opt,name=operationUnits,proto3" json:"operationUnits,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Started *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started,proto3" json:"started,omitempty"` Updated *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated,proto3" json:"updated,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *OperationProgress) Reset() { *x = OperationProgress{} mi := &file_Shared_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *OperationProgress) String() string { return protoimpl.X.MessageStringOf(x) } func (*OperationProgress) ProtoMessage() {} func (x *OperationProgress) ProtoReflect() protoreflect.Message { mi := &file_Shared_proto_msgTypes[5] 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 OperationProgress.ProtoReflect.Descriptor instead. func (*OperationProgress) Descriptor() ([]byte, []int) { return file_Shared_proto_rawDescGZIP(), []int{5} } func (x *OperationProgress) GetCompleted() bool { if x != nil { return x.Completed } return false } func (x *OperationProgress) GetErr() string { if x != nil { return x.Err } return "" } func (x *OperationProgress) GetNCompleted() int64 { if x != nil { return x.NCompleted } return 0 } func (x *OperationProgress) GetNTotal() int64 { if x != nil { return x.NTotal } return 0 } func (x *OperationProgress) GetOperationUnits() string { if x != nil { return x.OperationUnits } return "" } func (x *OperationProgress) GetDescription() string { if x != nil { return x.Description } return "" } func (x *OperationProgress) GetStarted() *timestamppb.Timestamp { if x != nil { return x.Started } return nil } func (x *OperationProgress) GetUpdated() *timestamppb.Timestamp { if x != nil { return x.Updated } return nil } var File_Shared_proto protoreflect.FileDescriptor const file_Shared_proto_rawDesc = "" + "\n" + "\fShared.proto\x12\tgenerated\x1a\x1fgoogle/protobuf/timestamp.proto\"\a\n" + "\x05Empty\"6\n" + "\x05Stack\x12-\n" + "\x06frames\x18\x01 \x03(\v2\x15.generated.StackFrameR\x06frames\"P\n" + "\n" + "StackFrame\x12\x12\n" + "\x04file\x18\x01 \x01(\tR\x04file\x12\x12\n" + "\x04line\x18\x02 \x01(\x05R\x04line\x12\x1a\n" + "\bfunction\x18\x03 \x01(\tR\bfunction\"x\n" + "\x12ResourceIdentifier\x12\x14\n" + "\x05group\x18\x01 \x01(\tR\x05group\x12\x1a\n" + "\bresource\x18\x02 \x01(\tR\bresource\x12\x1c\n" + "\tnamespace\x18\x03 \x01(\tR\tnamespace\x12\x12\n" + "\x04name\x18\x04 \x01(\tR\x04name\"\xea\x01\n" + "\x10ResourceSelector\x12.\n" + "\x12includedNamespaces\x18\x01 \x03(\tR\x12includedNamespaces\x12.\n" + "\x12excludedNamespaces\x18\x02 \x03(\tR\x12excludedNamespaces\x12,\n" + "\x11includedResources\x18\x03 \x03(\tR\x11includedResources\x12,\n" + "\x11excludedResources\x18\x04 \x03(\tR\x11excludedResources\x12\x1a\n" + "\bselector\x18\x05 \x01(\tR\bselector\"\xb1\x02\n" + "\x11OperationProgress\x12\x1c\n" + "\tcompleted\x18\x01 \x01(\bR\tcompleted\x12\x10\n" + "\x03err\x18\x02 \x01(\tR\x03err\x12\x1e\n" + "\n" + "nCompleted\x18\x03 \x01(\x03R\n" + "nCompleted\x12\x16\n" + "\x06nTotal\x18\x04 \x01(\x03R\x06nTotal\x12&\n" + "\x0eoperationUnits\x18\x05 \x01(\tR\x0eoperationUnits\x12 \n" + "\vdescription\x18\x06 \x01(\tR\vdescription\x124\n" + "\astarted\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\astarted\x124\n" + "\aupdated\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\aupdatedB5Z3github.com/vmware-tanzu/velero/pkg/plugin/generatedb\x06proto3" var ( file_Shared_proto_rawDescOnce sync.Once file_Shared_proto_rawDescData []byte ) func file_Shared_proto_rawDescGZIP() []byte { file_Shared_proto_rawDescOnce.Do(func() { file_Shared_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_Shared_proto_rawDesc), len(file_Shared_proto_rawDesc))) }) return file_Shared_proto_rawDescData } var file_Shared_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_Shared_proto_goTypes = []any{ (*Empty)(nil), // 0: generated.Empty (*Stack)(nil), // 1: generated.Stack (*StackFrame)(nil), // 2: generated.StackFrame (*ResourceIdentifier)(nil), // 3: generated.ResourceIdentifier (*ResourceSelector)(nil), // 4: generated.ResourceSelector (*OperationProgress)(nil), // 5: generated.OperationProgress (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp } var file_Shared_proto_depIdxs = []int32{ 2, // 0: generated.Stack.frames:type_name -> generated.StackFrame 6, // 1: generated.OperationProgress.started:type_name -> google.protobuf.Timestamp 6, // 2: generated.OperationProgress.updated:type_name -> google.protobuf.Timestamp 3, // [3:3] is the sub-list for method output_type 3, // [3:3] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_Shared_proto_init() } func file_Shared_proto_init() { if File_Shared_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_Shared_proto_rawDesc), len(file_Shared_proto_rawDesc)), NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 0, }, GoTypes: file_Shared_proto_goTypes, DependencyIndexes: file_Shared_proto_depIdxs, MessageInfos: file_Shared_proto_msgTypes, }.Build() File_Shared_proto = out.File file_Shared_proto_goTypes = nil file_Shared_proto_depIdxs = nil }