github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/google.golang.org/appengine/internal/base/api_base.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: google.golang.org/appengine/internal/base/api_base.proto 3 // DO NOT EDIT! 4 5 /* 6 Package base is a generated protocol buffer package. 7 8 It is generated from these files: 9 google.golang.org/appengine/internal/base/api_base.proto 10 11 It has these top-level messages: 12 StringProto 13 Integer32Proto 14 Integer64Proto 15 BoolProto 16 DoubleProto 17 BytesProto 18 VoidProto 19 */ 20 package base 21 22 import proto "github.com/golang/protobuf/proto" 23 import fmt "fmt" 24 import math "math" 25 26 // Reference imports to suppress errors if they are not otherwise used. 27 var _ = proto.Marshal 28 var _ = fmt.Errorf 29 var _ = math.Inf 30 31 type StringProto struct { 32 Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` 33 XXX_unrecognized []byte `json:"-"` 34 } 35 36 func (m *StringProto) Reset() { *m = StringProto{} } 37 func (m *StringProto) String() string { return proto.CompactTextString(m) } 38 func (*StringProto) ProtoMessage() {} 39 40 func (m *StringProto) GetValue() string { 41 if m != nil && m.Value != nil { 42 return *m.Value 43 } 44 return "" 45 } 46 47 type Integer32Proto struct { 48 Value *int32 `protobuf:"varint,1,req,name=value" json:"value,omitempty"` 49 XXX_unrecognized []byte `json:"-"` 50 } 51 52 func (m *Integer32Proto) Reset() { *m = Integer32Proto{} } 53 func (m *Integer32Proto) String() string { return proto.CompactTextString(m) } 54 func (*Integer32Proto) ProtoMessage() {} 55 56 func (m *Integer32Proto) GetValue() int32 { 57 if m != nil && m.Value != nil { 58 return *m.Value 59 } 60 return 0 61 } 62 63 type Integer64Proto struct { 64 Value *int64 `protobuf:"varint,1,req,name=value" json:"value,omitempty"` 65 XXX_unrecognized []byte `json:"-"` 66 } 67 68 func (m *Integer64Proto) Reset() { *m = Integer64Proto{} } 69 func (m *Integer64Proto) String() string { return proto.CompactTextString(m) } 70 func (*Integer64Proto) ProtoMessage() {} 71 72 func (m *Integer64Proto) GetValue() int64 { 73 if m != nil && m.Value != nil { 74 return *m.Value 75 } 76 return 0 77 } 78 79 type BoolProto struct { 80 Value *bool `protobuf:"varint,1,req,name=value" json:"value,omitempty"` 81 XXX_unrecognized []byte `json:"-"` 82 } 83 84 func (m *BoolProto) Reset() { *m = BoolProto{} } 85 func (m *BoolProto) String() string { return proto.CompactTextString(m) } 86 func (*BoolProto) ProtoMessage() {} 87 88 func (m *BoolProto) GetValue() bool { 89 if m != nil && m.Value != nil { 90 return *m.Value 91 } 92 return false 93 } 94 95 type DoubleProto struct { 96 Value *float64 `protobuf:"fixed64,1,req,name=value" json:"value,omitempty"` 97 XXX_unrecognized []byte `json:"-"` 98 } 99 100 func (m *DoubleProto) Reset() { *m = DoubleProto{} } 101 func (m *DoubleProto) String() string { return proto.CompactTextString(m) } 102 func (*DoubleProto) ProtoMessage() {} 103 104 func (m *DoubleProto) GetValue() float64 { 105 if m != nil && m.Value != nil { 106 return *m.Value 107 } 108 return 0 109 } 110 111 type BytesProto struct { 112 Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` 113 XXX_unrecognized []byte `json:"-"` 114 } 115 116 func (m *BytesProto) Reset() { *m = BytesProto{} } 117 func (m *BytesProto) String() string { return proto.CompactTextString(m) } 118 func (*BytesProto) ProtoMessage() {} 119 120 func (m *BytesProto) GetValue() []byte { 121 if m != nil { 122 return m.Value 123 } 124 return nil 125 } 126 127 type VoidProto struct { 128 XXX_unrecognized []byte `json:"-"` 129 } 130 131 func (m *VoidProto) Reset() { *m = VoidProto{} } 132 func (m *VoidProto) String() string { return proto.CompactTextString(m) } 133 func (*VoidProto) ProtoMessage() {}