Documentation ¶
Index ¶
- Variables
- type Date
- func (*Date) Descriptor() ([]byte, []int)deprecated
- func (x *Date) GetDay() int32
- func (x *Date) GetDisplayName() string
- func (x *Date) GetMonth() int32
- func (x *Date) GetYear() int32
- func (*Date) ProtoMessage()
- func (x *Date) ProtoReflect() protoreflect.Message
- func (x *Date) Reset()
- func (x *Date) String() string
- type Money
- func (*Money) Descriptor() ([]byte, []int)deprecated
- func (x *Money) GetCurrencyCode() string
- func (x *Money) GetDisplayName() string
- func (x *Money) GetNanos() int64
- func (x *Money) GetUnits() int64
- func (*Money) ProtoMessage()
- func (x *Money) ProtoReflect() protoreflect.Message
- func (x *Money) Reset()
- func (x *Money) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_google_type_date_proto protoreflect.FileDescriptor
View Source
var File_google_type_money_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Date ¶
type Date struct { // Day of month. Must be from 1 to 31 and valid for the year and month, or 0. if specifying a year by itself or a year and month where the day is not significant. Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // Localized String representation of date DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day. Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` // Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
Date, https://github.com/googleapis/googleapis/blob/master/google/date.proto
func (*Date) Descriptor
deprecated
func (*Date) GetDisplayName ¶
func (*Date) ProtoMessage ¶
func (*Date) ProtoMessage()
func (*Date) ProtoReflect ¶
func (x *Date) ProtoReflect() protoreflect.Message
type Money ¶
type Money struct { // The 3-letter currency code defined in ISO 4217. CurrencyCode string `protobuf:"bytes,2,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` // String representation of money entity DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Number of nano (10^-9) units of the amount. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. Nanos int64 `protobuf:"varint,4,opt,name=nanos,proto3" json:"nanos,omitempty"` // The whole units of the amount. Units int64 `protobuf:"varint,3,opt,name=units,proto3" json:"units,omitempty"` // contains filtered or unexported fields }
Represents an amount of money with its currency type. https://github.com/googleapis/googleapis/blob/master/google/money.proto
func (*Money) Descriptor
deprecated
func (*Money) GetCurrencyCode ¶
func (*Money) GetDisplayName ¶
func (*Money) ProtoMessage ¶
func (*Money) ProtoMessage()
func (*Money) ProtoReflect ¶
func (x *Money) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.