package wrapperspb
Import Path
google.golang.org/protobuf/types/known/wrapperspb (on go.dev)
Dependency Relation
imports 5 packages, and imported by one package
Involved Source Files
wrappers.pb.go
Package-Level Type Names (total 9)
Wrapper message for `bool`.
The JSON representation for `BoolValue` is JSON `true` and `false`.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The bool value.
Deprecated: Use BoolValue.ProtoReflect.Descriptor instead.
(*BoolValue) GetValue() bool
(*BoolValue) ProtoMessage()
(*BoolValue) ProtoReflect() protoreflect.Message
(*BoolValue) Reset()
(*BoolValue) String() string
*BoolValue : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*BoolValue : google.golang.org/protobuf/runtime/protoiface.MessageV1
*BoolValue : expvar.Var
*BoolValue : fmt.Stringer
*BoolValue : github.com/gogo/protobuf/proto.Message
func Bool(v bool) *BoolValue
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.BoolValue(val string) (*BoolValue, error)
Wrapper message for `bytes`.
The JSON representation for `BytesValue` is JSON string.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The bytes value.
Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.
(*BytesValue) GetValue() []byte
(*BytesValue) ProtoMessage()
(*BytesValue) ProtoReflect() protoreflect.Message
(*BytesValue) Reset()
(*BytesValue) String() string
*BytesValue : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*BytesValue : google.golang.org/protobuf/runtime/protoiface.MessageV1
*BytesValue : expvar.Var
*BytesValue : fmt.Stringer
*BytesValue : github.com/gogo/protobuf/proto.Message
func Bytes(v []byte) *BytesValue
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.BytesValue(val string) (*BytesValue, error)
Wrapper message for `double`.
The JSON representation for `DoubleValue` is JSON number.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The double value.
Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.
(*DoubleValue) GetValue() float64
(*DoubleValue) ProtoMessage()
(*DoubleValue) ProtoReflect() protoreflect.Message
(*DoubleValue) Reset()
(*DoubleValue) String() string
*DoubleValue : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*DoubleValue : google.golang.org/protobuf/runtime/protoiface.MessageV1
*DoubleValue : expvar.Var
*DoubleValue : fmt.Stringer
*DoubleValue : github.com/gogo/protobuf/proto.Message
func Double(v float64) *DoubleValue
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.DoubleValue(val string) (*DoubleValue, error)
Wrapper message for `float`.
The JSON representation for `FloatValue` is JSON number.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The float value.
Deprecated: Use FloatValue.ProtoReflect.Descriptor instead.
(*FloatValue) GetValue() float32
(*FloatValue) ProtoMessage()
(*FloatValue) ProtoReflect() protoreflect.Message
(*FloatValue) Reset()
(*FloatValue) String() string
*FloatValue : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*FloatValue : google.golang.org/protobuf/runtime/protoiface.MessageV1
*FloatValue : expvar.Var
*FloatValue : fmt.Stringer
*FloatValue : github.com/gogo/protobuf/proto.Message
func Float(v float32) *FloatValue
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.FloatValue(val string) (*FloatValue, error)
Wrapper message for `int32`.
The JSON representation for `Int32Value` is JSON number.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The int32 value.
Deprecated: Use Int32Value.ProtoReflect.Descriptor instead.
(*Int32Value) GetValue() int32
(*Int32Value) ProtoMessage()
(*Int32Value) ProtoReflect() protoreflect.Message
(*Int32Value) Reset()
(*Int32Value) String() string
*Int32Value : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*Int32Value : google.golang.org/protobuf/runtime/protoiface.MessageV1
*Int32Value : expvar.Var
*Int32Value : fmt.Stringer
*Int32Value : github.com/gogo/protobuf/proto.Message
func Int32(v int32) *Int32Value
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.Int32Value(val string) (*Int32Value, error)
Wrapper message for `int64`.
The JSON representation for `Int64Value` is JSON string.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The int64 value.
Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.
(*Int64Value) GetValue() int64
(*Int64Value) ProtoMessage()
(*Int64Value) ProtoReflect() protoreflect.Message
(*Int64Value) Reset()
(*Int64Value) String() string
*Int64Value : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*Int64Value : google.golang.org/protobuf/runtime/protoiface.MessageV1
*Int64Value : expvar.Var
*Int64Value : fmt.Stringer
*Int64Value : github.com/gogo/protobuf/proto.Message
func Int64(v int64) *Int64Value
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.Int64Value(val string) (*Int64Value, error)
Wrapper message for `string`.
The JSON representation for `StringValue` is JSON string.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The string value.
Deprecated: Use StringValue.ProtoReflect.Descriptor instead.
(*StringValue) GetValue() string
(*StringValue) ProtoMessage()
(*StringValue) ProtoReflect() protoreflect.Message
(*StringValue) Reset()
(*StringValue) String() string
*StringValue : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*StringValue : google.golang.org/protobuf/runtime/protoiface.MessageV1
*StringValue : expvar.Var
*StringValue : fmt.Stringer
*StringValue : github.com/gogo/protobuf/proto.Message
func String(v string) *StringValue
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.StringValue(val string) (*StringValue, error)
Wrapper message for `uint32`.
The JSON representation for `UInt32Value` is JSON number.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The uint32 value.
Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead.
(*UInt32Value) GetValue() uint32
(*UInt32Value) ProtoMessage()
(*UInt32Value) ProtoReflect() protoreflect.Message
(*UInt32Value) Reset()
(*UInt32Value) String() string
*UInt32Value : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*UInt32Value : google.golang.org/protobuf/runtime/protoiface.MessageV1
*UInt32Value : expvar.Var
*UInt32Value : fmt.Stringer
*UInt32Value : github.com/gogo/protobuf/proto.Message
func UInt32(v uint32) *UInt32Value
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.UInt32Value(val string) (*UInt32Value, error)
Wrapper message for `uint64`.
The JSON representation for `UInt64Value` is JSON string.
Not recommended for use in new APIs, but still useful for legacy APIs and
has no plan to be removed.
The uint64 value.
Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.
(*UInt64Value) GetValue() uint64
(*UInt64Value) ProtoMessage()
(*UInt64Value) ProtoReflect() protoreflect.Message
(*UInt64Value) Reset()
(*UInt64Value) String() string
*UInt64Value : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*UInt64Value : google.golang.org/protobuf/runtime/protoiface.MessageV1
*UInt64Value : expvar.Var
*UInt64Value : fmt.Stringer
*UInt64Value : github.com/gogo/protobuf/proto.Message
func UInt64(v uint64) *UInt64Value
func github.com/grpc-ecosystem/grpc-gateway/v2/runtime.UInt64Value(val string) (*UInt64Value, error)
Package-Level Functions (total 9)
Bool stores v in a new BoolValue and returns a pointer to it.
Bytes stores v in a new BytesValue and returns a pointer to it.
Double stores v in a new DoubleValue and returns a pointer to it.
Float stores v in a new FloatValue and returns a pointer to it.
Int32 stores v in a new Int32Value and returns a pointer to it.
Int64 stores v in a new Int64Value and returns a pointer to it.
String stores v in a new StringValue and returns a pointer to it.
UInt32 stores v in a new UInt32Value and returns a pointer to it.
UInt64 stores v in a new UInt64Value and returns a pointer to it.
Package-Level Variables (only one)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |