Documentation ¶
Index ¶
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetAge() int64
- func (m *User) GetAlive() bool
- func (m *User) GetBirthDate() string
- func (m *User) GetCreatedAt() *timestamp.Timestamp
- func (m *User) GetId() string
- func (m *User) GetModifiedAt() *timestamp.Timestamp
- func (m *User) GetName() string
- func (m *User) GetNum64() int64
- func (m *User) GetNumbers() []int64
- func (m *User) GetOptionalNum() *wrappers.Int64Value
- func (m *User) GetOptionalNum64() *wrappers.Int64Value
- func (m *User) GetSex() string
- func (m *User) GetTimes() []*timestamp.Timestamp
- func (m *User) GetWeight() float64
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { // id: ID! Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name: String! Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // age: Int! Age int64 `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"` // sex: Sex! Sex string `protobuf:"bytes,4,opt,name=sex,proto3" json:"sex,omitempty"` // weight: Float! Weight float64 `protobuf:"fixed64,5,opt,name=weight,proto3" json:"weight,omitempty"` // alive: Boolean! Alive bool `protobuf:"varint,6,opt,name=alive,proto3" json:"alive,omitempty"` // num64: Int64! Num64 int64 `protobuf:"varint,7,opt,name=num64,proto3" json:"num64,omitempty"` // optional_num: Int OptionalNum *wrappers.Int64Value `protobuf:"bytes,8,opt,name=optional_num,json=optionalNum,proto3" json:"optional_num,omitempty"` // optional_num64: Int64 OptionalNum64 *wrappers.Int64Value `protobuf:"bytes,9,opt,name=optional_num64,json=optionalNum64,proto3" json:"optional_num64,omitempty"` // numbers: [Int64!] Numbers []int64 `protobuf:"varint,10,rep,packed,name=numbers,proto3" json:"numbers,omitempty"` // times: [Time!] Times []*timestamp.Timestamp `protobuf:"bytes,11,rep,name=times,proto3" json:"times,omitempty"` // birth_date: Date BirthDate string `protobuf:"bytes,12,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` // created_at: Time! CreatedAt *timestamp.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // modified_at: Time! ModifiedAt *timestamp.Timestamp `protobuf:"bytes,14,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetBirthDate ¶
func (*User) GetCreatedAt ¶
func (*User) GetModifiedAt ¶
func (*User) GetNumbers ¶
func (*User) GetOptionalNum ¶
func (m *User) GetOptionalNum() *wrappers.Int64Value
func (*User) GetOptionalNum64 ¶
func (m *User) GetOptionalNum64() *wrappers.Int64Value
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.