idl

package
v0.0.0-...-4b37dec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_prototube_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PrototubeMessageHeader

type PrototubeMessageHeader struct {

	// Wire version of the Prototube message
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// Schema version of the message
	SchemaVersion int32 `protobuf:"varint,2,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	// Time when the message is produced since UNIX epoch
	Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"`
	// 16 bytes UUID
	Uuid []byte `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

Server side message decoration

func (*PrototubeMessageHeader) Descriptor deprecated

func (*PrototubeMessageHeader) Descriptor() ([]byte, []int)

Deprecated: Use PrototubeMessageHeader.ProtoReflect.Descriptor instead.

func (*PrototubeMessageHeader) GetSchemaVersion

func (x *PrototubeMessageHeader) GetSchemaVersion() int32

func (*PrototubeMessageHeader) GetTs

func (x *PrototubeMessageHeader) GetTs() int64

func (*PrototubeMessageHeader) GetUuid

func (x *PrototubeMessageHeader) GetUuid() []byte

func (*PrototubeMessageHeader) GetVersion

func (x *PrototubeMessageHeader) GetVersion() int32

func (*PrototubeMessageHeader) ProtoMessage

func (*PrototubeMessageHeader) ProtoMessage()

func (*PrototubeMessageHeader) ProtoReflect

func (x *PrototubeMessageHeader) ProtoReflect() protoreflect.Message

func (*PrototubeMessageHeader) Reset

func (x *PrototubeMessageHeader) Reset()

func (*PrototubeMessageHeader) String

func (x *PrototubeMessageHeader) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL