blob: 7ebf7993972e89927bd7443c0aeeb329126ddeaa [file] [log] [blame]
// Copyright 2019 The LUCI Authors. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.3
// source: go.chromium.org/luci/common/proto/textpb/internal/test.proto
package internal
import (
_ "go.chromium.org/luci/common/proto"
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 Leaf struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"`
Json string `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"`
JsonRep []string `protobuf:"bytes,3,rep,name=json_rep,json=jsonRep,proto3" json:"json_rep,omitempty"`
}
func (x *Leaf) Reset() {
*x = Leaf{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Leaf) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Leaf) ProtoMessage() {}
func (x *Leaf) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_common_proto_textpb_internal_test_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 Leaf.ProtoReflect.Descriptor instead.
func (*Leaf) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescGZIP(), []int{0}
}
func (x *Leaf) GetStr() string {
if x != nil {
return x.Str
}
return ""
}
func (x *Leaf) GetJson() string {
if x != nil {
return x.Json
}
return ""
}
func (x *Leaf) GetJsonRep() []string {
if x != nil {
return x.JsonRep
}
return nil
}
type Container struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Leaf *Leaf `protobuf:"bytes,1,opt,name=leaf,proto3" json:"leaf,omitempty"`
LeafRep []*Leaf `protobuf:"bytes,2,rep,name=leaf_rep,json=leafRep,proto3" json:"leaf_rep,omitempty"`
Mapping map[string]*Leaf `protobuf:"bytes,3,rep,name=mapping,proto3" json:"mapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *Container) Reset() {
*x = Container{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Container) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Container) ProtoMessage() {}
func (x *Container) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_common_proto_textpb_internal_test_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 Container.ProtoReflect.Descriptor instead.
func (*Container) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescGZIP(), []int{1}
}
func (x *Container) GetLeaf() *Leaf {
if x != nil {
return x.Leaf
}
return nil
}
func (x *Container) GetLeafRep() []*Leaf {
if x != nil {
return x.LeafRep
}
return nil
}
func (x *Container) GetMapping() map[string]*Leaf {
if x != nil {
return x.Mapping
}
return nil
}
var File_go_chromium_org_luci_common_proto_textpb_internal_test_proto protoreflect.FileDescriptor
var file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDesc = []byte{
0x0a, 0x3c, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f,
0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x1a,
0x2f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67,
0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0x53, 0x0a, 0x04, 0x4c, 0x65, 0x61, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x74, 0x72, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x18, 0x0a, 0x04, 0x6a, 0x73,
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xa8, 0xfe, 0x23, 0x01, 0x52, 0x04,
0x6a, 0x73, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x70,
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x04, 0xa8, 0xfe, 0x23, 0x01, 0x52, 0x07, 0x6a, 0x73,
0x6f, 0x6e, 0x52, 0x65, 0x70, 0x22, 0xfe, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
0x6e, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x04, 0x6c, 0x65, 0x61, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x15, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
0x6e, 0x61, 0x6c, 0x2e, 0x4c, 0x65, 0x61, 0x66, 0x52, 0x04, 0x6c, 0x65, 0x61, 0x66, 0x12, 0x30,
0x0a, 0x08, 0x6c, 0x65, 0x61, 0x66, 0x5f, 0x72, 0x65, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x15, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
0x61, 0x6c, 0x2e, 0x4c, 0x65, 0x61, 0x66, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x66, 0x52, 0x65, 0x70,
0x12, 0x41, 0x0a, 0x07, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x27, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x4d, 0x61,
0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6d, 0x61, 0x70, 0x70,
0x69, 0x6e, 0x67, 0x1a, 0x51, 0x0a, 0x0c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x69, 0x6e,
0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x4c, 0x65, 0x61, 0x66, 0x52, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72,
0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63,
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x65, 0x78, 0x74,
0x70, 0x62, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescOnce sync.Once
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescData = file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDesc
)
func file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescGZIP() []byte {
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescOnce.Do(func() {
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescData)
})
return file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDescData
}
var file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_goTypes = []interface{}{
(*Leaf)(nil), // 0: testpb.internal.Leaf
(*Container)(nil), // 1: testpb.internal.Container
nil, // 2: testpb.internal.Container.MappingEntry
}
var file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_depIdxs = []int32{
0, // 0: testpb.internal.Container.leaf:type_name -> testpb.internal.Leaf
0, // 1: testpb.internal.Container.leaf_rep:type_name -> testpb.internal.Leaf
2, // 2: testpb.internal.Container.mapping:type_name -> testpb.internal.Container.MappingEntry
0, // 3: testpb.internal.Container.MappingEntry.value:type_name -> testpb.internal.Leaf
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_go_chromium_org_luci_common_proto_textpb_internal_test_proto_init() }
func file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_init() {
if File_go_chromium_org_luci_common_proto_textpb_internal_test_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Leaf); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Container); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_goTypes,
DependencyIndexes: file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_depIdxs,
MessageInfos: file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_msgTypes,
}.Build()
File_go_chromium_org_luci_common_proto_textpb_internal_test_proto = out.File
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_rawDesc = nil
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_goTypes = nil
file_go_chromium_org_luci_common_proto_textpb_internal_test_proto_depIdxs = nil
}