ceph-csi/vendor/github.com/gogo/protobuf/test/issue435/issue435.pb.go
2018-12-19 15:29:25 +01:00

130 lines
4.9 KiB
Go

// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: issue435.proto
package issue435
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/gogo/protobuf/gogoproto"
// 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type Message struct {
NonnullableOptional SubMessage `protobuf:"bytes,1,opt,name=nonnullable_optional,json=nonnullableOptional" json:"nonnullable_optional"`
NonnullableRepeated []SubMessage `protobuf:"bytes,2,rep,name=nonnullable_repeated,json=nonnullableRepeated" json:"nonnullable_repeated"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Message) Reset() { *m = Message{} }
func (m *Message) String() string { return proto.CompactTextString(m) }
func (*Message) ProtoMessage() {}
func (*Message) Descriptor() ([]byte, []int) {
return fileDescriptor_issue435_f2d026e765e48290, []int{0}
}
func (m *Message) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Message.Unmarshal(m, b)
}
func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Message.Marshal(b, m, deterministic)
}
func (dst *Message) XXX_Merge(src proto.Message) {
xxx_messageInfo_Message.Merge(dst, src)
}
func (m *Message) XXX_Size() int {
return xxx_messageInfo_Message.Size(m)
}
func (m *Message) XXX_DiscardUnknown() {
xxx_messageInfo_Message.DiscardUnknown(m)
}
var xxx_messageInfo_Message proto.InternalMessageInfo
func (m *Message) GetNonnullableOptional() SubMessage {
if m != nil {
return m.NonnullableOptional
}
return SubMessage{}
}
func (m *Message) GetNonnullableRepeated() []SubMessage {
if m != nil {
return m.NonnullableRepeated
}
return nil
}
type SubMessage struct {
Value *int64 `protobuf:"varint,1,opt,name=value,def=7" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SubMessage) Reset() { *m = SubMessage{} }
func (m *SubMessage) String() string { return proto.CompactTextString(m) }
func (*SubMessage) ProtoMessage() {}
func (*SubMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_issue435_f2d026e765e48290, []int{1}
}
func (m *SubMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SubMessage.Unmarshal(m, b)
}
func (m *SubMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SubMessage.Marshal(b, m, deterministic)
}
func (dst *SubMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_SubMessage.Merge(dst, src)
}
func (m *SubMessage) XXX_Size() int {
return xxx_messageInfo_SubMessage.Size(m)
}
func (m *SubMessage) XXX_DiscardUnknown() {
xxx_messageInfo_SubMessage.DiscardUnknown(m)
}
var xxx_messageInfo_SubMessage proto.InternalMessageInfo
const Default_SubMessage_Value int64 = 7
func (m *SubMessage) GetValue() int64 {
if m != nil && m.Value != nil {
return *m.Value
}
return Default_SubMessage_Value
}
func init() {
proto.RegisterType((*Message)(nil), "issue435.Message")
proto.RegisterType((*SubMessage)(nil), "issue435.SubMessage")
}
func init() { proto.RegisterFile("issue435.proto", fileDescriptor_issue435_f2d026e765e48290) }
var fileDescriptor_issue435_f2d026e765e48290 = []byte{
// 189 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcb, 0x2c, 0x2e, 0x2e,
0x4d, 0x35, 0x31, 0x36, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x80, 0xf1, 0x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