google_protobuf

package
v0.0.0-...-cb0c88a Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2012 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Default_EnumOptions_AllowAlias bool = true
View Source
const Default_FieldOptions_Deprecated bool = false
View Source
const Default_FieldOptions_Lazy bool = false
View Source
const Default_FieldOptions_Weak bool = false
View Source
const Default_FileOptions_CcGenericServices bool = false
View Source
const Default_FileOptions_JavaGenerateEqualsAndHash bool = false
View Source
const Default_FileOptions_JavaGenericServices bool = false
View Source
const Default_FileOptions_JavaMultipleFiles bool = false
View Source
const Default_FileOptions_PyGenericServices bool = false
View Source
const Default_MessageOptions_MessageSetWireFormat bool = false
View Source
const Default_MessageOptions_NoStandardDescriptorAccessor bool = false

Variables

View Source
var FieldDescriptorProto_Label_name = map[int32]string{
	1: "LABEL_OPTIONAL",
	2: "LABEL_REQUIRED",
	3: "LABEL_REPEATED",
}
View Source
var FieldDescriptorProto_Label_value = map[string]int32{
	"LABEL_OPTIONAL": 1,
	"LABEL_REQUIRED": 2,
	"LABEL_REPEATED": 3,
}
View Source
var FieldDescriptorProto_Type_name = map[int32]string{
	1:  "TYPE_DOUBLE",
	2:  "TYPE_FLOAT",
	3:  "TYPE_INT64",
	4:  "TYPE_UINT64",
	5:  "TYPE_INT32",
	6:  "TYPE_FIXED64",
	7:  "TYPE_FIXED32",
	8:  "TYPE_BOOL",
	9:  "TYPE_STRING",
	10: "TYPE_GROUP",
	11: "TYPE_MESSAGE",
	12: "TYPE_BYTES",
	13: "TYPE_UINT32",
	14: "TYPE_ENUM",
	15: "TYPE_SFIXED32",
	16: "TYPE_SFIXED64",
	17: "TYPE_SINT32",
	18: "TYPE_SINT64",
}
View Source
var FieldDescriptorProto_Type_value = map[string]int32{
	"TYPE_DOUBLE":   1,
	"TYPE_FLOAT":    2,
	"TYPE_INT64":    3,
	"TYPE_UINT64":   4,
	"TYPE_INT32":    5,
	"TYPE_FIXED64":  6,
	"TYPE_FIXED32":  7,
	"TYPE_BOOL":     8,
	"TYPE_STRING":   9,
	"TYPE_GROUP":    10,
	"TYPE_MESSAGE":  11,
	"TYPE_BYTES":    12,
	"TYPE_UINT32":   13,
	"TYPE_ENUM":     14,
	"TYPE_SFIXED32": 15,
	"TYPE_SFIXED64": 16,
	"TYPE_SINT32":   17,
	"TYPE_SINT64":   18,
}
View Source
var FieldOptions_CType_name = map[int32]string{
	0: "STRING",
	1: "CORD",
	2: "STRING_PIECE",
}
View Source
var FieldOptions_CType_value = map[string]int32{
	"STRING":       0,
	"CORD":         1,
	"STRING_PIECE": 2,
}
View Source
var FileOptions_OptimizeMode_name = map[int32]string{
	1: "SPEED",
	2: "CODE_SIZE",
	3: "LITE_RUNTIME",
}
View Source
var FileOptions_OptimizeMode_value = map[string]int32{
	"SPEED":        1,
	"CODE_SIZE":    2,
	"LITE_RUNTIME": 3,
}
View Source
var StreamOptions_TokenUnit_name = map[int32]string{
	0: "MESSAGE",
	1: "BYTE",
}
View Source
var StreamOptions_TokenUnit_value = map[string]int32{
	"MESSAGE": 0,
	"BYTE":    1,
}

Functions

This section is empty.

Types

type DescriptorProto

type DescriptorProto struct {
	Name             *string                           `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Field            []*FieldDescriptorProto           `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"`
	Extension        []*FieldDescriptorProto           `protobuf:"bytes,6,rep,name=extension" json:"extension,omitempty"`
	NestedType       []*DescriptorProto                `protobuf:"bytes,3,rep,name=nested_type" json:"nested_type,omitempty"`
	EnumType         []*EnumDescriptorProto            `protobuf:"bytes,4,rep,name=enum_type" json:"enum_type,omitempty"`
	ExtensionRange   []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range" json:"extension_range,omitempty"`
	Options          *MessageOptions                   `protobuf:"bytes,7,opt,name=options" json:"options,omitempty"`
	XXX_unrecognized []byte                            `json:"-"`
}

func (*DescriptorProto) GetName

func (this *DescriptorProto) GetName() string

func (*DescriptorProto) GetOptions

func (this *DescriptorProto) GetOptions() *MessageOptions

func (*DescriptorProto) ProtoMessage

func (*DescriptorProto) ProtoMessage()

func (*DescriptorProto) Reset

func (this *DescriptorProto) Reset()

func (*DescriptorProto) String

func (this *DescriptorProto) String() string

type DescriptorProto_ExtensionRange

type DescriptorProto_ExtensionRange struct {
	Start            *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
	End              *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*DescriptorProto_ExtensionRange) GetEnd

func (this *DescriptorProto_ExtensionRange) GetEnd() int32

func (*DescriptorProto_ExtensionRange) GetStart

func (this *DescriptorProto_ExtensionRange) GetStart() int32

func (*DescriptorProto_ExtensionRange) ProtoMessage

func (*DescriptorProto_ExtensionRange) ProtoMessage()

func (*DescriptorProto_ExtensionRange) Reset

func (this *DescriptorProto_ExtensionRange) Reset()

func (*DescriptorProto_ExtensionRange) String

func (this *DescriptorProto_ExtensionRange) String() string

type EnumDescriptorProto

type EnumDescriptorProto struct {
	Name             *string                     `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value            []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
	Options          *EnumOptions                `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
	XXX_unrecognized []byte                      `json:"-"`
}

func (*EnumDescriptorProto) GetName

func (this *EnumDescriptorProto) GetName() string

func (*EnumDescriptorProto) GetOptions

func (this *EnumDescriptorProto) GetOptions() *EnumOptions

func (*EnumDescriptorProto) ProtoMessage

func (*EnumDescriptorProto) ProtoMessage()

func (*EnumDescriptorProto) Reset

func (this *EnumDescriptorProto) Reset()

func (*EnumDescriptorProto) String

func (this *EnumDescriptorProto) String() string

type EnumOptions

type EnumOptions struct {
	AllowAlias          *bool                     `protobuf:"varint,2,opt,name=allow_alias,def=1" json:"allow_alias,omitempty"`
	UninterpretedOption []*UninterpretedOption    `protobuf:"bytes,999,rep,name=uninterpreted_option" json:"uninterpreted_option,omitempty"`
	XXX_extensions      map[int32]proto.Extension `json:"-"`
	XXX_unrecognized    []byte                    `json:"-"`
}

func (*EnumOptions) ExtensionMap

func (this *EnumOptions) ExtensionMap() map[int32]proto.Extension

func (*EnumOptions) ExtensionRangeArray

func (*EnumOptions) ExtensionRangeArray() []proto.ExtensionRange

func (*EnumOptions) GetAllowAlias

func (this *EnumOptions) GetAllowAlias() bool

func (*EnumOptions) ProtoMessage

func (*EnumOptions) ProtoMessage()

func (*EnumOptions) Reset

func (this *EnumOptions) Reset()

func (*EnumOptions) String

func (this *EnumOptions) String() string

type EnumValueDescriptorProto

type EnumValueDescriptorProto struct {
	Name             *string           `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Number           *int32            `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
	Options          *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*EnumValueDescriptorProto) GetName

func (this *EnumValueDescriptorProto) GetName() string

func (*EnumValueDescriptorProto) GetNumber

func (this *EnumValueDescriptorProto) GetNumber() int32

func (*EnumValueDescriptorProto) GetOptions

func (this *EnumValueDescriptorProto) GetOptions() *EnumValueOptions

func (*EnumValueDescriptorProto) ProtoMessage

func (*EnumValueDescriptorProto) ProtoMessage()

func (*EnumValueDescriptorProto) Reset

func (this *EnumValueDescriptorProto) Reset()

func (*EnumValueDescriptorProto) String

func (this *EnumValueDescriptorProto) String() string

type EnumValueOptions

type EnumValueOptions struct {
	UninterpretedOption []*UninterpretedOption    `protobuf:"bytes,999,rep,name=uninterpreted_option" json:"uninterpreted_option,omitempty"`
	XXX_extensions      map[int32]proto.Extension `json:"-"`
	XXX_unrecognized    []byte                    `json:"-"`
}

func (*EnumValueOptions) ExtensionMap

func (this *EnumValueOptions) ExtensionMap() map[int32]proto.Extension

func (*EnumValueOptions) ExtensionRangeArray

func (*EnumValueOptions) ExtensionRangeArray() []proto.ExtensionRange

func (*EnumValueOptions) ProtoMessage

func (*EnumValueOptions) ProtoMessage()

func (*EnumValueOptions) Reset

func (this *EnumValueOptions) Reset()

func (*EnumValueOptions) String

func (this *EnumValueOptions) String() string

type FieldDescriptorProto

type FieldDescriptorProto struct {
	Name             *string                     `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Number           *int32                      `protobuf:"varint,3,opt,name=number" json:"number,omitempty"`
	Label            *FieldDescriptorProto_Label `protobuf:"varint,4,opt,name=label,enum=proto2.FieldDescriptorProto_Label" json:"label,omitempty"`
	Type             *FieldDescriptorProto_Type  `protobuf:"varint,5,opt,name=type,enum=proto2.FieldDescriptorProto_Type" json:"type,omitempty"`
	TypeName         *string                     `protobuf:"bytes,6,opt,name=type_name" json:"type_name,omitempty"`
	Extendee         *string                     `protobuf:"bytes,2,opt,name=extendee" json:"extendee,omitempty"`
	DefaultValue     *string                     `protobuf:"bytes,7,opt,name=default_value" json:"default_value,omitempty"`
	Options          *FieldOptions               `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
	XXX_unrecognized []byte                      `json:"-"`
}

func (*FieldDescriptorProto) GetDefaultValue

func (this *FieldDescriptorProto) GetDefaultValue() string

func (*FieldDescriptorProto) GetExtendee

func (this *FieldDescriptorProto) GetExtendee() string

func (*FieldDescriptorProto) GetLabel

func (*FieldDescriptorProto) GetName

func (this *FieldDescriptorProto) GetName() string

func (*FieldDescriptorProto) GetNumber

func (this *FieldDescriptorProto) GetNumber() int32

func (*FieldDescriptorProto) GetOptions

func (this *FieldDescriptorProto) GetOptions() *FieldOptions

func (*FieldDescriptorProto) GetType

func (*FieldDescriptorProto) GetTypeName

func (this *FieldDescriptorProto) GetTypeName() string

func (*FieldDescriptorProto) ProtoMessage

func (*FieldDescriptorProto) ProtoMessage()

func (*FieldDescriptorProto) Reset

func (this *FieldDescriptorProto) Reset()

func (*FieldDescriptorProto) String

func (this *FieldDescriptorProto) String() string

type FieldDescriptorProto_Label

type FieldDescriptorProto_Label int32
const (
	FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1
	FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2
	FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3
)

func NewFieldDescriptorProto_Label

func NewFieldDescriptorProto_Label(x FieldDescriptorProto_Label) *FieldDescriptorProto_Label

NewFieldDescriptorProto_Label is deprecated. Use x.Enum() instead.

func (FieldDescriptorProto_Label) Enum

func (FieldDescriptorProto_Label) String

type FieldDescriptorProto_Type

type FieldDescriptorProto_Type int32
const (
	FieldDescriptorProto_TYPE_DOUBLE   FieldDescriptorProto_Type = 1
	FieldDescriptorProto_TYPE_FLOAT    FieldDescriptorProto_Type = 2
	FieldDescriptorProto_TYPE_INT64    FieldDescriptorProto_Type = 3
	FieldDescriptorProto_TYPE_UINT64   FieldDescriptorProto_Type = 4
	FieldDescriptorProto_TYPE_INT32    FieldDescriptorProto_Type = 5
	FieldDescriptorProto_TYPE_FIXED64  FieldDescriptorProto_Type = 6
	FieldDescriptorProto_TYPE_FIXED32  FieldDescriptorProto_Type = 7
	FieldDescriptorProto_TYPE_BOOL     FieldDescriptorProto_Type = 8
	FieldDescriptorProto_TYPE_STRING   FieldDescriptorProto_Type = 9
	FieldDescriptorProto_TYPE_GROUP    FieldDescriptorProto_Type = 10
	FieldDescriptorProto_TYPE_MESSAGE  FieldDescriptorProto_Type = 11
	FieldDescriptorProto_TYPE_BYTES    FieldDescriptorProto_Type = 12
	FieldDescriptorProto_TYPE_UINT32   FieldDescriptorProto_Type = 13
	FieldDescriptorProto_TYPE_ENUM     FieldDescriptorProto_Type = 14
	FieldDescriptorProto_TYPE_SFIXED32 FieldDescriptorProto_Type = 15
	FieldDescriptorProto_TYPE_SFIXED64 FieldDescriptorProto_Type = 16
	FieldDescriptorProto_TYPE_SINT32   FieldDescriptorProto_Type = 17
	FieldDescriptorProto_TYPE_SINT64   FieldDescriptorProto_Type = 18
)

func NewFieldDescriptorProto_Type

func NewFieldDescriptorProto_Type(x FieldDescriptorProto_Type) *FieldDescriptorProto_Type

NewFieldDescriptorProto_Type is deprecated. Use x.Enum() instead.

func (FieldDescriptorProto_Type) Enum

func (FieldDescriptorProto_Type) String

func (x FieldDescriptorProto_Type) String() string

type FieldOptions

type FieldOptions struct {
	Ctype               *FieldOptions_CType       `protobuf:"varint,1,opt,name=ctype,enum=proto2.FieldOptions_CType,def=0" json:"ctype,omitempty"`
	Packed              *bool                     `protobuf:"varint,2,opt,name=packed" json:"packed,omitempty"`
	Lazy                *bool                     `protobuf:"varint,5,opt,name=lazy,def=0" json:"lazy,omitempty"`
	Deprecated          *bool                     `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
	ExperimentalMapKey  *string                   `protobuf:"bytes,9,opt,name=experimental_map_key" json:"experimental_map_key,omitempty"`
	Weak                *bool                     `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"`
	UninterpretedOption []*UninterpretedOption    `protobuf:"bytes,999,rep,name=uninterpreted_option" json:"uninterpreted_option,omitempty"`
	XXX_extensions      map[int32]proto.Extension `json:"-"`
	XXX_unrecognized    []byte                    `json:"-"`
}

func (*FieldOptions) ExtensionMap

func (this *FieldOptions) ExtensionMap() map[int32]proto.Extension

func (*FieldOptions) ExtensionRangeArray

func (*FieldOptions) ExtensionRangeArray() []proto.ExtensionRange

func (*FieldOptions) GetCtype

func (this *FieldOptions) GetCtype() FieldOptions_CType

func (*FieldOptions) GetDeprecated

func (this *FieldOptions) GetDeprecated() bool

func (*FieldOptions) GetExperimentalMapKey

func (this *FieldOptions) GetExperimentalMapKey() string

func (*FieldOptions) GetLazy

func (this *FieldOptions) GetLazy() bool

func (*FieldOptions) GetPacked

func (this *FieldOptions) GetPacked() bool

func (*FieldOptions) GetWeak

func (this *FieldOptions) GetWeak() bool

func (*FieldOptions) ProtoMessage

func (*FieldOptions) ProtoMessage()

func (*FieldOptions) Reset

func (this *FieldOptions) Reset()

func (*FieldOptions) String

func (this *FieldOptions) String() string

type FieldOptions_CType

type FieldOptions_CType int32
const (
	FieldOptions_STRING       FieldOptions_CType = 0
	FieldOptions_CORD         FieldOptions_CType = 1
	FieldOptions_STRING_PIECE FieldOptions_CType = 2
)
const Default_FieldOptions_Ctype FieldOptions_CType = FieldOptions_STRING

func NewFieldOptions_CType

func NewFieldOptions_CType(x FieldOptions_CType) *FieldOptions_CType

NewFieldOptions_CType is deprecated. Use x.Enum() instead.

func (FieldOptions_CType) Enum

func (FieldOptions_CType) String

func (x FieldOptions_CType) String() string

type FileDescriptorProto

type FileDescriptorProto struct {
	Name             *string                   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Package          *string                   `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"`
	Dependency       []string                  `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"`
	PublicDependency []int32                   `protobuf:"varint,10,rep,name=public_dependency" json:"public_dependency,omitempty"`
	WeakDependency   []int32                   `protobuf:"varint,11,rep,name=weak_dependency" json:"weak_dependency,omitempty"`
	MessageType      []*DescriptorProto        `protobuf:"bytes,4,rep,name=message_type" json:"message_type,omitempty"`
	EnumType         []*EnumDescriptorProto    `protobuf:"bytes,5,rep,name=enum_type" json:"enum_type,omitempty"`
	Service          []*ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"`
	Extension        []*FieldDescriptorProto   `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"`
	Options          *FileOptions              `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
	SourceCodeInfo   *SourceCodeInfo           `protobuf:"bytes,9,opt,name=source_code_info" json:"source_code_info,omitempty"`
	XXX_unrecognized []byte                    `json:"-"`
}

func (*FileDescriptorProto) GetName

func (this *FileDescriptorProto) GetName() string

func (*FileDescriptorProto) GetOptions

func (this *FileDescriptorProto) GetOptions() *FileOptions

func (*FileDescriptorProto) GetPackage

func (this *FileDescriptorProto) GetPackage() string

func (*FileDescriptorProto) GetSourceCodeInfo

func (this *FileDescriptorProto) GetSourceCodeInfo() *SourceCodeInfo

func (*FileDescriptorProto) ProtoMessage

func (*FileDescriptorProto) ProtoMessage()

func (*FileDescriptorProto) Reset

func (this *FileDescriptorProto) Reset()

func (*FileDescriptorProto) String

func (this *FileDescriptorProto) String() string

type FileDescriptorSet

type FileDescriptorSet struct {
	File             []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*FileDescriptorSet) ProtoMessage

func (*FileDescriptorSet) ProtoMessage()

func (*FileDescriptorSet) Reset

func (this *FileDescriptorSet) Reset()

func (*FileDescriptorSet) String

func (this *FileDescriptorSet) String() string

type FileOptions

type FileOptions struct {
	JavaPackage               *string                   `protobuf:"bytes,1,opt,name=java_package" json:"java_package,omitempty"`
	JavaOuterClassname        *string                   `protobuf:"bytes,8,opt,name=java_outer_classname" json:"java_outer_classname,omitempty"`
	JavaMultipleFiles         *bool                     `protobuf:"varint,10,opt,name=java_multiple_files,def=0" json:"java_multiple_files,omitempty"`
	JavaGenerateEqualsAndHash *bool                     `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,def=0" json:"java_generate_equals_and_hash,omitempty"`
	OptimizeFor               *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,enum=proto2.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"`
	GoPackage                 *string                   `protobuf:"bytes,11,opt,name=go_package" json:"go_package,omitempty"`
	CcGenericServices         *bool                     `protobuf:"varint,16,opt,name=cc_generic_services,def=0" json:"cc_generic_services,omitempty"`
	JavaGenericServices       *bool                     `protobuf:"varint,17,opt,name=java_generic_services,def=0" json:"java_generic_services,omitempty"`
	PyGenericServices         *bool                     `protobuf:"varint,18,opt,name=py_generic_services,def=0" json:"py_generic_services,omitempty"`
	UninterpretedOption       []*UninterpretedOption    `protobuf:"bytes,999,rep,name=uninterpreted_option" json:"uninterpreted_option,omitempty"`
	XXX_extensions            map[int32]proto.Extension `json:"-"`
	XXX_unrecognized          []byte                    `json:"-"`
}

func (*FileOptions) ExtensionMap

func (this *FileOptions) ExtensionMap() map[int32]proto.Extension

func (*FileOptions) ExtensionRangeArray

func (*FileOptions) ExtensionRangeArray() []proto.ExtensionRange

func (*FileOptions) GetCcGenericServices

func (this *FileOptions) GetCcGenericServices() bool

func (*FileOptions) GetGoPackage

func (this *FileOptions) GetGoPackage() string

func (*FileOptions) GetJavaGenerateEqualsAndHash

func (this *FileOptions) GetJavaGenerateEqualsAndHash() bool

func (*FileOptions) GetJavaGenericServices

func (this *FileOptions) GetJavaGenericServices() bool

func (*FileOptions) GetJavaMultipleFiles

func (this *FileOptions) GetJavaMultipleFiles() bool

func (*FileOptions) GetJavaOuterClassname

func (this *FileOptions) GetJavaOuterClassname() string

func (*FileOptions) GetJavaPackage

func (this *FileOptions) GetJavaPackage() string

func (*FileOptions) GetOptimizeFor

func (this *FileOptions) GetOptimizeFor() FileOptions_OptimizeMode

func (*FileOptions) GetPyGenericServices

func (this *FileOptions) GetPyGenericServices() bool

func (*FileOptions) ProtoMessage

func (*FileOptions) ProtoMessage()

func (*FileOptions) Reset

func (this *FileOptions) Reset()

func (*FileOptions) String

func (this *FileOptions) String() string

type FileOptions_OptimizeMode

type FileOptions_OptimizeMode int32
const (
	FileOptions_SPEED        FileOptions_OptimizeMode = 1
	FileOptions_CODE_SIZE    FileOptions_OptimizeMode = 2
	FileOptions_LITE_RUNTIME FileOptions_OptimizeMode = 3
)
const Default_FileOptions_OptimizeFor FileOptions_OptimizeMode = FileOptions_SPEED

func NewFileOptions_OptimizeMode

func NewFileOptions_OptimizeMode(x FileOptions_OptimizeMode) *FileOptions_OptimizeMode

NewFileOptions_OptimizeMode is deprecated. Use x.Enum() instead.

func (FileOptions_OptimizeMode) Enum

func (FileOptions_OptimizeMode) String

func (x FileOptions_OptimizeMode) String() string

type MessageOptions

type MessageOptions struct {
	MessageSetWireFormat         *bool                     `protobuf:"varint,1,opt,name=message_set_wire_format,def=0" json:"message_set_wire_format,omitempty"`
	NoStandardDescriptorAccessor *bool                     `protobuf:"varint,2,opt,name=no_standard_descriptor_accessor,def=0" json:"no_standard_descriptor_accessor,omitempty"`
	UninterpretedOption          []*UninterpretedOption    `protobuf:"bytes,999,rep,name=uninterpreted_option" json:"uninterpreted_option,omitempty"`
	XXX_extensions               map[int32]proto.Extension `json:"-"`
	XXX_unrecognized             []byte                    `json:"-"`
}

func (*MessageOptions) ExtensionMap

func (this *MessageOptions) ExtensionMap() map[int32]proto.Extension

func (*MessageOptions) ExtensionRangeArray

func (*MessageOptions) ExtensionRangeArray() []proto.ExtensionRange

func (*MessageOptions) GetMessageSetWireFormat

func (this *MessageOptions) GetMessageSetWireFormat() bool

func (*MessageOptions) GetNoStandardDescriptorAccessor

func (this *MessageOptions) GetNoStandardDescriptorAccessor() bool

func (*MessageOptions) ProtoMessage

func (*MessageOptions) ProtoMessage()

func (*MessageOptions) Reset

func (this *MessageOptions) Reset()

func (*MessageOptions) String

func (this *MessageOptions) String() string

type MethodDescriptorProto

type MethodDescriptorProto struct {
	Name             *string        `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	InputType        *string        `protobuf:"bytes,2,opt,name=input_type" json:"input_type,omitempty"`
	OutputType       *string        `protobuf:"bytes,3,opt,name=output_type" json:"output_type,omitempty"`
	Options          *MethodOptions `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*MethodDescriptorProto) GetInputType

func (this *MethodDescriptorProto) GetInputType() string

func (*MethodDescriptorProto) GetName

func (this *MethodDescriptorProto) GetName() string

func (*MethodDescriptorProto) GetOptions

func (this *MethodDescriptorProto) GetOptions() *MethodOptions

func (*MethodDescriptorProto) GetOutputType

func (this *MethodDescriptorProto) GetOutputType() string

func (*MethodDescriptorProto) ProtoMessage

func (*MethodDescriptorProto) ProtoMessage()

func (*MethodDescriptorProto) Reset

func (this *MethodDescriptorProto) Reset()

func (*MethodDescriptorProto) String

func (this *MethodDescriptorProto) String() string

type MethodOptions

type MethodOptions struct {
	UninterpretedOption []*UninterpretedOption    `protobuf:"bytes,999,rep,name=uninterpreted_option" json:"uninterpreted_option,omitempty"`
	XXX_extensions      map[int32]proto.Extension `json:"-"`
	XXX_unrecognized    []byte                    `json:"-"`
}

func (*MethodOptions) ExtensionMap

func (this *MethodOptions) ExtensionMap() map[int32]proto.Extension

func (*MethodOptions) ExtensionRangeArray

func (*MethodOptions) ExtensionRangeArray() []proto.ExtensionRange

func (*MethodOptions) ProtoMessage

func (*MethodOptions) ProtoMessage()

func (*MethodOptions) Reset

func (this *MethodOptions) Reset()

func (*MethodOptions) String

func (this *MethodOptions) String() string

type ServiceDescriptorProto

type ServiceDescriptorProto struct {
	Name             *string                  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Method           []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"`
	Stream           []*StreamDescriptorProto `protobuf:"bytes,4,rep,name=stream" json:"stream,omitempty"`
	Options          *ServiceOptions          `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

func (*ServiceDescriptorProto) GetName

func (this *ServiceDescriptorProto) GetName() string

func (*ServiceDescriptorProto) GetOptions

func (this *ServiceDescriptorProto) GetOptions() *ServiceOptions

func (*ServiceDescriptorProto) ProtoMessage

func (*ServiceDescriptorProto) ProtoMessage()

func (*ServiceDescriptorProto) Reset

func (this *ServiceDescriptorProto) Reset()

func (*ServiceDescriptorProto) String

func (this *ServiceDescriptorProto) String() string

type ServiceOptions

type ServiceOptions struct {
	UninterpretedOption []*UninterpretedOption    `protobuf:"bytes,999,rep,name=uninterpreted_option" json:"uninterpreted_option,omitempty"`
	XXX_extensions      map[int32]proto.Extension `json:"-"`
	XXX_unrecognized    []byte                    `json:"-"`
}

func (*ServiceOptions) ExtensionMap

func (this *ServiceOptions) ExtensionMap() map[int32]proto.Extension

func (*ServiceOptions) ExtensionRangeArray

func (*ServiceOptions) ExtensionRangeArray() []proto.ExtensionRange

func (*ServiceOptions) ProtoMessage

func (*ServiceOptions) ProtoMessage()

func (*ServiceOptions) Reset

func (this *ServiceOptions) Reset()

func (*ServiceOptions) String

func (this *ServiceOptions) String() string

type SourceCodeInfo

type SourceCodeInfo struct {
	Location         []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"`
	XXX_unrecognized []byte                     `json:"-"`
}

func (*SourceCodeInfo) ProtoMessage

func (*SourceCodeInfo) ProtoMessage()

func (*SourceCodeInfo) Reset

func (this *SourceCodeInfo) Reset()

func (*SourceCodeInfo) String

func (this *SourceCodeInfo) String() string

type SourceCodeInfo_Location

type SourceCodeInfo_Location struct {
	Path             []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"`
	Span             []int32 `protobuf:"varint,2,rep,packed,name=span" json:"span,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SourceCodeInfo_Location) ProtoMessage

func (*SourceCodeInfo_Location) ProtoMessage()

func (*SourceCodeInfo_Location) Reset

func (this *SourceCodeInfo_Location) Reset()

func (*SourceCodeInfo_Location) String

func (this *SourceCodeInfo_Location) String() string

type StreamDescriptorProto

type StreamDescriptorProto struct {
	Name              *string        `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	ClientMessageType *string        `protobuf:"bytes,2,opt,name=client_message_type" json:"client_message_type,omitempty"`
	ServerMessageType *string        `protobuf:"bytes,3,opt,name=server_message_type" json:"server_message_type,omitempty"`
	Options           *StreamOptions `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"`
	XXX_unrecognized  []byte         `json:"-"`
}

func (*StreamDescriptorProto) GetClientMessageType

func (this *StreamDescriptorProto) GetClientMessageType() string

func (*StreamDescriptorProto) GetName

func (this *StreamDescriptorProto) GetName() string

func (*StreamDescriptorProto) GetOptions

func (this *StreamDescriptorProto) GetOptions() *StreamOptions

func (*StreamDescriptorProto) GetServerMessageType

func (this *StreamDescriptorProto) GetServerMessageType() string

func (*StreamDescriptorProto) ProtoMessage

func (*StreamDescriptorProto) ProtoMessage()

func (*StreamDescriptorProto) Reset

func (this *StreamDescriptorProto) Reset()

func (*StreamDescriptorProto) String

func (this *StreamDescriptorProto) String() string

type StreamOptions

type StreamOptions struct {
	UninterpretedOption []*UninterpretedOption    `protobuf:"bytes,999,rep,name=uninterpreted_option" json:"uninterpreted_option,omitempty"`
	XXX_extensions      map[int32]proto.Extension `json:"-"`
	XXX_unrecognized    []byte                    `json:"-"`
}

func (*StreamOptions) ExtensionMap

func (this *StreamOptions) ExtensionMap() map[int32]proto.Extension

func (*StreamOptions) ExtensionRangeArray

func (*StreamOptions) ExtensionRangeArray() []proto.ExtensionRange

func (*StreamOptions) ProtoMessage

func (*StreamOptions) ProtoMessage()

func (*StreamOptions) Reset

func (this *StreamOptions) Reset()

func (*StreamOptions) String

func (this *StreamOptions) String() string

type StreamOptions_TokenUnit

type StreamOptions_TokenUnit int32
const (
	StreamOptions_MESSAGE StreamOptions_TokenUnit = 0
	StreamOptions_BYTE    StreamOptions_TokenUnit = 1
)

func NewStreamOptions_TokenUnit

func NewStreamOptions_TokenUnit(x StreamOptions_TokenUnit) *StreamOptions_TokenUnit

NewStreamOptions_TokenUnit is deprecated. Use x.Enum() instead.

func (StreamOptions_TokenUnit) Enum

func (StreamOptions_TokenUnit) String

func (x StreamOptions_TokenUnit) String() string

type UninterpretedOption

type UninterpretedOption struct {
	Name             []*UninterpretedOption_NamePart `protobuf:"bytes,2,rep,name=name" json:"name,omitempty"`
	IdentifierValue  *string                         `protobuf:"bytes,3,opt,name=identifier_value" json:"identifier_value,omitempty"`
	PositiveIntValue *uint64                         `protobuf:"varint,4,opt,name=positive_int_value" json:"positive_int_value,omitempty"`
	NegativeIntValue *int64                          `protobuf:"varint,5,opt,name=negative_int_value" json:"negative_int_value,omitempty"`
	DoubleValue      *float64                        `protobuf:"fixed64,6,opt,name=double_value" json:"double_value,omitempty"`
	StringValue      []byte                          `protobuf:"bytes,7,opt,name=string_value" json:"string_value,omitempty"`
	AggregateValue   *string                         `protobuf:"bytes,8,opt,name=aggregate_value" json:"aggregate_value,omitempty"`
	XXX_unrecognized []byte                          `json:"-"`
}

func (*UninterpretedOption) GetAggregateValue

func (this *UninterpretedOption) GetAggregateValue() string

func (*UninterpretedOption) GetDoubleValue

func (this *UninterpretedOption) GetDoubleValue() float64

func (*UninterpretedOption) GetIdentifierValue

func (this *UninterpretedOption) GetIdentifierValue() string

func (*UninterpretedOption) GetNegativeIntValue

func (this *UninterpretedOption) GetNegativeIntValue() int64

func (*UninterpretedOption) GetPositiveIntValue

func (this *UninterpretedOption) GetPositiveIntValue() uint64

func (*UninterpretedOption) GetStringValue

func (this *UninterpretedOption) GetStringValue() []byte

func (*UninterpretedOption) ProtoMessage

func (*UninterpretedOption) ProtoMessage()

func (*UninterpretedOption) Reset

func (this *UninterpretedOption) Reset()

func (*UninterpretedOption) String

func (this *UninterpretedOption) String() string

type UninterpretedOption_NamePart

type UninterpretedOption_NamePart struct {
	NamePart         *string `protobuf:"bytes,1,req,name=name_part" json:"name_part,omitempty"`
	IsExtension      *bool   `protobuf:"varint,2,req,name=is_extension" json:"is_extension,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*UninterpretedOption_NamePart) GetIsExtension

func (this *UninterpretedOption_NamePart) GetIsExtension() bool

func (*UninterpretedOption_NamePart) GetNamePart

func (this *UninterpretedOption_NamePart) GetNamePart() string

func (*UninterpretedOption_NamePart) ProtoMessage

func (*UninterpretedOption_NamePart) ProtoMessage()

func (*UninterpretedOption_NamePart) Reset

func (this *UninterpretedOption_NamePart) Reset()

func (*UninterpretedOption_NamePart) String

func (this *UninterpretedOption_NamePart) String() string

Jump to

Keyboard shortcuts

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