Documentation ¶
Index ¶
- Variables
- type Page
- func (*Page) Descriptor() ([]byte, []int)deprecated
- func (x *Page) GetNumber() int64
- func (x *Page) GetText() string
- func (x *Page) GetTimestamps() *Timestamp
- func (m *Page) GetType() isPage_Type
- func (*Page) ProtoMessage()
- func (x *Page) ProtoReflect() protoreflect.Message
- func (x *Page) Reset()
- func (m *Page) SetTimestamps(v *Timestamp)
- func (m *Page) SetType(v isPage_Type)
- func (m *Page) SetTypeToNumber(v *int64)
- func (m *Page) SetTypeToText(v *string)
- func (x *Page) String() string
- type PageService
- type Page_Number
- type Page_Text
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetCreatedAt() int64
- func (x *Timestamp) GetUpdatedAt() int64
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (m *Timestamp) SetCreatedAt(v *int64)
- func (m *Timestamp) SetUpdatedAt(v *int64)
- func (x *Timestamp) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_example_proto2_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct { Timestamps *Timestamp `protobuf:"bytes,1,opt,name=timestamps" json:"timestamps,omitempty"` // Types that are assignable to Type: // // *Page_Text // *Page_Number Type isPage_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Page) Descriptor
deprecated
func (*Page) GetTimestamps ¶
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶
func (x *Page) ProtoReflect() protoreflect.Message
func (*Page) SetTimestamps ¶
func (*Page) SetTypeToNumber ¶
func (*Page) SetTypeToText ¶
type PageService ¶
type Page_Number ¶
type Page_Number struct {
Number int64 `protobuf:"varint,12,opt,name=number,oneof"`
}
type Timestamp ¶
type Timestamp struct { CreatedAt *int64 `protobuf:"varint,1,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,2,opt,name=updated_at,json=updatedAt" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetCreatedAt ¶
func (*Timestamp) GetUpdatedAt ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
func (*Timestamp) SetCreatedAt ¶
func (*Timestamp) SetUpdatedAt ¶
Click to show internal directories.
Click to hide internal directories.