utils

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tests_utils_hello_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SimpleMessage

type SimpleMessage struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Test timestamp with default value
	CreatedAt []*timestamppb.Timestamp `protobuf:"bytes,2,rep,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleMessage) AddFlags

func (x *SimpleMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*SimpleMessage) Descriptor deprecated

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

Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.

func (*SimpleMessage) GetCreatedAt

func (x *SimpleMessage) GetCreatedAt() []*timestamppb.Timestamp

func (*SimpleMessage) GetName

func (x *SimpleMessage) GetName() string

func (*SimpleMessage) ProtoMessage

func (*SimpleMessage) ProtoMessage()

func (*SimpleMessage) ProtoReflect

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

func (*SimpleMessage) Reset

func (x *SimpleMessage) Reset()

func (*SimpleMessage) SetDefaults

func (x *SimpleMessage) SetDefaults()

func (*SimpleMessage) String

func (x *SimpleMessage) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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