pb

package
v0.0.0-...-8b57a7c Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Package              string    `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	Imports              []Package `protobuf:"bytes,2,rep,name=imports,proto3" json:"imports"`
	Services             []Service `protobuf:"bytes,3,rep,name=services,proto3" json:"services"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Base) Descriptor

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

func (*Base) GetImports

func (m *Base) GetImports() []Package

func (*Base) GetPackage

func (m *Base) GetPackage() string

func (*Base) GetServices

func (m *Base) GetServices() []Service

func (*Base) ProtoMessage

func (*Base) ProtoMessage()

func (*Base) Reset

func (m *Base) Reset()

func (*Base) String

func (m *Base) String() string

func (*Base) XXX_DiscardUnknown

func (m *Base) XXX_DiscardUnknown()

func (*Base) XXX_Marshal

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

func (*Base) XXX_Merge

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

func (*Base) XXX_Size

func (m *Base) XXX_Size() int

func (*Base) XXX_Unmarshal

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

type FieldImport

type FieldImport struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Tag                  string   `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FieldImport) Descriptor

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

func (*FieldImport) GetName

func (m *FieldImport) GetName() string

func (*FieldImport) GetTag

func (m *FieldImport) GetTag() string

func (*FieldImport) ProtoMessage

func (*FieldImport) ProtoMessage()

func (*FieldImport) Reset

func (m *FieldImport) Reset()

func (*FieldImport) String

func (m *FieldImport) String() string

func (*FieldImport) XXX_DiscardUnknown

func (m *FieldImport) XXX_DiscardUnknown()

func (*FieldImport) XXX_Marshal

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

func (*FieldImport) XXX_Merge

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

func (*FieldImport) XXX_Size

func (m *FieldImport) XXX_Size() int

func (*FieldImport) XXX_Unmarshal

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

type Fields

type Fields struct {
	FieldImport          []FieldImport `protobuf:"bytes,1,rep,name=field_import,json=fieldImport,proto3" json:"field_import"`
	Type                 string        `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	UpperCamelCase       string        `protobuf:"bytes,3,opt,name=upper_camel_case,json=upperCamelCase,proto3" json:"upper_camel_case,omitempty"`
	Base                 []string      `protobuf:"bytes,4,rep,name=base,proto3" json:"base,omitempty"`
	Lowercase            []string      `protobuf:"bytes,5,rep,name=lowercase,proto3" json:"lowercase,omitempty"`
	DotNotation          []string      `protobuf:"bytes,6,rep,name=dot_notation,json=dotNotation,proto3" json:"dot_notation,omitempty"`
	ParamCase            []string      `protobuf:"bytes,7,rep,name=param_case,json=paramCase,proto3" json:"param_case,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Fields) Descriptor

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

func (*Fields) GetBase

func (m *Fields) GetBase() []string

func (*Fields) GetDotNotation

func (m *Fields) GetDotNotation() []string

func (*Fields) GetFieldImport

func (m *Fields) GetFieldImport() []FieldImport

func (*Fields) GetLowercase

func (m *Fields) GetLowercase() []string

func (*Fields) GetParamCase

func (m *Fields) GetParamCase() []string

func (*Fields) GetType

func (m *Fields) GetType() string

func (*Fields) GetUpperCamelCase

func (m *Fields) GetUpperCamelCase() string

func (*Fields) ProtoMessage

func (*Fields) ProtoMessage()

func (*Fields) Reset

func (m *Fields) Reset()

func (*Fields) String

func (m *Fields) String() string

func (*Fields) XXX_DiscardUnknown

func (m *Fields) XXX_DiscardUnknown()

func (*Fields) XXX_Marshal

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

func (*Fields) XXX_Merge

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

func (*Fields) XXX_Size

func (m *Fields) XXX_Size() int

func (*Fields) XXX_Unmarshal

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

type Input

type Input struct {
	FieldName            string   `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	FieldValue           string   `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Input) Descriptor

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

func (*Input) GetFieldName

func (m *Input) GetFieldName() string

func (*Input) GetFieldValue

func (m *Input) GetFieldValue() string

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) Reset

func (m *Input) Reset()

func (*Input) String

func (m *Input) String() string

func (*Input) XXX_DiscardUnknown

func (m *Input) XXX_DiscardUnknown()

func (*Input) XXX_Marshal

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

func (*Input) XXX_Merge

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

func (*Input) XXX_Size

func (m *Input) XXX_Size() int

func (*Input) XXX_Unmarshal

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

type Method

type Method struct {
	UpperCamelCaseServiceName string                `` /* 142-byte string literal not displayed */
	UpperCamelCaseMethodName  string                `` /* 139-byte string literal not displayed */
	InputType                 string                `protobuf:"bytes,3,opt,name=input_type,json=inputType,proto3" json:"input_type,omitempty"`
	InputFields               Fields                `protobuf:"bytes,4,opt,name=input_fields,json=inputFields,proto3" json:"input_fields"`
	OutputType                string                `protobuf:"bytes,5,opt,name=output_type,json=outputType,proto3" json:"output_type,omitempty"`
	Auth                      string                `protobuf:"bytes,6,opt,name=auth,proto3" json:"auth,omitempty"`
	RequestOptions            proto1.RequestOptions `protobuf:"bytes,7,opt,name=request_options,json=requestOptions,proto3" json:"request_options"`
	XXX_NoUnkeyedLiteral      struct{}              `json:"-"`
	XXX_unrecognized          []byte                `json:"-"`
	XXX_sizecache             int32                 `json:"-"`
}

func (*Method) Descriptor

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

func (*Method) GetAuth

func (m *Method) GetAuth() string

func (*Method) GetInputFields

func (m *Method) GetInputFields() Fields

func (*Method) GetInputType

func (m *Method) GetInputType() string

func (*Method) GetOutputType

func (m *Method) GetOutputType() string

func (*Method) GetRequestOptions

func (m *Method) GetRequestOptions() proto1.RequestOptions

func (*Method) GetUpperCamelCaseMethodName

func (m *Method) GetUpperCamelCaseMethodName() string

func (*Method) GetUpperCamelCaseServiceName

func (m *Method) GetUpperCamelCaseServiceName() string

func (*Method) ProtoMessage

func (*Method) ProtoMessage()

func (*Method) Reset

func (m *Method) Reset()

func (*Method) String

func (m *Method) String() string

func (*Method) XXX_DiscardUnknown

func (m *Method) XXX_DiscardUnknown()

func (*Method) XXX_Marshal

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

func (*Method) XXX_Merge

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

func (*Method) XXX_Size

func (m *Method) XXX_Size() int

func (*Method) XXX_Unmarshal

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

type Package

type Package struct {
	PackageName          string   `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	PackagePath          string   `protobuf:"bytes,2,opt,name=package_path,json=packagePath,proto3" json:"package_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Package) Descriptor

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

func (*Package) GetPackageName

func (m *Package) GetPackageName() string

func (*Package) GetPackagePath

func (m *Package) GetPackagePath() string

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) Reset

func (m *Package) Reset()

func (*Package) String

func (m *Package) String() string

func (*Package) XXX_DiscardUnknown

func (m *Package) XXX_DiscardUnknown()

func (*Package) XXX_Marshal

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

func (*Package) XXX_Merge

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

func (*Package) XXX_Size

func (m *Package) XXX_Size() int

func (*Package) XXX_Unmarshal

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

type Service

type Service struct {
	UpperCamelCaseServiceName string   `` /* 142-byte string literal not displayed */
	LowerCamelCaseServiceName string   `` /* 142-byte string literal not displayed */
	Auth                      string   `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	Methods                   []Method `protobuf:"bytes,4,rep,name=methods,proto3" json:"methods"`
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*Service) Descriptor

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

func (*Service) GetAuth

func (m *Service) GetAuth() string

func (*Service) GetLowerCamelCaseServiceName

func (m *Service) GetLowerCamelCaseServiceName() string

func (*Service) GetMethods

func (m *Service) GetMethods() []Method

func (*Service) GetUpperCamelCaseServiceName

func (m *Service) GetUpperCamelCaseServiceName() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) String

func (m *Service) String() string

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

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

func (*Service) XXX_Merge

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

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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