me_piotr_wera

package
v0.0.0-...-a26f0f0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextEnum_name = map[int32]string{
	0: "UNDEFINEX",
	1: "GOOD",
	2: "BAD",
}
View Source
var ContextEnum_value = map[string]int32{
	"UNDEFINEX": 0,
	"GOOD":      1,
	"BAD":       2,
}

Functions

This section is empty.

Types

type ContextEnum

type ContextEnum int32
const (
	ContextEnum_UNDEFINEX ContextEnum = 0
	ContextEnum_GOOD      ContextEnum = 1
	ContextEnum_BAD       ContextEnum = 2
)

func (ContextEnum) EnumDescriptor

func (ContextEnum) EnumDescriptor() ([]byte, []int)

func (ContextEnum) String

func (x ContextEnum) String() string

type MyMessage

type MyMessage struct {
	Name      string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Numbers   []int32              `protobuf:"varint,2,rep,packed,name=numbers,proto3" json:"numbers,omitempty"`
	Context   ContextEnum          `protobuf:"varint,3,opt,name=context,proto3,enum=me.piotr.wera.ContextEnum" json:"context,omitempty"`
	Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Types that are valid to be assigned to Variant:
	//	*MyMessage_Value1
	//	*MyMessage_Value2
	Variant              isMyMessage_Variant `protobuf_oneof:"variant"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*MyMessage) Descriptor

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

func (*MyMessage) GetContext

func (m *MyMessage) GetContext() ContextEnum

func (*MyMessage) GetName

func (m *MyMessage) GetName() string

func (*MyMessage) GetNumbers

func (m *MyMessage) GetNumbers() []int32

func (*MyMessage) GetTimestamp

func (m *MyMessage) GetTimestamp() *timestamp.Timestamp

func (*MyMessage) GetValue1

func (m *MyMessage) GetValue1() string

func (*MyMessage) GetValue2

func (m *MyMessage) GetValue2() int32

func (*MyMessage) GetVariant

func (m *MyMessage) GetVariant() isMyMessage_Variant

func (*MyMessage) ProtoMessage

func (*MyMessage) ProtoMessage()

func (*MyMessage) Reset

func (m *MyMessage) Reset()

func (*MyMessage) String

func (m *MyMessage) String() string

func (*MyMessage) XXX_DiscardUnknown

func (m *MyMessage) XXX_DiscardUnknown()

func (*MyMessage) XXX_Marshal

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

func (*MyMessage) XXX_Merge

func (m *MyMessage) XXX_Merge(src proto.Message)

func (*MyMessage) XXX_OneofWrappers

func (*MyMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MyMessage) XXX_Size

func (m *MyMessage) XXX_Size() int

func (*MyMessage) XXX_Unmarshal

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

type MyMessageWrapper

type MyMessageWrapper struct {
	Messages             []*MyMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*MyMessageWrapper) Descriptor

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

func (*MyMessageWrapper) GetMessages

func (m *MyMessageWrapper) GetMessages() []*MyMessage

func (*MyMessageWrapper) ProtoMessage

func (*MyMessageWrapper) ProtoMessage()

func (*MyMessageWrapper) Reset

func (m *MyMessageWrapper) Reset()

func (*MyMessageWrapper) String

func (m *MyMessageWrapper) String() string

func (*MyMessageWrapper) XXX_DiscardUnknown

func (m *MyMessageWrapper) XXX_DiscardUnknown()

func (*MyMessageWrapper) XXX_Marshal

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

func (*MyMessageWrapper) XXX_Merge

func (m *MyMessageWrapper) XXX_Merge(src proto.Message)

func (*MyMessageWrapper) XXX_Size

func (m *MyMessageWrapper) XXX_Size() int

func (*MyMessageWrapper) XXX_Unmarshal

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

type MyMessage_Value1

type MyMessage_Value1 struct {
	Value1 string `protobuf:"bytes,5,opt,name=value1,proto3,oneof"`
}

type MyMessage_Value2

type MyMessage_Value2 struct {
	Value2 int32 `protobuf:"varint,6,opt,name=value2,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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