Documentation ¶
Index ¶
- Variables
- type Block
- type Page
- func (*Page) Descriptor() ([]byte, []int)deprecated
- func (x *Page) GetBlock() *Block
- 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) SetTypeToBlock(v *Block)
- func (m *Page) SetTypeToNumber(v int64)
- func (m *Page) SetTypeToText(v string)
- func (x *Page) String() string
- type PageService
- type Page_Block
- 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_proto3_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { BlockTitle string `protobuf:"bytes,1,opt,name=block_title,json=blockTitle,proto3" json:"block_title,omitempty"` BlockContent string `protobuf:"bytes,2,opt,name=block_content,json=blockContent,proto3" json:"block_content,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetBlockContent ¶
func (*Block) GetBlockTitle ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type Page ¶
type Page struct { Timestamps *Timestamp `protobuf:"bytes,1,opt,name=timestamps,proto3" json:"timestamps,omitempty"` // Types that are assignable to Type: // // *Page_Text // *Page_Number // *Page_Block 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) SetTypeToBlock ¶
func (*Page) SetTypeToNumber ¶
func (*Page) SetTypeToText ¶
type PageService ¶
type Page_Block ¶
type Page_Block struct {
Block *Block `protobuf:"bytes,13,opt,name=block,proto3,oneof"`
}
type Page_Number ¶
type Page_Number struct {
Number int64 `protobuf:"varint,12,opt,name=number,proto3,oneof"`
}
type Page_Text ¶
type Page_Text struct {
Text string `protobuf:"bytes,11,opt,name=text,proto3,oneof"`
}
type Timestamp ¶
type Timestamp struct { CreatedAt int64 `protobuf:"varint,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,2,opt,name=updated_at,json=updatedAt,proto3,oneof" 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.