blob: 95666abc30a0134e8eb73e4296df53fbbac1c0e6 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/common/proto/internal/testingpb/testing.proto
package testingpb
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
_struct "github.com/golang/protobuf/ptypes/struct"
field_mask "google.golang.org/genproto/protobuf/field_mask"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Some struct {
I int64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Some) Reset() { *m = Some{} }
func (m *Some) String() string { return proto.CompactTextString(m) }
func (*Some) ProtoMessage() {}
func (*Some) Descriptor() ([]byte, []int) {
return fileDescriptor_e240dc1ce6bcf0b2, []int{0}
}
func (m *Some) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Some.Unmarshal(m, b)
}
func (m *Some) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Some.Marshal(b, m, deterministic)
}
func (m *Some) XXX_Merge(src proto.Message) {
xxx_messageInfo_Some.Merge(m, src)
}
func (m *Some) XXX_Size() int {
return xxx_messageInfo_Some.Size(m)
}
func (m *Some) XXX_DiscardUnknown() {
xxx_messageInfo_Some.DiscardUnknown(m)
}
var xxx_messageInfo_Some proto.InternalMessageInfo
func (m *Some) GetI() int64 {
if m != nil {
return m.I
}
return 0
}
type Simple struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Some *Some `protobuf:"bytes,2,opt,name=some,proto3" json:"some,omitempty"`
Fields *field_mask.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Simple) Reset() { *m = Simple{} }
func (m *Simple) String() string { return proto.CompactTextString(m) }
func (*Simple) ProtoMessage() {}
func (*Simple) Descriptor() ([]byte, []int) {
return fileDescriptor_e240dc1ce6bcf0b2, []int{1}
}
func (m *Simple) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Simple.Unmarshal(m, b)
}
func (m *Simple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Simple.Marshal(b, m, deterministic)
}
func (m *Simple) XXX_Merge(src proto.Message) {
xxx_messageInfo_Simple.Merge(m, src)
}
func (m *Simple) XXX_Size() int {
return xxx_messageInfo_Simple.Size(m)
}
func (m *Simple) XXX_DiscardUnknown() {
xxx_messageInfo_Simple.DiscardUnknown(m)
}
var xxx_messageInfo_Simple proto.InternalMessageInfo
func (m *Simple) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *Simple) GetSome() *Some {
if m != nil {
return m.Some
}
return nil
}
func (m *Simple) GetFields() *field_mask.FieldMask {
if m != nil {
return m.Fields
}
return nil
}
type Props struct {
Properties *_struct.Struct `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"`
Fields *field_mask.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Props) Reset() { *m = Props{} }
func (m *Props) String() string { return proto.CompactTextString(m) }
func (*Props) ProtoMessage() {}
func (*Props) Descriptor() ([]byte, []int) {
return fileDescriptor_e240dc1ce6bcf0b2, []int{2}
}
func (m *Props) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Props.Unmarshal(m, b)
}
func (m *Props) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Props.Marshal(b, m, deterministic)
}
func (m *Props) XXX_Merge(src proto.Message) {
xxx_messageInfo_Props.Merge(m, src)
}
func (m *Props) XXX_Size() int {
return xxx_messageInfo_Props.Size(m)
}
func (m *Props) XXX_DiscardUnknown() {
xxx_messageInfo_Props.DiscardUnknown(m)
}
var xxx_messageInfo_Props proto.InternalMessageInfo
func (m *Props) GetProperties() *_struct.Struct {
if m != nil {
return m.Properties
}
return nil
}
func (m *Props) GetFields() *field_mask.FieldMask {
if m != nil {
return m.Fields
}
return nil
}
type WithInner struct {
Msgs []*WithInner_Inner `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WithInner) Reset() { *m = WithInner{} }
func (m *WithInner) String() string { return proto.CompactTextString(m) }
func (*WithInner) ProtoMessage() {}
func (*WithInner) Descriptor() ([]byte, []int) {
return fileDescriptor_e240dc1ce6bcf0b2, []int{3}
}
func (m *WithInner) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WithInner.Unmarshal(m, b)
}
func (m *WithInner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WithInner.Marshal(b, m, deterministic)
}
func (m *WithInner) XXX_Merge(src proto.Message) {
xxx_messageInfo_WithInner.Merge(m, src)
}
func (m *WithInner) XXX_Size() int {
return xxx_messageInfo_WithInner.Size(m)
}
func (m *WithInner) XXX_DiscardUnknown() {
xxx_messageInfo_WithInner.DiscardUnknown(m)
}
var xxx_messageInfo_WithInner proto.InternalMessageInfo
func (m *WithInner) GetMsgs() []*WithInner_Inner {
if m != nil {
return m.Msgs
}
return nil
}
type WithInner_Inner struct {
// Types that are valid to be assigned to Msg:
// *WithInner_Inner_Simple
// *WithInner_Inner_Props
Msg isWithInner_Inner_Msg `protobuf_oneof:"msg"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WithInner_Inner) Reset() { *m = WithInner_Inner{} }
func (m *WithInner_Inner) String() string { return proto.CompactTextString(m) }
func (*WithInner_Inner) ProtoMessage() {}
func (*WithInner_Inner) Descriptor() ([]byte, []int) {
return fileDescriptor_e240dc1ce6bcf0b2, []int{3, 0}
}
func (m *WithInner_Inner) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WithInner_Inner.Unmarshal(m, b)
}
func (m *WithInner_Inner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WithInner_Inner.Marshal(b, m, deterministic)
}
func (m *WithInner_Inner) XXX_Merge(src proto.Message) {
xxx_messageInfo_WithInner_Inner.Merge(m, src)
}
func (m *WithInner_Inner) XXX_Size() int {
return xxx_messageInfo_WithInner_Inner.Size(m)
}
func (m *WithInner_Inner) XXX_DiscardUnknown() {
xxx_messageInfo_WithInner_Inner.DiscardUnknown(m)
}
var xxx_messageInfo_WithInner_Inner proto.InternalMessageInfo
type isWithInner_Inner_Msg interface {
isWithInner_Inner_Msg()
}
type WithInner_Inner_Simple struct {
Simple *Simple `protobuf:"bytes,1,opt,name=simple,proto3,oneof"`
}
type WithInner_Inner_Props struct {
Props *Props `protobuf:"bytes,2,opt,name=props,proto3,oneof"`
}
func (*WithInner_Inner_Simple) isWithInner_Inner_Msg() {}
func (*WithInner_Inner_Props) isWithInner_Inner_Msg() {}
func (m *WithInner_Inner) GetMsg() isWithInner_Inner_Msg {
if m != nil {
return m.Msg
}
return nil
}
func (m *WithInner_Inner) GetSimple() *Simple {
if x, ok := m.GetMsg().(*WithInner_Inner_Simple); ok {
return x.Simple
}
return nil
}
func (m *WithInner_Inner) GetProps() *Props {
if x, ok := m.GetMsg().(*WithInner_Inner_Props); ok {
return x.Props
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*WithInner_Inner) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*WithInner_Inner_Simple)(nil),
(*WithInner_Inner_Props)(nil),
}
}
func init() {
proto.RegisterType((*Some)(nil), "internal.testing.Some")
proto.RegisterType((*Simple)(nil), "internal.testing.Simple")
proto.RegisterType((*Props)(nil), "internal.testing.Props")
proto.RegisterType((*WithInner)(nil), "internal.testing.WithInner")
proto.RegisterType((*WithInner_Inner)(nil), "internal.testing.WithInner.Inner")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/common/proto/internal/testingpb/testing.proto", fileDescriptor_e240dc1ce6bcf0b2)
}
var fileDescriptor_e240dc1ce6bcf0b2 = []byte{
// 344 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x31, 0x6b, 0xeb, 0x30,
0x14, 0x85, 0xe3, 0x24, 0x36, 0xe4, 0xfa, 0xf1, 0x78, 0x88, 0x47, 0x63, 0x4c, 0x07, 0x37, 0x53,
0xe8, 0x20, 0x81, 0x4b, 0xe9, 0x9e, 0xa1, 0xa4, 0x43, 0xa1, 0x28, 0x43, 0xa1, 0x4b, 0x49, 0x6c,
0x45, 0x11, 0xb1, 0x2c, 0xa3, 0x2b, 0x43, 0xff, 0x59, 0xff, 0x5e, 0x89, 0xec, 0x84, 0x92, 0x74,
0xea, 0x62, 0x8c, 0xee, 0x77, 0x8f, 0xce, 0x39, 0x08, 0x16, 0xd2, 0xd0, 0x62, 0x67, 0x8d, 0x56,
0xad, 0xa6, 0xc6, 0x4a, 0x56, 0xb5, 0x85, 0x62, 0x85, 0xd1, 0xda, 0xd4, 0xac, 0xb1, 0xc6, 0x19,
0xa6, 0x6a, 0x27, 0x6c, 0xbd, 0xae, 0x98, 0x13, 0xe8, 0x54, 0x2d, 0x9b, 0xcd, 0xf1, 0x8f, 0x7a,
0x80, 0xfc, 0x3b, 0x12, 0xb4, 0x3f, 0x4f, 0x33, 0x69, 0x8c, 0xac, 0x44, 0x27, 0xb0, 0x69, 0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