wrapperspb
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
var File_google_protobuf_wrappers_protoprotoreflect.FileDescriptorFunctions¶
This section is empty.
Types¶
typeBoolValue¶
type BoolValue struct {// The bool value.Valuebool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
func (*BoolValue)Descriptordeprecated
func (*BoolValue)ProtoMessage¶
func (*BoolValue) ProtoMessage()
func (*BoolValue)ProtoReflect¶
func (x *BoolValue) ProtoReflect()protoreflect.Message
typeBytesValue¶
type BytesValue struct {// The bytes value.Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
funcBytes¶added inv1.25.0
func Bytes(v []byte) *BytesValue
Bytes stores v in a new BytesValue and returns a pointer to it.
func (*BytesValue)Descriptordeprecated
func (*BytesValue) Descriptor() ([]byte, []int)
Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.
func (*BytesValue)GetValue¶
func (x *BytesValue) GetValue() []byte
func (*BytesValue)ProtoMessage¶
func (*BytesValue) ProtoMessage()
func (*BytesValue)ProtoReflect¶
func (x *BytesValue) ProtoReflect()protoreflect.Message
func (*BytesValue)Reset¶
func (x *BytesValue) Reset()
func (*BytesValue)String¶
func (x *BytesValue) String()string
typeDoubleValue¶
type DoubleValue struct {// The double value.Valuefloat64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
funcDouble¶added inv1.25.0
func Double(vfloat64) *DoubleValue
Double stores v in a new DoubleValue and returns a pointer to it.
func (*DoubleValue)Descriptordeprecated
func (*DoubleValue) Descriptor() ([]byte, []int)
Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.
func (*DoubleValue)GetValue¶
func (x *DoubleValue) GetValue()float64
func (*DoubleValue)ProtoMessage¶
func (*DoubleValue) ProtoMessage()
func (*DoubleValue)ProtoReflect¶
func (x *DoubleValue) ProtoReflect()protoreflect.Message
func (*DoubleValue)Reset¶
func (x *DoubleValue) Reset()
func (*DoubleValue)String¶
func (x *DoubleValue) String()string
typeFloatValue¶
type FloatValue struct {// The float value.Valuefloat32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
funcFloat¶added inv1.25.0
func Float(vfloat32) *FloatValue
Float stores v in a new FloatValue and returns a pointer to it.
func (*FloatValue)Descriptordeprecated
func (*FloatValue) Descriptor() ([]byte, []int)
Deprecated: Use FloatValue.ProtoReflect.Descriptor instead.
func (*FloatValue)GetValue¶
func (x *FloatValue) GetValue()float32
func (*FloatValue)ProtoMessage¶
func (*FloatValue) ProtoMessage()
func (*FloatValue)ProtoReflect¶
func (x *FloatValue) ProtoReflect()protoreflect.Message
func (*FloatValue)Reset¶
func (x *FloatValue) Reset()
func (*FloatValue)String¶
func (x *FloatValue) String()string
typeInt32Value¶
type Int32Value struct {// The int32 value.Valueint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
funcInt32¶added inv1.25.0
func Int32(vint32) *Int32Value
Int32 stores v in a new Int32Value and returns a pointer to it.
func (*Int32Value)Descriptordeprecated
func (*Int32Value) Descriptor() ([]byte, []int)
Deprecated: Use Int32Value.ProtoReflect.Descriptor instead.
func (*Int32Value)GetValue¶
func (x *Int32Value) GetValue()int32
func (*Int32Value)ProtoMessage¶
func (*Int32Value) ProtoMessage()
func (*Int32Value)ProtoReflect¶
func (x *Int32Value) ProtoReflect()protoreflect.Message
func (*Int32Value)Reset¶
func (x *Int32Value) Reset()
func (*Int32Value)String¶
func (x *Int32Value) String()string
typeInt64Value¶
type Int64Value struct {// The int64 value.Valueint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
funcInt64¶added inv1.25.0
func Int64(vint64) *Int64Value
Int64 stores v in a new Int64Value and returns a pointer to it.
func (*Int64Value)Descriptordeprecated
func (*Int64Value) Descriptor() ([]byte, []int)
Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.
func (*Int64Value)GetValue¶
func (x *Int64Value) GetValue()int64
func (*Int64Value)ProtoMessage¶
func (*Int64Value) ProtoMessage()
func (*Int64Value)ProtoReflect¶
func (x *Int64Value) ProtoReflect()protoreflect.Message
func (*Int64Value)Reset¶
func (x *Int64Value) Reset()
func (*Int64Value)String¶
func (x *Int64Value) String()string
typeStringValue¶
type StringValue struct {// The string value.Valuestring `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
funcString¶added inv1.25.0
func String(vstring) *StringValue
String stores v in a new StringValue and returns a pointer to it.
func (*StringValue)Descriptordeprecated
func (*StringValue) Descriptor() ([]byte, []int)
Deprecated: Use StringValue.ProtoReflect.Descriptor instead.
func (*StringValue)GetValue¶
func (x *StringValue) GetValue()string
func (*StringValue)ProtoMessage¶
func (*StringValue) ProtoMessage()
func (*StringValue)ProtoReflect¶
func (x *StringValue) ProtoReflect()protoreflect.Message
func (*StringValue)Reset¶
func (x *StringValue) Reset()
func (*StringValue)String¶
func (x *StringValue) String()string
typeUInt32Value¶
type UInt32Value struct {// The uint32 value.Valueuint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
funcUInt32¶added inv1.25.0
func UInt32(vuint32) *UInt32Value
UInt32 stores v in a new UInt32Value and returns a pointer to it.
func (*UInt32Value)Descriptordeprecated
func (*UInt32Value) Descriptor() ([]byte, []int)
Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead.
func (*UInt32Value)GetValue¶
func (x *UInt32Value) GetValue()uint32
func (*UInt32Value)ProtoMessage¶
func (*UInt32Value) ProtoMessage()
func (*UInt32Value)ProtoReflect¶
func (x *UInt32Value) ProtoReflect()protoreflect.Message
func (*UInt32Value)Reset¶
func (x *UInt32Value) Reset()
func (*UInt32Value)String¶
func (x *UInt32Value) String()string
typeUInt64Value¶
type UInt64Value struct {// The uint64 value.Valueuint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}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 andhas no plan to be removed.
funcUInt64¶added inv1.25.0
func UInt64(vuint64) *UInt64Value
UInt64 stores v in a new UInt64Value and returns a pointer to it.
func (*UInt64Value)Descriptordeprecated
func (*UInt64Value) Descriptor() ([]byte, []int)
Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.
func (*UInt64Value)GetValue¶
func (x *UInt64Value) GetValue()uint64
func (*UInt64Value)ProtoMessage¶
func (*UInt64Value) ProtoMessage()
func (*UInt64Value)ProtoReflect¶
func (x *UInt64Value) ProtoReflect()protoreflect.Message
func (*UInt64Value)Reset¶
func (x *UInt64Value) Reset()
func (*UInt64Value)String¶
func (x *UInt64Value) String()string