...

Package descriptorpb

import "google.golang.org/protobuf/types/descriptorpb"
Overview
Index

Overview ▾

Index ▾

Constants
Variables
type DescriptorProto
    func (*DescriptorProto) Descriptor() ([]byte, []int)
    func (x *DescriptorProto) GetEnumType() []*EnumDescriptorProto
    func (x *DescriptorProto) GetExtension() []*FieldDescriptorProto
    func (x *DescriptorProto) GetExtensionRange() []*DescriptorProto_ExtensionRange
    func (x *DescriptorProto) GetField() []*FieldDescriptorProto
    func (x *DescriptorProto) GetName() string
    func (x *DescriptorProto) GetNestedType() []*DescriptorProto
    func (x *DescriptorProto) GetOneofDecl() []*OneofDescriptorProto
    func (x *DescriptorProto) GetOptions() *MessageOptions
    func (x *DescriptorProto) GetReservedName() []string
    func (x *DescriptorProto) GetReservedRange() []*DescriptorProto_ReservedRange
    func (*DescriptorProto) ProtoMessage()
    func (x *DescriptorProto) ProtoReflect() protoreflect.Message
    func (x *DescriptorProto) Reset()
    func (x *DescriptorProto) String() string
type DescriptorProto_ExtensionRange
    func (*DescriptorProto_ExtensionRange) Descriptor() ([]byte, []int)
    func (x *DescriptorProto_ExtensionRange) GetEnd() int32
    func (x *DescriptorProto_ExtensionRange) GetOptions() *ExtensionRangeOptions
    func (x *DescriptorProto_ExtensionRange) GetStart() int32
    func (*DescriptorProto_ExtensionRange) ProtoMessage()
    func (x *DescriptorProto_ExtensionRange) ProtoReflect() protoreflect.Message
    func (x *DescriptorProto_ExtensionRange) Reset()
    func (x *DescriptorProto_ExtensionRange) String() string
type DescriptorProto_ReservedRange
    func (*DescriptorProto_ReservedRange) Descriptor() ([]byte, []int)
    func (x *DescriptorProto_ReservedRange) GetEnd() int32
    func (x *DescriptorProto_ReservedRange) GetStart() int32
    func (*DescriptorProto_ReservedRange) ProtoMessage()
    func (x *DescriptorProto_ReservedRange) ProtoReflect() protoreflect.Message
    func (x *DescriptorProto_ReservedRange) Reset()
    func (x *DescriptorProto_ReservedRange) String() string
type Edition
    func (Edition) Descriptor() protoreflect.EnumDescriptor
    func (x Edition) Enum() *Edition
    func (Edition) EnumDescriptor() ([]byte, []int)
    func (x Edition) Number() protoreflect.EnumNumber
    func (x Edition) String() string
    func (Edition) Type() protoreflect.EnumType
    func (x *Edition) UnmarshalJSON(b []byte) error
type EnumDescriptorProto
    func (*EnumDescriptorProto) Descriptor() ([]byte, []int)
    func (x *EnumDescriptorProto) GetName() string
    func (x *EnumDescriptorProto) GetOptions() *EnumOptions
    func (x *EnumDescriptorProto) GetReservedName() []string
    func (x *EnumDescriptorProto) GetReservedRange() []*EnumDescriptorProto_EnumReservedRange
    func (x *EnumDescriptorProto) GetValue() []*EnumValueDescriptorProto
    func (*EnumDescriptorProto) ProtoMessage()
    func (x *EnumDescriptorProto) ProtoReflect() protoreflect.Message
    func (x *EnumDescriptorProto) Reset()
    func (x *EnumDescriptorProto) String() string
type EnumDescriptorProto_EnumReservedRange
    func (*EnumDescriptorProto_EnumReservedRange) Descriptor() ([]byte, []int)
    func (x *EnumDescriptorProto_EnumReservedRange) GetEnd() int32
    func (x *EnumDescriptorProto_EnumReservedRange) GetStart() int32
    func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage()
    func (x *EnumDescriptorProto_EnumReservedRange) ProtoReflect() protoreflect.Message
    func (x *EnumDescriptorProto_EnumReservedRange) Reset()
    func (x *EnumDescriptorProto_EnumReservedRange) String() string
type EnumOptions
    func (*EnumOptions) Descriptor() ([]byte, []int)
    func (x *EnumOptions) GetAllowAlias() bool
    func (x *EnumOptions) GetDeprecated() bool
    func (x *EnumOptions) GetDeprecatedLegacyJsonFieldConflicts() bool
    func (x *EnumOptions) GetFeatures() *FeatureSet
    func (x *EnumOptions) GetUninterpretedOption() []*UninterpretedOption
    func (*EnumOptions) ProtoMessage()
    func (x *EnumOptions) ProtoReflect() protoreflect.Message
    func (x *EnumOptions) Reset()
    func (x *EnumOptions) String() string
type EnumValueDescriptorProto
    func (*EnumValueDescriptorProto) Descriptor() ([]byte, []int)
    func (x *EnumValueDescriptorProto) GetName() string
    func (x *EnumValueDescriptorProto) GetNumber() int32
    func (x *EnumValueDescriptorProto) GetOptions() *EnumValueOptions
    func (*EnumValueDescriptorProto) ProtoMessage()
    func (x *EnumValueDescriptorProto) ProtoReflect() protoreflect.Message
    func (x *EnumValueDescriptorProto) Reset()
    func (x *EnumValueDescriptorProto) String() string
type EnumValueOptions
    func (*EnumValueOptions) Descriptor() ([]byte, []int)
    func (x *EnumValueOptions) GetDebugRedact() bool
    func (x *EnumValueOptions) GetDeprecated() bool
    func (x *EnumValueOptions) GetFeatures() *FeatureSet
    func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption
    func (*EnumValueOptions) ProtoMessage()
    func (x *EnumValueOptions) ProtoReflect() protoreflect.Message
    func (x *EnumValueOptions) Reset()
    func (x *EnumValueOptions) String() string
type ExtensionRangeOptions
    func (*ExtensionRangeOptions) Descriptor() ([]byte, []int)
    func (x *ExtensionRangeOptions) GetDeclaration() []*ExtensionRangeOptions_Declaration
    func (x *ExtensionRangeOptions) GetFeatures() *FeatureSet
    func (x *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption
    func (x *ExtensionRangeOptions) GetVerification() ExtensionRangeOptions_VerificationState
    func (*ExtensionRangeOptions) ProtoMessage()
    func (x *ExtensionRangeOptions) ProtoReflect() protoreflect.Message
    func (x *ExtensionRangeOptions) Reset()
    func (x *ExtensionRangeOptions) String() string
type ExtensionRangeOptions_Declaration
    func (*ExtensionRangeOptions_Declaration) Descriptor() ([]byte, []int)
    func (x *ExtensionRangeOptions_Declaration) GetFullName() string
    func (x *ExtensionRangeOptions_Declaration) GetNumber() int32
    func (x *ExtensionRangeOptions_Declaration) GetRepeated() bool
    func (x *ExtensionRangeOptions_Declaration) GetReserved() bool
    func (x *ExtensionRangeOptions_Declaration) GetType() string
    func (*ExtensionRangeOptions_Declaration) ProtoMessage()
    func (x *ExtensionRangeOptions_Declaration) ProtoReflect() protoreflect.Message
    func (x *ExtensionRangeOptions_Declaration) Reset()
    func (x *ExtensionRangeOptions_Declaration) String() string
type ExtensionRangeOptions_VerificationState
    func (ExtensionRangeOptions_VerificationState) Descriptor() protoreflect.EnumDescriptor
    func (x ExtensionRangeOptions_VerificationState) Enum() *ExtensionRangeOptions_VerificationState
    func (ExtensionRangeOptions_VerificationState) EnumDescriptor() ([]byte, []int)
    func (x ExtensionRangeOptions_VerificationState) Number() protoreflect.EnumNumber
    func (x ExtensionRangeOptions_VerificationState) String() string
    func (ExtensionRangeOptions_VerificationState) Type() protoreflect.EnumType
    func (x *ExtensionRangeOptions_VerificationState) UnmarshalJSON(b []byte) error
type FeatureSet
    func (*FeatureSet) Descriptor() ([]byte, []int)
    func (x *FeatureSet) GetEnumType() FeatureSet_EnumType
    func (x *FeatureSet) GetFieldPresence() FeatureSet_FieldPresence
    func (x *FeatureSet) GetJsonFormat() FeatureSet_JsonFormat
    func (x *FeatureSet) GetMessageEncoding() FeatureSet_MessageEncoding
    func (x *FeatureSet) GetRepeatedFieldEncoding() FeatureSet_RepeatedFieldEncoding
    func (x *FeatureSet) GetUtf8Validation() FeatureSet_Utf8Validation
    func (*FeatureSet) ProtoMessage()
    func (x *FeatureSet) ProtoReflect() protoreflect.Message
    func (x *FeatureSet) Reset()
    func (x *FeatureSet) String() string
type FeatureSetDefaults
    func (*FeatureSetDefaults) Descriptor() ([]byte, []int)
    func (x *FeatureSetDefaults) GetDefaults() []*FeatureSetDefaults_FeatureSetEditionDefault
    func (x *FeatureSetDefaults) GetMaximumEdition() Edition
    func (x *FeatureSetDefaults) GetMinimumEdition() Edition
    func (*FeatureSetDefaults) ProtoMessage()
    func (x *FeatureSetDefaults) ProtoReflect() protoreflect.Message
    func (x *FeatureSetDefaults) Reset()
    func (x *FeatureSetDefaults) String() string
type FeatureSetDefaults_FeatureSetEditionDefault
    func (*FeatureSetDefaults_FeatureSetEditionDefault) Descriptor() ([]byte, []int)
    func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition
    func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures() *FeatureSet
    func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage()
    func (x *FeatureSetDefaults_FeatureSetEditionDefault) ProtoReflect() protoreflect.Message
    func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset()
    func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string
type FeatureSet_EnumType
    func (FeatureSet_EnumType) Descriptor() protoreflect.EnumDescriptor
    func (x FeatureSet_EnumType) Enum() *FeatureSet_EnumType
    func (FeatureSet_EnumType) EnumDescriptor() ([]byte, []int)
    func (x FeatureSet_EnumType) Number() protoreflect.EnumNumber
    func (x FeatureSet_EnumType) String() string
    func (FeatureSet_EnumType) Type() protoreflect.EnumType
    func (x *FeatureSet_EnumType) UnmarshalJSON(b []byte) error
type FeatureSet_FieldPresence
    func (FeatureSet_FieldPresence) Descriptor() protoreflect.EnumDescriptor
    func (x FeatureSet_FieldPresence) Enum() *FeatureSet_FieldPresence
    func (FeatureSet_FieldPresence) EnumDescriptor() ([]byte, []int)
    func (x FeatureSet_FieldPresence) Number() protoreflect.EnumNumber
    func (x FeatureSet_FieldPresence) String() string
    func (FeatureSet_FieldPresence) Type() protoreflect.EnumType
    func (x *FeatureSet_FieldPresence) UnmarshalJSON(b []byte) error
type FeatureSet_JsonFormat
    func (FeatureSet_JsonFormat) Descriptor() protoreflect.EnumDescriptor
    func (x FeatureSet_JsonFormat) Enum() *FeatureSet_JsonFormat
    func (FeatureSet_JsonFormat) EnumDescriptor() ([]byte, []int)
    func (x FeatureSet_JsonFormat) Number() protoreflect.EnumNumber
    func (x FeatureSet_JsonFormat) String() string
    func (FeatureSet_JsonFormat) Type() protoreflect.EnumType
    func (x *FeatureSet_JsonFormat) UnmarshalJSON(b []byte) error
type FeatureSet_MessageEncoding
    func (FeatureSet_MessageEncoding) Descriptor() protoreflect.EnumDescriptor
    func (x FeatureSet_MessageEncoding) Enum() *FeatureSet_MessageEncoding
    func (FeatureSet_MessageEncoding) EnumDescriptor() ([]byte, []int)
    func (x FeatureSet_MessageEncoding) Number() protoreflect.EnumNumber
    func (x FeatureSet_MessageEncoding) String() string
    func (FeatureSet_MessageEncoding) Type() protoreflect.EnumType
    func (x *FeatureSet_MessageEncoding) UnmarshalJSON(b []byte) error
type FeatureSet_RepeatedFieldEncoding
    func (FeatureSet_RepeatedFieldEncoding) Descriptor() protoreflect.EnumDescriptor
    func (x FeatureSet_RepeatedFieldEncoding) Enum() *FeatureSet_RepeatedFieldEncoding
    func (FeatureSet_RepeatedFieldEncoding) EnumDescriptor() ([]byte, []int)
    func (x FeatureSet_RepeatedFieldEncoding) Number() protoreflect.EnumNumber
    func (x FeatureSet_RepeatedFieldEncoding) String() string
    func (FeatureSet_RepeatedFieldEncoding) Type() protoreflect.EnumType
    func (x *FeatureSet_RepeatedFieldEncoding) UnmarshalJSON(b []byte) error
type FeatureSet_Utf8Validation
    func (FeatureSet_Utf8Validation) Descriptor() protoreflect.EnumDescriptor
    func (x FeatureSet_Utf8Validation) Enum() *FeatureSet_Utf8Validation
    func (FeatureSet_Utf8Validation) EnumDescriptor() ([]byte, []int)
    func (x FeatureSet_Utf8Validation) Number() protoreflect.EnumNumber
    func (x FeatureSet_Utf8Validation) String() string
    func (FeatureSet_Utf8Validation) Type() protoreflect.EnumType
    func (x *FeatureSet_Utf8Validation) UnmarshalJSON(b []byte) error
type FieldDescriptorProto
    func (*FieldDescriptorProto) Descriptor() ([]byte, []int)
    func (x *FieldDescriptorProto) GetDefaultValue() string
    func (x *FieldDescriptorProto) GetExtendee() string
    func (x *FieldDescriptorProto) GetJsonName() string
    func (x *FieldDescriptorProto) GetLabel() FieldDescriptorProto_Label
    func (x *FieldDescriptorProto) GetName() string
    func (x *FieldDescriptorProto) GetNumber() int32
    func (x *FieldDescriptorProto) GetOneofIndex() int32
    func (x *FieldDescriptorProto) GetOptions() *FieldOptions
    func (x *FieldDescriptorProto) GetProto3Optional() bool
    func (x *FieldDescriptorProto) GetType() FieldDescriptorProto_Type
    func (x *FieldDescriptorProto) GetTypeName() string
    func (*FieldDescriptorProto) ProtoMessage()
    func (x *FieldDescriptorProto) ProtoReflect() protoreflect.Message
    func (x *FieldDescriptorProto) Reset()
    func (x *FieldDescriptorProto) String() string
type FieldDescriptorProto_Label
    func (FieldDescriptorProto_Label) Descriptor() protoreflect.EnumDescriptor
    func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label
    func (FieldDescriptorProto_Label) EnumDescriptor() ([]byte, []int)
    func (x FieldDescriptorProto_Label) Number() protoreflect.EnumNumber
    func (x FieldDescriptorProto_Label) String() string
    func (FieldDescriptorProto_Label) Type() protoreflect.EnumType
    func (x *FieldDescriptorProto_Label) UnmarshalJSON(b []byte) error
type FieldDescriptorProto_Type
    func (FieldDescriptorProto_Type) Descriptor() protoreflect.EnumDescriptor
    func (x FieldDescriptorProto_Type) Enum() *FieldDescriptorProto_Type
    func (FieldDescriptorProto_Type) EnumDescriptor() ([]byte, []int)
    func (x FieldDescriptorProto_Type) Number() protoreflect.EnumNumber
    func (x FieldDescriptorProto_Type) String() string
    func (FieldDescriptorProto_Type) Type() protoreflect.EnumType
    func (x *FieldDescriptorProto_Type) UnmarshalJSON(b []byte) error
type FieldOptions
    func (*FieldOptions) Descriptor() ([]byte, []int)
    func (x *FieldOptions) GetCtype() FieldOptions_CType
    func (x *FieldOptions) GetDebugRedact() bool
    func (x *FieldOptions) GetDeprecated() bool
    func (x *FieldOptions) GetEditionDefaults() []*FieldOptions_EditionDefault
    func (x *FieldOptions) GetFeatures() *FeatureSet
    func (x *FieldOptions) GetJstype() FieldOptions_JSType
    func (x *FieldOptions) GetLazy() bool
    func (x *FieldOptions) GetPacked() bool
    func (x *FieldOptions) GetRetention() FieldOptions_OptionRetention
    func (x *FieldOptions) GetTargets() []FieldOptions_OptionTargetType
    func (x *FieldOptions) GetUninterpretedOption() []*UninterpretedOption
    func (x *FieldOptions) GetUnverifiedLazy() bool
    func (x *FieldOptions) GetWeak() bool
    func (*FieldOptions) ProtoMessage()
    func (x *FieldOptions) ProtoReflect() protoreflect.Message
    func (x *FieldOptions) Reset()
    func (x *FieldOptions) String() string
type FieldOptions_CType
    func (FieldOptions_CType) Descriptor() protoreflect.EnumDescriptor
    func (x FieldOptions_CType) Enum() *FieldOptions_CType
    func (FieldOptions_CType) EnumDescriptor() ([]byte, []int)
    func (x FieldOptions_CType) Number() protoreflect.EnumNumber
    func (x FieldOptions_CType) String() string
    func (FieldOptions_CType) Type() protoreflect.EnumType
    func (x *FieldOptions_CType) UnmarshalJSON(b []byte) error
type FieldOptions_EditionDefault
    func (*FieldOptions_EditionDefault) Descriptor() ([]byte, []int)
    func (x *FieldOptions_EditionDefault) GetEdition() Edition
    func (x *FieldOptions_EditionDefault) GetValue() string
    func (*FieldOptions_EditionDefault) ProtoMessage()
    func (x *FieldOptions_EditionDefault) ProtoReflect() protoreflect.Message
    func (x *FieldOptions_EditionDefault) Reset()
    func (x *FieldOptions_EditionDefault) String() string
type FieldOptions_JSType
    func (FieldOptions_JSType) Descriptor() protoreflect.EnumDescriptor
    func (x FieldOptions_JSType) Enum() *FieldOptions_JSType
    func (FieldOptions_JSType) EnumDescriptor() ([]byte, []int)
    func (x FieldOptions_JSType) Number() protoreflect.EnumNumber
    func (x FieldOptions_JSType) String() string
    func (FieldOptions_JSType) Type() protoreflect.EnumType
    func (x *FieldOptions_JSType) UnmarshalJSON(b []byte) error
type FieldOptions_OptionRetention
    func (FieldOptions_OptionRetention) Descriptor() protoreflect.EnumDescriptor
    func (x FieldOptions_OptionRetention) Enum() *FieldOptions_OptionRetention
    func (FieldOptions_OptionRetention) EnumDescriptor() ([]byte, []int)
    func (x FieldOptions_OptionRetention) Number() protoreflect.EnumNumber
    func (x FieldOptions_OptionRetention) String() string
    func (FieldOptions_OptionRetention) Type() protoreflect.EnumType
    func (x *FieldOptions_OptionRetention) UnmarshalJSON(b []byte) error
type FieldOptions_OptionTargetType
    func (FieldOptions_OptionTargetType) Descriptor() protoreflect.EnumDescriptor
    func (x FieldOptions_OptionTargetType) Enum() *FieldOptions_OptionTargetType
    func (FieldOptions_OptionTargetType) EnumDescriptor() ([]byte, []int)
    func (x FieldOptions_OptionTargetType) Number() protoreflect.EnumNumber
    func (x FieldOptions_OptionTargetType) String() string
    func (FieldOptions_OptionTargetType) Type() protoreflect.EnumType
    func (x *FieldOptions_OptionTargetType) UnmarshalJSON(b []byte) error
type FileDescriptorProto
    func (*FileDescriptorProto) Descriptor() ([]byte, []int)
    func (x *FileDescriptorProto) GetDependency() []string
    func (x *FileDescriptorProto) GetEdition() Edition
    func (x *FileDescriptorProto) GetEnumType() []*EnumDescriptorProto
    func (x *FileDescriptorProto) GetExtension() []*FieldDescriptorProto
    func (x *FileDescriptorProto) GetMessageType() []*DescriptorProto
    func (x *FileDescriptorProto) GetName() string
    func (x *FileDescriptorProto) GetOptions() *FileOptions
    func (x *FileDescriptorProto) GetPackage() string
    func (x *FileDescriptorProto) GetPublicDependency() []int32
    func (x *FileDescriptorProto) GetService() []*ServiceDescriptorProto
    func (x *FileDescriptorProto) GetSourceCodeInfo() *SourceCodeInfo
    func (x *FileDescriptorProto) GetSyntax() string
    func (x *FileDescriptorProto) GetWeakDependency() []int32
    func (*FileDescriptorProto) ProtoMessage()
    func (x *FileDescriptorProto) ProtoReflect() protoreflect.Message
    func (x *FileDescriptorProto) Reset()
    func (x *FileDescriptorProto) String() string
type FileDescriptorSet
    func (*FileDescriptorSet) Descriptor() ([]byte, []int)
    func (x *FileDescriptorSet) GetFile() []*FileDescriptorProto
    func (*FileDescriptorSet) ProtoMessage()
    func (x *FileDescriptorSet) ProtoReflect() protoreflect.Message
    func (x *FileDescriptorSet) Reset()
    func (x *FileDescriptorSet) String() string
type FileOptions
    func (*FileOptions) Descriptor() ([]byte, []int)
    func (x *FileOptions) GetCcEnableArenas() bool
    func (x *FileOptions) GetCcGenericServices() bool
    func (x *FileOptions) GetCsharpNamespace() string
    func (x *FileOptions) GetDeprecated() bool
    func (x *FileOptions) GetFeatures() *FeatureSet
    func (x *FileOptions) GetGoPackage() string
    func (x *FileOptions) GetJavaGenerateEqualsAndHash() bool
    func (x *FileOptions) GetJavaGenericServices() bool
    func (x *FileOptions) GetJavaMultipleFiles() bool
    func (x *FileOptions) GetJavaOuterClassname() string
    func (x *FileOptions) GetJavaPackage() string
    func (x *FileOptions) GetJavaStringCheckUtf8() bool
    func (x *FileOptions) GetObjcClassPrefix() string
    func (x *FileOptions) GetOptimizeFor() FileOptions_OptimizeMode
    func (x *FileOptions) GetPhpClassPrefix() string
    func (x *FileOptions) GetPhpGenericServices() bool
    func (x *FileOptions) GetPhpMetadataNamespace() string
    func (x *FileOptions) GetPhpNamespace() string
    func (x *FileOptions) GetPyGenericServices() bool
    func (x *FileOptions) GetRubyPackage() string
    func (x *FileOptions) GetSwiftPrefix() string
    func (x *FileOptions) GetUninterpretedOption() []*UninterpretedOption
    func (*FileOptions) ProtoMessage()
    func (x *FileOptions) ProtoReflect() protoreflect.Message
    func (x *FileOptions) Reset()
    func (x *FileOptions) String() string
type FileOptions_OptimizeMode
    func (FileOptions_OptimizeMode) Descriptor() protoreflect.EnumDescriptor
    func (x FileOptions_OptimizeMode) Enum() *FileOptions_OptimizeMode
    func (FileOptions_OptimizeMode) EnumDescriptor() ([]byte, []int)
    func (x FileOptions_OptimizeMode) Number() protoreflect.EnumNumber
    func (x FileOptions_OptimizeMode) String() string
    func (FileOptions_OptimizeMode) Type() protoreflect.EnumType
    func (x *FileOptions_OptimizeMode) UnmarshalJSON(b []byte) error
type GeneratedCodeInfo
    func (*GeneratedCodeInfo) Descriptor() ([]byte, []int)
    func (x *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation
    func (*GeneratedCodeInfo) ProtoMessage()
    func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message
    func (x *GeneratedCodeInfo) Reset()
    func (x *GeneratedCodeInfo) String() string
type GeneratedCodeInfo_Annotation
    func (*GeneratedCodeInfo_Annotation) Descriptor() ([]byte, []int)
    func (x *GeneratedCodeInfo_Annotation) GetBegin() int32
    func (x *GeneratedCodeInfo_Annotation) GetEnd() int32
    func (x *GeneratedCodeInfo_Annotation) GetPath() []int32
    func (x *GeneratedCodeInfo_Annotation) GetSemantic() GeneratedCodeInfo_Annotation_Semantic
    func (x *GeneratedCodeInfo_Annotation) GetSourceFile() string
    func (*GeneratedCodeInfo_Annotation) ProtoMessage()
    func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message
    func (x *GeneratedCodeInfo_Annotation) Reset()
    func (x *GeneratedCodeInfo_Annotation) String() string
type GeneratedCodeInfo_Annotation_Semantic
    func (GeneratedCodeInfo_Annotation_Semantic) Descriptor() protoreflect.EnumDescriptor
    func (x GeneratedCodeInfo_Annotation_Semantic) Enum() *GeneratedCodeInfo_Annotation_Semantic
    func (GeneratedCodeInfo_Annotation_Semantic) EnumDescriptor() ([]byte, []int)
    func (x GeneratedCodeInfo_Annotation_Semantic) Number() protoreflect.EnumNumber
    func (x GeneratedCodeInfo_Annotation_Semantic) String() string
    func (GeneratedCodeInfo_Annotation_Semantic) Type() protoreflect.EnumType
    func (x *GeneratedCodeInfo_Annotation_Semantic) UnmarshalJSON(b []byte) error
type MessageOptions
    func (*MessageOptions) Descriptor() ([]byte, []int)
    func (x *MessageOptions) GetDeprecated() bool
    func (x *MessageOptions) GetDeprecatedLegacyJsonFieldConflicts() bool
    func (x *MessageOptions) GetFeatures() *FeatureSet
    func (x *MessageOptions) GetMapEntry() bool
    func (x *MessageOptions) GetMessageSetWireFormat() bool
    func (x *MessageOptions) GetNoStandardDescriptorAccessor() bool
    func (x *MessageOptions) GetUninterpretedOption() []*UninterpretedOption
    func (*MessageOptions) ProtoMessage()
    func (x *MessageOptions) ProtoReflect() protoreflect.Message
    func (x *MessageOptions) Reset()
    func (x *MessageOptions) String() string
type MethodDescriptorProto
    func (*MethodDescriptorProto) Descriptor() ([]byte, []int)
    func (x *MethodDescriptorProto) GetClientStreaming() bool
    func (x *MethodDescriptorProto) GetInputType() string
    func (x *MethodDescriptorProto) GetName() string
    func (x *MethodDescriptorProto) GetOptions() *MethodOptions
    func (x *MethodDescriptorProto) GetOutputType() string
    func (x *MethodDescriptorProto) GetServerStreaming() bool
    func (*MethodDescriptorProto) ProtoMessage()
    func (x *MethodDescriptorProto) ProtoReflect() protoreflect.Message
    func (x *MethodDescriptorProto) Reset()
    func (x *MethodDescriptorProto) String() string
type MethodOptions
    func (*MethodOptions) Descriptor() ([]byte, []int)
    func (x *MethodOptions) GetDeprecated() bool
    func (x *MethodOptions) GetFeatures() *FeatureSet
    func (x *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel
    func (x *MethodOptions) GetUninterpretedOption() []*UninterpretedOption
    func (*MethodOptions) ProtoMessage()
    func (x *MethodOptions) ProtoReflect() protoreflect.Message
    func (x *MethodOptions) Reset()
    func (x *MethodOptions) String() string
type MethodOptions_IdempotencyLevel
    func (MethodOptions_IdempotencyLevel) Descriptor() protoreflect.EnumDescriptor
    func (x MethodOptions_IdempotencyLevel) Enum() *MethodOptions_IdempotencyLevel
    func (MethodOptions_IdempotencyLevel) EnumDescriptor() ([]byte, []int)
    func (x MethodOptions_IdempotencyLevel) Number() protoreflect.EnumNumber
    func (x MethodOptions_IdempotencyLevel) String() string
    func (MethodOptions_IdempotencyLevel) Type() protoreflect.EnumType
    func (x *MethodOptions_IdempotencyLevel) UnmarshalJSON(b []byte) error
type OneofDescriptorProto
    func (*OneofDescriptorProto) Descriptor() ([]byte, []int)
    func (x *OneofDescriptorProto) GetName() string
    func (x *OneofDescriptorProto) GetOptions() *OneofOptions
    func (*OneofDescriptorProto) ProtoMessage()
    func (x *OneofDescriptorProto) ProtoReflect() protoreflect.Message
    func (x *OneofDescriptorProto) Reset()
    func (x *OneofDescriptorProto) String() string
type OneofOptions
    func (*OneofOptions) Descriptor() ([]byte, []int)
    func (x *OneofOptions) GetFeatures() *FeatureSet
    func (x *OneofOptions) GetUninterpretedOption() []*UninterpretedOption
    func (*OneofOptions) ProtoMessage()
    func (x *OneofOptions) ProtoReflect() protoreflect.Message
    func (x *OneofOptions) Reset()
    func (x *OneofOptions) String() string
type ServiceDescriptorProto
    func (*ServiceDescriptorProto) Descriptor() ([]byte, []int)
    func (x *ServiceDescriptorProto) GetMethod() []*MethodDescriptorProto
    func (x *ServiceDescriptorProto) GetName() string
    func (x *ServiceDescriptorProto) GetOptions() *ServiceOptions
    func (*ServiceDescriptorProto) ProtoMessage()
    func (x *ServiceDescriptorProto) ProtoReflect() protoreflect.Message
    func (x *ServiceDescriptorProto) Reset()
    func (x *ServiceDescriptorProto) String() string
type ServiceOptions
    func (*ServiceOptions) Descriptor() ([]byte, []int)
    func (x *ServiceOptions) GetDeprecated() bool
    func (x *ServiceOptions) GetFeatures() *FeatureSet
    func (x *ServiceOptions) GetUninterpretedOption() []*UninterpretedOption
    func (*ServiceOptions) ProtoMessage()
    func (x *ServiceOptions) ProtoReflect() protoreflect.Message
    func (x *ServiceOptions) Reset()
    func (x *ServiceOptions) String() string
type SourceCodeInfo
    func (*SourceCodeInfo) Descriptor() ([]byte, []int)
    func (x *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location
    func (*SourceCodeInfo) ProtoMessage()
    func (x *SourceCodeInfo) ProtoReflect() protoreflect.Message
    func (x *SourceCodeInfo) Reset()
    func (x *SourceCodeInfo) String() string
type SourceCodeInfo_Location
    func (*SourceCodeInfo_Location) Descriptor() ([]byte, []int)
    func (x *SourceCodeInfo_Location) GetLeadingComments() string
    func (x *SourceCodeInfo_Location) GetLeadingDetachedComments() []string
    func (x *SourceCodeInfo_Location) GetPath() []int32
    func (x *SourceCodeInfo_Location) GetSpan() []int32
    func (x *SourceCodeInfo_Location) GetTrailingComments() string
    func (*SourceCodeInfo_Location) ProtoMessage()
    func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message
    func (x *SourceCodeInfo_Location) Reset()
    func (x *SourceCodeInfo_Location) String() string
type UninterpretedOption
    func (*UninterpretedOption) Descriptor() ([]byte, []int)
    func (x *UninterpretedOption) GetAggregateValue() string
    func (x *UninterpretedOption) GetDoubleValue() float64
    func (x *UninterpretedOption) GetIdentifierValue() string
    func (x *UninterpretedOption) GetName() []*UninterpretedOption_NamePart
    func (x *UninterpretedOption) GetNegativeIntValue() int64
    func (x *UninterpretedOption) GetPositiveIntValue() uint64
    func (x *UninterpretedOption) GetStringValue() []byte
    func (*UninterpretedOption) ProtoMessage()
    func (x *UninterpretedOption) ProtoReflect() protoreflect.Message
    func (x *UninterpretedOption) Reset()
    func (x *UninterpretedOption) String() string
type UninterpretedOption_NamePart
    func (*UninterpretedOption_NamePart) Descriptor() ([]byte, []int)
    func (x *UninterpretedOption_NamePart) GetIsExtension() bool
    func (x *UninterpretedOption_NamePart) GetNamePart() string
    func (*UninterpretedOption_NamePart) ProtoMessage()
    func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message
    func (x *UninterpretedOption_NamePart) Reset()
    func (x *UninterpretedOption_NamePart) String() string

Package files

descriptor.pb.go

Constants

Default values for MethodDescriptorProto fields.

const (
    Default_MethodDescriptorProto_ClientStreaming = bool(false)
    Default_MethodDescriptorProto_ServerStreaming = bool(false)
)

Default values for FileOptions fields.

const (
    Default_FileOptions_JavaMultipleFiles   = bool(false)
    Default_FileOptions_JavaStringCheckUtf8 = bool(false)
    Default_FileOptions_OptimizeFor         = FileOptions_SPEED
    Default_FileOptions_CcGenericServices   = bool(false)
    Default_FileOptions_JavaGenericServices = bool(false)
    Default_FileOptions_PyGenericServices   = bool(false)
    Default_FileOptions_PhpGenericServices  = bool(false)
    Default_FileOptions_Deprecated          = bool(false)
    Default_FileOptions_CcEnableArenas      = bool(true)
)

Default values for MessageOptions fields.

const (
    Default_MessageOptions_MessageSetWireFormat         = bool(false)
    Default_MessageOptions_NoStandardDescriptorAccessor = bool(false)
    Default_MessageOptions_Deprecated                   = bool(false)
)

Default values for FieldOptions fields.

const (
    Default_FieldOptions_Ctype          = FieldOptions_STRING
    Default_FieldOptions_Jstype         = FieldOptions_JS_NORMAL
    Default_FieldOptions_Lazy           = bool(false)
    Default_FieldOptions_UnverifiedLazy = bool(false)
    Default_FieldOptions_Deprecated     = bool(false)
    Default_FieldOptions_Weak           = bool(false)
    Default_FieldOptions_DebugRedact    = bool(false)
)

Default values for EnumValueOptions fields.

const (
    Default_EnumValueOptions_Deprecated  = bool(false)
    Default_EnumValueOptions_DebugRedact = bool(false)
)

Default values for MethodOptions fields.

const (
    Default_MethodOptions_Deprecated       = bool(false)
    Default_MethodOptions_IdempotencyLevel = MethodOptions_IDEMPOTENCY_UNKNOWN
)

Default values for EnumOptions fields.

const (
    Default_EnumOptions_Deprecated = bool(false)
)

Default values for ExtensionRangeOptions fields.

const (
    Default_ExtensionRangeOptions_Verification = ExtensionRangeOptions_UNVERIFIED
)

Default values for ServiceOptions fields.

const (
    Default_ServiceOptions_Deprecated = bool(false)
)

Variables

Enum value maps for Edition.

var (
    Edition_name = map[int32]string{
        0:     "EDITION_UNKNOWN",
        998:   "EDITION_PROTO2",
        999:   "EDITION_PROTO3",
        1000:  "EDITION_2023",
        1:     "EDITION_1_TEST_ONLY",
        2:     "EDITION_2_TEST_ONLY",
        99997: "EDITION_99997_TEST_ONLY",
        99998: "EDITION_99998_TEST_ONLY",
        99999: "EDITION_99999_TEST_ONLY",
    }
    Edition_value = map[string]int32{
        "EDITION_UNKNOWN":         0,
        "EDITION_PROTO2":          998,
        "EDITION_PROTO3":          999,
        "EDITION_2023":            1000,
        "EDITION_1_TEST_ONLY":     1,
        "EDITION_2_TEST_ONLY":     2,
        "EDITION_99997_TEST_ONLY": 99997,
        "EDITION_99998_TEST_ONLY": 99998,
        "EDITION_99999_TEST_ONLY": 99999,
    }
)

Enum value maps for ExtensionRangeOptions_VerificationState.

var (
    ExtensionRangeOptions_VerificationState_name = map[int32]string{
        0: "DECLARATION",
        1: "UNVERIFIED",
    }
    ExtensionRangeOptions_VerificationState_value = map[string]int32{
        "DECLARATION": 0,
        "UNVERIFIED":  1,
    }
)

Enum value maps for FieldDescriptorProto_Type.

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",
    }
    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,
    }
)

Enum value maps for FieldDescriptorProto_Label.

var (
    FieldDescriptorProto_Label_name = map[int32]string{
        1: "LABEL_OPTIONAL",
        3: "LABEL_REPEATED",
        2: "LABEL_REQUIRED",
    }
    FieldDescriptorProto_Label_value = map[string]int32{
        "LABEL_OPTIONAL": 1,
        "LABEL_REPEATED": 3,
        "LABEL_REQUIRED": 2,
    }
)

Enum value maps for FileOptions_OptimizeMode.

var (
    FileOptions_OptimizeMode_name = map[int32]string{
        1: "SPEED",
        2: "CODE_SIZE",
        3: "LITE_RUNTIME",
    }
    FileOptions_OptimizeMode_value = map[string]int32{
        "SPEED":        1,
        "CODE_SIZE":    2,
        "LITE_RUNTIME": 3,
    }
)

Enum value maps for FieldOptions_CType.

var (
    FieldOptions_CType_name = map[int32]string{
        0: "STRING",
        1: "CORD",
        2: "STRING_PIECE",
    }
    FieldOptions_CType_value = map[string]int32{
        "STRING":       0,
        "CORD":         1,
        "STRING_PIECE": 2,
    }
)

Enum value maps for FieldOptions_JSType.

var (
    FieldOptions_JSType_name = map[int32]string{
        0: "JS_NORMAL",
        1: "JS_STRING",
        2: "JS_NUMBER",
    }
    FieldOptions_JSType_value = map[string]int32{
        "JS_NORMAL": 0,
        "JS_STRING": 1,
        "JS_NUMBER": 2,
    }
)

Enum value maps for FieldOptions_OptionRetention.

var (
    FieldOptions_OptionRetention_name = map[int32]string{
        0: "RETENTION_UNKNOWN",
        1: "RETENTION_RUNTIME",
        2: "RETENTION_SOURCE",
    }
    FieldOptions_OptionRetention_value = map[string]int32{
        "RETENTION_UNKNOWN": 0,
        "RETENTION_RUNTIME": 1,
        "RETENTION_SOURCE":  2,
    }
)

Enum value maps for FieldOptions_OptionTargetType.

var (
    FieldOptions_OptionTargetType_name = map[int32]string{
        0: "TARGET_TYPE_UNKNOWN",
        1: "TARGET_TYPE_FILE",
        2: "TARGET_TYPE_EXTENSION_RANGE",
        3: "TARGET_TYPE_MESSAGE",
        4: "TARGET_TYPE_FIELD",
        5: "TARGET_TYPE_ONEOF",
        6: "TARGET_TYPE_ENUM",
        7: "TARGET_TYPE_ENUM_ENTRY",
        8: "TARGET_TYPE_SERVICE",
        9: "TARGET_TYPE_METHOD",
    }
    FieldOptions_OptionTargetType_value = map[string]int32{
        "TARGET_TYPE_UNKNOWN":         0,
        "TARGET_TYPE_FILE":            1,
        "TARGET_TYPE_EXTENSION_RANGE": 2,
        "TARGET_TYPE_MESSAGE":         3,
        "TARGET_TYPE_FIELD":           4,
        "TARGET_TYPE_ONEOF":           5,
        "TARGET_TYPE_ENUM":            6,
        "TARGET_TYPE_ENUM_ENTRY":      7,
        "TARGET_TYPE_SERVICE":         8,
        "TARGET_TYPE_METHOD":          9,
    }
)

Enum value maps for MethodOptions_IdempotencyLevel.

var (
    MethodOptions_IdempotencyLevel_name = map[int32]string{
        0: "IDEMPOTENCY_UNKNOWN",
        1: "NO_SIDE_EFFECTS",
        2: "IDEMPOTENT",
    }
    MethodOptions_IdempotencyLevel_value = map[string]int32{
        "IDEMPOTENCY_UNKNOWN": 0,
        "NO_SIDE_EFFECTS":     1,
        "IDEMPOTENT":          2,
    }
)

Enum value maps for FeatureSet_FieldPresence.

var (
    FeatureSet_FieldPresence_name = map[int32]string{
        0: "FIELD_PRESENCE_UNKNOWN",
        1: "EXPLICIT",
        2: "IMPLICIT",
        3: "LEGACY_REQUIRED",
    }
    FeatureSet_FieldPresence_value = map[string]int32{
        "FIELD_PRESENCE_UNKNOWN": 0,
        "EXPLICIT":               1,
        "IMPLICIT":               2,
        "LEGACY_REQUIRED":        3,
    }
)

Enum value maps for FeatureSet_EnumType.

var (
    FeatureSet_EnumType_name = map[int32]string{
        0: "ENUM_TYPE_UNKNOWN",
        1: "OPEN",
        2: "CLOSED",
    }
    FeatureSet_EnumType_value = map[string]int32{
        "ENUM_TYPE_UNKNOWN": 0,
        "OPEN":              1,
        "CLOSED":            2,
    }
)

Enum value maps for FeatureSet_RepeatedFieldEncoding.

var (
    FeatureSet_RepeatedFieldEncoding_name = map[int32]string{
        0: "REPEATED_FIELD_ENCODING_UNKNOWN",
        1: "PACKED",
        2: "EXPANDED",
    }
    FeatureSet_RepeatedFieldEncoding_value = map[string]int32{
        "REPEATED_FIELD_ENCODING_UNKNOWN": 0,
        "PACKED":                          1,
        "EXPANDED":                        2,
    }
)

Enum value maps for FeatureSet_Utf8Validation.

var (
    FeatureSet_Utf8Validation_name = map[int32]string{
        0: "UTF8_VALIDATION_UNKNOWN",
        1: "NONE",
        2: "VERIFY",
    }
    FeatureSet_Utf8Validation_value = map[string]int32{
        "UTF8_VALIDATION_UNKNOWN": 0,
        "NONE":                    1,
        "VERIFY":                  2,
    }
)

Enum value maps for FeatureSet_MessageEncoding.

var (
    FeatureSet_MessageEncoding_name = map[int32]string{
        0: "MESSAGE_ENCODING_UNKNOWN",
        1: "LENGTH_PREFIXED",
        2: "DELIMITED",
    }
    FeatureSet_MessageEncoding_value = map[string]int32{
        "MESSAGE_ENCODING_UNKNOWN": 0,
        "LENGTH_PREFIXED":          1,
        "DELIMITED":                2,
    }
)

Enum value maps for FeatureSet_JsonFormat.

var (
    FeatureSet_JsonFormat_name = map[int32]string{
        0: "JSON_FORMAT_UNKNOWN",
        1: "ALLOW",
        2: "LEGACY_BEST_EFFORT",
    }
    FeatureSet_JsonFormat_value = map[string]int32{
        "JSON_FORMAT_UNKNOWN": 0,
        "ALLOW":               1,
        "LEGACY_BEST_EFFORT":  2,
    }
)

Enum value maps for GeneratedCodeInfo_Annotation_Semantic.

var (
    GeneratedCodeInfo_Annotation_Semantic_name = map[int32]string{
        0: "NONE",
        1: "SET",
        2: "ALIAS",
    }
    GeneratedCodeInfo_Annotation_Semantic_value = map[string]int32{
        "NONE":  0,
        "SET":   1,
        "ALIAS": 2,
    }
)
var File_google_protobuf_descriptor_proto protoreflect.FileDescriptor

type DescriptorProto

Describes a message type.

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=nestedType" json:"nested_type,omitempty"`
    EnumType       []*EnumDescriptorProto            `protobuf:"bytes,4,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"`
    ExtensionRange []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range,json=extensionRange" json:"extension_range,omitempty"`
    OneofDecl      []*OneofDescriptorProto           `protobuf:"bytes,8,rep,name=oneof_decl,json=oneofDecl" json:"oneof_decl,omitempty"`
    Options        *MessageOptions                   `protobuf:"bytes,7,opt,name=options" json:"options,omitempty"`
    ReservedRange  []*DescriptorProto_ReservedRange  `protobuf:"bytes,9,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"`
    // Reserved field names, which may not be used by fields in the same message.
    // A given name may only be reserved once.
    ReservedName []string `protobuf:"bytes,10,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
    // contains filtered or unexported fields
}

func (*DescriptorProto) Descriptor

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

Deprecated: Use DescriptorProto.ProtoReflect.Descriptor instead.

func (*DescriptorProto) GetEnumType

func (x *DescriptorProto) GetEnumType() []*EnumDescriptorProto

func (*DescriptorProto) GetExtension

func (x *DescriptorProto) GetExtension() []*FieldDescriptorProto

func (*DescriptorProto) GetExtensionRange

func (x *DescriptorProto) GetExtensionRange() []*DescriptorProto_ExtensionRange

func (*DescriptorProto) GetField

func (x *DescriptorProto) GetField() []*FieldDescriptorProto

func (*DescriptorProto) GetName

func (x *DescriptorProto) GetName() string

func (*DescriptorProto) GetNestedType

func (x *DescriptorProto) GetNestedType() []*DescriptorProto

func (*DescriptorProto) GetOneofDecl

func (x *DescriptorProto) GetOneofDecl() []*OneofDescriptorProto

func (*DescriptorProto) GetOptions

func (x *DescriptorProto) GetOptions() *MessageOptions

func (*DescriptorProto) GetReservedName

func (x *DescriptorProto) GetReservedName() []string

func (*DescriptorProto) GetReservedRange

func (x *DescriptorProto) GetReservedRange() []*DescriptorProto_ReservedRange

func (*DescriptorProto) ProtoMessage

func (*DescriptorProto) ProtoMessage()

func (*DescriptorProto) ProtoReflect

func (x *DescriptorProto) ProtoReflect() protoreflect.Message

func (*DescriptorProto) Reset

func (x *DescriptorProto) Reset()

func (*DescriptorProto) String

func (x *DescriptorProto) String() string

type DescriptorProto_ExtensionRange

type DescriptorProto_ExtensionRange struct {
    Start   *int32                 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive.
    End     *int32                 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`     // Exclusive.
    Options *ExtensionRangeOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
    // contains filtered or unexported fields
}

func (*DescriptorProto_ExtensionRange) Descriptor

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

Deprecated: Use DescriptorProto_ExtensionRange.ProtoReflect.Descriptor instead.

func (*DescriptorProto_ExtensionRange) GetEnd

func (x *DescriptorProto_ExtensionRange) GetEnd() int32

func (*DescriptorProto_ExtensionRange) GetOptions

func (x *DescriptorProto_ExtensionRange) GetOptions() *ExtensionRangeOptions

func (*DescriptorProto_ExtensionRange) GetStart

func (x *DescriptorProto_ExtensionRange) GetStart() int32

func (*DescriptorProto_ExtensionRange) ProtoMessage

func (*DescriptorProto_ExtensionRange) ProtoMessage()

func (*DescriptorProto_ExtensionRange) ProtoReflect

func (x *DescriptorProto_ExtensionRange) ProtoReflect() protoreflect.Message

func (*DescriptorProto_ExtensionRange) Reset

func (x *DescriptorProto_ExtensionRange) Reset()

func (*DescriptorProto_ExtensionRange) String

func (x *DescriptorProto_ExtensionRange) String() string

type DescriptorProto_ReservedRange

Range of reserved tag numbers. Reserved tag numbers may not be used by fields or extension ranges in the same message. Reserved ranges may not overlap.

type DescriptorProto_ReservedRange struct {
    Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive.
    End   *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`     // Exclusive.
    // contains filtered or unexported fields
}

func (*DescriptorProto_ReservedRange) Descriptor

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

Deprecated: Use DescriptorProto_ReservedRange.ProtoReflect.Descriptor instead.

func (*DescriptorProto_ReservedRange) GetEnd

func (x *DescriptorProto_ReservedRange) GetEnd() int32

func (*DescriptorProto_ReservedRange) GetStart

func (x *DescriptorProto_ReservedRange) GetStart() int32

func (*DescriptorProto_ReservedRange) ProtoMessage

func (*DescriptorProto_ReservedRange) ProtoMessage()

func (*DescriptorProto_ReservedRange) ProtoReflect

func (x *DescriptorProto_ReservedRange) ProtoReflect() protoreflect.Message

func (*DescriptorProto_ReservedRange) Reset

func (x *DescriptorProto_ReservedRange) Reset()

func (*DescriptorProto_ReservedRange) String

func (x *DescriptorProto_ReservedRange) String() string

type Edition

The full set of known editions.

type Edition int32
const (
    // A placeholder for an unknown edition value.
    Edition_EDITION_UNKNOWN Edition = 0
    // Legacy syntax "editions".  These pre-date editions, but behave much like
    // distinct editions.  These can't be used to specify the edition of proto
    // files, but feature definitions must supply proto2/proto3 defaults for
    // backwards compatibility.
    Edition_EDITION_PROTO2 Edition = 998
    Edition_EDITION_PROTO3 Edition = 999
    // Editions that have been released.  The specific values are arbitrary and
    // should not be depended on, but they will always be time-ordered for easy
    // comparison.
    Edition_EDITION_2023 Edition = 1000
    // Placeholder editions for testing feature resolution.  These should not be
    // used or relyed on outside of tests.
    Edition_EDITION_1_TEST_ONLY     Edition = 1
    Edition_EDITION_2_TEST_ONLY     Edition = 2
    Edition_EDITION_99997_TEST_ONLY Edition = 99997
    Edition_EDITION_99998_TEST_ONLY Edition = 99998
    Edition_EDITION_99999_TEST_ONLY Edition = 99999
)

func (Edition) Descriptor

func (Edition) Descriptor() protoreflect.EnumDescriptor

func (Edition) Enum

func (x Edition) Enum() *Edition

func (Edition) EnumDescriptor

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

Deprecated: Use Edition.Descriptor instead.

func (Edition) Number

func (x Edition) Number() protoreflect.EnumNumber

func (Edition) String

func (x Edition) String() string

func (Edition) Type

func (Edition) Type() protoreflect.EnumType

func (*Edition) UnmarshalJSON

func (x *Edition) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type EnumDescriptorProto

Describes an enum type.

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"`
    // Range of reserved numeric values. Reserved numeric values may not be used
    // by enum values in the same enum declaration. Reserved ranges may not
    // overlap.
    ReservedRange []*EnumDescriptorProto_EnumReservedRange `protobuf:"bytes,4,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"`
    // Reserved enum value names, which may not be reused. A given name may only
    // be reserved once.
    ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
    // contains filtered or unexported fields
}

func (*EnumDescriptorProto) Descriptor

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

Deprecated: Use EnumDescriptorProto.ProtoReflect.Descriptor instead.

func (*EnumDescriptorProto) GetName

func (x *EnumDescriptorProto) GetName() string

func (*EnumDescriptorProto) GetOptions

func (x *EnumDescriptorProto) GetOptions() *EnumOptions

func (*EnumDescriptorProto) GetReservedName

func (x *EnumDescriptorProto) GetReservedName() []string

func (*EnumDescriptorProto) GetReservedRange

func (x *EnumDescriptorProto) GetReservedRange() []*EnumDescriptorProto_EnumReservedRange

func (*EnumDescriptorProto) GetValue

func (x *EnumDescriptorProto) GetValue() []*EnumValueDescriptorProto

func (*EnumDescriptorProto) ProtoMessage

func (*EnumDescriptorProto) ProtoMessage()

func (*EnumDescriptorProto) ProtoReflect

func (x *EnumDescriptorProto) ProtoReflect() protoreflect.Message

func (*EnumDescriptorProto) Reset

func (x *EnumDescriptorProto) Reset()

func (*EnumDescriptorProto) String

func (x *EnumDescriptorProto) String() string

type EnumDescriptorProto_EnumReservedRange

Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap.

Note that this is distinct from DescriptorProto.ReservedRange in that it is inclusive such that it can appropriately represent the entire int32 domain.

type EnumDescriptorProto_EnumReservedRange struct {
    Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive.
    End   *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`     // Inclusive.
    // contains filtered or unexported fields
}

func (*EnumDescriptorProto_EnumReservedRange) Descriptor

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

Deprecated: Use EnumDescriptorProto_EnumReservedRange.ProtoReflect.Descriptor instead.

func (*EnumDescriptorProto_EnumReservedRange) GetEnd

func (x *EnumDescriptorProto_EnumReservedRange) GetEnd() int32

func (*EnumDescriptorProto_EnumReservedRange) GetStart

func (x *EnumDescriptorProto_EnumReservedRange) GetStart() int32

func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage

func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage()

func (*EnumDescriptorProto_EnumReservedRange) ProtoReflect

func (x *EnumDescriptorProto_EnumReservedRange) ProtoReflect() protoreflect.Message

func (*EnumDescriptorProto_EnumReservedRange) Reset

func (x *EnumDescriptorProto_EnumReservedRange) Reset()

func (*EnumDescriptorProto_EnumReservedRange) String

func (x *EnumDescriptorProto_EnumReservedRange) String() string

type EnumOptions

type EnumOptions struct {

    // Set this option to true to allow mapping different tag names to the same
    // value.
    AllowAlias *bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias" json:"allow_alias,omitempty"`
    // Is this enum deprecated?
    // Depending on the target platform, this can emit Deprecated annotations
    // for the enum, or it will be completely ignored; in the very least, this
    // is a formalization for deprecating enums.
    Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
    // Enable the legacy handling of JSON field name conflicts.  This lowercases
    // and strips underscored from the fields before comparison in proto3 only.
    // The new behavior takes `json_name` into account and applies to proto2 as
    // well.
    // TODO Remove this legacy behavior once downstream teams have
    // had time to migrate.
    //
    // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
    DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,6,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"`
    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,7,opt,name=features" json:"features,omitempty"`
    // The parser stores options it doesn't recognize here. See above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // contains filtered or unexported fields
}

func (*EnumOptions) Descriptor

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

Deprecated: Use EnumOptions.ProtoReflect.Descriptor instead.

func (*EnumOptions) GetAllowAlias

func (x *EnumOptions) GetAllowAlias() bool

func (*EnumOptions) GetDeprecated

func (x *EnumOptions) GetDeprecated() bool

func (*EnumOptions) GetDeprecatedLegacyJsonFieldConflicts

func (x *EnumOptions) GetDeprecatedLegacyJsonFieldConflicts() bool

Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.

func (*EnumOptions) GetFeatures

func (x *EnumOptions) GetFeatures() *FeatureSet

func (*EnumOptions) GetUninterpretedOption

func (x *EnumOptions) GetUninterpretedOption() []*UninterpretedOption

func (*EnumOptions) ProtoMessage

func (*EnumOptions) ProtoMessage()

func (*EnumOptions) ProtoReflect

func (x *EnumOptions) ProtoReflect() protoreflect.Message

func (*EnumOptions) Reset

func (x *EnumOptions) Reset()

func (*EnumOptions) String

func (x *EnumOptions) String() string

type EnumValueDescriptorProto

Describes a value within an enum.

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"`
    // contains filtered or unexported fields
}

func (*EnumValueDescriptorProto) Descriptor

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

Deprecated: Use EnumValueDescriptorProto.ProtoReflect.Descriptor instead.

func (*EnumValueDescriptorProto) GetName

func (x *EnumValueDescriptorProto) GetName() string

func (*EnumValueDescriptorProto) GetNumber

func (x *EnumValueDescriptorProto) GetNumber() int32

func (*EnumValueDescriptorProto) GetOptions

func (x *EnumValueDescriptorProto) GetOptions() *EnumValueOptions

func (*EnumValueDescriptorProto) ProtoMessage

func (*EnumValueDescriptorProto) ProtoMessage()

func (*EnumValueDescriptorProto) ProtoReflect

func (x *EnumValueDescriptorProto) ProtoReflect() protoreflect.Message

func (*EnumValueDescriptorProto) Reset

func (x *EnumValueDescriptorProto) Reset()

func (*EnumValueDescriptorProto) String

func (x *EnumValueDescriptorProto) String() string

type EnumValueOptions

type EnumValueOptions struct {

    // Is this enum value deprecated?
    // Depending on the target platform, this can emit Deprecated annotations
    // for the enum value, or it will be completely ignored; in the very least,
    // this is a formalization for deprecating enum values.
    Deprecated *bool `protobuf:"varint,1,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"`
    // Indicate that fields annotated with this enum value should not be printed
    // out when using debug formats, e.g. when the field contains sensitive
    // credentials.
    DebugRedact *bool `protobuf:"varint,3,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"`
    // The parser stores options it doesn't recognize here. See above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // contains filtered or unexported fields
}

func (*EnumValueOptions) Descriptor

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

Deprecated: Use EnumValueOptions.ProtoReflect.Descriptor instead.

func (*EnumValueOptions) GetDebugRedact

func (x *EnumValueOptions) GetDebugRedact() bool

func (*EnumValueOptions) GetDeprecated

func (x *EnumValueOptions) GetDeprecated() bool

func (*EnumValueOptions) GetFeatures

func (x *EnumValueOptions) GetFeatures() *FeatureSet

func (*EnumValueOptions) GetUninterpretedOption

func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption

func (*EnumValueOptions) ProtoMessage

func (*EnumValueOptions) ProtoMessage()

func (*EnumValueOptions) ProtoReflect

func (x *EnumValueOptions) ProtoReflect() protoreflect.Message

func (*EnumValueOptions) Reset

func (x *EnumValueOptions) Reset()

func (*EnumValueOptions) String

func (x *EnumValueOptions) String() string

type ExtensionRangeOptions

type ExtensionRangeOptions struct {

    // The parser stores options it doesn't recognize here. See above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // For external users: DO NOT USE. We are in the process of open sourcing
    // extension declaration and executing internal cleanups before it can be
    // used externally.
    Declaration []*ExtensionRangeOptions_Declaration `protobuf:"bytes,2,rep,name=declaration" json:"declaration,omitempty"`
    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,50,opt,name=features" json:"features,omitempty"`
    // The verification state of the range.
    // TODO: flip the default to DECLARATION once all empty ranges
    // are marked as UNVERIFIED.
    Verification *ExtensionRangeOptions_VerificationState `protobuf:"varint,3,opt,name=verification,enum=google.protobuf.ExtensionRangeOptions_VerificationState,def=1" json:"verification,omitempty"`
    // contains filtered or unexported fields
}

func (*ExtensionRangeOptions) Descriptor

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

Deprecated: Use ExtensionRangeOptions.ProtoReflect.Descriptor instead.

func (*ExtensionRangeOptions) GetDeclaration

func (x *ExtensionRangeOptions) GetDeclaration() []*ExtensionRangeOptions_Declaration

func (*ExtensionRangeOptions) GetFeatures

func (x *ExtensionRangeOptions) GetFeatures() *FeatureSet

func (*ExtensionRangeOptions) GetUninterpretedOption

func (x *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption

func (*ExtensionRangeOptions) GetVerification

func (x *ExtensionRangeOptions) GetVerification() ExtensionRangeOptions_VerificationState

func (*ExtensionRangeOptions) ProtoMessage

func (*ExtensionRangeOptions) ProtoMessage()

func (*ExtensionRangeOptions) ProtoReflect

func (x *ExtensionRangeOptions) ProtoReflect() protoreflect.Message

func (*ExtensionRangeOptions) Reset

func (x *ExtensionRangeOptions) Reset()

func (*ExtensionRangeOptions) String

func (x *ExtensionRangeOptions) String() string

type ExtensionRangeOptions_Declaration

type ExtensionRangeOptions_Declaration struct {

    // The extension number declared within the extension range.
    Number *int32 `protobuf:"varint,1,opt,name=number" json:"number,omitempty"`
    // The fully-qualified name of the extension field. There must be a leading
    // dot in front of the full name.
    FullName *string `protobuf:"bytes,2,opt,name=full_name,json=fullName" json:"full_name,omitempty"`
    // The fully-qualified type name of the extension field. Unlike
    // Metadata.type, Declaration.type must have a leading dot for messages
    // and enums.
    Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
    // If true, indicates that the number is reserved in the extension range,
    // and any extension field with the number will fail to compile. Set this
    // when a declared extension field is deleted.
    Reserved *bool `protobuf:"varint,5,opt,name=reserved" json:"reserved,omitempty"`
    // If true, indicates that the extension must be defined as repeated.
    // Otherwise the extension must be defined as optional.
    Repeated *bool `protobuf:"varint,6,opt,name=repeated" json:"repeated,omitempty"`
    // contains filtered or unexported fields
}

func (*ExtensionRangeOptions_Declaration) Descriptor

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

Deprecated: Use ExtensionRangeOptions_Declaration.ProtoReflect.Descriptor instead.

func (*ExtensionRangeOptions_Declaration) GetFullName

func (x *ExtensionRangeOptions_Declaration) GetFullName() string

func (*ExtensionRangeOptions_Declaration) GetNumber

func (x *ExtensionRangeOptions_Declaration) GetNumber() int32

func (*ExtensionRangeOptions_Declaration) GetRepeated

func (x *ExtensionRangeOptions_Declaration) GetRepeated() bool

func (*ExtensionRangeOptions_Declaration) GetReserved

func (x *ExtensionRangeOptions_Declaration) GetReserved() bool

func (*ExtensionRangeOptions_Declaration) GetType

func (x *ExtensionRangeOptions_Declaration) GetType() string

func (*ExtensionRangeOptions_Declaration) ProtoMessage

func (*ExtensionRangeOptions_Declaration) ProtoMessage()

func (*ExtensionRangeOptions_Declaration) ProtoReflect

func (x *ExtensionRangeOptions_Declaration) ProtoReflect() protoreflect.Message

func (*ExtensionRangeOptions_Declaration) Reset

func (x *ExtensionRangeOptions_Declaration) Reset()

func (*ExtensionRangeOptions_Declaration) String

func (x *ExtensionRangeOptions_Declaration) String() string

type ExtensionRangeOptions_VerificationState

The verification state of the extension range.

type ExtensionRangeOptions_VerificationState int32
const (
    // All the extensions of the range must be declared.
    ExtensionRangeOptions_DECLARATION ExtensionRangeOptions_VerificationState = 0
    ExtensionRangeOptions_UNVERIFIED  ExtensionRangeOptions_VerificationState = 1
)

func (ExtensionRangeOptions_VerificationState) Descriptor

func (ExtensionRangeOptions_VerificationState) Descriptor() protoreflect.EnumDescriptor

func (ExtensionRangeOptions_VerificationState) Enum

func (x ExtensionRangeOptions_VerificationState) Enum() *ExtensionRangeOptions_VerificationState

func (ExtensionRangeOptions_VerificationState) EnumDescriptor

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

Deprecated: Use ExtensionRangeOptions_VerificationState.Descriptor instead.

func (ExtensionRangeOptions_VerificationState) Number

func (x ExtensionRangeOptions_VerificationState) Number() protoreflect.EnumNumber

func (ExtensionRangeOptions_VerificationState) String

func (x ExtensionRangeOptions_VerificationState) String() string

func (ExtensionRangeOptions_VerificationState) Type

func (ExtensionRangeOptions_VerificationState) Type() protoreflect.EnumType

func (*ExtensionRangeOptions_VerificationState) UnmarshalJSON

func (x *ExtensionRangeOptions_VerificationState) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FeatureSet

TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we've chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.

type FeatureSet struct {
    FieldPresence         *FeatureSet_FieldPresence         `protobuf:"varint,1,opt,name=field_presence,json=fieldPresence,enum=google.protobuf.FeatureSet_FieldPresence" json:"field_presence,omitempty"`
    EnumType              *FeatureSet_EnumType              `protobuf:"varint,2,opt,name=enum_type,json=enumType,enum=google.protobuf.FeatureSet_EnumType" json:"enum_type,omitempty"`
    RepeatedFieldEncoding *FeatureSet_RepeatedFieldEncoding `protobuf:"varint,3,opt,name=repeated_field_encoding,json=repeatedFieldEncoding,enum=google.protobuf.FeatureSet_RepeatedFieldEncoding" json:"repeated_field_encoding,omitempty"`
    Utf8Validation        *FeatureSet_Utf8Validation        `protobuf:"varint,4,opt,name=utf8_validation,json=utf8Validation,enum=google.protobuf.FeatureSet_Utf8Validation" json:"utf8_validation,omitempty"`
    MessageEncoding       *FeatureSet_MessageEncoding       `protobuf:"varint,5,opt,name=message_encoding,json=messageEncoding,enum=google.protobuf.FeatureSet_MessageEncoding" json:"message_encoding,omitempty"`
    JsonFormat            *FeatureSet_JsonFormat            `protobuf:"varint,6,opt,name=json_format,json=jsonFormat,enum=google.protobuf.FeatureSet_JsonFormat" json:"json_format,omitempty"`
    // contains filtered or unexported fields
}

func (*FeatureSet) Descriptor

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

Deprecated: Use FeatureSet.ProtoReflect.Descriptor instead.

func (*FeatureSet) GetEnumType

func (x *FeatureSet) GetEnumType() FeatureSet_EnumType

func (*FeatureSet) GetFieldPresence

func (x *FeatureSet) GetFieldPresence() FeatureSet_FieldPresence

func (*FeatureSet) GetJsonFormat

func (x *FeatureSet) GetJsonFormat() FeatureSet_JsonFormat

func (*FeatureSet) GetMessageEncoding

func (x *FeatureSet) GetMessageEncoding() FeatureSet_MessageEncoding

func (*FeatureSet) GetRepeatedFieldEncoding

func (x *FeatureSet) GetRepeatedFieldEncoding() FeatureSet_RepeatedFieldEncoding

func (*FeatureSet) GetUtf8Validation

func (x *FeatureSet) GetUtf8Validation() FeatureSet_Utf8Validation

func (*FeatureSet) ProtoMessage

func (*FeatureSet) ProtoMessage()

func (*FeatureSet) ProtoReflect

func (x *FeatureSet) ProtoReflect() protoreflect.Message

func (*FeatureSet) Reset

func (x *FeatureSet) Reset()

func (*FeatureSet) String

func (x *FeatureSet) String() string

type FeatureSetDefaults

A compiled specification for the defaults of a set of features. These messages are generated from FeatureSet extensions and can be used to seed feature resolution. The resolution with this object becomes a simple search for the closest matching edition, followed by proto merges.

type FeatureSetDefaults struct {
    Defaults []*FeatureSetDefaults_FeatureSetEditionDefault `protobuf:"bytes,1,rep,name=defaults" json:"defaults,omitempty"`
    // The minimum supported edition (inclusive) when this was constructed.
    // Editions before this will not have defaults.
    MinimumEdition *Edition `protobuf:"varint,4,opt,name=minimum_edition,json=minimumEdition,enum=google.protobuf.Edition" json:"minimum_edition,omitempty"`
    // The maximum known edition (inclusive) when this was constructed. Editions
    // after this will not have reliable defaults.
    MaximumEdition *Edition `protobuf:"varint,5,opt,name=maximum_edition,json=maximumEdition,enum=google.protobuf.Edition" json:"maximum_edition,omitempty"`
    // contains filtered or unexported fields
}

func (*FeatureSetDefaults) Descriptor

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

Deprecated: Use FeatureSetDefaults.ProtoReflect.Descriptor instead.

func (*FeatureSetDefaults) GetDefaults

func (x *FeatureSetDefaults) GetDefaults() []*FeatureSetDefaults_FeatureSetEditionDefault

func (*FeatureSetDefaults) GetMaximumEdition

func (x *FeatureSetDefaults) GetMaximumEdition() Edition

func (*FeatureSetDefaults) GetMinimumEdition

func (x *FeatureSetDefaults) GetMinimumEdition() Edition

func (*FeatureSetDefaults) ProtoMessage

func (*FeatureSetDefaults) ProtoMessage()

func (*FeatureSetDefaults) ProtoReflect

func (x *FeatureSetDefaults) ProtoReflect() protoreflect.Message

func (*FeatureSetDefaults) Reset

func (x *FeatureSetDefaults) Reset()

func (*FeatureSetDefaults) String

func (x *FeatureSetDefaults) String() string

type FeatureSetDefaults_FeatureSetEditionDefault

A map from every known edition with a unique set of defaults to its defaults. Not all editions may be contained here. For a given edition, the defaults at the closest matching edition ordered at or before it should be used. This field must be in strict ascending order by edition.

type FeatureSetDefaults_FeatureSetEditionDefault struct {
    Edition  *Edition    `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"`
    Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"`
    // contains filtered or unexported fields
}

func (*FeatureSetDefaults_FeatureSetEditionDefault) Descriptor

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

Deprecated: Use FeatureSetDefaults_FeatureSetEditionDefault.ProtoReflect.Descriptor instead.

func (*FeatureSetDefaults_FeatureSetEditionDefault) GetEdition

func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition

func (*FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures

func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures() *FeatureSet

func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage

func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage()

func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoReflect

func (x *FeatureSetDefaults_FeatureSetEditionDefault) ProtoReflect() protoreflect.Message

func (*FeatureSetDefaults_FeatureSetEditionDefault) Reset

func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset()

func (*FeatureSetDefaults_FeatureSetEditionDefault) String

func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string

type FeatureSet_EnumType

type FeatureSet_EnumType int32
const (
    FeatureSet_ENUM_TYPE_UNKNOWN FeatureSet_EnumType = 0
    FeatureSet_OPEN              FeatureSet_EnumType = 1
    FeatureSet_CLOSED            FeatureSet_EnumType = 2
)

func (FeatureSet_EnumType) Descriptor

func (FeatureSet_EnumType) Descriptor() protoreflect.EnumDescriptor

func (FeatureSet_EnumType) Enum

func (x FeatureSet_EnumType) Enum() *FeatureSet_EnumType

func (FeatureSet_EnumType) EnumDescriptor

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

Deprecated: Use FeatureSet_EnumType.Descriptor instead.

func (FeatureSet_EnumType) Number

func (x FeatureSet_EnumType) Number() protoreflect.EnumNumber

func (FeatureSet_EnumType) String

func (x FeatureSet_EnumType) String() string

func (FeatureSet_EnumType) Type

func (FeatureSet_EnumType) Type() protoreflect.EnumType

func (*FeatureSet_EnumType) UnmarshalJSON

func (x *FeatureSet_EnumType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FeatureSet_FieldPresence

type FeatureSet_FieldPresence int32
const (
    FeatureSet_FIELD_PRESENCE_UNKNOWN FeatureSet_FieldPresence = 0
    FeatureSet_EXPLICIT               FeatureSet_FieldPresence = 1
    FeatureSet_IMPLICIT               FeatureSet_FieldPresence = 2
    FeatureSet_LEGACY_REQUIRED        FeatureSet_FieldPresence = 3
)

func (FeatureSet_FieldPresence) Descriptor

func (FeatureSet_FieldPresence) Descriptor() protoreflect.EnumDescriptor

func (FeatureSet_FieldPresence) Enum

func (x FeatureSet_FieldPresence) Enum() *FeatureSet_FieldPresence

func (FeatureSet_FieldPresence) EnumDescriptor

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

Deprecated: Use FeatureSet_FieldPresence.Descriptor instead.

func (FeatureSet_FieldPresence) Number

func (x FeatureSet_FieldPresence) Number() protoreflect.EnumNumber

func (FeatureSet_FieldPresence) String

func (x FeatureSet_FieldPresence) String() string

func (FeatureSet_FieldPresence) Type

func (FeatureSet_FieldPresence) Type() protoreflect.EnumType

func (*FeatureSet_FieldPresence) UnmarshalJSON

func (x *FeatureSet_FieldPresence) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FeatureSet_JsonFormat

type FeatureSet_JsonFormat int32
const (
    FeatureSet_JSON_FORMAT_UNKNOWN FeatureSet_JsonFormat = 0
    FeatureSet_ALLOW               FeatureSet_JsonFormat = 1
    FeatureSet_LEGACY_BEST_EFFORT  FeatureSet_JsonFormat = 2
)

func (FeatureSet_JsonFormat) Descriptor

func (FeatureSet_JsonFormat) Descriptor() protoreflect.EnumDescriptor

func (FeatureSet_JsonFormat) Enum

func (x FeatureSet_JsonFormat) Enum() *FeatureSet_JsonFormat

func (FeatureSet_JsonFormat) EnumDescriptor

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

Deprecated: Use FeatureSet_JsonFormat.Descriptor instead.

func (FeatureSet_JsonFormat) Number

func (x FeatureSet_JsonFormat) Number() protoreflect.EnumNumber

func (FeatureSet_JsonFormat) String

func (x FeatureSet_JsonFormat) String() string

func (FeatureSet_JsonFormat) Type

func (FeatureSet_JsonFormat) Type() protoreflect.EnumType

func (*FeatureSet_JsonFormat) UnmarshalJSON

func (x *FeatureSet_JsonFormat) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FeatureSet_MessageEncoding

type FeatureSet_MessageEncoding int32
const (
    FeatureSet_MESSAGE_ENCODING_UNKNOWN FeatureSet_MessageEncoding = 0
    FeatureSet_LENGTH_PREFIXED          FeatureSet_MessageEncoding = 1
    FeatureSet_DELIMITED                FeatureSet_MessageEncoding = 2
)

func (FeatureSet_MessageEncoding) Descriptor

func (FeatureSet_MessageEncoding) Descriptor() protoreflect.EnumDescriptor

func (FeatureSet_MessageEncoding) Enum

func (x FeatureSet_MessageEncoding) Enum() *FeatureSet_MessageEncoding

func (FeatureSet_MessageEncoding) EnumDescriptor

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

Deprecated: Use FeatureSet_MessageEncoding.Descriptor instead.

func (FeatureSet_MessageEncoding) Number

func (x FeatureSet_MessageEncoding) Number() protoreflect.EnumNumber

func (FeatureSet_MessageEncoding) String

func (x FeatureSet_MessageEncoding) String() string

func (FeatureSet_MessageEncoding) Type

func (FeatureSet_MessageEncoding) Type() protoreflect.EnumType

func (*FeatureSet_MessageEncoding) UnmarshalJSON

func (x *FeatureSet_MessageEncoding) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FeatureSet_RepeatedFieldEncoding

type FeatureSet_RepeatedFieldEncoding int32
const (
    FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN FeatureSet_RepeatedFieldEncoding = 0
    FeatureSet_PACKED                          FeatureSet_RepeatedFieldEncoding = 1
    FeatureSet_EXPANDED                        FeatureSet_RepeatedFieldEncoding = 2
)

func (FeatureSet_RepeatedFieldEncoding) Descriptor

func (FeatureSet_RepeatedFieldEncoding) Descriptor() protoreflect.EnumDescriptor

func (FeatureSet_RepeatedFieldEncoding) Enum

func (x FeatureSet_RepeatedFieldEncoding) Enum() *FeatureSet_RepeatedFieldEncoding

func (FeatureSet_RepeatedFieldEncoding) EnumDescriptor

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

Deprecated: Use FeatureSet_RepeatedFieldEncoding.Descriptor instead.

func (FeatureSet_RepeatedFieldEncoding) Number

func (x FeatureSet_RepeatedFieldEncoding) Number() protoreflect.EnumNumber

func (FeatureSet_RepeatedFieldEncoding) String

func (x FeatureSet_RepeatedFieldEncoding) String() string

func (FeatureSet_RepeatedFieldEncoding) Type

func (FeatureSet_RepeatedFieldEncoding) Type() protoreflect.EnumType

func (*FeatureSet_RepeatedFieldEncoding) UnmarshalJSON

func (x *FeatureSet_RepeatedFieldEncoding) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FeatureSet_Utf8Validation

type FeatureSet_Utf8Validation int32
const (
    FeatureSet_UTF8_VALIDATION_UNKNOWN FeatureSet_Utf8Validation = 0
    FeatureSet_NONE                    FeatureSet_Utf8Validation = 1
    FeatureSet_VERIFY                  FeatureSet_Utf8Validation = 2
)

func (FeatureSet_Utf8Validation) Descriptor

func (FeatureSet_Utf8Validation) Descriptor() protoreflect.EnumDescriptor

func (FeatureSet_Utf8Validation) Enum

func (x FeatureSet_Utf8Validation) Enum() *FeatureSet_Utf8Validation

func (FeatureSet_Utf8Validation) EnumDescriptor

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

Deprecated: Use FeatureSet_Utf8Validation.Descriptor instead.

func (FeatureSet_Utf8Validation) Number

func (x FeatureSet_Utf8Validation) Number() protoreflect.EnumNumber

func (FeatureSet_Utf8Validation) String

func (x FeatureSet_Utf8Validation) String() string

func (FeatureSet_Utf8Validation) Type

func (FeatureSet_Utf8Validation) Type() protoreflect.EnumType

func (*FeatureSet_Utf8Validation) UnmarshalJSON

func (x *FeatureSet_Utf8Validation) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FieldDescriptorProto

Describes a field within a message.

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=google.protobuf.FieldDescriptorProto_Label" json:"label,omitempty"`
    // If type_name is set, this need not be set.  If both this and type_name
    // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
    Type *FieldDescriptorProto_Type `protobuf:"varint,5,opt,name=type,enum=google.protobuf.FieldDescriptorProto_Type" json:"type,omitempty"`
    // For message and enum types, this is the name of the type.  If the name
    // starts with a '.', it is fully-qualified.  Otherwise, C++-like scoping
    // rules are used to find the type (i.e. first the nested types within this
    // message are searched, then within the parent, on up to the root
    // namespace).
    TypeName *string `protobuf:"bytes,6,opt,name=type_name,json=typeName" json:"type_name,omitempty"`
    // For extensions, this is the name of the type being extended.  It is
    // resolved in the same manner as type_name.
    Extendee *string `protobuf:"bytes,2,opt,name=extendee" json:"extendee,omitempty"`
    // For numeric types, contains the original text representation of the value.
    // For booleans, "true" or "false".
    // For strings, contains the default text contents (not escaped in any way).
    // For bytes, contains the C escaped value.  All bytes >= 128 are escaped.
    DefaultValue *string `protobuf:"bytes,7,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"`
    // If set, gives the index of a oneof in the containing type's oneof_decl
    // list.  This field is a member of that oneof.
    OneofIndex *int32 `protobuf:"varint,9,opt,name=oneof_index,json=oneofIndex" json:"oneof_index,omitempty"`
    // JSON name of this field. The value is set by protocol compiler. If the
    // user has set a "json_name" option on this field, that option's value
    // will be used. Otherwise, it's deduced from the field's name by converting
    // it to camelCase.
    JsonName *string       `protobuf:"bytes,10,opt,name=json_name,json=jsonName" json:"json_name,omitempty"`
    Options  *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
    // If true, this is a proto3 "optional". When a proto3 field is optional, it
    // tracks presence regardless of field type.
    //
    // When proto3_optional is true, this field must be belong to a oneof to
    // signal to old proto3 clients that presence is tracked for this field. This
    // oneof is known as a "synthetic" oneof, and this field must be its sole
    // member (each proto3 optional field gets its own synthetic oneof). Synthetic
    // oneofs exist in the descriptor only, and do not generate any API. Synthetic
    // oneofs must be ordered after all "real" oneofs.
    //
    // For message fields, proto3_optional doesn't create any semantic change,
    // since non-repeated message fields always track presence. However it still
    // indicates the semantic detail of whether the user wrote "optional" or not.
    // This can be useful for round-tripping the .proto file. For consistency we
    // give message fields a synthetic oneof also, even though it is not required
    // to track presence. This is especially important because the parser can't
    // tell if a field is a message or an enum, so it must always create a
    // synthetic oneof.
    //
    // Proto2 optional fields do not set this flag, because they already indicate
    // optional with `LABEL_OPTIONAL`.
    Proto3Optional *bool `protobuf:"varint,17,opt,name=proto3_optional,json=proto3Optional" json:"proto3_optional,omitempty"`
    // contains filtered or unexported fields
}

func (*FieldDescriptorProto) Descriptor

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

Deprecated: Use FieldDescriptorProto.ProtoReflect.Descriptor instead.

func (*FieldDescriptorProto) GetDefaultValue

func (x *FieldDescriptorProto) GetDefaultValue() string

func (*FieldDescriptorProto) GetExtendee

func (x *FieldDescriptorProto) GetExtendee() string

func (*FieldDescriptorProto) GetJsonName

func (x *FieldDescriptorProto) GetJsonName() string

func (*FieldDescriptorProto) GetLabel

func (x *FieldDescriptorProto) GetLabel() FieldDescriptorProto_Label

func (*FieldDescriptorProto) GetName

func (x *FieldDescriptorProto) GetName() string

func (*FieldDescriptorProto) GetNumber

func (x *FieldDescriptorProto) GetNumber() int32

func (*FieldDescriptorProto) GetOneofIndex

func (x *FieldDescriptorProto) GetOneofIndex() int32

func (*FieldDescriptorProto) GetOptions

func (x *FieldDescriptorProto) GetOptions() *FieldOptions

func (*FieldDescriptorProto) GetProto3Optional

func (x *FieldDescriptorProto) GetProto3Optional() bool

func (*FieldDescriptorProto) GetType

func (x *FieldDescriptorProto) GetType() FieldDescriptorProto_Type

func (*FieldDescriptorProto) GetTypeName

func (x *FieldDescriptorProto) GetTypeName() string

func (*FieldDescriptorProto) ProtoMessage

func (*FieldDescriptorProto) ProtoMessage()

func (*FieldDescriptorProto) ProtoReflect

func (x *FieldDescriptorProto) ProtoReflect() protoreflect.Message

func (*FieldDescriptorProto) Reset

func (x *FieldDescriptorProto) Reset()

func (*FieldDescriptorProto) String

func (x *FieldDescriptorProto) String() string

type FieldDescriptorProto_Label

type FieldDescriptorProto_Label int32
const (
    // 0 is reserved for errors
    FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1
    FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3
    // The required label is only allowed in google.protobuf.  In proto3 and Editions
    // it's explicitly prohibited.  In Editions, the `field_presence` feature
    // can be used to get this behavior.
    FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2
)

func (FieldDescriptorProto_Label) Descriptor

func (FieldDescriptorProto_Label) Descriptor() protoreflect.EnumDescriptor

func (FieldDescriptorProto_Label) Enum

func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label

func (FieldDescriptorProto_Label) EnumDescriptor

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

Deprecated: Use FieldDescriptorProto_Label.Descriptor instead.

func (FieldDescriptorProto_Label) Number

func (x FieldDescriptorProto_Label) Number() protoreflect.EnumNumber

func (FieldDescriptorProto_Label) String

func (x FieldDescriptorProto_Label) String() string

func (FieldDescriptorProto_Label) Type

func (FieldDescriptorProto_Label) Type() protoreflect.EnumType

func (*FieldDescriptorProto_Label) UnmarshalJSON

func (x *FieldDescriptorProto_Label) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FieldDescriptorProto_Type

type FieldDescriptorProto_Type int32
const (
    // 0 is reserved for errors.
    // Order is weird for historical reasons.
    FieldDescriptorProto_TYPE_DOUBLE FieldDescriptorProto_Type = 1
    FieldDescriptorProto_TYPE_FLOAT  FieldDescriptorProto_Type = 2
    // Not ZigZag encoded.  Negative numbers take 10 bytes.  Use TYPE_SINT64 if
    // negative values are likely.
    FieldDescriptorProto_TYPE_INT64  FieldDescriptorProto_Type = 3
    FieldDescriptorProto_TYPE_UINT64 FieldDescriptorProto_Type = 4
    // Not ZigZag encoded.  Negative numbers take 10 bytes.  Use TYPE_SINT32 if
    // negative values are likely.
    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
    // Tag-delimited aggregate.
    // Group type is deprecated and not supported after google.protobuf. However, Proto3
    // implementations should still be able to parse the group wire format and
    // treat group fields as unknown fields.  In Editions, the group wire format
    // can be enabled via the `message_encoding` feature.
    FieldDescriptorProto_TYPE_GROUP   FieldDescriptorProto_Type = 10
    FieldDescriptorProto_TYPE_MESSAGE FieldDescriptorProto_Type = 11 // Length-delimited aggregate.
    // New in version 2.
    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 // Uses ZigZag encoding.
    FieldDescriptorProto_TYPE_SINT64   FieldDescriptorProto_Type = 18 // Uses ZigZag encoding.
)

func (FieldDescriptorProto_Type) Descriptor

func (FieldDescriptorProto_Type) Descriptor() protoreflect.EnumDescriptor

func (FieldDescriptorProto_Type) Enum

func (x FieldDescriptorProto_Type) Enum() *FieldDescriptorProto_Type

func (FieldDescriptorProto_Type) EnumDescriptor

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

Deprecated: Use FieldDescriptorProto_Type.Descriptor instead.

func (FieldDescriptorProto_Type) Number

func (x FieldDescriptorProto_Type) Number() protoreflect.EnumNumber

func (FieldDescriptorProto_Type) String

func (x FieldDescriptorProto_Type) String() string

func (FieldDescriptorProto_Type) Type

func (FieldDescriptorProto_Type) Type() protoreflect.EnumType

func (*FieldDescriptorProto_Type) UnmarshalJSON

func (x *FieldDescriptorProto_Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FieldOptions

type FieldOptions struct {

    // The ctype option instructs the C++ code generator to use a different
    // representation of the field than it normally would.  See the specific
    // options below.  This option is only implemented to support use of
    // [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
    // type "bytes" in the open source release -- sorry, we'll try to include
    // other types in a future version!
    Ctype *FieldOptions_CType `protobuf:"varint,1,opt,name=ctype,enum=google.protobuf.FieldOptions_CType,def=0" json:"ctype,omitempty"`
    // The packed option can be enabled for repeated primitive fields to enable
    // a more efficient representation on the wire. Rather than repeatedly
    // writing the tag and type for each element, the entire array is encoded as
    // a single length-delimited blob. In proto3, only explicit setting it to
    // false will avoid using packed encoding.  This option is prohibited in
    // Editions, but the `repeated_field_encoding` feature can be used to control
    // the behavior.
    Packed *bool `protobuf:"varint,2,opt,name=packed" json:"packed,omitempty"`
    // The jstype option determines the JavaScript type used for values of the
    // field.  The option is permitted only for 64 bit integral and fixed types
    // (int64, uint64, sint64, fixed64, sfixed64).  A field with jstype JS_STRING
    // is represented as JavaScript string, which avoids loss of precision that
    // can happen when a large value is converted to a floating point JavaScript.
    // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
    // use the JavaScript "number" type.  The behavior of the default option
    // JS_NORMAL is implementation dependent.
    //
    // This option is an enum to permit additional types to be added, e.g.
    // goog.math.Integer.
    Jstype *FieldOptions_JSType `protobuf:"varint,6,opt,name=jstype,enum=google.protobuf.FieldOptions_JSType,def=0" json:"jstype,omitempty"`
    // Should this field be parsed lazily?  Lazy applies only to message-type
    // fields.  It means that when the outer message is initially parsed, the
    // inner message's contents will not be parsed but instead stored in encoded
    // form.  The inner message will actually be parsed when it is first accessed.
    //
    // This is only a hint.  Implementations are free to choose whether to use
    // eager or lazy parsing regardless of the value of this option.  However,
    // setting this option true suggests that the protocol author believes that
    // using lazy parsing on this field is worth the additional bookkeeping
    // overhead typically needed to implement it.
    //
    // This option does not affect the public interface of any generated code;
    // all method signatures remain the same.  Furthermore, thread-safety of the
    // interface is not affected by this option; const methods remain safe to
    // call from multiple threads concurrently, while non-const methods continue
    // to require exclusive access.
    //
    // Note that implementations may choose not to check required fields within
    // a lazy sub-message.  That is, calling IsInitialized() on the outer message
    // may return true even if the inner message has missing required fields.
    // This is necessary because otherwise the inner message would have to be
    // parsed in order to perform the check, defeating the purpose of lazy
    // parsing.  An implementation which chooses not to check required fields
    // must be consistent about it.  That is, for any particular sub-message, the
    // implementation must either *always* check its required fields, or *never*
    // check its required fields, regardless of whether or not the message has
    // been parsed.
    //
    // As of May 2022, lazy verifies the contents of the byte stream during
    // parsing.  An invalid byte stream will cause the overall parsing to fail.
    Lazy *bool `protobuf:"varint,5,opt,name=lazy,def=0" json:"lazy,omitempty"`
    // unverified_lazy does no correctness checks on the byte stream. This should
    // only be used where lazy with verification is prohibitive for performance
    // reasons.
    UnverifiedLazy *bool `protobuf:"varint,15,opt,name=unverified_lazy,json=unverifiedLazy,def=0" json:"unverified_lazy,omitempty"`
    // Is this field deprecated?
    // Depending on the target platform, this can emit Deprecated annotations
    // for accessors, or it will be completely ignored; in the very least, this
    // is a formalization for deprecating fields.
    Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
    // For Google-internal migration only. Do not use.
    Weak *bool `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"`
    // Indicate that the field value should not be printed out when using debug
    // formats, e.g. when the field contains sensitive credentials.
    DebugRedact     *bool                           `protobuf:"varint,16,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"`
    Retention       *FieldOptions_OptionRetention   `protobuf:"varint,17,opt,name=retention,enum=google.protobuf.FieldOptions_OptionRetention" json:"retention,omitempty"`
    Targets         []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets,enum=google.protobuf.FieldOptions_OptionTargetType" json:"targets,omitempty"`
    EditionDefaults []*FieldOptions_EditionDefault  `protobuf:"bytes,20,rep,name=edition_defaults,json=editionDefaults" json:"edition_defaults,omitempty"`
    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,21,opt,name=features" json:"features,omitempty"`
    // The parser stores options it doesn't recognize here. See above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // contains filtered or unexported fields
}

func (*FieldOptions) Descriptor

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

Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.

func (*FieldOptions) GetCtype

func (x *FieldOptions) GetCtype() FieldOptions_CType

func (*FieldOptions) GetDebugRedact

func (x *FieldOptions) GetDebugRedact() bool

func (*FieldOptions) GetDeprecated

func (x *FieldOptions) GetDeprecated() bool

func (*FieldOptions) GetEditionDefaults

func (x *FieldOptions) GetEditionDefaults() []*FieldOptions_EditionDefault

func (*FieldOptions) GetFeatures

func (x *FieldOptions) GetFeatures() *FeatureSet

func (*FieldOptions) GetJstype

func (x *FieldOptions) GetJstype() FieldOptions_JSType

func (*FieldOptions) GetLazy

func (x *FieldOptions) GetLazy() bool

func (*FieldOptions) GetPacked

func (x *FieldOptions) GetPacked() bool

func (*FieldOptions) GetRetention

func (x *FieldOptions) GetRetention() FieldOptions_OptionRetention

func (*FieldOptions) GetTargets

func (x *FieldOptions) GetTargets() []FieldOptions_OptionTargetType

func (*FieldOptions) GetUninterpretedOption

func (x *FieldOptions) GetUninterpretedOption() []*UninterpretedOption

func (*FieldOptions) GetUnverifiedLazy

func (x *FieldOptions) GetUnverifiedLazy() bool

func (*FieldOptions) GetWeak

func (x *FieldOptions) GetWeak() bool

func (*FieldOptions) ProtoMessage

func (*FieldOptions) ProtoMessage()

func (*FieldOptions) ProtoReflect

func (x *FieldOptions) ProtoReflect() protoreflect.Message

func (*FieldOptions) Reset

func (x *FieldOptions) Reset()

func (*FieldOptions) String

func (x *FieldOptions) String() string

type FieldOptions_CType

type FieldOptions_CType int32
const (
    // Default mode.
    FieldOptions_STRING FieldOptions_CType = 0
    // The option [ctype=CORD] may be applied to a non-repeated field of type
    // "bytes". It indicates that in C++, the data should be stored in a Cord
    // instead of a string.  For very large strings, this may reduce memory
    // fragmentation. It may also allow better performance when parsing from a
    // Cord, or when parsing with aliasing enabled, as the parsed Cord may then
    // alias the original buffer.
    FieldOptions_CORD         FieldOptions_CType = 1
    FieldOptions_STRING_PIECE FieldOptions_CType = 2
)

func (FieldOptions_CType) Descriptor

func (FieldOptions_CType) Descriptor() protoreflect.EnumDescriptor

func (FieldOptions_CType) Enum

func (x FieldOptions_CType) Enum() *FieldOptions_CType

func (FieldOptions_CType) EnumDescriptor

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

Deprecated: Use FieldOptions_CType.Descriptor instead.

func (FieldOptions_CType) Number

func (x FieldOptions_CType) Number() protoreflect.EnumNumber

func (FieldOptions_CType) String

func (x FieldOptions_CType) String() string

func (FieldOptions_CType) Type

func (FieldOptions_CType) Type() protoreflect.EnumType

func (*FieldOptions_CType) UnmarshalJSON

func (x *FieldOptions_CType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FieldOptions_EditionDefault

type FieldOptions_EditionDefault struct {
    Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"`
    Value   *string  `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // Textproto value.
    // contains filtered or unexported fields
}

func (*FieldOptions_EditionDefault) Descriptor

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

Deprecated: Use FieldOptions_EditionDefault.ProtoReflect.Descriptor instead.

func (*FieldOptions_EditionDefault) GetEdition

func (x *FieldOptions_EditionDefault) GetEdition() Edition

func (*FieldOptions_EditionDefault) GetValue

func (x *FieldOptions_EditionDefault) GetValue() string

func (*FieldOptions_EditionDefault) ProtoMessage

func (*FieldOptions_EditionDefault) ProtoMessage()

func (*FieldOptions_EditionDefault) ProtoReflect

func (x *FieldOptions_EditionDefault) ProtoReflect() protoreflect.Message

func (*FieldOptions_EditionDefault) Reset

func (x *FieldOptions_EditionDefault) Reset()

func (*FieldOptions_EditionDefault) String

func (x *FieldOptions_EditionDefault) String() string

type FieldOptions_JSType

type FieldOptions_JSType int32
const (
    // Use the default type.
    FieldOptions_JS_NORMAL FieldOptions_JSType = 0
    // Use JavaScript strings.
    FieldOptions_JS_STRING FieldOptions_JSType = 1
    // Use JavaScript numbers.
    FieldOptions_JS_NUMBER FieldOptions_JSType = 2
)

func (FieldOptions_JSType) Descriptor

func (FieldOptions_JSType) Descriptor() protoreflect.EnumDescriptor

func (FieldOptions_JSType) Enum

func (x FieldOptions_JSType) Enum() *FieldOptions_JSType

func (FieldOptions_JSType) EnumDescriptor

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

Deprecated: Use FieldOptions_JSType.Descriptor instead.

func (FieldOptions_JSType) Number

func (x FieldOptions_JSType) Number() protoreflect.EnumNumber

func (FieldOptions_JSType) String

func (x FieldOptions_JSType) String() string

func (FieldOptions_JSType) Type

func (FieldOptions_JSType) Type() protoreflect.EnumType

func (*FieldOptions_JSType) UnmarshalJSON

func (x *FieldOptions_JSType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FieldOptions_OptionRetention

If set to RETENTION_SOURCE, the option will be omitted from the binary. Note: as of January 2023, support for this is in progress and does not yet have an effect (b/264593489).

type FieldOptions_OptionRetention int32
const (
    FieldOptions_RETENTION_UNKNOWN FieldOptions_OptionRetention = 0
    FieldOptions_RETENTION_RUNTIME FieldOptions_OptionRetention = 1
    FieldOptions_RETENTION_SOURCE  FieldOptions_OptionRetention = 2
)

func (FieldOptions_OptionRetention) Descriptor

func (FieldOptions_OptionRetention) Descriptor() protoreflect.EnumDescriptor

func (FieldOptions_OptionRetention) Enum

func (x FieldOptions_OptionRetention) Enum() *FieldOptions_OptionRetention

func (FieldOptions_OptionRetention) EnumDescriptor

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

Deprecated: Use FieldOptions_OptionRetention.Descriptor instead.

func (FieldOptions_OptionRetention) Number

func (x FieldOptions_OptionRetention) Number() protoreflect.EnumNumber

func (FieldOptions_OptionRetention) String

func (x FieldOptions_OptionRetention) String() string

func (FieldOptions_OptionRetention) Type

func (FieldOptions_OptionRetention) Type() protoreflect.EnumType

func (*FieldOptions_OptionRetention) UnmarshalJSON

func (x *FieldOptions_OptionRetention) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FieldOptions_OptionTargetType

This indicates the types of entities that the field may apply to when used as an option. If it is unset, then the field may be freely used as an option on any kind of entity. Note: as of January 2023, support for this is in progress and does not yet have an effect (b/264593489).

type FieldOptions_OptionTargetType int32
const (
    FieldOptions_TARGET_TYPE_UNKNOWN         FieldOptions_OptionTargetType = 0
    FieldOptions_TARGET_TYPE_FILE            FieldOptions_OptionTargetType = 1
    FieldOptions_TARGET_TYPE_EXTENSION_RANGE FieldOptions_OptionTargetType = 2
    FieldOptions_TARGET_TYPE_MESSAGE         FieldOptions_OptionTargetType = 3
    FieldOptions_TARGET_TYPE_FIELD           FieldOptions_OptionTargetType = 4
    FieldOptions_TARGET_TYPE_ONEOF           FieldOptions_OptionTargetType = 5
    FieldOptions_TARGET_TYPE_ENUM            FieldOptions_OptionTargetType = 6
    FieldOptions_TARGET_TYPE_ENUM_ENTRY      FieldOptions_OptionTargetType = 7
    FieldOptions_TARGET_TYPE_SERVICE         FieldOptions_OptionTargetType = 8
    FieldOptions_TARGET_TYPE_METHOD          FieldOptions_OptionTargetType = 9
)

func (FieldOptions_OptionTargetType) Descriptor

func (FieldOptions_OptionTargetType) Descriptor() protoreflect.EnumDescriptor

func (FieldOptions_OptionTargetType) Enum

func (x FieldOptions_OptionTargetType) Enum() *FieldOptions_OptionTargetType

func (FieldOptions_OptionTargetType) EnumDescriptor

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

Deprecated: Use FieldOptions_OptionTargetType.Descriptor instead.

func (FieldOptions_OptionTargetType) Number

func (x FieldOptions_OptionTargetType) Number() protoreflect.EnumNumber

func (FieldOptions_OptionTargetType) String

func (x FieldOptions_OptionTargetType) String() string

func (FieldOptions_OptionTargetType) Type

func (FieldOptions_OptionTargetType) Type() protoreflect.EnumType

func (*FieldOptions_OptionTargetType) UnmarshalJSON

func (x *FieldOptions_OptionTargetType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FileDescriptorProto

Describes a complete .proto file.

type FileDescriptorProto struct {
    Name    *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`       // file name, relative to root of source tree
    Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"` // e.g. "foo", "foo.bar", etc.
    // Names of files imported by this file.
    Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"`
    // Indexes of the public imported files in the dependency list above.
    PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"`
    // Indexes of the weak imported files in the dependency list.
    // For Google-internal migration only. Do not use.
    WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"`
    // All top-level definitions in this file.
    MessageType []*DescriptorProto        `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"`
    EnumType    []*EnumDescriptorProto    `protobuf:"bytes,5,rep,name=enum_type,json=enumType" 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"`
    // This field contains optional information about the original source code.
    // You may safely remove this entire field without harming runtime
    // functionality of the descriptors -- the information is needed only by
    // development tools.
    SourceCodeInfo *SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"`
    // The syntax of the proto file.
    // The supported values are "proto2", "proto3", and "editions".
    //
    // If `edition` is present, this value must be "editions".
    Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"`
    // The edition of the proto file.
    Edition *Edition `protobuf:"varint,14,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"`
    // contains filtered or unexported fields
}

func (*FileDescriptorProto) Descriptor

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

Deprecated: Use FileDescriptorProto.ProtoReflect.Descriptor instead.

func (*FileDescriptorProto) GetDependency

func (x *FileDescriptorProto) GetDependency() []string

func (*FileDescriptorProto) GetEdition

func (x *FileDescriptorProto) GetEdition() Edition

func (*FileDescriptorProto) GetEnumType

func (x *FileDescriptorProto) GetEnumType() []*EnumDescriptorProto

func (*FileDescriptorProto) GetExtension

func (x *FileDescriptorProto) GetExtension() []*FieldDescriptorProto

func (*FileDescriptorProto) GetMessageType

func (x *FileDescriptorProto) GetMessageType() []*DescriptorProto

func (*FileDescriptorProto) GetName

func (x *FileDescriptorProto) GetName() string

func (*FileDescriptorProto) GetOptions

func (x *FileDescriptorProto) GetOptions() *FileOptions

func (*FileDescriptorProto) GetPackage

func (x *FileDescriptorProto) GetPackage() string

func (*FileDescriptorProto) GetPublicDependency

func (x *FileDescriptorProto) GetPublicDependency() []int32

func (*FileDescriptorProto) GetService

func (x *FileDescriptorProto) GetService() []*ServiceDescriptorProto

func (*FileDescriptorProto) GetSourceCodeInfo

func (x *FileDescriptorProto) GetSourceCodeInfo() *SourceCodeInfo

func (*FileDescriptorProto) GetSyntax

func (x *FileDescriptorProto) GetSyntax() string

func (*FileDescriptorProto) GetWeakDependency

func (x *FileDescriptorProto) GetWeakDependency() []int32

func (*FileDescriptorProto) ProtoMessage

func (*FileDescriptorProto) ProtoMessage()

func (*FileDescriptorProto) ProtoReflect

func (x *FileDescriptorProto) ProtoReflect() protoreflect.Message

func (*FileDescriptorProto) Reset

func (x *FileDescriptorProto) Reset()

func (*FileDescriptorProto) String

func (x *FileDescriptorProto) String() string

type FileDescriptorSet

The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.

type FileDescriptorSet struct {
    File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
    // contains filtered or unexported fields
}

func (*FileDescriptorSet) Descriptor

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

Deprecated: Use FileDescriptorSet.ProtoReflect.Descriptor instead.

func (*FileDescriptorSet) GetFile

func (x *FileDescriptorSet) GetFile() []*FileDescriptorProto

func (*FileDescriptorSet) ProtoMessage

func (*FileDescriptorSet) ProtoMessage()

func (*FileDescriptorSet) ProtoReflect

func (x *FileDescriptorSet) ProtoReflect() protoreflect.Message

func (*FileDescriptorSet) Reset

func (x *FileDescriptorSet) Reset()

func (*FileDescriptorSet) String

func (x *FileDescriptorSet) String() string

type FileOptions

type FileOptions struct {

    // Sets the Java package where classes generated from this .proto will be
    // placed.  By default, the proto package is used, but this is often
    // inappropriate because proto packages do not normally start with backwards
    // domain names.
    JavaPackage *string `protobuf:"bytes,1,opt,name=java_package,json=javaPackage" json:"java_package,omitempty"`
    // Controls the name of the wrapper Java class generated for the .proto file.
    // That class will always contain the .proto file's getDescriptor() method as
    // well as any top-level extensions defined in the .proto file.
    // If java_multiple_files is disabled, then all the other classes from the
    // .proto file will be nested inside the single wrapper outer class.
    JavaOuterClassname *string `protobuf:"bytes,8,opt,name=java_outer_classname,json=javaOuterClassname" json:"java_outer_classname,omitempty"`
    // If enabled, then the Java code generator will generate a separate .java
    // file for each top-level message, enum, and service defined in the .proto
    // file.  Thus, these types will *not* be nested inside the wrapper class
    // named by java_outer_classname.  However, the wrapper class will still be
    // generated to contain the file's getDescriptor() method as well as any
    // top-level extensions defined in the file.
    JavaMultipleFiles *bool `protobuf:"varint,10,opt,name=java_multiple_files,json=javaMultipleFiles,def=0" json:"java_multiple_files,omitempty"`
    // This option does nothing.
    //
    // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
    JavaGenerateEqualsAndHash *bool `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,json=javaGenerateEqualsAndHash" json:"java_generate_equals_and_hash,omitempty"`
    // If set true, then the Java2 code generator will generate code that
    // throws an exception whenever an attempt is made to assign a non-UTF-8
    // byte sequence to a string field.
    // Message reflection will do the same.
    // However, an extension field still accepts non-UTF-8 byte sequences.
    // This option has no effect on when used with the lite runtime.
    JavaStringCheckUtf8 *bool                     `protobuf:"varint,27,opt,name=java_string_check_utf8,json=javaStringCheckUtf8,def=0" json:"java_string_check_utf8,omitempty"`
    OptimizeFor         *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"`
    // Sets the Go package where structs generated from this .proto will be
    // placed. If omitted, the Go package will be derived from the following:
    //   - The basename of the package import path, if provided.
    //   - Otherwise, the package statement in the .proto file, if present.
    //   - Otherwise, the basename of the .proto file, without extension.
    GoPackage *string `protobuf:"bytes,11,opt,name=go_package,json=goPackage" json:"go_package,omitempty"`
    // Should generic services be generated in each language?  "Generic" services
    // are not specific to any particular RPC system.  They are generated by the
    // main code generators in each language (without additional plugins).
    // Generic services were the only kind of service generation supported by
    // early versions of google.protobuf.
    //
    // Generic services are now considered deprecated in favor of using plugins
    // that generate code specific to your particular RPC system.  Therefore,
    // these default to false.  Old code which depends on generic services should
    // explicitly set them to true.
    CcGenericServices   *bool `protobuf:"varint,16,opt,name=cc_generic_services,json=ccGenericServices,def=0" json:"cc_generic_services,omitempty"`
    JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"java_generic_services,omitempty"`
    PyGenericServices   *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"py_generic_services,omitempty"`
    PhpGenericServices  *bool `protobuf:"varint,42,opt,name=php_generic_services,json=phpGenericServices,def=0" json:"php_generic_services,omitempty"`
    // Is this file deprecated?
    // Depending on the target platform, this can emit Deprecated annotations
    // for everything in the file, or it will be completely ignored; in the very
    // least, this is a formalization for deprecating files.
    Deprecated *bool `protobuf:"varint,23,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
    // Enables the use of arenas for the proto messages in this file. This applies
    // only to generated classes for C++.
    CcEnableArenas *bool `protobuf:"varint,31,opt,name=cc_enable_arenas,json=ccEnableArenas,def=1" json:"cc_enable_arenas,omitempty"`
    // Sets the objective c class prefix which is prepended to all objective c
    // generated classes from this .proto. There is no default.
    ObjcClassPrefix *string `protobuf:"bytes,36,opt,name=objc_class_prefix,json=objcClassPrefix" json:"objc_class_prefix,omitempty"`
    // Namespace for generated classes; defaults to the package.
    CsharpNamespace *string `protobuf:"bytes,37,opt,name=csharp_namespace,json=csharpNamespace" json:"csharp_namespace,omitempty"`
    // By default Swift generators will take the proto package and CamelCase it
    // replacing '.' with underscore and use that to prefix the types/symbols
    // defined. When this options is provided, they will use this value instead
    // to prefix the types/symbols defined.
    SwiftPrefix *string `protobuf:"bytes,39,opt,name=swift_prefix,json=swiftPrefix" json:"swift_prefix,omitempty"`
    // Sets the php class prefix which is prepended to all php generated classes
    // from this .proto. Default is empty.
    PhpClassPrefix *string `protobuf:"bytes,40,opt,name=php_class_prefix,json=phpClassPrefix" json:"php_class_prefix,omitempty"`
    // Use this option to change the namespace of php generated classes. Default
    // is empty. When this option is empty, the package name will be used for
    // determining the namespace.
    PhpNamespace *string `protobuf:"bytes,41,opt,name=php_namespace,json=phpNamespace" json:"php_namespace,omitempty"`
    // Use this option to change the namespace of php generated metadata classes.
    // Default is empty. When this option is empty, the proto file name will be
    // used for determining the namespace.
    PhpMetadataNamespace *string `protobuf:"bytes,44,opt,name=php_metadata_namespace,json=phpMetadataNamespace" json:"php_metadata_namespace,omitempty"`
    // Use this option to change the package of ruby generated classes. Default
    // is empty. When this option is not set, the package name will be used for
    // determining the ruby package.
    RubyPackage *string `protobuf:"bytes,45,opt,name=ruby_package,json=rubyPackage" json:"ruby_package,omitempty"`
    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,50,opt,name=features" json:"features,omitempty"`
    // The parser stores options it doesn't recognize here.
    // See the documentation for the "Options" section above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // contains filtered or unexported fields
}

func (*FileOptions) Descriptor

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

Deprecated: Use FileOptions.ProtoReflect.Descriptor instead.

func (*FileOptions) GetCcEnableArenas

func (x *FileOptions) GetCcEnableArenas() bool

func (*FileOptions) GetCcGenericServices

func (x *FileOptions) GetCcGenericServices() bool

func (*FileOptions) GetCsharpNamespace

func (x *FileOptions) GetCsharpNamespace() string

func (*FileOptions) GetDeprecated

func (x *FileOptions) GetDeprecated() bool

func (*FileOptions) GetFeatures

func (x *FileOptions) GetFeatures() *FeatureSet

func (*FileOptions) GetGoPackage

func (x *FileOptions) GetGoPackage() string

func (*FileOptions) GetJavaGenerateEqualsAndHash

func (x *FileOptions) GetJavaGenerateEqualsAndHash() bool

Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.

func (*FileOptions) GetJavaGenericServices

func (x *FileOptions) GetJavaGenericServices() bool

func (*FileOptions) GetJavaMultipleFiles

func (x *FileOptions) GetJavaMultipleFiles() bool

func (*FileOptions) GetJavaOuterClassname

func (x *FileOptions) GetJavaOuterClassname() string

func (*FileOptions) GetJavaPackage

func (x *FileOptions) GetJavaPackage() string

func (*FileOptions) GetJavaStringCheckUtf8

func (x *FileOptions) GetJavaStringCheckUtf8() bool

func (*FileOptions) GetObjcClassPrefix

func (x *FileOptions) GetObjcClassPrefix() string

func (*FileOptions) GetOptimizeFor

func (x *FileOptions) GetOptimizeFor() FileOptions_OptimizeMode

func (*FileOptions) GetPhpClassPrefix

func (x *FileOptions) GetPhpClassPrefix() string

func (*FileOptions) GetPhpGenericServices

func (x *FileOptions) GetPhpGenericServices() bool

func (*FileOptions) GetPhpMetadataNamespace

func (x *FileOptions) GetPhpMetadataNamespace() string

func (*FileOptions) GetPhpNamespace

func (x *FileOptions) GetPhpNamespace() string

func (*FileOptions) GetPyGenericServices

func (x *FileOptions) GetPyGenericServices() bool

func (*FileOptions) GetRubyPackage

func (x *FileOptions) GetRubyPackage() string

func (*FileOptions) GetSwiftPrefix

func (x *FileOptions) GetSwiftPrefix() string

func (*FileOptions) GetUninterpretedOption

func (x *FileOptions) GetUninterpretedOption() []*UninterpretedOption

func (*FileOptions) ProtoMessage

func (*FileOptions) ProtoMessage()

func (*FileOptions) ProtoReflect

func (x *FileOptions) ProtoReflect() protoreflect.Message

func (*FileOptions) Reset

func (x *FileOptions) Reset()

func (*FileOptions) String

func (x *FileOptions) String() string

type FileOptions_OptimizeMode

Generated classes can be optimized for speed or code size.

type FileOptions_OptimizeMode int32
const (
    FileOptions_SPEED FileOptions_OptimizeMode = 1 // Generate complete code for parsing, serialization,
    // etc.
    FileOptions_CODE_SIZE    FileOptions_OptimizeMode = 2 // Use ReflectionOps to implement these methods.
    FileOptions_LITE_RUNTIME FileOptions_OptimizeMode = 3 // Generate code using MessageLite and the lite runtime.
)

func (FileOptions_OptimizeMode) Descriptor

func (FileOptions_OptimizeMode) Descriptor() protoreflect.EnumDescriptor

func (FileOptions_OptimizeMode) Enum

func (x FileOptions_OptimizeMode) Enum() *FileOptions_OptimizeMode

func (FileOptions_OptimizeMode) EnumDescriptor

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

Deprecated: Use FileOptions_OptimizeMode.Descriptor instead.

func (FileOptions_OptimizeMode) Number

func (x FileOptions_OptimizeMode) Number() protoreflect.EnumNumber

func (FileOptions_OptimizeMode) String

func (x FileOptions_OptimizeMode) String() string

func (FileOptions_OptimizeMode) Type

func (FileOptions_OptimizeMode) Type() protoreflect.EnumType

func (*FileOptions_OptimizeMode) UnmarshalJSON

func (x *FileOptions_OptimizeMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type GeneratedCodeInfo

Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.

type GeneratedCodeInfo struct {

    // An Annotation connects some span of text in generated code to an element
    // of its generating .proto file.
    Annotation []*GeneratedCodeInfo_Annotation `protobuf:"bytes,1,rep,name=annotation" json:"annotation,omitempty"`
    // contains filtered or unexported fields
}

func (*GeneratedCodeInfo) Descriptor

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

Deprecated: Use GeneratedCodeInfo.ProtoReflect.Descriptor instead.

func (*GeneratedCodeInfo) GetAnnotation

func (x *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation

func (*GeneratedCodeInfo) ProtoMessage

func (*GeneratedCodeInfo) ProtoMessage()

func (*GeneratedCodeInfo) ProtoReflect

func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message

func (*GeneratedCodeInfo) Reset

func (x *GeneratedCodeInfo) Reset()

func (*GeneratedCodeInfo) String

func (x *GeneratedCodeInfo) String() string

type GeneratedCodeInfo_Annotation

type GeneratedCodeInfo_Annotation struct {

    // Identifies the element in the original source .proto file. This field
    // is formatted the same as SourceCodeInfo.Location.path.
    Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"`
    // Identifies the filesystem path to the original source .proto.
    SourceFile *string `protobuf:"bytes,2,opt,name=source_file,json=sourceFile" json:"source_file,omitempty"`
    // Identifies the starting offset in bytes in the generated code
    // that relates to the identified object.
    Begin *int32 `protobuf:"varint,3,opt,name=begin" json:"begin,omitempty"`
    // Identifies the ending offset in bytes in the generated code that
    // relates to the identified object. The end offset should be one past
    // the last relevant byte (so the length of the text = end - begin).
    End      *int32                                 `protobuf:"varint,4,opt,name=end" json:"end,omitempty"`
    Semantic *GeneratedCodeInfo_Annotation_Semantic `protobuf:"varint,5,opt,name=semantic,enum=google.protobuf.GeneratedCodeInfo_Annotation_Semantic" json:"semantic,omitempty"`
    // contains filtered or unexported fields
}

func (*GeneratedCodeInfo_Annotation) Descriptor

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

Deprecated: Use GeneratedCodeInfo_Annotation.ProtoReflect.Descriptor instead.

func (*GeneratedCodeInfo_Annotation) GetBegin

func (x *GeneratedCodeInfo_Annotation) GetBegin() int32

func (*GeneratedCodeInfo_Annotation) GetEnd

func (x *GeneratedCodeInfo_Annotation) GetEnd() int32

func (*GeneratedCodeInfo_Annotation) GetPath

func (x *GeneratedCodeInfo_Annotation) GetPath() []int32

func (*GeneratedCodeInfo_Annotation) GetSemantic

func (x *GeneratedCodeInfo_Annotation) GetSemantic() GeneratedCodeInfo_Annotation_Semantic

func (*GeneratedCodeInfo_Annotation) GetSourceFile

func (x *GeneratedCodeInfo_Annotation) GetSourceFile() string

func (*GeneratedCodeInfo_Annotation) ProtoMessage

func (*GeneratedCodeInfo_Annotation) ProtoMessage()

func (*GeneratedCodeInfo_Annotation) ProtoReflect

func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message

func (*GeneratedCodeInfo_Annotation) Reset

func (x *GeneratedCodeInfo_Annotation) Reset()

func (*GeneratedCodeInfo_Annotation) String

func (x *GeneratedCodeInfo_Annotation) String() string

type GeneratedCodeInfo_Annotation_Semantic

Represents the identified object's effect on the element in the original .proto file.

type GeneratedCodeInfo_Annotation_Semantic int32
const (
    // There is no effect or the effect is indescribable.
    GeneratedCodeInfo_Annotation_NONE GeneratedCodeInfo_Annotation_Semantic = 0
    // The element is set or otherwise mutated.
    GeneratedCodeInfo_Annotation_SET GeneratedCodeInfo_Annotation_Semantic = 1
    // An alias to the element is returned.
    GeneratedCodeInfo_Annotation_ALIAS GeneratedCodeInfo_Annotation_Semantic = 2
)

func (GeneratedCodeInfo_Annotation_Semantic) Descriptor

func (GeneratedCodeInfo_Annotation_Semantic) Descriptor() protoreflect.EnumDescriptor

func (GeneratedCodeInfo_Annotation_Semantic) Enum

func (x GeneratedCodeInfo_Annotation_Semantic) Enum() *GeneratedCodeInfo_Annotation_Semantic

func (GeneratedCodeInfo_Annotation_Semantic) EnumDescriptor

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

Deprecated: Use GeneratedCodeInfo_Annotation_Semantic.Descriptor instead.

func (GeneratedCodeInfo_Annotation_Semantic) Number

func (x GeneratedCodeInfo_Annotation_Semantic) Number() protoreflect.EnumNumber

func (GeneratedCodeInfo_Annotation_Semantic) String

func (x GeneratedCodeInfo_Annotation_Semantic) String() string

func (GeneratedCodeInfo_Annotation_Semantic) Type

func (GeneratedCodeInfo_Annotation_Semantic) Type() protoreflect.EnumType

func (*GeneratedCodeInfo_Annotation_Semantic) UnmarshalJSON

func (x *GeneratedCodeInfo_Annotation_Semantic) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type MessageOptions

type MessageOptions struct {

    // Set true to use the old proto1 MessageSet wire format for extensions.
    // This is provided for backwards-compatibility with the MessageSet wire
    // format.  You should not use this for any other reason:  It's less
    // efficient, has fewer features, and is more complicated.
    //
    // The message must be defined exactly as follows:
    //
    //	message Foo {
    //	  option message_set_wire_format = true;
    //	  extensions 4 to max;
    //	}
    //
    // Note that the message cannot have any defined fields; MessageSets only
    // have extensions.
    //
    // All extensions of your type must be singular messages; e.g. they cannot
    // be int32s, enums, or repeated messages.
    //
    // Because this is an option, the above two restrictions are not enforced by
    // the protocol compiler.
    MessageSetWireFormat *bool `protobuf:"varint,1,opt,name=message_set_wire_format,json=messageSetWireFormat,def=0" json:"message_set_wire_format,omitempty"`
    // Disables the generation of the standard "descriptor()" accessor, which can
    // conflict with a field of the same name.  This is meant to make migration
    // from proto1 easier; new code should avoid fields named "descriptor".
    NoStandardDescriptorAccessor *bool `protobuf:"varint,2,opt,name=no_standard_descriptor_accessor,json=noStandardDescriptorAccessor,def=0" json:"no_standard_descriptor_accessor,omitempty"`
    // Is this message deprecated?
    // Depending on the target platform, this can emit Deprecated annotations
    // for the message, or it will be completely ignored; in the very least,
    // this is a formalization for deprecating messages.
    Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
    // NOTE: Do not set the option in .proto files. Always use the maps syntax
    // instead. The option should only be implicitly set by the proto compiler
    // parser.
    //
    // Whether the message is an automatically generated map entry type for the
    // maps field.
    //
    // For maps fields:
    //
    //	map<KeyType, ValueType> map_field = 1;
    //
    // The parsed descriptor looks like:
    //
    //	message MapFieldEntry {
    //	    option map_entry = true;
    //	    optional KeyType key = 1;
    //	    optional ValueType value = 2;
    //	}
    //	repeated MapFieldEntry map_field = 1;
    //
    // Implementations may choose not to generate the map_entry=true message, but
    // use a native map in the target language to hold the keys and values.
    // The reflection APIs in such implementations still need to work as
    // if the field is a repeated message field.
    MapEntry *bool `protobuf:"varint,7,opt,name=map_entry,json=mapEntry" json:"map_entry,omitempty"`
    // Enable the legacy handling of JSON field name conflicts.  This lowercases
    // and strips underscored from the fields before comparison in proto3 only.
    // The new behavior takes `json_name` into account and applies to proto2 as
    // well.
    //
    // This should only be used as a temporary measure against broken builds due
    // to the change in behavior for JSON field name conflicts.
    //
    // TODO This is legacy behavior we plan to remove once downstream
    // teams have had time to migrate.
    //
    // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
    DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,11,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"`
    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,12,opt,name=features" json:"features,omitempty"`
    // The parser stores options it doesn't recognize here. See above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // contains filtered or unexported fields
}

func (*MessageOptions) Descriptor

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

Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead.

func (*MessageOptions) GetDeprecated

func (x *MessageOptions) GetDeprecated() bool

func (*MessageOptions) GetDeprecatedLegacyJsonFieldConflicts

func (x *MessageOptions) GetDeprecatedLegacyJsonFieldConflicts() bool

Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.

func (*MessageOptions) GetFeatures

func (x *MessageOptions) GetFeatures() *FeatureSet

func (*MessageOptions) GetMapEntry

func (x *MessageOptions) GetMapEntry() bool

func (*MessageOptions) GetMessageSetWireFormat

func (x *MessageOptions) GetMessageSetWireFormat() bool

func (*MessageOptions) GetNoStandardDescriptorAccessor

func (x *MessageOptions) GetNoStandardDescriptorAccessor() bool

func (*MessageOptions) GetUninterpretedOption

func (x *MessageOptions) GetUninterpretedOption() []*UninterpretedOption

func (*MessageOptions) ProtoMessage

func (*MessageOptions) ProtoMessage()

func (*MessageOptions) ProtoReflect

func (x *MessageOptions) ProtoReflect() protoreflect.Message

func (*MessageOptions) Reset

func (x *MessageOptions) Reset()

func (*MessageOptions) String

func (x *MessageOptions) String() string

type MethodDescriptorProto

Describes a method of a service.

type MethodDescriptorProto struct {
    Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    // Input and output type names.  These are resolved in the same way as
    // FieldDescriptorProto.type_name, but must refer to a message type.
    InputType  *string        `protobuf:"bytes,2,opt,name=input_type,json=inputType" json:"input_type,omitempty"`
    OutputType *string        `protobuf:"bytes,3,opt,name=output_type,json=outputType" json:"output_type,omitempty"`
    Options    *MethodOptions `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"`
    // Identifies if client streams multiple client messages
    ClientStreaming *bool `protobuf:"varint,5,opt,name=client_streaming,json=clientStreaming,def=0" json:"client_streaming,omitempty"`
    // Identifies if server streams multiple server messages
    ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"server_streaming,omitempty"`
    // contains filtered or unexported fields
}

func (*MethodDescriptorProto) Descriptor

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

Deprecated: Use MethodDescriptorProto.ProtoReflect.Descriptor instead.

func (*MethodDescriptorProto) GetClientStreaming

func (x *MethodDescriptorProto) GetClientStreaming() bool

func (*MethodDescriptorProto) GetInputType

func (x *MethodDescriptorProto) GetInputType() string

func (*MethodDescriptorProto) GetName

func (x *MethodDescriptorProto) GetName() string

func (*MethodDescriptorProto) GetOptions

func (x *MethodDescriptorProto) GetOptions() *MethodOptions

func (*MethodDescriptorProto) GetOutputType

func (x *MethodDescriptorProto) GetOutputType() string

func (*MethodDescriptorProto) GetServerStreaming

func (x *MethodDescriptorProto) GetServerStreaming() bool

func (*MethodDescriptorProto) ProtoMessage

func (*MethodDescriptorProto) ProtoMessage()

func (*MethodDescriptorProto) ProtoReflect

func (x *MethodDescriptorProto) ProtoReflect() protoreflect.Message

func (*MethodDescriptorProto) Reset

func (x *MethodDescriptorProto) Reset()

func (*MethodDescriptorProto) String

func (x *MethodDescriptorProto) String() string

type MethodOptions

type MethodOptions struct {

    // Is this method deprecated?
    // Depending on the target platform, this can emit Deprecated annotations
    // for the method, or it will be completely ignored; in the very least,
    // this is a formalization for deprecating methods.
    Deprecated       *bool                           `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
    IdempotencyLevel *MethodOptions_IdempotencyLevel `protobuf:"varint,34,opt,name=idempotency_level,json=idempotencyLevel,enum=google.protobuf.MethodOptions_IdempotencyLevel,def=0" json:"idempotency_level,omitempty"`
    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,35,opt,name=features" json:"features,omitempty"`
    // The parser stores options it doesn't recognize here. See above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // contains filtered or unexported fields
}

func (*MethodOptions) Descriptor

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

Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead.

func (*MethodOptions) GetDeprecated

func (x *MethodOptions) GetDeprecated() bool

func (*MethodOptions) GetFeatures

func (x *MethodOptions) GetFeatures() *FeatureSet

func (*MethodOptions) GetIdempotencyLevel

func (x *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel

func (*MethodOptions) GetUninterpretedOption

func (x *MethodOptions) GetUninterpretedOption() []*UninterpretedOption

func (*MethodOptions) ProtoMessage

func (*MethodOptions) ProtoMessage()

func (*MethodOptions) ProtoReflect

func (x *MethodOptions) ProtoReflect() protoreflect.Message

func (*MethodOptions) Reset

func (x *MethodOptions) Reset()

func (*MethodOptions) String

func (x *MethodOptions) String() string

type MethodOptions_IdempotencyLevel

Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.

type MethodOptions_IdempotencyLevel int32
const (
    MethodOptions_IDEMPOTENCY_UNKNOWN MethodOptions_IdempotencyLevel = 0
    MethodOptions_NO_SIDE_EFFECTS     MethodOptions_IdempotencyLevel = 1 // implies idempotent
    MethodOptions_IDEMPOTENT          MethodOptions_IdempotencyLevel = 2 // idempotent, but may have side effects
)

func (MethodOptions_IdempotencyLevel) Descriptor

func (MethodOptions_IdempotencyLevel) Descriptor() protoreflect.EnumDescriptor

func (MethodOptions_IdempotencyLevel) Enum

func (x MethodOptions_IdempotencyLevel) Enum() *MethodOptions_IdempotencyLevel

func (MethodOptions_IdempotencyLevel) EnumDescriptor

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

Deprecated: Use MethodOptions_IdempotencyLevel.Descriptor instead.

func (MethodOptions_IdempotencyLevel) Number

func (x MethodOptions_IdempotencyLevel) Number() protoreflect.EnumNumber

func (MethodOptions_IdempotencyLevel) String

func (x MethodOptions_IdempotencyLevel) String() string

func (MethodOptions_IdempotencyLevel) Type

func (MethodOptions_IdempotencyLevel) Type() protoreflect.EnumType

func (*MethodOptions_IdempotencyLevel) UnmarshalJSON

func (x *MethodOptions_IdempotencyLevel) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type OneofDescriptorProto

Describes a oneof.

type OneofDescriptorProto struct {
    Name    *string       `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    Options *OneofOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"`
    // contains filtered or unexported fields
}

func (*OneofDescriptorProto) Descriptor

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

Deprecated: Use OneofDescriptorProto.ProtoReflect.Descriptor instead.

func (*OneofDescriptorProto) GetName

func (x *OneofDescriptorProto) GetName() string

func (*OneofDescriptorProto) GetOptions

func (x *OneofDescriptorProto) GetOptions() *OneofOptions

func (*OneofDescriptorProto) ProtoMessage

func (*OneofDescriptorProto) ProtoMessage()

func (*OneofDescriptorProto) ProtoReflect

func (x *OneofDescriptorProto) ProtoReflect() protoreflect.Message

func (*OneofDescriptorProto) Reset

func (x *OneofDescriptorProto) Reset()

func (*OneofDescriptorProto) String

func (x *OneofDescriptorProto) String() string

type OneofOptions

type OneofOptions struct {

    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,1,opt,name=features" json:"features,omitempty"`
    // The parser stores options it doesn't recognize here. See above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // contains filtered or unexported fields
}

func (*OneofOptions) Descriptor

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

Deprecated: Use OneofOptions.ProtoReflect.Descriptor instead.

func (*OneofOptions) GetFeatures

func (x *OneofOptions) GetFeatures() *FeatureSet

func (*OneofOptions) GetUninterpretedOption

func (x *OneofOptions) GetUninterpretedOption() []*UninterpretedOption

func (*OneofOptions) ProtoMessage

func (*OneofOptions) ProtoMessage()

func (*OneofOptions) ProtoReflect

func (x *OneofOptions) ProtoReflect() protoreflect.Message

func (*OneofOptions) Reset

func (x *OneofOptions) Reset()

func (*OneofOptions) String

func (x *OneofOptions) String() string

type ServiceDescriptorProto

Describes a service.

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"`
    Options *ServiceOptions          `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
    // contains filtered or unexported fields
}

func (*ServiceDescriptorProto) Descriptor

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

Deprecated: Use ServiceDescriptorProto.ProtoReflect.Descriptor instead.

func (*ServiceDescriptorProto) GetMethod

func (x *ServiceDescriptorProto) GetMethod() []*MethodDescriptorProto

func (*ServiceDescriptorProto) GetName

func (x *ServiceDescriptorProto) GetName() string

func (*ServiceDescriptorProto) GetOptions

func (x *ServiceDescriptorProto) GetOptions() *ServiceOptions

func (*ServiceDescriptorProto) ProtoMessage

func (*ServiceDescriptorProto) ProtoMessage()

func (*ServiceDescriptorProto) ProtoReflect

func (x *ServiceDescriptorProto) ProtoReflect() protoreflect.Message

func (*ServiceDescriptorProto) Reset

func (x *ServiceDescriptorProto) Reset()

func (*ServiceDescriptorProto) String

func (x *ServiceDescriptorProto) String() string

type ServiceOptions

type ServiceOptions struct {

    // Any features defined in the specific edition.
    Features *FeatureSet `protobuf:"bytes,34,opt,name=features" json:"features,omitempty"`
    // Is this service deprecated?
    // Depending on the target platform, this can emit Deprecated annotations
    // for the service, or it will be completely ignored; in the very least,
    // this is a formalization for deprecating services.
    Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
    // The parser stores options it doesn't recognize here. See above.
    UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
    // contains filtered or unexported fields
}

func (*ServiceOptions) Descriptor

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

Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead.

func (*ServiceOptions) GetDeprecated

func (x *ServiceOptions) GetDeprecated() bool

func (*ServiceOptions) GetFeatures

func (x *ServiceOptions) GetFeatures() *FeatureSet

func (*ServiceOptions) GetUninterpretedOption

func (x *ServiceOptions) GetUninterpretedOption() []*UninterpretedOption

func (*ServiceOptions) ProtoMessage

func (*ServiceOptions) ProtoMessage()

func (*ServiceOptions) ProtoReflect

func (x *ServiceOptions) ProtoReflect() protoreflect.Message

func (*ServiceOptions) Reset

func (x *ServiceOptions) Reset()

func (*ServiceOptions) String

func (x *ServiceOptions) String() string

type SourceCodeInfo

Encapsulates information about the original source file from which a FileDescriptorProto was generated.

type SourceCodeInfo struct {

    // A Location identifies a piece of source code in a .proto file which
    // corresponds to a particular definition.  This information is intended
    // to be useful to IDEs, code indexers, documentation generators, and similar
    // tools.
    //
    // For example, say we have a file like:
    //
    //	message Foo {
    //	  optional string foo = 1;
    //	}
    //
    // Let's look at just the field definition:
    //
    //	optional string foo = 1;
    //	^       ^^     ^^  ^  ^^^
    //	a       bc     de  f  ghi
    //
    // We have the following locations:
    //
    //	span   path               represents
    //	[a,i)  [ 4, 0, 2, 0 ]     The whole field definition.
    //	[a,b)  [ 4, 0, 2, 0, 4 ]  The label (optional).
    //	[c,d)  [ 4, 0, 2, 0, 5 ]  The type (string).
    //	[e,f)  [ 4, 0, 2, 0, 1 ]  The name (foo).
    //	[g,h)  [ 4, 0, 2, 0, 3 ]  The number (1).
    //
    // Notes:
    //   - A location may refer to a repeated field itself (i.e. not to any
    //     particular index within it).  This is used whenever a set of elements are
    //     logically enclosed in a single code segment.  For example, an entire
    //     extend block (possibly containing multiple extension definitions) will
    //     have an outer location whose path refers to the "extensions" repeated
    //     field without an index.
    //   - Multiple locations may have the same path.  This happens when a single
    //     logical declaration is spread out across multiple places.  The most
    //     obvious example is the "extend" block again -- there may be multiple
    //     extend blocks in the same scope, each of which will have the same path.
    //   - A location's span is not always a subset of its parent's span.  For
    //     example, the "extendee" of an extension declaration appears at the
    //     beginning of the "extend" block and is shared by all extensions within
    //     the block.
    //   - Just because a location's span is a subset of some other location's span
    //     does not mean that it is a descendant.  For example, a "group" defines
    //     both a type and a field in a single declaration.  Thus, the locations
    //     corresponding to the type and field and their components will overlap.
    //   - Code which tries to interpret locations should probably be designed to
    //     ignore those that it doesn't understand, as more types of locations could
    //     be recorded in the future.
    Location []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"`
    // contains filtered or unexported fields
}

func (*SourceCodeInfo) Descriptor

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

Deprecated: Use SourceCodeInfo.ProtoReflect.Descriptor instead.

func (*SourceCodeInfo) GetLocation

func (x *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location

func (*SourceCodeInfo) ProtoMessage

func (*SourceCodeInfo) ProtoMessage()

func (*SourceCodeInfo) ProtoReflect

func (x *SourceCodeInfo) ProtoReflect() protoreflect.Message

func (*SourceCodeInfo) Reset

func (x *SourceCodeInfo) Reset()

func (*SourceCodeInfo) String

func (x *SourceCodeInfo) String() string

type SourceCodeInfo_Location

type SourceCodeInfo_Location struct {

    // Identifies which part of the FileDescriptorProto was defined at this
    // location.
    //
    // Each element is a field number or an index.  They form a path from
    // the root FileDescriptorProto to the place where the definition occurs.
    // For example, this path:
    //
    //	[ 4, 3, 2, 7, 1 ]
    //
    // refers to:
    //
    //	file.message_type(3)  // 4, 3
    //	    .field(7)         // 2, 7
    //	    .name()           // 1
    //
    // This is because FileDescriptorProto.message_type has field number 4:
    //
    //	repeated DescriptorProto message_type = 4;
    //
    // and DescriptorProto.field has field number 2:
    //
    //	repeated FieldDescriptorProto field = 2;
    //
    // and FieldDescriptorProto.name has field number 1:
    //
    //	optional string name = 1;
    //
    // Thus, the above path gives the location of a field name.  If we removed
    // the last element:
    //
    //	[ 4, 3, 2, 7 ]
    //
    // this path refers to the whole field declaration (from the beginning
    // of the label to the terminating semicolon).
    Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"`
    // Always has exactly three or four elements: start line, start column,
    // end line (optional, otherwise assumed same as start line), end column.
    // These are packed into a single field for efficiency.  Note that line
    // and column numbers are zero-based -- typically you will want to add
    // 1 to each before displaying to a user.
    Span []int32 `protobuf:"varint,2,rep,packed,name=span" json:"span,omitempty"`
    // If this SourceCodeInfo represents a complete declaration, these are any
    // comments appearing before and after the declaration which appear to be
    // attached to the declaration.
    //
    // A series of line comments appearing on consecutive lines, with no other
    // tokens appearing on those lines, will be treated as a single comment.
    //
    // leading_detached_comments will keep paragraphs of comments that appear
    // before (but not connected to) the current element. Each paragraph,
    // separated by empty lines, will be one comment element in the repeated
    // field.
    //
    // Only the comment content is provided; comment markers (e.g. //) are
    // stripped out.  For block comments, leading whitespace and an asterisk
    // will be stripped from the beginning of each line other than the first.
    // Newlines are included in the output.
    //
    // Examples:
    //
    //	optional int32 foo = 1;  // Comment attached to foo.
    //	// Comment attached to bar.
    //	optional int32 bar = 2;
    //
    //	optional string baz = 3;
    //	// Comment attached to baz.
    //	// Another line attached to baz.
    //
    //	// Comment attached to moo.
    //	//
    //	// Another line attached to moo.
    //	optional double moo = 4;
    //
    //	// Detached comment for corge. This is not leading or trailing comments
    //	// to moo or corge because there are blank lines separating it from
    //	// both.
    //
    //	// Detached comment for corge paragraph 2.
    //
    //	optional string corge = 5;
    //	/* Block comment attached
    //	 * to corge.  Leading asterisks
    //	 * will be removed. */
    //	/* Block comment attached to
    //	 * grault. */
    //	optional int32 grault = 6;
    //
    //	// ignored detached comments.
    LeadingComments         *string  `protobuf:"bytes,3,opt,name=leading_comments,json=leadingComments" json:"leading_comments,omitempty"`
    TrailingComments        *string  `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailing_comments,omitempty"`
    LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leading_detached_comments,omitempty"`
    // contains filtered or unexported fields
}

func (*SourceCodeInfo_Location) Descriptor

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

Deprecated: Use SourceCodeInfo_Location.ProtoReflect.Descriptor instead.

func (*SourceCodeInfo_Location) GetLeadingComments

func (x *SourceCodeInfo_Location) GetLeadingComments() string

func (*SourceCodeInfo_Location) GetLeadingDetachedComments

func (x *SourceCodeInfo_Location) GetLeadingDetachedComments() []string

func (*SourceCodeInfo_Location) GetPath

func (x *SourceCodeInfo_Location) GetPath() []int32

func (*SourceCodeInfo_Location) GetSpan

func (x *SourceCodeInfo_Location) GetSpan() []int32

func (*SourceCodeInfo_Location) GetTrailingComments

func (x *SourceCodeInfo_Location) GetTrailingComments() string

func (*SourceCodeInfo_Location) ProtoMessage

func (*SourceCodeInfo_Location) ProtoMessage()

func (*SourceCodeInfo_Location) ProtoReflect

func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message

func (*SourceCodeInfo_Location) Reset

func (x *SourceCodeInfo_Location) Reset()

func (*SourceCodeInfo_Location) String

func (x *SourceCodeInfo_Location) String() string

type UninterpretedOption

A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.

type UninterpretedOption struct {
    Name []*UninterpretedOption_NamePart `protobuf:"bytes,2,rep,name=name" json:"name,omitempty"`
    // The value of the uninterpreted option, in whatever type the tokenizer
    // identified it as during parsing. Exactly one of these should be set.
    IdentifierValue  *string  `protobuf:"bytes,3,opt,name=identifier_value,json=identifierValue" json:"identifier_value,omitempty"`
    PositiveIntValue *uint64  `protobuf:"varint,4,opt,name=positive_int_value,json=positiveIntValue" json:"positive_int_value,omitempty"`
    NegativeIntValue *int64   `protobuf:"varint,5,opt,name=negative_int_value,json=negativeIntValue" json:"negative_int_value,omitempty"`
    DoubleValue      *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"`
    StringValue      []byte   `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"string_value,omitempty"`
    AggregateValue   *string  `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregate_value,omitempty"`
    // contains filtered or unexported fields
}

func (*UninterpretedOption) Descriptor

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

Deprecated: Use UninterpretedOption.ProtoReflect.Descriptor instead.

func (*UninterpretedOption) GetAggregateValue

func (x *UninterpretedOption) GetAggregateValue() string

func (*UninterpretedOption) GetDoubleValue

func (x *UninterpretedOption) GetDoubleValue() float64

func (*UninterpretedOption) GetIdentifierValue

func (x *UninterpretedOption) GetIdentifierValue() string

func (*UninterpretedOption) GetName

func (x *UninterpretedOption) GetName() []*UninterpretedOption_NamePart

func (*UninterpretedOption) GetNegativeIntValue

func (x *UninterpretedOption) GetNegativeIntValue() int64

func (*UninterpretedOption) GetPositiveIntValue

func (x *UninterpretedOption) GetPositiveIntValue() uint64

func (*UninterpretedOption) GetStringValue

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

func (*UninterpretedOption) ProtoMessage

func (*UninterpretedOption) ProtoMessage()

func (*UninterpretedOption) ProtoReflect

func (x *UninterpretedOption) ProtoReflect() protoreflect.Message

func (*UninterpretedOption) Reset

func (x *UninterpretedOption) Reset()

func (*UninterpretedOption) String

func (x *UninterpretedOption) String() string

type UninterpretedOption_NamePart

The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents "foo.(bar.baz).moo".

type UninterpretedOption_NamePart struct {
    NamePart    *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"name_part,omitempty"`
    IsExtension *bool   `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"is_extension,omitempty"`
    // contains filtered or unexported fields
}

func (*UninterpretedOption_NamePart) Descriptor

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

Deprecated: Use UninterpretedOption_NamePart.ProtoReflect.Descriptor instead.

func (*UninterpretedOption_NamePart) GetIsExtension

func (x *UninterpretedOption_NamePart) GetIsExtension() bool

func (*UninterpretedOption_NamePart) GetNamePart

func (x *UninterpretedOption_NamePart) GetNamePart() string

func (*UninterpretedOption_NamePart) ProtoMessage

func (*UninterpretedOption_NamePart) ProtoMessage()

func (*UninterpretedOption_NamePart) ProtoReflect

func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message

func (*UninterpretedOption_NamePart) Reset

func (x *UninterpretedOption_NamePart) Reset()

func (*UninterpretedOption_NamePart) String

func (x *UninterpretedOption_NamePart) String() string