wrapperspb

package
v0.0.0-...-0786c3e Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_wrapperspb_wrapperspb_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoolValue

type BoolValue struct {

	// The bool value.
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `bool`.

The JSON representation for `BoolValue` is JSON `true` and `false`.

func Bool

func Bool(value bool) *BoolValue

func BoolPtr

func BoolPtr(value *bool) *BoolValue

func (*BoolValue) Descriptor deprecated

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

Deprecated: Use BoolValue.ProtoReflect.Descriptor instead.

func (*BoolValue) GetValue

func (x *BoolValue) GetValue() bool

func (*BoolValue) GetValuePtr

func (m *BoolValue) GetValuePtr() *bool

func (*BoolValue) MarshalJSON

func (m *BoolValue) MarshalJSON() ([]byte, error)

func (*BoolValue) ProtoMessage

func (*BoolValue) ProtoMessage()

func (*BoolValue) ProtoReflect

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

func (*BoolValue) Reset

func (x *BoolValue) Reset()

func (*BoolValue) String

func (x *BoolValue) String() string

func (*BoolValue) UnmarshalJSON

func (m *BoolValue) UnmarshalJSON(p []byte) error

type BytesValue

type BytesValue struct {

	// The bytes value.
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `bytes`.

The JSON representation for `BytesValue` is JSON string.

func Bytes

func Bytes(value []byte) *BytesValue

func BytesPtr

func BytesPtr(value *[]byte) *BytesValue

func (*BytesValue) Descriptor deprecated

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

Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.

func (*BytesValue) GetValue

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

func (*BytesValue) GetValuePtr

func (m *BytesValue) GetValuePtr() *[]byte

func (*BytesValue) MarshalJSON

func (m *BytesValue) MarshalJSON() ([]byte, error)

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

func (*BytesValue) UnmarshalJSON

func (m *BytesValue) UnmarshalJSON(p []byte) error

type DoubleValue

type DoubleValue struct {

	// The double value.
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `double`.

The JSON representation for `DoubleValue` is JSON number.

func Double

func Double(value float64) *DoubleValue

func DoublePtr

func DoublePtr(value *float64) *DoubleValue

func (*DoubleValue) Descriptor deprecated

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

Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.

func (*DoubleValue) GetValue

func (x *DoubleValue) GetValue() float64

func (*DoubleValue) GetValuePtr

func (m *DoubleValue) GetValuePtr() *float64

func (*DoubleValue) MarshalJSON

func (m *DoubleValue) MarshalJSON() ([]byte, error)

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

func (*DoubleValue) UnmarshalJSON

func (m *DoubleValue) UnmarshalJSON(p []byte) error

type FloatValue

type FloatValue struct {

	// The float value.
	Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `float`.

The JSON representation for `FloatValue` is JSON number.

func Float

func Float(value float32) *FloatValue

func FloatPtr

func FloatPtr(value *float32) *FloatValue

func (*FloatValue) Descriptor deprecated

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

Deprecated: Use FloatValue.ProtoReflect.Descriptor instead.

func (*FloatValue) GetValue

func (x *FloatValue) GetValue() float32

func (*FloatValue) GetValuePtr

func (m *FloatValue) GetValuePtr() *float32

func (*FloatValue) MarshalJSON

func (m *FloatValue) MarshalJSON() ([]byte, error)

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

func (*FloatValue) UnmarshalJSON

func (m *FloatValue) UnmarshalJSON(p []byte) error

type Int32Value

type Int32Value struct {

	// The int32 value.
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `int32`.

The JSON representation for `Int32Value` is JSON number.

func Int32

func Int32(value int32) *Int32Value

func Int32Ptr

func Int32Ptr(value *int32) *Int32Value

func (*Int32Value) Descriptor deprecated

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

Deprecated: Use Int32Value.ProtoReflect.Descriptor instead.

func (*Int32Value) GetValue

func (x *Int32Value) GetValue() int32

func (*Int32Value) GetValuePtr

func (m *Int32Value) GetValuePtr() *int32

func (*Int32Value) MarshalJSON

func (m *Int32Value) MarshalJSON() ([]byte, error)

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

func (*Int32Value) UnmarshalJSON

func (m *Int32Value) UnmarshalJSON(p []byte) error

type Int64Value

type Int64Value struct {

	// The int64 value.
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `int64`.

The JSON representation for `Int64Value` is JSON string.

func Int64

func Int64(value int64) *Int64Value

func Int64Ptr

func Int64Ptr(value *int64) *Int64Value

func (*Int64Value) Descriptor deprecated

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

Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.

func (*Int64Value) GetValue

func (x *Int64Value) GetValue() int64

func (*Int64Value) GetValuePtr

func (m *Int64Value) GetValuePtr() *int64

func (*Int64Value) MarshalJSON

func (m *Int64Value) MarshalJSON() ([]byte, error)

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

func (*Int64Value) UnmarshalJSON

func (m *Int64Value) UnmarshalJSON(p []byte) error

type StringValue

type StringValue struct {

	// The string value.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `string`.

The JSON representation for `StringValue` is JSON string.

func String

func String(value string) *StringValue

func StringPtr

func StringPtr(value *string) *StringValue

func (*StringValue) Descriptor deprecated

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

Deprecated: Use StringValue.ProtoReflect.Descriptor instead.

func (*StringValue) GetValue

func (x *StringValue) GetValue() string

func (*StringValue) GetValuePtr

func (m *StringValue) GetValuePtr() *string

func (*StringValue) MarshalJSON

func (m *StringValue) MarshalJSON() ([]byte, error)

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

func (*StringValue) UnmarshalJSON

func (m *StringValue) UnmarshalJSON(p []byte) error

type UInt32Value

type UInt32Value struct {

	// The uint32 value.
	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `uint32`.

The JSON representation for `UInt32Value` is JSON number.

func UInt32

func UInt32(value uint32) *UInt32Value

func UInt32Ptr

func UInt32Ptr(value *uint32) *UInt32Value

func (*UInt32Value) Descriptor deprecated

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

Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead.

func (*UInt32Value) GetValue

func (x *UInt32Value) GetValue() uint32

func (*UInt32Value) GetValuePtr

func (m *UInt32Value) GetValuePtr() *uint32

func (*UInt32Value) MarshalJSON

func (m *UInt32Value) MarshalJSON() ([]byte, error)

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

func (*UInt32Value) UnmarshalJSON

func (m *UInt32Value) UnmarshalJSON(p []byte) error

type UInt64Value

type UInt64Value struct {

	// The uint64 value.
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

Wrapper message for `uint64`.

The JSON representation for `UInt64Value` is JSON string.

func UInt64

func UInt64(value uint64) *UInt64Value

func UInt64Ptr

func UInt64Ptr(value *uint64) *UInt64Value

func (*UInt64Value) Descriptor deprecated

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

Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.

func (*UInt64Value) GetValue

func (x *UInt64Value) GetValue() uint64

func (*UInt64Value) GetValuePtr

func (m *UInt64Value) GetValuePtr() *uint64

func (*UInt64Value) MarshalJSON

func (m *UInt64Value) MarshalJSON() ([]byte, error)

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

func (*UInt64Value) UnmarshalJSON

func (m *UInt64Value) UnmarshalJSON(p []byte) error

Jump to

Keyboard shortcuts

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