package wrapperspb
Import Path
google.golang.org/protobuf/types/known/wrapperspb (on go.dev)
Dependency Relation
imports 4 packages, and imported by 3 packages
Involved Source Files
wrappers.pb.go
Package-Level Type Names (total 9, all are exported)
Wrapper message for `bool`.
The JSON representation for `BoolValue` is JSON `true` and `false`.
The bool value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use BoolValue.ProtoReflect.Descriptor instead.
(*T) GetValue() bool
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func Bool(v bool) *BoolValue
func google.golang.org/genproto/googleapis/devtools/cloudtrace/v2.(*Span).GetSameProcessAsParentSpan() *BoolValue
func google.golang.org/genproto/googleapis/monitoring/v3.(*AlertPolicy).GetEnabled() *BoolValue
func google.golang.org/genproto/googleapis/monitoring/v3.(*NotificationChannel).GetEnabled() *BoolValue
Wrapper message for `bytes`.
The JSON representation for `BytesValue` is JSON string.
The bytes value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.
(*T) GetValue() []byte
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func Bytes(v []byte) *BytesValue
Wrapper message for `double`.
The JSON representation for `DoubleValue` is JSON number.
The double value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.
(*T) GetValue() float64
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func Double(v float64) *DoubleValue
func github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1.(*SummaryValue).GetSum() *wrappers.DoubleValue
func github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1.(*SummaryValue_Snapshot).GetSum() *wrappers.DoubleValue
Wrapper message for `float`.
The JSON representation for `FloatValue` is JSON number.
The float value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use FloatValue.ProtoReflect.Descriptor instead.
(*T) GetValue() float32
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func Float(v float32) *FloatValue
Wrapper message for `int32`.
The JSON representation for `Int32Value` is JSON number.
The int32 value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use Int32Value.ProtoReflect.Descriptor instead.
(*T) GetValue() int32
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func Int32(v int32) *Int32Value
func google.golang.org/genproto/googleapis/devtools/cloudtrace/v2.(*Span).GetChildSpanCount() *Int32Value
Wrapper message for `int64`.
The JSON representation for `Int64Value` is JSON string.
The int64 value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.
(*T) GetValue() int64
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func Int64(v int64) *Int64Value
func github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1.(*SummaryValue).GetCount() *wrappers.Int64Value
func github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1.(*SummaryValue_Snapshot).GetCount() *wrappers.Int64Value
Wrapper message for `string`.
The JSON representation for `StringValue` is JSON string.
The string value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use StringValue.ProtoReflect.Descriptor instead.
(*T) GetValue() string
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func String(v string) *StringValue
Wrapper message for `uint32`.
The JSON representation for `UInt32Value` is JSON number.
The uint32 value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead.
(*T) GetValue() uint32
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func UInt32(v uint32) *UInt32Value
Wrapper message for `uint64`.
The JSON representation for `UInt64Value` is JSON string.
The uint64 value.
sizeCache protoimpl.SizeCache
state protoimpl.MessageState
unknownFields protoimpl.UnknownFields
Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.
(*T) GetValue() uint64
(*T) ProtoMessage()
(*T) ProtoReflect() protoreflect.Message
(*T) Reset()
(*T) String() string
*T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*T : google.golang.org/protobuf/runtime/protoiface.MessageV1
*T : expvar.Var
*T : fmt.Stringer
*T : google.golang.org/protobuf/internal/impl.messageV1
*T : context.stringer
*T : runtime.stringer
func UInt64(v uint64) *UInt64Value
Package-Level Functions (total 12, in which 9 are exported)
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 (total 7, in which 1 are exported)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |