protobuf

package
v0.0.0-...-910ec62 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_models_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Any

type Any struct {
	Any *anypb.Any
}

type TestingMessage

type TestingMessage struct {
	Any       *anypb.Any             `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"`
	Duration  *durationpb.Duration   `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	File      string                 `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*TestingMessage) Descriptor deprecated

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

Deprecated: Use TestingMessage.ProtoReflect.Descriptor instead.

func (*TestingMessage) GetAny

func (x *TestingMessage) GetAny() *anypb.Any

func (*TestingMessage) GetDuration

func (x *TestingMessage) GetDuration() *durationpb.Duration

func (*TestingMessage) GetFile

func (x *TestingMessage) GetFile() string

func (*TestingMessage) GetTimestamp

func (x *TestingMessage) GetTimestamp() *timestamppb.Timestamp

func (*TestingMessage) ProtoMessage

func (*TestingMessage) ProtoMessage()

func (*TestingMessage) ProtoReflect

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

func (*TestingMessage) Reset

func (x *TestingMessage) Reset()

func (*TestingMessage) String

func (x *TestingMessage) String() string

Jump to

Keyboard shortcuts

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