protobuf: google.golang.org/protobuf/types/known/wrapperspb Index | Files

package wrapperspb

import "google.golang.org/protobuf/types/known/wrapperspb"

Index

Package Files

wrappers.pb.go

Variables

var File_google_protobuf_wrappers_proto protoreflect.FileDescriptor

type BoolValue Uses

type BoolValue struct {

    // The bool value.
    Value bool `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`.

func Bool Uses

func Bool(v bool) *BoolValue

Bool stores v in a new BoolValue and returns a pointer to it.

func (*BoolValue) Descriptor Uses

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

Deprecated: Use BoolValue.ProtoReflect.Descriptor instead.

func (*BoolValue) GetValue Uses

func (x *BoolValue) GetValue() bool

func (*BoolValue) ProtoMessage Uses

func (*BoolValue) ProtoMessage()

func (*BoolValue) ProtoReflect Uses

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

func (*BoolValue) Reset Uses

func (x *BoolValue) Reset()

func (*BoolValue) String Uses

func (x *BoolValue) String() string

type BytesValue Uses

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.

func Bytes Uses

func Bytes(v []byte) *BytesValue

Bytes stores v in a new BytesValue and returns a pointer to it.

func (*BytesValue) Descriptor Uses

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

Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.

func (*BytesValue) GetValue Uses

func (x *BytesValue) GetValue() []byte

func (*BytesValue) ProtoMessage Uses

func (*BytesValue) ProtoMessage()

func (*BytesValue) ProtoReflect Uses

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

func (*BytesValue) Reset Uses

func (x *BytesValue) Reset()

func (*BytesValue) String Uses

func (x *BytesValue) String() string

type DoubleValue Uses

type DoubleValue struct {

    // The double value.
    Value float64 `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.

func Double Uses

func Double(v float64) *DoubleValue

Double stores v in a new DoubleValue and returns a pointer to it.

func (*DoubleValue) Descriptor Uses

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

Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.

func (*DoubleValue) GetValue Uses

func (x *DoubleValue) GetValue() float64

func (*DoubleValue) ProtoMessage Uses

func (*DoubleValue) ProtoMessage()

func (*DoubleValue) ProtoReflect Uses

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

func (*DoubleValue) Reset Uses

func (x *DoubleValue) Reset()

func (*DoubleValue) String Uses

func (x *DoubleValue) String() string

type FloatValue Uses

type FloatValue struct {

    // The float value.
    Value float32 `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.

func Float Uses

func Float(v float32) *FloatValue

Float stores v in a new FloatValue and returns a pointer to it.

func (*FloatValue) Descriptor Uses

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

Deprecated: Use FloatValue.ProtoReflect.Descriptor instead.

func (*FloatValue) GetValue Uses

func (x *FloatValue) GetValue() float32

func (*FloatValue) ProtoMessage Uses

func (*FloatValue) ProtoMessage()

func (*FloatValue) ProtoReflect Uses

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

func (*FloatValue) Reset Uses

func (x *FloatValue) Reset()

func (*FloatValue) String Uses

func (x *FloatValue) String() string

type Int32Value Uses

type Int32Value struct {

    // The int32 value.
    Value int32 `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.

func Int32 Uses

func Int32(v int32) *Int32Value

Int32 stores v in a new Int32Value and returns a pointer to it.

func (*Int32Value) Descriptor Uses

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

Deprecated: Use Int32Value.ProtoReflect.Descriptor instead.

func (*Int32Value) GetValue Uses

func (x *Int32Value) GetValue() int32

func (*Int32Value) ProtoMessage Uses

func (*Int32Value) ProtoMessage()

func (*Int32Value) ProtoReflect Uses

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

func (*Int32Value) Reset Uses

func (x *Int32Value) Reset()

func (*Int32Value) String Uses

func (x *Int32Value) String() string

type Int64Value Uses

type Int64Value struct {

    // The int64 value.
    Value int64 `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.

func Int64 Uses

func Int64(v int64) *Int64Value

Int64 stores v in a new Int64Value and returns a pointer to it.

func (*Int64Value) Descriptor Uses

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

Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.

func (*Int64Value) GetValue Uses

func (x *Int64Value) GetValue() int64

func (*Int64Value) ProtoMessage Uses

func (*Int64Value) ProtoMessage()

func (*Int64Value) ProtoReflect Uses

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

func (*Int64Value) Reset Uses

func (x *Int64Value) Reset()

func (*Int64Value) String Uses

func (x *Int64Value) String() string

type StringValue Uses

type StringValue struct {

    // The string value.
    Value string `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.

func String Uses

func String(v string) *StringValue

String stores v in a new StringValue and returns a pointer to it.

func (*StringValue) Descriptor Uses

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

Deprecated: Use StringValue.ProtoReflect.Descriptor instead.

func (*StringValue) GetValue Uses

func (x *StringValue) GetValue() string

func (*StringValue) ProtoMessage Uses

func (*StringValue) ProtoMessage()

func (*StringValue) ProtoReflect Uses

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

func (*StringValue) Reset Uses

func (x *StringValue) Reset()

func (*StringValue) String Uses

func (x *StringValue) String() string

type UInt32Value Uses

type UInt32Value struct {

    // The uint32 value.
    Value uint32 `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.

func UInt32 Uses

func UInt32(v uint32) *UInt32Value

UInt32 stores v in a new UInt32Value and returns a pointer to it.

func (*UInt32Value) Descriptor Uses

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

Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead.

func (*UInt32Value) GetValue Uses

func (x *UInt32Value) GetValue() uint32

func (*UInt32Value) ProtoMessage Uses

func (*UInt32Value) ProtoMessage()

func (*UInt32Value) ProtoReflect Uses

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

func (*UInt32Value) Reset Uses

func (x *UInt32Value) Reset()

func (*UInt32Value) String Uses

func (x *UInt32Value) String() string

type UInt64Value Uses

type UInt64Value struct {

    // The uint64 value.
    Value uint64 `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.

func UInt64 Uses

func UInt64(v uint64) *UInt64Value

UInt64 stores v in a new UInt64Value and returns a pointer to it.

func (*UInt64Value) Descriptor Uses

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

Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.

func (*UInt64Value) GetValue Uses

func (x *UInt64Value) GetValue() uint64

func (*UInt64Value) ProtoMessage Uses

func (*UInt64Value) ProtoMessage()

func (*UInt64Value) ProtoReflect Uses

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

func (*UInt64Value) Reset Uses

func (x *UInt64Value) Reset()

func (*UInt64Value) String Uses

func (x *UInt64Value) String() string

Package wrapperspb imports 4 packages (graph) and is imported by 71 packages. Updated 2020-09-09. Refresh now. Tools for package owners.