pb

package
v1.0.0-3rein Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FooBar

type FooBar struct {
	// @inject_tag_oneof: Foo: validate:"non-zero"
	//
	// Types that are valid to be assigned to Data:
	//	*FooBar_Foo_
	//	*FooBar_Bar_
	Data                 isFooBar_Data `protobuf_oneof:"Data"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*FooBar) Descriptor

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

func (*FooBar) GetBar

func (m *FooBar) GetBar() *FooBar_Bar

func (*FooBar) GetData

func (m *FooBar) GetData() isFooBar_Data

func (*FooBar) GetFoo

func (m *FooBar) GetFoo() *FooBar_Foo

func (*FooBar) ProtoMessage

func (*FooBar) ProtoMessage()

func (*FooBar) Reset

func (m *FooBar) Reset()

func (*FooBar) String

func (m *FooBar) String() string

func (*FooBar) XXX_DiscardUnknown

func (m *FooBar) XXX_DiscardUnknown()

func (*FooBar) XXX_Marshal

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

func (*FooBar) XXX_Merge

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

func (*FooBar) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*FooBar) XXX_Size

func (m *FooBar) XXX_Size() int

func (*FooBar) XXX_Unmarshal

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

type FooBar_Bar

type FooBar_Bar struct {
	Bar                  string   `protobuf:"bytes,1,opt,name=bar,proto3" json:"bar,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FooBar_Bar) Descriptor

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

func (*FooBar_Bar) GetBar

func (m *FooBar_Bar) GetBar() string

func (*FooBar_Bar) ProtoMessage

func (*FooBar_Bar) ProtoMessage()

func (*FooBar_Bar) Reset

func (m *FooBar_Bar) Reset()

func (*FooBar_Bar) String

func (m *FooBar_Bar) String() string

func (*FooBar_Bar) XXX_DiscardUnknown

func (m *FooBar_Bar) XXX_DiscardUnknown()

func (*FooBar_Bar) XXX_Marshal

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

func (*FooBar_Bar) XXX_Merge

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

func (*FooBar_Bar) XXX_Size

func (m *FooBar_Bar) XXX_Size() int

func (*FooBar_Bar) XXX_Unmarshal

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

type FooBar_Bar_

type FooBar_Bar_ struct {
	Bar *FooBar_Bar `protobuf:"bytes,3,opt,name=bar,proto3,oneof"`
}

type FooBar_Foo

type FooBar_Foo struct {
	Foo                  int32    `protobuf:"varint,1,opt,name=foo,proto3" json:"foo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FooBar_Foo) Descriptor

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

func (*FooBar_Foo) GetFoo

func (m *FooBar_Foo) GetFoo() int32

func (*FooBar_Foo) ProtoMessage

func (*FooBar_Foo) ProtoMessage()

func (*FooBar_Foo) Reset

func (m *FooBar_Foo) Reset()

func (*FooBar_Foo) String

func (m *FooBar_Foo) String() string

func (*FooBar_Foo) XXX_DiscardUnknown

func (m *FooBar_Foo) XXX_DiscardUnknown()

func (*FooBar_Foo) XXX_Marshal

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

func (*FooBar_Foo) XXX_Merge

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

func (*FooBar_Foo) XXX_Size

func (m *FooBar_Foo) XXX_Size() int

func (*FooBar_Foo) XXX_Unmarshal

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

type FooBar_Foo_

type FooBar_Foo_ struct {
	Foo *FooBar_Foo `protobuf:"bytes,2,opt,name=foo,proto3,oneof"`
}

type IP

type IP struct {
	// @inject_tag: valid:"ip" yaml:"ip" json:"overrided"
	Address              string   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IP) Descriptor

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

func (*IP) GetAddress

func (m *IP) GetAddress() string

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) Reset

func (m *IP) Reset()

func (*IP) String

func (m *IP) String() string

func (*IP) XXX_DiscardUnknown

func (m *IP) XXX_DiscardUnknown()

func (*IP) XXX_Marshal

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

func (*IP) XXX_Merge

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

func (*IP) XXX_Size

func (m *IP) XXX_Size() int

func (*IP) XXX_Unmarshal

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

type URL

type URL struct {
	// @inject_tag: valid:"http|https"
	Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
	Url    string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// @inject_tag: valid:"nonzero"
	Port                 int32    `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*URL) Descriptor

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

func (*URL) GetPort

func (m *URL) GetPort() int32

func (*URL) GetScheme

func (m *URL) GetScheme() string

func (*URL) GetUrl

func (m *URL) GetUrl() string

func (*URL) ProtoMessage

func (*URL) ProtoMessage()

func (*URL) Reset

func (m *URL) Reset()

func (*URL) String

func (m *URL) String() string

func (*URL) XXX_DiscardUnknown

func (m *URL) XXX_DiscardUnknown()

func (*URL) XXX_Marshal

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

func (*URL) XXX_Merge

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

func (*URL) XXX_Size

func (m *URL) XXX_Size() int

func (*URL) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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