wrappers - ActiveState ActiveGo 1.8
...

Package wrappers

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

Overview ▾

Package wrappers is a generated protocol buffer package.

It is generated from these files:

github.com/golang/protobuf/ptypes/wrappers/wrappers.proto

It has these top-level messages:

DoubleValue
FloatValue
Int64Value
UInt64Value
Int32Value
UInt32Value
BoolValue
StringValue
BytesValue

Index ▾

type BoolValue
    func (*BoolValue) Descriptor() ([]byte, []int)
    func (m *BoolValue) GetValue() bool
    func (*BoolValue) ProtoMessage()
    func (m *BoolValue) Reset()
    func (m *BoolValue) String() string
    func (*BoolValue) XXX_WellKnownType() string
type BytesValue
    func (*BytesValue) Descriptor() ([]byte, []int)
    func (m *BytesValue) GetValue() []byte
    func (*BytesValue) ProtoMessage()
    func (m *BytesValue) Reset()
    func (m *BytesValue) String() string
    func (*BytesValue) XXX_WellKnownType() string
type DoubleValue
    func (*DoubleValue) Descriptor() ([]byte, []int)
    func (m *DoubleValue) GetValue() float64
    func (*DoubleValue) ProtoMessage()
    func (m *DoubleValue) Reset()
    func (m *DoubleValue) String() string
    func (*DoubleValue) XXX_WellKnownType() string
type FloatValue
    func (*FloatValue) Descriptor() ([]byte, []int)
    func (m *FloatValue) GetValue() float32
    func (*FloatValue) ProtoMessage()
    func (m *FloatValue) Reset()
    func (m *FloatValue) String() string
    func (*FloatValue) XXX_WellKnownType() string
type Int32Value
    func (*Int32Value) Descriptor() ([]byte, []int)
    func (m *Int32Value) GetValue() int32
    func (*Int32Value) ProtoMessage()
    func (m *Int32Value) Reset()
    func (m *Int32Value) String() string
    func (*Int32Value) XXX_WellKnownType() string
type Int64Value
    func (*Int64Value) Descriptor() ([]byte, []int)
    func (m *Int64Value) GetValue() int64
    func (*Int64Value) ProtoMessage()
    func (m *Int64Value) Reset()
    func (m *Int64Value) String() string
    func (*Int64Value) XXX_WellKnownType() string
type StringValue
    func (*StringValue) Descriptor() ([]byte, []int)
    func (m *StringValue) GetValue() string
    func (*StringValue) ProtoMessage()
    func (m *StringValue) Reset()
    func (m *StringValue) String() string
    func (*StringValue) XXX_WellKnownType() string
type UInt32Value
    func (*UInt32Value) Descriptor() ([]byte, []int)
    func (m *UInt32Value) GetValue() uint32
    func (*UInt32Value) ProtoMessage()
    func (m *UInt32Value) Reset()
    func (m *UInt32Value) String() string
    func (*UInt32Value) XXX_WellKnownType() string
type UInt64Value
    func (*UInt64Value) Descriptor() ([]byte, []int)
    func (m *UInt64Value) GetValue() uint64
    func (*UInt64Value) ProtoMessage()
    func (m *UInt64Value) Reset()
    func (m *UInt64Value) String() string
    func (*UInt64Value) XXX_WellKnownType() string

Package files

wrappers.pb.go

type BoolValue

Wrapper message for `bool`.

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

type BoolValue struct {
    // The bool value.
    Value bool `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*BoolValue) Descriptor

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

func (*BoolValue) GetValue

func (m *BoolValue) GetValue() bool

func (*BoolValue) ProtoMessage

func (*BoolValue) ProtoMessage()

func (*BoolValue) Reset

func (m *BoolValue) Reset()

func (*BoolValue) String

func (m *BoolValue) String() string

func (*BoolValue) XXX_WellKnownType

func (*BoolValue) XXX_WellKnownType() string

type BytesValue

Wrapper message for `bytes`.

The JSON representation for `BytesValue` is JSON string.

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

func (*BytesValue) Descriptor

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

func (*BytesValue) GetValue

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

func (*BytesValue) ProtoMessage

func (*BytesValue) ProtoMessage()

func (*BytesValue) Reset

func (m *BytesValue) Reset()

func (*BytesValue) String

func (m *BytesValue) String() string

func (*BytesValue) XXX_WellKnownType

func (*BytesValue) XXX_WellKnownType() string

type DoubleValue

Wrapper message for `double`.

The JSON representation for `DoubleValue` is JSON number.

type DoubleValue struct {
    // The double value.
    Value float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
}

func (*DoubleValue) Descriptor

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

func (*DoubleValue) GetValue

func (m *DoubleValue) GetValue() float64

func (*DoubleValue) ProtoMessage

func (*DoubleValue) ProtoMessage()

func (*DoubleValue) Reset

func (m *DoubleValue) Reset()

func (*DoubleValue) String

func (m *DoubleValue) String() string

func (*DoubleValue) XXX_WellKnownType

func (*DoubleValue) XXX_WellKnownType() string

type FloatValue

Wrapper message for `float`.

The JSON representation for `FloatValue` is JSON number.

type FloatValue struct {
    // The float value.
    Value float32 `protobuf:"fixed32,1,opt,name=value" json:"value,omitempty"`
}

func (*FloatValue) Descriptor

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

func (*FloatValue) GetValue

func (m *FloatValue) GetValue() float32

func (*FloatValue) ProtoMessage

func (*FloatValue) ProtoMessage()

func (*FloatValue) Reset

func (m *FloatValue) Reset()

func (*FloatValue) String

func (m *FloatValue) String() string

func (*FloatValue) XXX_WellKnownType

func (*FloatValue) XXX_WellKnownType() string

type Int32Value

Wrapper message for `int32`.

The JSON representation for `Int32Value` is JSON number.

type Int32Value struct {
    // The int32 value.
    Value int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*Int32Value) Descriptor

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

func (*Int32Value) GetValue

func (m *Int32Value) GetValue() int32

func (*Int32Value) ProtoMessage

func (*Int32Value) ProtoMessage()

func (*Int32Value) Reset

func (m *Int32Value) Reset()

func (*Int32Value) String

func (m *Int32Value) String() string

func (*Int32Value) XXX_WellKnownType

func (*Int32Value) XXX_WellKnownType() string

type Int64Value

Wrapper message for `int64`.

The JSON representation for `Int64Value` is JSON string.

type Int64Value struct {
    // The int64 value.
    Value int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*Int64Value) Descriptor

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

func (*Int64Value) GetValue

func (m *Int64Value) GetValue() int64

func (*Int64Value) ProtoMessage

func (*Int64Value) ProtoMessage()

func (*Int64Value) Reset

func (m *Int64Value) Reset()

func (*Int64Value) String

func (m *Int64Value) String() string

func (*Int64Value) XXX_WellKnownType

func (*Int64Value) XXX_WellKnownType() string

type StringValue

Wrapper message for `string`.

The JSON representation for `StringValue` is JSON string.

type StringValue struct {
    // The string value.
    Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}

func (*StringValue) Descriptor

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

func (*StringValue) GetValue

func (m *StringValue) GetValue() string

func (*StringValue) ProtoMessage

func (*StringValue) ProtoMessage()

func (*StringValue) Reset

func (m *StringValue) Reset()

func (*StringValue) String

func (m *StringValue) String() string

func (*StringValue) XXX_WellKnownType

func (*StringValue) XXX_WellKnownType() string

type UInt32Value

Wrapper message for `uint32`.

The JSON representation for `UInt32Value` is JSON number.

type UInt32Value struct {
    // The uint32 value.
    Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*UInt32Value) Descriptor

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

func (*UInt32Value) GetValue

func (m *UInt32Value) GetValue() uint32

func (*UInt32Value) ProtoMessage

func (*UInt32Value) ProtoMessage()

func (*UInt32Value) Reset

func (m *UInt32Value) Reset()

func (*UInt32Value) String

func (m *UInt32Value) String() string

func (*UInt32Value) XXX_WellKnownType

func (*UInt32Value) XXX_WellKnownType() string

type UInt64Value

Wrapper message for `uint64`.

The JSON representation for `UInt64Value` is JSON string.

type UInt64Value struct {
    // The uint64 value.
    Value uint64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*UInt64Value) Descriptor

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

func (*UInt64Value) GetValue

func (m *UInt64Value) GetValue() uint64

func (*UInt64Value) ProtoMessage

func (*UInt64Value) ProtoMessage()

func (*UInt64Value) Reset

func (m *UInt64Value) Reset()

func (*UInt64Value) String

func (m *UInt64Value) String() string

func (*UInt64Value) XXX_WellKnownType

func (*UInt64Value) XXX_WellKnownType() string