Documentation
¶
Index ¶
- Variables
- type SimpleMessage
- func (x *SimpleMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)
- func (*SimpleMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleMessage) GetCreatedAt() []*timestamppb.Timestamp
- func (x *SimpleMessage) GetName() string
- func (*SimpleMessage) ProtoMessage()
- func (x *SimpleMessage) ProtoReflect() protoreflect.Message
- func (x *SimpleMessage) Reset()
- func (x *SimpleMessage) SetDefaults()
- func (x *SimpleMessage) String() string
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
Click to show internal directories.
Click to hide internal directories.