api_base.pb.go 3.4 KB

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