Documentation
¶
Index ¶
- Variables
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (x *Test) GetAdults() int32
- func (x *Test) GetCheckIn() string
- func (x *Test) GetCheckOut() string
- func (x *Test) GetChildren() []int32
- func (x *Test) GetLatitude() float64
- func (x *Test) GetLongitude() float64
- func (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (x *Test) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Test ¶
type Test struct {
Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
CheckIn string `protobuf:"bytes,4,opt,name=check_in,json=checkIn,proto3" json:"check_in,omitempty"`
CheckOut string `protobuf:"bytes,5,opt,name=check_out,json=checkOut,proto3" json:"check_out,omitempty"`
Adults int32 `protobuf:"varint,6,opt,name=adults,proto3" json:"adults,omitempty"`
Children []int32 `protobuf:"varint,7,rep,packed,name=children,proto3" json:"children,omitempty"`
// contains filtered or unexported fields
}
func (*Test) Descriptor
deprecated
func (*Test) GetCheckIn ¶
func (*Test) GetCheckOut ¶
func (*Test) GetChildren ¶
func (*Test) GetLatitude ¶
func (*Test) GetLongitude ¶
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.