types

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package types is a generated protocol buffer package.

It is generated from these files:

types/types.proto

It has these top-level messages:

UUIDValue
JSONValue
UUID

Index

Constants

View Source
const ZeroUUID = "00000000-0000-0000-0000-000000000000"

ZeroUUID The Zero value used for non-nil, but uninitialized UUID type

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONValue added in v0.5.0

type JSONValue struct {
	Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}

func (*JSONValue) Descriptor added in v0.5.0

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

func (*JSONValue) GetValue added in v0.5.0

func (m *JSONValue) GetValue() string

func (*JSONValue) MarshalJSONPB added in v0.5.0

func (m *JSONValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)

MarshalJSONPB overloads JSONValue's standard PB -> JSON conversion

func (*JSONValue) ProtoMessage added in v0.5.0

func (*JSONValue) ProtoMessage()

func (*JSONValue) Reset added in v0.5.0

func (m *JSONValue) Reset()

func (*JSONValue) String added in v0.5.0

func (m *JSONValue) String() string

func (*JSONValue) UnmarshalJSONPB added in v0.5.0

func (m *JSONValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error

UnmarshalJSONPB overloads JSONValue's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later

type UUID added in v0.5.1

type UUID struct {
	Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}

func (*UUID) Descriptor added in v0.5.1

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

func (*UUID) GetValue added in v0.5.1

func (m *UUID) GetValue() string

func (*UUID) MarshalJSONPB added in v0.5.1

func (m *UUID) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)

MarshalJSONPB overloads UUID's standard PB -> JSON conversion

func (*UUID) ProtoMessage added in v0.5.1

func (*UUID) ProtoMessage()

func (*UUID) Reset added in v0.5.1

func (m *UUID) Reset()

func (*UUID) String added in v0.5.1

func (m *UUID) String() string

func (*UUID) UnmarshalJSONPB added in v0.5.1

func (m *UUID) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error

UnmarshalJSONPB overloads UUID's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later

type UUIDValue

type UUIDValue struct {
	Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}

func (*UUIDValue) Descriptor

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

func (*UUIDValue) GetValue

func (m *UUIDValue) GetValue() string

func (*UUIDValue) MarshalJSONPB added in v0.5.0

func (m *UUIDValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)

MarshalJSONPB overloads UUIDValue's standard PB -> JSON conversion

func (*UUIDValue) ProtoMessage

func (*UUIDValue) ProtoMessage()

func (*UUIDValue) Reset

func (m *UUIDValue) Reset()

func (*UUIDValue) String

func (m *UUIDValue) String() string

func (*UUIDValue) UnmarshalJSONPB added in v0.5.0

func (m *UUIDValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error

UnmarshalJSONPB overloads UUIDValue's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later

Jump to

Keyboard shortcuts

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