Notes added by 'git notes append'
This commit is contained in:
parent
e830eaa29a
commit
a0722db62a
|
@ -1717,3 +1717,226 @@ func file_event_proto_init() {
|
|||
}
|
||||
|
||||
// `autogen:experiments.pb.go`
|
||||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.2-devel
|
||||
// protoc v3.21.12
|
||||
// source: experiments.proto
|
||||
|
||||
package virtbuf
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
anypb "google.golang.org/protobuf/types/known/anypb"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
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 WhatsThis struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// is it possible to have custom formatting in JSON and TEXT marshal/unmarshal ?
|
||||
Humantest *WhatInfo `protobuf:"bytes,1,opt,name=humantest,proto3" json:"humantest,omitempty"`
|
||||
End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // end time
|
||||
OrigVal *anypb.Any `protobuf:"bytes,3,opt,name=orig_val,json=origVal,proto3" json:"orig_val,omitempty"` // original value
|
||||
NewVal *anypb.Any `protobuf:"bytes,4,opt,name=new_val,json=newVal,proto3" json:"new_val,omitempty"` // new value
|
||||
}
|
||||
|
||||
func (x *WhatsThis) Reset() {
|
||||
*x = WhatsThis{}
|
||||
mi := &file_experiments_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *WhatsThis) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*WhatsThis) ProtoMessage() {}
|
||||
|
||||
func (x *WhatsThis) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_experiments_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 WhatsThis.ProtoReflect.Descriptor instead.
|
||||
func (*WhatsThis) Descriptor() ([]byte, []int) {
|
||||
return file_experiments_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *WhatsThis) GetHumantest() *WhatInfo {
|
||||
if x != nil {
|
||||
return x.Humantest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WhatsThis) GetEnd() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.End
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WhatsThis) GetOrigVal() *anypb.Any {
|
||||
if x != nil {
|
||||
return x.OrigVal
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WhatsThis) GetNewVal() *anypb.Any {
|
||||
if x != nil {
|
||||
return x.NewVal
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// this is for exerimenting
|
||||
type WhatInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Capacity int64 `protobuf:"varint,1,opt,name=capacity,proto3" json:"capacity,omitempty"` // Stores the storage capacity in bytes.
|
||||
}
|
||||
|
||||
func (x *WhatInfo) Reset() {
|
||||
*x = WhatInfo{}
|
||||
mi := &file_experiments_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *WhatInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*WhatInfo) ProtoMessage() {}
|
||||
|
||||
func (x *WhatInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_experiments_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 WhatInfo.ProtoReflect.Descriptor instead.
|
||||
func (*WhatInfo) Descriptor() ([]byte, []int) {
|
||||
return file_experiments_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *WhatInfo) GetCapacity() int64 {
|
||||
if x != nil {
|
||||
return x.Capacity
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_experiments_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_experiments_proto_rawDesc = []byte{
|
||||
0x0a, 0x11, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x69, 0x72, 0x74, 0x62, 0x75, 0x66, 0x1a, 0x1f, 0x67, 0x6f,
|
||||
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
|
||||
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
|
||||
0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x01, 0x0a, 0x09, 0x57, 0x68, 0x61,
|
||||
0x74, 0x73, 0x54, 0x68, 0x69, 0x73, 0x12, 0x2f, 0x0a, 0x09, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x69, 0x72, 0x74,
|
||||
0x62, 0x75, 0x66, 0x2e, 0x57, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x68, 0x75,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||
0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x5f, 0x76, 0x61,
|
||||
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x6f,
|
||||
0x72, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x12, 0x2d, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61,
|
||||
0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x6e,
|
||||
0x65, 0x77, 0x56, 0x61, 0x6c, 0x22, 0x26, 0x0a, 0x08, 0x57, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66,
|
||||
0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_experiments_proto_rawDescOnce sync.Once
|
||||
file_experiments_proto_rawDescData = file_experiments_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_experiments_proto_rawDescGZIP() []byte {
|
||||
file_experiments_proto_rawDescOnce.Do(func() {
|
||||
file_experiments_proto_rawDescData = protoimpl.X.CompressGZIP(file_experiments_proto_rawDescData)
|
||||
})
|
||||
return file_experiments_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_experiments_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_experiments_proto_goTypes = []any{
|
||||
(*WhatsThis)(nil), // 0: virtbuf.WhatsThis
|
||||
(*WhatInfo)(nil), // 1: virtbuf.WhatInfo
|
||||
(*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
|
||||
(*anypb.Any)(nil), // 3: google.protobuf.Any
|
||||
}
|
||||
var file_experiments_proto_depIdxs = []int32{
|
||||
1, // 0: virtbuf.WhatsThis.humantest:type_name -> virtbuf.WhatInfo
|
||||
2, // 1: virtbuf.WhatsThis.end:type_name -> google.protobuf.Timestamp
|
||||
3, // 2: virtbuf.WhatsThis.orig_val:type_name -> google.protobuf.Any
|
||||
3, // 3: virtbuf.WhatsThis.new_val:type_name -> google.protobuf.Any
|
||||
4, // [4:4] is the sub-list for method output_type
|
||||
4, // [4:4] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
4, // [4:4] is the sub-list for extension extendee
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_experiments_proto_init() }
|
||||
func file_experiments_proto_init() {
|
||||
if File_experiments_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_experiments_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_experiments_proto_goTypes,
|
||||
DependencyIndexes: file_experiments_proto_depIdxs,
|
||||
MessageInfos: file_experiments_proto_msgTypes,
|
||||
}.Build()
|
||||
File_experiments_proto = out.File
|
||||
file_experiments_proto_rawDesc = nil
|
||||
file_experiments_proto_goTypes = nil
|
||||
file_experiments_proto_depIdxs = nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue