protobuf: github.com/golang/protobuf/ptypes/wrappers Index | Files

package wrappers

import "github.com/golang/protobuf/ptypes/wrappers"

Index

Package Files

wrappers.pb.go

type BoolValue Uses

type BoolValue struct {
    // The bool value.
    Value                bool     `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `bool`.

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

func (*BoolValue) Descriptor Uses

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

func (*BoolValue) GetValue Uses

func (m *BoolValue) GetValue() bool

func (*BoolValue) ProtoMessage Uses

func (*BoolValue) ProtoMessage()

func (*BoolValue) Reset Uses

func (m *BoolValue) Reset()

func (*BoolValue) String Uses

func (m *BoolValue) String() string

func (*BoolValue) XXX_DiscardUnknown Uses

func (m *BoolValue) XXX_DiscardUnknown()

func (*BoolValue) XXX_Marshal Uses

func (m *BoolValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoolValue) XXX_Merge Uses

func (dst *BoolValue) XXX_Merge(src proto.Message)

func (*BoolValue) XXX_Size Uses

func (m *BoolValue) XXX_Size() int

func (*BoolValue) XXX_Unmarshal Uses

func (m *BoolValue) XXX_Unmarshal(b []byte) error

func (*BoolValue) XXX_WellKnownType Uses

func (*BoolValue) XXX_WellKnownType() string

type BytesValue Uses

type BytesValue struct {
    // The bytes value.
    Value                []byte   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `bytes`.

The JSON representation for `BytesValue` is JSON string.

func (*BytesValue) Descriptor Uses

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

func (*BytesValue) GetValue Uses

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

func (*BytesValue) ProtoMessage Uses

func (*BytesValue) ProtoMessage()

func (*BytesValue) Reset Uses

func (m *BytesValue) Reset()

func (*BytesValue) String Uses

func (m *BytesValue) String() string

func (*BytesValue) XXX_DiscardUnknown Uses

func (m *BytesValue) XXX_DiscardUnknown()

func (*BytesValue) XXX_Marshal Uses

func (m *BytesValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BytesValue) XXX_Merge Uses

func (dst *BytesValue) XXX_Merge(src proto.Message)

func (*BytesValue) XXX_Size Uses

func (m *BytesValue) XXX_Size() int

func (*BytesValue) XXX_Unmarshal Uses

func (m *BytesValue) XXX_Unmarshal(b []byte) error

func (*BytesValue) XXX_WellKnownType Uses

func (*BytesValue) XXX_WellKnownType() string

type DoubleValue Uses

type DoubleValue struct {
    // The double value.
    Value                float64  `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `double`.

The JSON representation for `DoubleValue` is JSON number.

func (*DoubleValue) Descriptor Uses

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

func (*DoubleValue) GetValue Uses

func (m *DoubleValue) GetValue() float64

func (*DoubleValue) ProtoMessage Uses

func (*DoubleValue) ProtoMessage()

func (*DoubleValue) Reset Uses

func (m *DoubleValue) Reset()

func (*DoubleValue) String Uses

func (m *DoubleValue) String() string

func (*DoubleValue) XXX_DiscardUnknown Uses

func (m *DoubleValue) XXX_DiscardUnknown()

func (*DoubleValue) XXX_Marshal Uses

func (m *DoubleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DoubleValue) XXX_Merge Uses

func (dst *DoubleValue) XXX_Merge(src proto.Message)

func (*DoubleValue) XXX_Size Uses

func (m *DoubleValue) XXX_Size() int

func (*DoubleValue) XXX_Unmarshal Uses

func (m *DoubleValue) XXX_Unmarshal(b []byte) error

func (*DoubleValue) XXX_WellKnownType Uses

func (*DoubleValue) XXX_WellKnownType() string

type FloatValue Uses

type FloatValue struct {
    // The float value.
    Value                float32  `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `float`.

The JSON representation for `FloatValue` is JSON number.

func (*FloatValue) Descriptor Uses

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

func (*FloatValue) GetValue Uses

func (m *FloatValue) GetValue() float32

func (*FloatValue) ProtoMessage Uses

func (*FloatValue) ProtoMessage()

func (*FloatValue) Reset Uses

func (m *FloatValue) Reset()

func (*FloatValue) String Uses

func (m *FloatValue) String() string

func (*FloatValue) XXX_DiscardUnknown Uses

func (m *FloatValue) XXX_DiscardUnknown()

func (*FloatValue) XXX_Marshal Uses

func (m *FloatValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FloatValue) XXX_Merge Uses

func (dst *FloatValue) XXX_Merge(src proto.Message)

func (*FloatValue) XXX_Size Uses

func (m *FloatValue) XXX_Size() int

func (*FloatValue) XXX_Unmarshal Uses

func (m *FloatValue) XXX_Unmarshal(b []byte) error

func (*FloatValue) XXX_WellKnownType Uses

func (*FloatValue) XXX_WellKnownType() string

type Int32Value Uses

type Int32Value struct {
    // The int32 value.
    Value                int32    `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `int32`.

The JSON representation for `Int32Value` is JSON number.

func (*Int32Value) Descriptor Uses

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

func (*Int32Value) GetValue Uses

func (m *Int32Value) GetValue() int32

func (*Int32Value) ProtoMessage Uses

func (*Int32Value) ProtoMessage()

func (*Int32Value) Reset Uses

func (m *Int32Value) Reset()

func (*Int32Value) String Uses

func (m *Int32Value) String() string

func (*Int32Value) XXX_DiscardUnknown Uses

func (m *Int32Value) XXX_DiscardUnknown()

func (*Int32Value) XXX_Marshal Uses

func (m *Int32Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Int32Value) XXX_Merge Uses

func (dst *Int32Value) XXX_Merge(src proto.Message)

func (*Int32Value) XXX_Size Uses

func (m *Int32Value) XXX_Size() int

func (*Int32Value) XXX_Unmarshal Uses

func (m *Int32Value) XXX_Unmarshal(b []byte) error

func (*Int32Value) XXX_WellKnownType Uses

func (*Int32Value) XXX_WellKnownType() string

type Int64Value Uses

type Int64Value struct {
    // The int64 value.
    Value                int64    `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `int64`.

The JSON representation for `Int64Value` is JSON string.

func (*Int64Value) Descriptor Uses

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

func (*Int64Value) GetValue Uses

func (m *Int64Value) GetValue() int64

func (*Int64Value) ProtoMessage Uses

func (*Int64Value) ProtoMessage()

func (*Int64Value) Reset Uses

func (m *Int64Value) Reset()

func (*Int64Value) String Uses

func (m *Int64Value) String() string

func (*Int64Value) XXX_DiscardUnknown Uses

func (m *Int64Value) XXX_DiscardUnknown()

func (*Int64Value) XXX_Marshal Uses

func (m *Int64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Int64Value) XXX_Merge Uses

func (dst *Int64Value) XXX_Merge(src proto.Message)

func (*Int64Value) XXX_Size Uses

func (m *Int64Value) XXX_Size() int

func (*Int64Value) XXX_Unmarshal Uses

func (m *Int64Value) XXX_Unmarshal(b []byte) error

func (*Int64Value) XXX_WellKnownType Uses

func (*Int64Value) XXX_WellKnownType() string

type StringValue Uses

type StringValue struct {
    // The string value.
    Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `string`.

The JSON representation for `StringValue` is JSON string.

func (*StringValue) Descriptor Uses

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

func (*StringValue) GetValue Uses

func (m *StringValue) GetValue() string

func (*StringValue) ProtoMessage Uses

func (*StringValue) ProtoMessage()

func (*StringValue) Reset Uses

func (m *StringValue) Reset()

func (*StringValue) String Uses

func (m *StringValue) String() string

func (*StringValue) XXX_DiscardUnknown Uses

func (m *StringValue) XXX_DiscardUnknown()

func (*StringValue) XXX_Marshal Uses

func (m *StringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringValue) XXX_Merge Uses

func (dst *StringValue) XXX_Merge(src proto.Message)

func (*StringValue) XXX_Size Uses

func (m *StringValue) XXX_Size() int

func (*StringValue) XXX_Unmarshal Uses

func (m *StringValue) XXX_Unmarshal(b []byte) error

func (*StringValue) XXX_WellKnownType Uses

func (*StringValue) XXX_WellKnownType() string

type UInt32Value Uses

type UInt32Value struct {
    // The uint32 value.
    Value                uint32   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `uint32`.

The JSON representation for `UInt32Value` is JSON number.

func (*UInt32Value) Descriptor Uses

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

func (*UInt32Value) GetValue Uses

func (m *UInt32Value) GetValue() uint32

func (*UInt32Value) ProtoMessage Uses

func (*UInt32Value) ProtoMessage()

func (*UInt32Value) Reset Uses

func (m *UInt32Value) Reset()

func (*UInt32Value) String Uses

func (m *UInt32Value) String() string

func (*UInt32Value) XXX_DiscardUnknown Uses

func (m *UInt32Value) XXX_DiscardUnknown()

func (*UInt32Value) XXX_Marshal Uses

func (m *UInt32Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UInt32Value) XXX_Merge Uses

func (dst *UInt32Value) XXX_Merge(src proto.Message)

func (*UInt32Value) XXX_Size Uses

func (m *UInt32Value) XXX_Size() int

func (*UInt32Value) XXX_Unmarshal Uses

func (m *UInt32Value) XXX_Unmarshal(b []byte) error

func (*UInt32Value) XXX_WellKnownType Uses

func (*UInt32Value) XXX_WellKnownType() string

type UInt64Value Uses

type UInt64Value struct {
    // The uint64 value.
    Value                uint64   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `uint64`.

The JSON representation for `UInt64Value` is JSON string.

func (*UInt64Value) Descriptor Uses

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

func (*UInt64Value) GetValue Uses

func (m *UInt64Value) GetValue() uint64

func (*UInt64Value) ProtoMessage Uses

func (*UInt64Value) ProtoMessage()

func (*UInt64Value) Reset Uses

func (m *UInt64Value) Reset()

func (*UInt64Value) String Uses

func (m *UInt64Value) String() string

func (*UInt64Value) XXX_DiscardUnknown Uses

func (m *UInt64Value) XXX_DiscardUnknown()

func (*UInt64Value) XXX_Marshal Uses

func (m *UInt64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UInt64Value) XXX_Merge Uses

func (dst *UInt64Value) XXX_Merge(src proto.Message)

func (*UInt64Value) XXX_Size Uses

func (m *UInt64Value) XXX_Size() int

func (*UInt64Value) XXX_Unmarshal Uses

func (m *UInt64Value) XXX_Unmarshal(b []byte) error

func (*UInt64Value) XXX_WellKnownType Uses

func (*UInt64Value) XXX_WellKnownType() string

Package wrappers imports 3 packages (graph) and is imported by 120 packages. Updated 2018-06-06. Refresh now. Tools for package owners.