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