| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromiumos/config/api/test/xmlrpc/xmlrpc.proto |
| |
| package xmlrpc |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| 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 |
| |
| // Value represents a value in XML-RPC. |
| type Value struct { |
| // Types that are valid to be assigned to ScalarOneof: |
| // *Value_Int |
| // *Value_Boolean |
| // *Value_String_ |
| // *Value_Double |
| // *Value_Datetime |
| // *Value_Base64 |
| // *Value_Struct |
| // *Value_Array |
| ScalarOneof isValue_ScalarOneof `protobuf_oneof:"scalar_oneof"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Value) Reset() { *m = Value{} } |
| func (m *Value) String() string { return proto.CompactTextString(m) } |
| func (*Value) ProtoMessage() {} |
| func (*Value) Descriptor() ([]byte, []int) { |
| return fileDescriptor_16d4698517b7fd0d, []int{0} |
| } |
| |
| func (m *Value) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Value.Unmarshal(m, b) |
| } |
| func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Value.Marshal(b, m, deterministic) |
| } |
| func (m *Value) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Value.Merge(m, src) |
| } |
| func (m *Value) XXX_Size() int { |
| return xxx_messageInfo_Value.Size(m) |
| } |
| func (m *Value) XXX_DiscardUnknown() { |
| xxx_messageInfo_Value.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Value proto.InternalMessageInfo |
| |
| type isValue_ScalarOneof interface { |
| isValue_ScalarOneof() |
| } |
| |
| type Value_Int struct { |
| Int int32 `protobuf:"zigzag32,2,opt,name=int,proto3,oneof"` |
| } |
| |
| type Value_Boolean struct { |
| Boolean bool `protobuf:"varint,3,opt,name=boolean,proto3,oneof"` |
| } |
| |
| type Value_String_ struct { |
| String_ string `protobuf:"bytes,4,opt,name=string,proto3,oneof"` |
| } |
| |
| type Value_Double struct { |
| Double float64 `protobuf:"fixed64,5,opt,name=double,proto3,oneof"` |
| } |
| |
| type Value_Datetime struct { |
| Datetime string `protobuf:"bytes,6,opt,name=datetime,proto3,oneof"` |
| } |
| |
| type Value_Base64 struct { |
| Base64 []byte `protobuf:"bytes,7,opt,name=base64,proto3,oneof"` |
| } |
| |
| type Value_Struct struct { |
| Struct *Struct `protobuf:"bytes,8,opt,name=struct,proto3,oneof"` |
| } |
| |
| type Value_Array struct { |
| Array *Array `protobuf:"bytes,9,opt,name=array,proto3,oneof"` |
| } |
| |
| func (*Value_Int) isValue_ScalarOneof() {} |
| |
| func (*Value_Boolean) isValue_ScalarOneof() {} |
| |
| func (*Value_String_) isValue_ScalarOneof() {} |
| |
| func (*Value_Double) isValue_ScalarOneof() {} |
| |
| func (*Value_Datetime) isValue_ScalarOneof() {} |
| |
| func (*Value_Base64) isValue_ScalarOneof() {} |
| |
| func (*Value_Struct) isValue_ScalarOneof() {} |
| |
| func (*Value_Array) isValue_ScalarOneof() {} |
| |
| func (m *Value) GetScalarOneof() isValue_ScalarOneof { |
| if m != nil { |
| return m.ScalarOneof |
| } |
| return nil |
| } |
| |
| func (m *Value) GetInt() int32 { |
| if x, ok := m.GetScalarOneof().(*Value_Int); ok { |
| return x.Int |
| } |
| return 0 |
| } |
| |
| func (m *Value) GetBoolean() bool { |
| if x, ok := m.GetScalarOneof().(*Value_Boolean); ok { |
| return x.Boolean |
| } |
| return false |
| } |
| |
| func (m *Value) GetString_() string { |
| if x, ok := m.GetScalarOneof().(*Value_String_); ok { |
| return x.String_ |
| } |
| return "" |
| } |
| |
| func (m *Value) GetDouble() float64 { |
| if x, ok := m.GetScalarOneof().(*Value_Double); ok { |
| return x.Double |
| } |
| return 0 |
| } |
| |
| func (m *Value) GetDatetime() string { |
| if x, ok := m.GetScalarOneof().(*Value_Datetime); ok { |
| return x.Datetime |
| } |
| return "" |
| } |
| |
| func (m *Value) GetBase64() []byte { |
| if x, ok := m.GetScalarOneof().(*Value_Base64); ok { |
| return x.Base64 |
| } |
| return nil |
| } |
| |
| func (m *Value) GetStruct() *Struct { |
| if x, ok := m.GetScalarOneof().(*Value_Struct); ok { |
| return x.Struct |
| } |
| return nil |
| } |
| |
| func (m *Value) GetArray() *Array { |
| if x, ok := m.GetScalarOneof().(*Value_Array); ok { |
| return x.Array |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*Value) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*Value_Int)(nil), |
| (*Value_Boolean)(nil), |
| (*Value_String_)(nil), |
| (*Value_Double)(nil), |
| (*Value_Datetime)(nil), |
| (*Value_Base64)(nil), |
| (*Value_Struct)(nil), |
| (*Value_Array)(nil), |
| } |
| } |
| |
| type Struct struct { |
| Members map[string]*Value `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Struct) Reset() { *m = Struct{} } |
| func (m *Struct) String() string { return proto.CompactTextString(m) } |
| func (*Struct) ProtoMessage() {} |
| func (*Struct) Descriptor() ([]byte, []int) { |
| return fileDescriptor_16d4698517b7fd0d, []int{1} |
| } |
| |
| func (m *Struct) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Struct.Unmarshal(m, b) |
| } |
| func (m *Struct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Struct.Marshal(b, m, deterministic) |
| } |
| func (m *Struct) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Struct.Merge(m, src) |
| } |
| func (m *Struct) XXX_Size() int { |
| return xxx_messageInfo_Struct.Size(m) |
| } |
| func (m *Struct) XXX_DiscardUnknown() { |
| xxx_messageInfo_Struct.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Struct proto.InternalMessageInfo |
| |
| func (m *Struct) GetMembers() map[string]*Value { |
| if m != nil { |
| return m.Members |
| } |
| return nil |
| } |
| |
| type Array struct { |
| Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Array) Reset() { *m = Array{} } |
| func (m *Array) String() string { return proto.CompactTextString(m) } |
| func (*Array) ProtoMessage() {} |
| func (*Array) Descriptor() ([]byte, []int) { |
| return fileDescriptor_16d4698517b7fd0d, []int{2} |
| } |
| |
| func (m *Array) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Array.Unmarshal(m, b) |
| } |
| func (m *Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Array.Marshal(b, m, deterministic) |
| } |
| func (m *Array) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Array.Merge(m, src) |
| } |
| func (m *Array) XXX_Size() int { |
| return xxx_messageInfo_Array.Size(m) |
| } |
| func (m *Array) XXX_DiscardUnknown() { |
| xxx_messageInfo_Array.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Array proto.InternalMessageInfo |
| |
| func (m *Array) GetValues() []*Value { |
| if m != nil { |
| return m.Values |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Value)(nil), "chromiumos.config.api.test.xmlrpc.Value") |
| proto.RegisterType((*Struct)(nil), "chromiumos.config.api.test.xmlrpc.Struct") |
| proto.RegisterMapType((map[string]*Value)(nil), "chromiumos.config.api.test.xmlrpc.Struct.MembersEntry") |
| proto.RegisterType((*Array)(nil), "chromiumos.config.api.test.xmlrpc.Array") |
| } |
| |
| func init() { |
| proto.RegisterFile("chromiumos/config/api/test/xmlrpc/xmlrpc.proto", fileDescriptor_16d4698517b7fd0d) |
| } |
| |
| var fileDescriptor_16d4698517b7fd0d = []byte{ |
| // 382 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbf, 0x6b, 0xe3, 0x30, |
| 0x14, 0xc7, 0xad, 0xf8, 0xec, 0x24, 0x4a, 0x38, 0xee, 0x34, 0x89, 0x70, 0x83, 0x2f, 0x93, 0x6e, |
| 0x91, 0x21, 0x17, 0xc2, 0x71, 0x43, 0x49, 0x53, 0x0a, 0xee, 0x50, 0x28, 0x2e, 0x74, 0xe8, 0x52, |
| 0x64, 0x47, 0x71, 0x4d, 0x6d, 0xcb, 0xc8, 0x72, 0x69, 0xfe, 0xb5, 0x4e, 0xfd, 0xd3, 0x8a, 0x24, |
| 0x27, 0x2d, 0xed, 0x50, 0x4f, 0xf6, 0x7b, 0xef, 0xfb, 0x79, 0x3f, 0xf4, 0x1e, 0xa4, 0xe9, 0xbd, |
| 0x14, 0x65, 0xde, 0x96, 0xa2, 0x09, 0x53, 0x51, 0xed, 0xf2, 0x2c, 0x64, 0x75, 0x1e, 0x2a, 0xde, |
| 0xa8, 0xf0, 0xa9, 0x2c, 0x64, 0x9d, 0x76, 0x1f, 0x5a, 0x4b, 0xa1, 0x04, 0xfa, 0xfd, 0xa6, 0xa7, |
| 0x56, 0x4f, 0x59, 0x9d, 0x53, 0xad, 0xa7, 0x56, 0x38, 0x7f, 0x1e, 0x40, 0xef, 0x86, 0x15, 0x2d, |
| 0x47, 0x08, 0xba, 0x79, 0xa5, 0xf0, 0x20, 0x00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