example

package
v0.0.0-...-3cd76ab Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Example

type Example struct {
	WithNewTags     string `` /* 127-byte string literal not displayed */
	WithNewMultiple string `` /* 161-byte string literal not displayed */
	ReplaceDefault  string `protobuf:"bytes,3,opt,name=replace_default,json=replaceDefault,proto3" json:"replacePrevious"`
	// Types that are valid to be assigned to OneOf:
	//	*Example_A
	//	*Example_BJk
	OneOf                isExample_OneOf `protobuf_oneof:"one_of" graphql:"withNewTags,optional"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-" graphql:"-" bson:"-"`
	XXX_unrecognized     []byte          `json:"-" graphql:"-" bson:"-"`
	XXX_sizecache        int32           `json:"-" graphql:"-" bson:"-"`
}

func (*Example) Descriptor

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

func (*Example) GetA

func (m *Example) GetA() string

func (*Example) GetBJk

func (m *Example) GetBJk() int32

func (*Example) GetOneOf

func (m *Example) GetOneOf() isExample_OneOf

func (*Example) GetReplaceDefault

func (m *Example) GetReplaceDefault() string

func (*Example) GetWithNewMultiple

func (m *Example) GetWithNewMultiple() string

func (*Example) GetWithNewTags

func (m *Example) GetWithNewTags() string

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) Reset

func (m *Example) Reset()

func (*Example) String

func (m *Example) String() string

func (*Example) XXX_DiscardUnknown

func (m *Example) XXX_DiscardUnknown()

func (*Example) XXX_Marshal

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

func (*Example) XXX_Merge

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

func (*Example) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Example) XXX_Size

func (m *Example) XXX_Size() int

func (*Example) XXX_Unmarshal

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

type Example_A

type Example_A struct {
	A string `protobuf:"bytes,5,opt,name=a,proto3,oneof" json:"A"`
}

type Example_BJk

type Example_BJk struct {
	BJk int32 `protobuf:"varint,6,opt,name=b_jk,json=bJk,proto3,oneof" json:"b_Jk"`
}

type SecondMessage

type SecondMessage struct {
	WithNewTags          string   `` /* 127-byte string literal not displayed */
	WithNewMultiple      string   `` /* 161-byte string literal not displayed */
	ReplaceDefault       string   `protobuf:"bytes,3,opt,name=replace_default,json=replaceDefault,proto3" json:"replacePrevious"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" graphql:"-" bson:"-"`
	XXX_unrecognized     []byte   `json:"-" graphql:"-" bson:"-"`
	XXX_sizecache        int32    `json:"-" graphql:"-" bson:"-"`
}

func (*SecondMessage) Descriptor

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

func (*SecondMessage) GetReplaceDefault

func (m *SecondMessage) GetReplaceDefault() string

func (*SecondMessage) GetWithNewMultiple

func (m *SecondMessage) GetWithNewMultiple() string

func (*SecondMessage) GetWithNewTags

func (m *SecondMessage) GetWithNewTags() string

func (*SecondMessage) ProtoMessage

func (*SecondMessage) ProtoMessage()

func (*SecondMessage) Reset

func (m *SecondMessage) Reset()

func (*SecondMessage) String

func (m *SecondMessage) String() string

func (*SecondMessage) XXX_DiscardUnknown

func (m *SecondMessage) XXX_DiscardUnknown()

func (*SecondMessage) XXX_Marshal

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

func (*SecondMessage) XXX_Merge

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

func (*SecondMessage) XXX_Size

func (m *SecondMessage) XXX_Size() int

func (*SecondMessage) XXX_Unmarshal

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

type ThirdExample

type ThirdExample struct {
	InnerExample         *ThirdExample_InnerExample `protobuf:"bytes,1,opt,name=inner_example,json=innerExample,proto3" json:"inner"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-" graphql:"-" bson:"-"`
	XXX_unrecognized     []byte                     `json:"-" graphql:"-" bson:"-"`
	XXX_sizecache        int32                      `json:"-" graphql:"-" bson:"-"`
}

func (*ThirdExample) Descriptor

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

func (*ThirdExample) GetInnerExample

func (m *ThirdExample) GetInnerExample() *ThirdExample_InnerExample

func (*ThirdExample) ProtoMessage

func (*ThirdExample) ProtoMessage()

func (*ThirdExample) Reset

func (m *ThirdExample) Reset()

func (*ThirdExample) String

func (m *ThirdExample) String() string

func (*ThirdExample) XXX_DiscardUnknown

func (m *ThirdExample) XXX_DiscardUnknown()

func (*ThirdExample) XXX_Marshal

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

func (*ThirdExample) XXX_Merge

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

func (*ThirdExample) XXX_Size

func (m *ThirdExample) XXX_Size() int

func (*ThirdExample) XXX_Unmarshal

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

type ThirdExample_InnerExample

type ThirdExample_InnerExample struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"yes"`
	Yes                  int32    `protobuf:"varint,2,opt,name=yes,proto3" json:"id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" graphql:"-" bson:"-"`
	XXX_unrecognized     []byte   `json:"-" graphql:"-" bson:"-"`
	XXX_sizecache        int32    `json:"-" graphql:"-" bson:"-"`
}

func (*ThirdExample_InnerExample) Descriptor

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

func (*ThirdExample_InnerExample) GetId

func (m *ThirdExample_InnerExample) GetId() string

func (*ThirdExample_InnerExample) GetYes

func (m *ThirdExample_InnerExample) GetYes() int32

func (*ThirdExample_InnerExample) ProtoMessage

func (*ThirdExample_InnerExample) ProtoMessage()

func (*ThirdExample_InnerExample) Reset

func (m *ThirdExample_InnerExample) Reset()

func (*ThirdExample_InnerExample) String

func (m *ThirdExample_InnerExample) String() string

func (*ThirdExample_InnerExample) XXX_DiscardUnknown

func (m *ThirdExample_InnerExample) XXX_DiscardUnknown()

func (*ThirdExample_InnerExample) XXX_Marshal

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

func (*ThirdExample_InnerExample) XXX_Merge

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

func (*ThirdExample_InnerExample) XXX_Size

func (m *ThirdExample_InnerExample) XXX_Size() int

func (*ThirdExample_InnerExample) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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