Help us shape the future of Go! Take the 2026 Go Developer Survey

jsonpb

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_test_objects_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KnownTypes

type KnownTypes struct {
	An    *anypb.Any              `protobuf:"bytes,14,opt,name=an" json:"an,omitempty"`
	Dur   *durationpb.Duration    `protobuf:"bytes,1,opt,name=dur" json:"dur,omitempty"`
	St    *structpb.Struct        `protobuf:"bytes,12,opt,name=st" json:"st,omitempty"`
	Ts    *timestamppb.Timestamp  `protobuf:"bytes,2,opt,name=ts" json:"ts,omitempty"`
	Lv    *structpb.ListValue     `protobuf:"bytes,15,opt,name=lv" json:"lv,omitempty"`
	Val   *structpb.Value         `protobuf:"bytes,16,opt,name=val" json:"val,omitempty"`
	Dbl   *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=dbl" json:"dbl,omitempty"`
	Flt   *wrapperspb.FloatValue  `protobuf:"bytes,4,opt,name=flt" json:"flt,omitempty"`
	I64   *wrapperspb.Int64Value  `protobuf:"bytes,5,opt,name=i64" json:"i64,omitempty"`
	U64   *wrapperspb.UInt64Value `protobuf:"bytes,6,opt,name=u64" json:"u64,omitempty"`
	I32   *wrapperspb.Int32Value  `protobuf:"bytes,7,opt,name=i32" json:"i32,omitempty"`
	U32   *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=u32" json:"u32,omitempty"`
	Bool  *wrapperspb.BoolValue   `protobuf:"bytes,9,opt,name=bool" json:"bool,omitempty"`
	Str   *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=str" json:"str,omitempty"`
	Bytes *wrapperspb.BytesValue  `protobuf:"bytes,11,opt,name=bytes" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*KnownTypes) Descriptor deprecated

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

Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.

func (*KnownTypes) GetAn

func (x *KnownTypes) GetAn() *anypb.Any

func (*KnownTypes) GetBool

func (x *KnownTypes) GetBool() *wrapperspb.BoolValue

func (*KnownTypes) GetBytes

func (x *KnownTypes) GetBytes() *wrapperspb.BytesValue

func (*KnownTypes) GetDbl

func (x *KnownTypes) GetDbl() *wrapperspb.DoubleValue

func (*KnownTypes) GetDur

func (x *KnownTypes) GetDur() *durationpb.Duration

func (*KnownTypes) GetFlt

func (x *KnownTypes) GetFlt() *wrapperspb.FloatValue

func (*KnownTypes) GetI32

func (x *KnownTypes) GetI32() *wrapperspb.Int32Value

func (*KnownTypes) GetI64

func (x *KnownTypes) GetI64() *wrapperspb.Int64Value

func (*KnownTypes) GetLv

func (x *KnownTypes) GetLv() *structpb.ListValue

func (*KnownTypes) GetSt

func (x *KnownTypes) GetSt() *structpb.Struct

func (*KnownTypes) GetStr

func (x *KnownTypes) GetStr() *wrapperspb.StringValue

func (*KnownTypes) GetTs

func (x *KnownTypes) GetTs() *timestamppb.Timestamp

func (*KnownTypes) GetU32

func (x *KnownTypes) GetU32() *wrapperspb.UInt32Value

func (*KnownTypes) GetU64

func (x *KnownTypes) GetU64() *wrapperspb.UInt64Value

func (*KnownTypes) GetVal

func (x *KnownTypes) GetVal() *structpb.Value

func (*KnownTypes) ProtoMessage

func (*KnownTypes) ProtoMessage()

func (*KnownTypes) ProtoReflect added in v1.8.1

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

func (*KnownTypes) Reset

func (x *KnownTypes) Reset()

func (*KnownTypes) String

func (x *KnownTypes) String() string

Jump to

Keyboard shortcuts

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