Documentation ¶
Index ¶
- Constants
- Variables
- type DescriptorProto
- func (m *DescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *DescriptorProto) CloneVT() *DescriptorProto
- func (this *DescriptorProto) EqualMessageVT(thatMsg any) bool
- func (this *DescriptorProto) EqualVT(that *DescriptorProto) bool
- 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 (x *DescriptorProto) MarshalProtoText() string
- func (m *DescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *DescriptorProto) MarshalToVT(dAtA []byte) (int, error)
- func (m *DescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *DescriptorProto) MarshalVT() (dAtA []byte, err error)
- func (m *DescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
- func (*DescriptorProto) ProtoMessage()
- func (x *DescriptorProto) Reset()
- func (m *DescriptorProto) SizeVT() (n int)
- func (x *DescriptorProto) String() string
- func (m *DescriptorProto) UnmarshalVT(dAtA []byte) error
- func (m *DescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
- type DescriptorProto_ExtensionRange
- func (m *DescriptorProto_ExtensionRange) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *DescriptorProto_ExtensionRange) CloneVT() *DescriptorProto_ExtensionRange
- func (this *DescriptorProto_ExtensionRange) EqualMessageVT(thatMsg any) bool
- func (this *DescriptorProto_ExtensionRange) EqualVT(that *DescriptorProto_ExtensionRange) bool
- func (x *DescriptorProto_ExtensionRange) GetEnd() int32
- func (x *DescriptorProto_ExtensionRange) GetOptions() *ExtensionRangeOptions
- func (x *DescriptorProto_ExtensionRange) GetStart() int32
- func (x *DescriptorProto_ExtensionRange) MarshalProtoText() string
- func (m *DescriptorProto_ExtensionRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DescriptorProto_ExtensionRange) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *DescriptorProto_ExtensionRange) MarshalToVT(dAtA []byte) (int, error)
- func (m *DescriptorProto_ExtensionRange) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *DescriptorProto_ExtensionRange) MarshalVT() (dAtA []byte, err error)
- func (m *DescriptorProto_ExtensionRange) MarshalVTStrict() (dAtA []byte, err error)
- func (*DescriptorProto_ExtensionRange) ProtoMessage()
- func (x *DescriptorProto_ExtensionRange) Reset()
- func (m *DescriptorProto_ExtensionRange) SizeVT() (n int)
- func (x *DescriptorProto_ExtensionRange) String() string
- func (m *DescriptorProto_ExtensionRange) UnmarshalVT(dAtA []byte) error
- func (m *DescriptorProto_ExtensionRange) UnmarshalVTUnsafe(dAtA []byte) error
- type DescriptorProto_ReservedRange
- func (m *DescriptorProto_ReservedRange) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *DescriptorProto_ReservedRange) CloneVT() *DescriptorProto_ReservedRange
- func (this *DescriptorProto_ReservedRange) EqualMessageVT(thatMsg any) bool
- func (this *DescriptorProto_ReservedRange) EqualVT(that *DescriptorProto_ReservedRange) bool
- func (x *DescriptorProto_ReservedRange) GetEnd() int32
- func (x *DescriptorProto_ReservedRange) GetStart() int32
- func (x *DescriptorProto_ReservedRange) MarshalProtoText() string
- func (m *DescriptorProto_ReservedRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DescriptorProto_ReservedRange) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *DescriptorProto_ReservedRange) MarshalToVT(dAtA []byte) (int, error)
- func (m *DescriptorProto_ReservedRange) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *DescriptorProto_ReservedRange) MarshalVT() (dAtA []byte, err error)
- func (m *DescriptorProto_ReservedRange) MarshalVTStrict() (dAtA []byte, err error)
- func (*DescriptorProto_ReservedRange) ProtoMessage()
- func (x *DescriptorProto_ReservedRange) Reset()
- func (m *DescriptorProto_ReservedRange) SizeVT() (n int)
- func (x *DescriptorProto_ReservedRange) String() string
- func (m *DescriptorProto_ReservedRange) UnmarshalVT(dAtA []byte) error
- func (m *DescriptorProto_ReservedRange) UnmarshalVTUnsafe(dAtA []byte) error
- type Edition
- type EnumDescriptorProto
- func (m *EnumDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EnumDescriptorProto) CloneVT() *EnumDescriptorProto
- func (this *EnumDescriptorProto) EqualMessageVT(thatMsg any) bool
- func (this *EnumDescriptorProto) EqualVT(that *EnumDescriptorProto) bool
- 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 (x *EnumDescriptorProto) MarshalProtoText() string
- func (m *EnumDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EnumDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *EnumDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
- func (m *EnumDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *EnumDescriptorProto) MarshalVT() (dAtA []byte, err error)
- func (m *EnumDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
- func (*EnumDescriptorProto) ProtoMessage()
- func (x *EnumDescriptorProto) Reset()
- func (m *EnumDescriptorProto) SizeVT() (n int)
- func (x *EnumDescriptorProto) String() string
- func (m *EnumDescriptorProto) UnmarshalVT(dAtA []byte) error
- func (m *EnumDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
- type EnumDescriptorProto_EnumReservedRange
- func (m *EnumDescriptorProto_EnumReservedRange) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EnumDescriptorProto_EnumReservedRange) CloneVT() *EnumDescriptorProto_EnumReservedRange
- func (this *EnumDescriptorProto_EnumReservedRange) EqualMessageVT(thatMsg any) bool
- func (this *EnumDescriptorProto_EnumReservedRange) EqualVT(that *EnumDescriptorProto_EnumReservedRange) bool
- func (x *EnumDescriptorProto_EnumReservedRange) GetEnd() int32
- func (x *EnumDescriptorProto_EnumReservedRange) GetStart() int32
- func (x *EnumDescriptorProto_EnumReservedRange) MarshalProtoText() string
- func (m *EnumDescriptorProto_EnumReservedRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EnumDescriptorProto_EnumReservedRange) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *EnumDescriptorProto_EnumReservedRange) MarshalToVT(dAtA []byte) (int, error)
- func (m *EnumDescriptorProto_EnumReservedRange) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *EnumDescriptorProto_EnumReservedRange) MarshalVT() (dAtA []byte, err error)
- func (m *EnumDescriptorProto_EnumReservedRange) MarshalVTStrict() (dAtA []byte, err error)
- func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage()
- func (x *EnumDescriptorProto_EnumReservedRange) Reset()
- func (m *EnumDescriptorProto_EnumReservedRange) SizeVT() (n int)
- func (x *EnumDescriptorProto_EnumReservedRange) String() string
- func (m *EnumDescriptorProto_EnumReservedRange) UnmarshalVT(dAtA []byte) error
- func (m *EnumDescriptorProto_EnumReservedRange) UnmarshalVTUnsafe(dAtA []byte) error
- type EnumOptions
- func (m *EnumOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EnumOptions) CloneVT() *EnumOptions
- func (this *EnumOptions) EqualMessageVT(thatMsg any) bool
- func (this *EnumOptions) EqualVT(that *EnumOptions) bool
- func (x *EnumOptions) GetAllowAlias() bool
- func (x *EnumOptions) GetDeprecated() bool
- func (x *EnumOptions) GetDeprecatedLegacyJsonFieldConflicts() booldeprecated
- func (x *EnumOptions) GetFeatures() *FeatureSet
- func (x *EnumOptions) GetUninterpretedOption() []*UninterpretedOption
- func (x *EnumOptions) MarshalProtoText() string
- func (m *EnumOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EnumOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *EnumOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *EnumOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *EnumOptions) MarshalVT() (dAtA []byte, err error)
- func (m *EnumOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*EnumOptions) ProtoMessage()
- func (x *EnumOptions) Reset()
- func (m *EnumOptions) SizeVT() (n int)
- func (x *EnumOptions) String() string
- func (m *EnumOptions) UnmarshalVT(dAtA []byte) error
- func (m *EnumOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type EnumValueDescriptorProto
- func (m *EnumValueDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EnumValueDescriptorProto) CloneVT() *EnumValueDescriptorProto
- func (this *EnumValueDescriptorProto) EqualMessageVT(thatMsg any) bool
- func (this *EnumValueDescriptorProto) EqualVT(that *EnumValueDescriptorProto) bool
- func (x *EnumValueDescriptorProto) GetName() string
- func (x *EnumValueDescriptorProto) GetNumber() int32
- func (x *EnumValueDescriptorProto) GetOptions() *EnumValueOptions
- func (x *EnumValueDescriptorProto) MarshalProtoText() string
- func (m *EnumValueDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EnumValueDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *EnumValueDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
- func (m *EnumValueDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *EnumValueDescriptorProto) MarshalVT() (dAtA []byte, err error)
- func (m *EnumValueDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
- func (*EnumValueDescriptorProto) ProtoMessage()
- func (x *EnumValueDescriptorProto) Reset()
- func (m *EnumValueDescriptorProto) SizeVT() (n int)
- func (x *EnumValueDescriptorProto) String() string
- func (m *EnumValueDescriptorProto) UnmarshalVT(dAtA []byte) error
- func (m *EnumValueDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
- type EnumValueOptions
- func (m *EnumValueOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *EnumValueOptions) CloneVT() *EnumValueOptions
- func (this *EnumValueOptions) EqualMessageVT(thatMsg any) bool
- func (this *EnumValueOptions) EqualVT(that *EnumValueOptions) bool
- func (x *EnumValueOptions) GetDebugRedact() bool
- func (x *EnumValueOptions) GetDeprecated() bool
- func (x *EnumValueOptions) GetFeatures() *FeatureSet
- func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption
- func (x *EnumValueOptions) MarshalProtoText() string
- func (m *EnumValueOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EnumValueOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *EnumValueOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *EnumValueOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *EnumValueOptions) MarshalVT() (dAtA []byte, err error)
- func (m *EnumValueOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*EnumValueOptions) ProtoMessage()
- func (x *EnumValueOptions) Reset()
- func (m *EnumValueOptions) SizeVT() (n int)
- func (x *EnumValueOptions) String() string
- func (m *EnumValueOptions) UnmarshalVT(dAtA []byte) error
- func (m *EnumValueOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type ExtensionRangeOptions
- func (m *ExtensionRangeOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ExtensionRangeOptions) CloneVT() *ExtensionRangeOptions
- func (this *ExtensionRangeOptions) EqualMessageVT(thatMsg any) bool
- func (this *ExtensionRangeOptions) EqualVT(that *ExtensionRangeOptions) bool
- func (x *ExtensionRangeOptions) GetDeclaration() []*ExtensionRangeOptions_Declaration
- func (x *ExtensionRangeOptions) GetFeatures() *FeatureSet
- func (x *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption
- func (x *ExtensionRangeOptions) GetVerification() ExtensionRangeOptions_VerificationState
- func (x *ExtensionRangeOptions) MarshalProtoText() string
- func (m *ExtensionRangeOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExtensionRangeOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ExtensionRangeOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExtensionRangeOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ExtensionRangeOptions) MarshalVT() (dAtA []byte, err error)
- func (m *ExtensionRangeOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*ExtensionRangeOptions) ProtoMessage()
- func (x *ExtensionRangeOptions) Reset()
- func (m *ExtensionRangeOptions) SizeVT() (n int)
- func (x *ExtensionRangeOptions) String() string
- func (m *ExtensionRangeOptions) UnmarshalVT(dAtA []byte) error
- func (m *ExtensionRangeOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type ExtensionRangeOptions_Declaration
- func (m *ExtensionRangeOptions_Declaration) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ExtensionRangeOptions_Declaration) CloneVT() *ExtensionRangeOptions_Declaration
- func (this *ExtensionRangeOptions_Declaration) EqualMessageVT(thatMsg any) bool
- func (this *ExtensionRangeOptions_Declaration) EqualVT(that *ExtensionRangeOptions_Declaration) bool
- 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 (x *ExtensionRangeOptions_Declaration) MarshalProtoText() string
- func (m *ExtensionRangeOptions_Declaration) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExtensionRangeOptions_Declaration) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ExtensionRangeOptions_Declaration) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExtensionRangeOptions_Declaration) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ExtensionRangeOptions_Declaration) MarshalVT() (dAtA []byte, err error)
- func (m *ExtensionRangeOptions_Declaration) MarshalVTStrict() (dAtA []byte, err error)
- func (*ExtensionRangeOptions_Declaration) ProtoMessage()
- func (x *ExtensionRangeOptions_Declaration) Reset()
- func (m *ExtensionRangeOptions_Declaration) SizeVT() (n int)
- func (x *ExtensionRangeOptions_Declaration) String() string
- func (m *ExtensionRangeOptions_Declaration) UnmarshalVT(dAtA []byte) error
- func (m *ExtensionRangeOptions_Declaration) UnmarshalVTUnsafe(dAtA []byte) error
- type ExtensionRangeOptions_VerificationState
- type FeatureSet
- func (m *FeatureSet) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FeatureSet) CloneVT() *FeatureSet
- func (this *FeatureSet) EqualMessageVT(thatMsg any) bool
- func (this *FeatureSet) EqualVT(that *FeatureSet) bool
- 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 (x *FeatureSet) MarshalProtoText() string
- func (m *FeatureSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FeatureSet) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FeatureSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *FeatureSet) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FeatureSet) MarshalVT() (dAtA []byte, err error)
- func (m *FeatureSet) MarshalVTStrict() (dAtA []byte, err error)
- func (*FeatureSet) ProtoMessage()
- func (x *FeatureSet) Reset()
- func (m *FeatureSet) SizeVT() (n int)
- func (x *FeatureSet) String() string
- func (m *FeatureSet) UnmarshalVT(dAtA []byte) error
- func (m *FeatureSet) UnmarshalVTUnsafe(dAtA []byte) error
- type FeatureSetDefaults
- func (m *FeatureSetDefaults) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FeatureSetDefaults) CloneVT() *FeatureSetDefaults
- func (this *FeatureSetDefaults) EqualMessageVT(thatMsg any) bool
- func (this *FeatureSetDefaults) EqualVT(that *FeatureSetDefaults) bool
- func (x *FeatureSetDefaults) GetDefaults() []*FeatureSetDefaults_FeatureSetEditionDefault
- func (x *FeatureSetDefaults) GetMaximumEdition() Edition
- func (x *FeatureSetDefaults) GetMinimumEdition() Edition
- func (x *FeatureSetDefaults) MarshalProtoText() string
- func (m *FeatureSetDefaults) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FeatureSetDefaults) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FeatureSetDefaults) MarshalToVT(dAtA []byte) (int, error)
- func (m *FeatureSetDefaults) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FeatureSetDefaults) MarshalVT() (dAtA []byte, err error)
- func (m *FeatureSetDefaults) MarshalVTStrict() (dAtA []byte, err error)
- func (*FeatureSetDefaults) ProtoMessage()
- func (x *FeatureSetDefaults) Reset()
- func (m *FeatureSetDefaults) SizeVT() (n int)
- func (x *FeatureSetDefaults) String() string
- func (m *FeatureSetDefaults) UnmarshalVT(dAtA []byte) error
- func (m *FeatureSetDefaults) UnmarshalVTUnsafe(dAtA []byte) error
- type FeatureSetDefaults_FeatureSetEditionDefault
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) CloneVT() *FeatureSetDefaults_FeatureSetEditionDefault
- func (this *FeatureSetDefaults_FeatureSetEditionDefault) EqualMessageVT(thatMsg any) bool
- func (this *FeatureSetDefaults_FeatureSetEditionDefault) EqualVT(that *FeatureSetDefaults_FeatureSetEditionDefault) bool
- func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition
- func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures() *FeatureSet
- func (x *FeatureSetDefaults_FeatureSetEditionDefault) MarshalProtoText() string
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalToVT(dAtA []byte) (int, error)
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalVT() (dAtA []byte, err error)
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalVTStrict() (dAtA []byte, err error)
- func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage()
- func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset()
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) SizeVT() (n int)
- func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) UnmarshalVT(dAtA []byte) error
- func (m *FeatureSetDefaults_FeatureSetEditionDefault) UnmarshalVTUnsafe(dAtA []byte) error
- type FeatureSet_EnumType
- type FeatureSet_FieldPresence
- type FeatureSet_JsonFormat
- type FeatureSet_MessageEncoding
- type FeatureSet_RepeatedFieldEncoding
- type FeatureSet_Utf8Validation
- type FieldDescriptorProto
- func (m *FieldDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FieldDescriptorProto) CloneVT() *FieldDescriptorProto
- func (this *FieldDescriptorProto) EqualMessageVT(thatMsg any) bool
- func (this *FieldDescriptorProto) EqualVT(that *FieldDescriptorProto) bool
- 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 (x *FieldDescriptorProto) MarshalProtoText() string
- func (m *FieldDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FieldDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FieldDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
- func (m *FieldDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FieldDescriptorProto) MarshalVT() (dAtA []byte, err error)
- func (m *FieldDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
- func (*FieldDescriptorProto) ProtoMessage()
- func (x *FieldDescriptorProto) Reset()
- func (m *FieldDescriptorProto) SizeVT() (n int)
- func (x *FieldDescriptorProto) String() string
- func (m *FieldDescriptorProto) UnmarshalVT(dAtA []byte) error
- func (m *FieldDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
- type FieldDescriptorProto_Label
- type FieldDescriptorProto_Type
- type FieldOptions
- func (m *FieldOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FieldOptions) CloneVT() *FieldOptions
- func (this *FieldOptions) EqualMessageVT(thatMsg any) bool
- func (this *FieldOptions) EqualVT(that *FieldOptions) bool
- 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 (x *FieldOptions) MarshalProtoText() string
- func (m *FieldOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FieldOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FieldOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *FieldOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FieldOptions) MarshalVT() (dAtA []byte, err error)
- func (m *FieldOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*FieldOptions) ProtoMessage()
- func (x *FieldOptions) Reset()
- func (m *FieldOptions) SizeVT() (n int)
- func (x *FieldOptions) String() string
- func (m *FieldOptions) UnmarshalVT(dAtA []byte) error
- func (m *FieldOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type FieldOptions_CType
- type FieldOptions_EditionDefault
- func (m *FieldOptions_EditionDefault) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FieldOptions_EditionDefault) CloneVT() *FieldOptions_EditionDefault
- func (this *FieldOptions_EditionDefault) EqualMessageVT(thatMsg any) bool
- func (this *FieldOptions_EditionDefault) EqualVT(that *FieldOptions_EditionDefault) bool
- func (x *FieldOptions_EditionDefault) GetEdition() Edition
- func (x *FieldOptions_EditionDefault) GetValue() string
- func (x *FieldOptions_EditionDefault) MarshalProtoText() string
- func (m *FieldOptions_EditionDefault) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FieldOptions_EditionDefault) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FieldOptions_EditionDefault) MarshalToVT(dAtA []byte) (int, error)
- func (m *FieldOptions_EditionDefault) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FieldOptions_EditionDefault) MarshalVT() (dAtA []byte, err error)
- func (m *FieldOptions_EditionDefault) MarshalVTStrict() (dAtA []byte, err error)
- func (*FieldOptions_EditionDefault) ProtoMessage()
- func (x *FieldOptions_EditionDefault) Reset()
- func (m *FieldOptions_EditionDefault) SizeVT() (n int)
- func (x *FieldOptions_EditionDefault) String() string
- func (m *FieldOptions_EditionDefault) UnmarshalVT(dAtA []byte) error
- func (m *FieldOptions_EditionDefault) UnmarshalVTUnsafe(dAtA []byte) error
- type FieldOptions_JSType
- type FieldOptions_OptionRetention
- type FieldOptions_OptionTargetType
- type FileDescriptorProto
- func (m *FileDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FileDescriptorProto) CloneVT() *FileDescriptorProto
- func (this *FileDescriptorProto) EqualMessageVT(thatMsg any) bool
- func (this *FileDescriptorProto) EqualVT(that *FileDescriptorProto) bool
- 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 (x *FileDescriptorProto) MarshalProtoText() string
- func (m *FileDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FileDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FileDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
- func (m *FileDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FileDescriptorProto) MarshalVT() (dAtA []byte, err error)
- func (m *FileDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
- func (*FileDescriptorProto) ProtoMessage()
- func (x *FileDescriptorProto) Reset()
- func (m *FileDescriptorProto) SizeVT() (n int)
- func (x *FileDescriptorProto) String() string
- func (m *FileDescriptorProto) UnmarshalVT(dAtA []byte) error
- func (m *FileDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
- type FileDescriptorSet
- func (m *FileDescriptorSet) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FileDescriptorSet) CloneVT() *FileDescriptorSet
- func (this *FileDescriptorSet) EqualMessageVT(thatMsg any) bool
- func (this *FileDescriptorSet) EqualVT(that *FileDescriptorSet) bool
- func (x *FileDescriptorSet) GetFile() []*FileDescriptorProto
- func (x *FileDescriptorSet) MarshalProtoText() string
- func (m *FileDescriptorSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FileDescriptorSet) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FileDescriptorSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *FileDescriptorSet) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FileDescriptorSet) MarshalVT() (dAtA []byte, err error)
- func (m *FileDescriptorSet) MarshalVTStrict() (dAtA []byte, err error)
- func (*FileDescriptorSet) ProtoMessage()
- func (x *FileDescriptorSet) Reset()
- func (m *FileDescriptorSet) SizeVT() (n int)
- func (x *FileDescriptorSet) String() string
- func (m *FileDescriptorSet) UnmarshalVT(dAtA []byte) error
- func (m *FileDescriptorSet) UnmarshalVTUnsafe(dAtA []byte) error
- type FileOptions
- func (m *FileOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FileOptions) CloneVT() *FileOptions
- func (this *FileOptions) EqualMessageVT(thatMsg any) bool
- func (this *FileOptions) EqualVT(that *FileOptions) bool
- 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() booldeprecated
- 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) 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 (x *FileOptions) MarshalProtoText() string
- func (m *FileOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FileOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *FileOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *FileOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *FileOptions) MarshalVT() (dAtA []byte, err error)
- func (m *FileOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*FileOptions) ProtoMessage()
- func (x *FileOptions) Reset()
- func (m *FileOptions) SizeVT() (n int)
- func (x *FileOptions) String() string
- func (m *FileOptions) UnmarshalVT(dAtA []byte) error
- func (m *FileOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type FileOptions_OptimizeMode
- type GeneratedCodeInfo
- func (m *GeneratedCodeInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GeneratedCodeInfo) CloneVT() *GeneratedCodeInfo
- func (this *GeneratedCodeInfo) EqualMessageVT(thatMsg any) bool
- func (this *GeneratedCodeInfo) EqualVT(that *GeneratedCodeInfo) bool
- func (x *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation
- func (x *GeneratedCodeInfo) MarshalProtoText() string
- func (m *GeneratedCodeInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GeneratedCodeInfo) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *GeneratedCodeInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *GeneratedCodeInfo) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *GeneratedCodeInfo) MarshalVT() (dAtA []byte, err error)
- func (m *GeneratedCodeInfo) MarshalVTStrict() (dAtA []byte, err error)
- func (*GeneratedCodeInfo) ProtoMessage()
- func (x *GeneratedCodeInfo) Reset()
- func (m *GeneratedCodeInfo) SizeVT() (n int)
- func (x *GeneratedCodeInfo) String() string
- func (m *GeneratedCodeInfo) UnmarshalVT(dAtA []byte) error
- func (m *GeneratedCodeInfo) UnmarshalVTUnsafe(dAtA []byte) error
- type GeneratedCodeInfo_Annotation
- func (m *GeneratedCodeInfo_Annotation) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GeneratedCodeInfo_Annotation) CloneVT() *GeneratedCodeInfo_Annotation
- func (this *GeneratedCodeInfo_Annotation) EqualMessageVT(thatMsg any) bool
- func (this *GeneratedCodeInfo_Annotation) EqualVT(that *GeneratedCodeInfo_Annotation) bool
- 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 (x *GeneratedCodeInfo_Annotation) MarshalProtoText() string
- func (m *GeneratedCodeInfo_Annotation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GeneratedCodeInfo_Annotation) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *GeneratedCodeInfo_Annotation) MarshalToVT(dAtA []byte) (int, error)
- func (m *GeneratedCodeInfo_Annotation) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *GeneratedCodeInfo_Annotation) MarshalVT() (dAtA []byte, err error)
- func (m *GeneratedCodeInfo_Annotation) MarshalVTStrict() (dAtA []byte, err error)
- func (*GeneratedCodeInfo_Annotation) ProtoMessage()
- func (x *GeneratedCodeInfo_Annotation) Reset()
- func (m *GeneratedCodeInfo_Annotation) SizeVT() (n int)
- func (x *GeneratedCodeInfo_Annotation) String() string
- func (m *GeneratedCodeInfo_Annotation) UnmarshalVT(dAtA []byte) error
- func (m *GeneratedCodeInfo_Annotation) UnmarshalVTUnsafe(dAtA []byte) error
- type GeneratedCodeInfo_Annotation_Semantic
- type MessageOptions
- func (m *MessageOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *MessageOptions) CloneVT() *MessageOptions
- func (this *MessageOptions) EqualMessageVT(thatMsg any) bool
- func (this *MessageOptions) EqualVT(that *MessageOptions) bool
- func (x *MessageOptions) GetDeprecated() bool
- func (x *MessageOptions) GetDeprecatedLegacyJsonFieldConflicts() booldeprecated
- 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 (x *MessageOptions) MarshalProtoText() string
- func (m *MessageOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MessageOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *MessageOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *MessageOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *MessageOptions) MarshalVT() (dAtA []byte, err error)
- func (m *MessageOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*MessageOptions) ProtoMessage()
- func (x *MessageOptions) Reset()
- func (m *MessageOptions) SizeVT() (n int)
- func (x *MessageOptions) String() string
- func (m *MessageOptions) UnmarshalVT(dAtA []byte) error
- func (m *MessageOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type MethodDescriptorProto
- func (m *MethodDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *MethodDescriptorProto) CloneVT() *MethodDescriptorProto
- func (this *MethodDescriptorProto) EqualMessageVT(thatMsg any) bool
- func (this *MethodDescriptorProto) EqualVT(that *MethodDescriptorProto) bool
- 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 (x *MethodDescriptorProto) MarshalProtoText() string
- func (m *MethodDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MethodDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *MethodDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
- func (m *MethodDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *MethodDescriptorProto) MarshalVT() (dAtA []byte, err error)
- func (m *MethodDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
- func (*MethodDescriptorProto) ProtoMessage()
- func (x *MethodDescriptorProto) Reset()
- func (m *MethodDescriptorProto) SizeVT() (n int)
- func (x *MethodDescriptorProto) String() string
- func (m *MethodDescriptorProto) UnmarshalVT(dAtA []byte) error
- func (m *MethodDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
- type MethodOptions
- func (m *MethodOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *MethodOptions) CloneVT() *MethodOptions
- func (this *MethodOptions) EqualMessageVT(thatMsg any) bool
- func (this *MethodOptions) EqualVT(that *MethodOptions) bool
- func (x *MethodOptions) GetDeprecated() bool
- func (x *MethodOptions) GetFeatures() *FeatureSet
- func (x *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel
- func (x *MethodOptions) GetUninterpretedOption() []*UninterpretedOption
- func (x *MethodOptions) MarshalProtoText() string
- func (m *MethodOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MethodOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *MethodOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *MethodOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *MethodOptions) MarshalVT() (dAtA []byte, err error)
- func (m *MethodOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*MethodOptions) ProtoMessage()
- func (x *MethodOptions) Reset()
- func (m *MethodOptions) SizeVT() (n int)
- func (x *MethodOptions) String() string
- func (m *MethodOptions) UnmarshalVT(dAtA []byte) error
- func (m *MethodOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type MethodOptions_IdempotencyLevel
- type OneofDescriptorProto
- func (m *OneofDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OneofDescriptorProto) CloneVT() *OneofDescriptorProto
- func (this *OneofDescriptorProto) EqualMessageVT(thatMsg any) bool
- func (this *OneofDescriptorProto) EqualVT(that *OneofDescriptorProto) bool
- func (x *OneofDescriptorProto) GetName() string
- func (x *OneofDescriptorProto) GetOptions() *OneofOptions
- func (x *OneofDescriptorProto) MarshalProtoText() string
- func (m *OneofDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OneofDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *OneofDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
- func (m *OneofDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *OneofDescriptorProto) MarshalVT() (dAtA []byte, err error)
- func (m *OneofDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
- func (*OneofDescriptorProto) ProtoMessage()
- func (x *OneofDescriptorProto) Reset()
- func (m *OneofDescriptorProto) SizeVT() (n int)
- func (x *OneofDescriptorProto) String() string
- func (m *OneofDescriptorProto) UnmarshalVT(dAtA []byte) error
- func (m *OneofDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
- type OneofOptions
- func (m *OneofOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OneofOptions) CloneVT() *OneofOptions
- func (this *OneofOptions) EqualMessageVT(thatMsg any) bool
- func (this *OneofOptions) EqualVT(that *OneofOptions) bool
- func (x *OneofOptions) GetFeatures() *FeatureSet
- func (x *OneofOptions) GetUninterpretedOption() []*UninterpretedOption
- func (x *OneofOptions) MarshalProtoText() string
- func (m *OneofOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OneofOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *OneofOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *OneofOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *OneofOptions) MarshalVT() (dAtA []byte, err error)
- func (m *OneofOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*OneofOptions) ProtoMessage()
- func (x *OneofOptions) Reset()
- func (m *OneofOptions) SizeVT() (n int)
- func (x *OneofOptions) String() string
- func (m *OneofOptions) UnmarshalVT(dAtA []byte) error
- func (m *OneofOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type ServiceDescriptorProto
- func (m *ServiceDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ServiceDescriptorProto) CloneVT() *ServiceDescriptorProto
- func (this *ServiceDescriptorProto) EqualMessageVT(thatMsg any) bool
- func (this *ServiceDescriptorProto) EqualVT(that *ServiceDescriptorProto) bool
- func (x *ServiceDescriptorProto) GetMethod() []*MethodDescriptorProto
- func (x *ServiceDescriptorProto) GetName() string
- func (x *ServiceDescriptorProto) GetOptions() *ServiceOptions
- func (x *ServiceDescriptorProto) MarshalProtoText() string
- func (m *ServiceDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ServiceDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ServiceDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
- func (m *ServiceDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ServiceDescriptorProto) MarshalVT() (dAtA []byte, err error)
- func (m *ServiceDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
- func (*ServiceDescriptorProto) ProtoMessage()
- func (x *ServiceDescriptorProto) Reset()
- func (m *ServiceDescriptorProto) SizeVT() (n int)
- func (x *ServiceDescriptorProto) String() string
- func (m *ServiceDescriptorProto) UnmarshalVT(dAtA []byte) error
- func (m *ServiceDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
- type ServiceOptions
- func (m *ServiceOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ServiceOptions) CloneVT() *ServiceOptions
- func (this *ServiceOptions) EqualMessageVT(thatMsg any) bool
- func (this *ServiceOptions) EqualVT(that *ServiceOptions) bool
- func (x *ServiceOptions) GetDeprecated() bool
- func (x *ServiceOptions) GetFeatures() *FeatureSet
- func (x *ServiceOptions) GetUninterpretedOption() []*UninterpretedOption
- func (x *ServiceOptions) MarshalProtoText() string
- func (m *ServiceOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ServiceOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ServiceOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *ServiceOptions) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ServiceOptions) MarshalVT() (dAtA []byte, err error)
- func (m *ServiceOptions) MarshalVTStrict() (dAtA []byte, err error)
- func (*ServiceOptions) ProtoMessage()
- func (x *ServiceOptions) Reset()
- func (m *ServiceOptions) SizeVT() (n int)
- func (x *ServiceOptions) String() string
- func (m *ServiceOptions) UnmarshalVT(dAtA []byte) error
- func (m *ServiceOptions) UnmarshalVTUnsafe(dAtA []byte) error
- type SourceCodeInfo
- func (m *SourceCodeInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SourceCodeInfo) CloneVT() *SourceCodeInfo
- func (this *SourceCodeInfo) EqualMessageVT(thatMsg any) bool
- func (this *SourceCodeInfo) EqualVT(that *SourceCodeInfo) bool
- func (x *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location
- func (x *SourceCodeInfo) MarshalProtoText() string
- func (m *SourceCodeInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SourceCodeInfo) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *SourceCodeInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *SourceCodeInfo) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *SourceCodeInfo) MarshalVT() (dAtA []byte, err error)
- func (m *SourceCodeInfo) MarshalVTStrict() (dAtA []byte, err error)
- func (*SourceCodeInfo) ProtoMessage()
- func (x *SourceCodeInfo) Reset()
- func (m *SourceCodeInfo) SizeVT() (n int)
- func (x *SourceCodeInfo) String() string
- func (m *SourceCodeInfo) UnmarshalVT(dAtA []byte) error
- func (m *SourceCodeInfo) UnmarshalVTUnsafe(dAtA []byte) error
- type SourceCodeInfo_Location
- func (m *SourceCodeInfo_Location) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SourceCodeInfo_Location) CloneVT() *SourceCodeInfo_Location
- func (this *SourceCodeInfo_Location) EqualMessageVT(thatMsg any) bool
- func (this *SourceCodeInfo_Location) EqualVT(that *SourceCodeInfo_Location) bool
- 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 (x *SourceCodeInfo_Location) MarshalProtoText() string
- func (m *SourceCodeInfo_Location) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SourceCodeInfo_Location) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *SourceCodeInfo_Location) MarshalToVT(dAtA []byte) (int, error)
- func (m *SourceCodeInfo_Location) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *SourceCodeInfo_Location) MarshalVT() (dAtA []byte, err error)
- func (m *SourceCodeInfo_Location) MarshalVTStrict() (dAtA []byte, err error)
- func (*SourceCodeInfo_Location) ProtoMessage()
- func (x *SourceCodeInfo_Location) Reset()
- func (m *SourceCodeInfo_Location) SizeVT() (n int)
- func (x *SourceCodeInfo_Location) String() string
- func (m *SourceCodeInfo_Location) UnmarshalVT(dAtA []byte) error
- func (m *SourceCodeInfo_Location) UnmarshalVTUnsafe(dAtA []byte) error
- type UninterpretedOption
- func (m *UninterpretedOption) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UninterpretedOption) CloneVT() *UninterpretedOption
- func (this *UninterpretedOption) EqualMessageVT(thatMsg any) bool
- func (this *UninterpretedOption) EqualVT(that *UninterpretedOption) bool
- 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 (x *UninterpretedOption) MarshalProtoText() string
- func (m *UninterpretedOption) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UninterpretedOption) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *UninterpretedOption) MarshalToVT(dAtA []byte) (int, error)
- func (m *UninterpretedOption) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *UninterpretedOption) MarshalVT() (dAtA []byte, err error)
- func (m *UninterpretedOption) MarshalVTStrict() (dAtA []byte, err error)
- func (*UninterpretedOption) ProtoMessage()
- func (x *UninterpretedOption) Reset()
- func (m *UninterpretedOption) SizeVT() (n int)
- func (x *UninterpretedOption) String() string
- func (m *UninterpretedOption) UnmarshalVT(dAtA []byte) error
- func (m *UninterpretedOption) UnmarshalVTUnsafe(dAtA []byte) error
- type UninterpretedOption_NamePart
- func (m *UninterpretedOption_NamePart) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UninterpretedOption_NamePart) CloneVT() *UninterpretedOption_NamePart
- func (this *UninterpretedOption_NamePart) EqualMessageVT(thatMsg any) bool
- func (this *UninterpretedOption_NamePart) EqualVT(that *UninterpretedOption_NamePart) bool
- func (x *UninterpretedOption_NamePart) GetIsExtension() bool
- func (x *UninterpretedOption_NamePart) GetNamePart() string
- func (x *UninterpretedOption_NamePart) MarshalProtoText() string
- func (m *UninterpretedOption_NamePart) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UninterpretedOption_NamePart) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *UninterpretedOption_NamePart) MarshalToVT(dAtA []byte) (int, error)
- func (m *UninterpretedOption_NamePart) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *UninterpretedOption_NamePart) MarshalVT() (dAtA []byte, err error)
- func (m *UninterpretedOption_NamePart) MarshalVTStrict() (dAtA []byte, err error)
- func (*UninterpretedOption_NamePart) ProtoMessage()
- func (x *UninterpretedOption_NamePart) Reset()
- func (m *UninterpretedOption_NamePart) SizeVT() (n int)
- func (x *UninterpretedOption_NamePart) String() string
- func (m *UninterpretedOption_NamePart) UnmarshalVT(dAtA []byte) error
- func (m *UninterpretedOption_NamePart) UnmarshalVTUnsafe(dAtA []byte) error
Constants ¶
const ( Default_MethodDescriptorProto_ClientStreaming = bool(false) Default_MethodDescriptorProto_ServerStreaming = bool(false) )
Default values for MethodDescriptorProto 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_Deprecated = bool(false) Default_FileOptions_CcEnableArenas = bool(true) )
Default values for FileOptions fields.
const ( Default_MessageOptions_MessageSetWireFormat = bool(false) Default_MessageOptions_NoStandardDescriptorAccessor = bool(false) Default_MessageOptions_Deprecated = bool(false) )
Default values for MessageOptions 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 FieldOptions fields.
const ( Default_EnumValueOptions_Deprecated = bool(false) Default_EnumValueOptions_DebugRedact = bool(false) )
Default values for EnumValueOptions fields.
const ( Default_MethodOptions_Deprecated = bool(false) Default_MethodOptions_IdempotencyLevel = MethodOptions_IDEMPOTENCY_UNKNOWN )
Default values for MethodOptions fields.
const (
Default_EnumOptions_Deprecated = bool(false)
)
Default values for EnumOptions fields.
const (
Default_ExtensionRangeOptions_Verification = ExtensionRangeOptions_UNVERIFIED
)
Default values for ExtensionRangeOptions fields.
const (
Default_ServiceOptions_Deprecated = bool(false)
)
Default values for ServiceOptions fields.
Variables ¶
var ( Edition_name = map[int32]string{ 0: "EDITION_UNKNOWN", 998: "EDITION_PROTO2", 999: "EDITION_PROTO3", 1000: "EDITION_2023", 1001: "EDITION_2024", 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", 2147483647: "EDITION_MAX", } Edition_value = map[string]int32{ "EDITION_UNKNOWN": 0, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, "EDITION_2024": 1001, "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, "EDITION_MAX": 2147483647, } )
Enum value maps for Edition.
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 ExtensionRangeOptions_VerificationState.
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_Type.
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 FieldDescriptorProto_Label.
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 FileOptions_OptimizeMode.
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_CType.
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_JSType.
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_OptionRetention.
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 FieldOptions_OptionTargetType.
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 MethodOptions_IdempotencyLevel.
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_FieldPresence.
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_EnumType.
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_RepeatedFieldEncoding.
var ( FeatureSet_Utf8Validation_name = map[int32]string{ 0: "UTF8_VALIDATION_UNKNOWN", 2: "VERIFY", 3: "NONE", } FeatureSet_Utf8Validation_value = map[string]int32{ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3, } )
Enum value maps for FeatureSet_Utf8Validation.
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_MessageEncoding.
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 FeatureSet_JsonFormat.
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, } )
Enum value maps for GeneratedCodeInfo_Annotation_Semantic.
Functions ¶
This section is empty.
Types ¶
type DescriptorProto ¶
type DescriptorProto struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Field []*FieldDescriptorProto `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"` Extension []*FieldDescriptorProto `protobuf:"bytes,6,rep,name=extension" json:"extension,omitempty"` NestedType []*DescriptorProto `protobuf:"bytes,3,rep,name=nested_type,json=nestedType" json:"nestedType,omitempty"` EnumType []*EnumDescriptorProto `protobuf:"bytes,4,rep,name=enum_type,json=enumType" json:"enumType,omitempty"` ExtensionRange []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range,json=extensionRange" json:"extensionRange,omitempty"` OneofDecl []*OneofDescriptorProto `protobuf:"bytes,8,rep,name=oneof_decl,json=oneofDecl" json:"oneofDecl,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:"reservedRange,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:"reservedName,omitempty"` // contains filtered or unexported fields }
Describes a message type.
func (*DescriptorProto) CloneMessageVT ¶ added in v0.2.1
func (m *DescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*DescriptorProto) CloneVT ¶ added in v0.2.1
func (m *DescriptorProto) CloneVT() *DescriptorProto
func (*DescriptorProto) EqualMessageVT ¶ added in v0.2.1
func (this *DescriptorProto) EqualMessageVT(thatMsg any) bool
func (*DescriptorProto) EqualVT ¶ added in v0.2.1
func (this *DescriptorProto) EqualVT(that *DescriptorProto) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *DescriptorProto) MarshalProtoText() string
func (*DescriptorProto) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *DescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DescriptorProto) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *DescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*DescriptorProto) MarshalToVT ¶ added in v0.2.1
func (m *DescriptorProto) MarshalToVT(dAtA []byte) (int, error)
func (*DescriptorProto) MarshalToVTStrict ¶ added in v0.2.1
func (m *DescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
func (*DescriptorProto) MarshalVT ¶ added in v0.2.1
func (m *DescriptorProto) MarshalVT() (dAtA []byte, err error)
func (*DescriptorProto) MarshalVTStrict ¶ added in v0.2.1
func (m *DescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
func (*DescriptorProto) ProtoMessage ¶
func (*DescriptorProto) ProtoMessage()
func (*DescriptorProto) Reset ¶
func (x *DescriptorProto) Reset()
func (*DescriptorProto) SizeVT ¶ added in v0.2.1
func (m *DescriptorProto) SizeVT() (n int)
func (*DescriptorProto) String ¶ added in v0.5.0
func (x *DescriptorProto) String() string
func (*DescriptorProto) UnmarshalVT ¶ added in v0.2.1
func (m *DescriptorProto) UnmarshalVT(dAtA []byte) error
func (*DescriptorProto) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *DescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
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) CloneMessageVT ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*DescriptorProto_ExtensionRange) CloneVT ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) CloneVT() *DescriptorProto_ExtensionRange
func (*DescriptorProto_ExtensionRange) EqualMessageVT ¶ added in v0.2.1
func (this *DescriptorProto_ExtensionRange) EqualMessageVT(thatMsg any) bool
func (*DescriptorProto_ExtensionRange) EqualVT ¶ added in v0.2.1
func (this *DescriptorProto_ExtensionRange) EqualVT(that *DescriptorProto_ExtensionRange) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *DescriptorProto_ExtensionRange) MarshalProtoText() string
func (*DescriptorProto_ExtensionRange) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DescriptorProto_ExtensionRange) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*DescriptorProto_ExtensionRange) MarshalToVT ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) MarshalToVT(dAtA []byte) (int, error)
func (*DescriptorProto_ExtensionRange) MarshalToVTStrict ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) MarshalToVTStrict(dAtA []byte) (int, error)
func (*DescriptorProto_ExtensionRange) MarshalVT ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) MarshalVT() (dAtA []byte, err error)
func (*DescriptorProto_ExtensionRange) MarshalVTStrict ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) MarshalVTStrict() (dAtA []byte, err error)
func (*DescriptorProto_ExtensionRange) ProtoMessage ¶
func (*DescriptorProto_ExtensionRange) ProtoMessage()
func (*DescriptorProto_ExtensionRange) Reset ¶
func (x *DescriptorProto_ExtensionRange) Reset()
func (*DescriptorProto_ExtensionRange) SizeVT ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) SizeVT() (n int)
func (*DescriptorProto_ExtensionRange) String ¶ added in v0.5.0
func (x *DescriptorProto_ExtensionRange) String() string
func (*DescriptorProto_ExtensionRange) UnmarshalVT ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) UnmarshalVT(dAtA []byte) error
func (*DescriptorProto_ExtensionRange) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *DescriptorProto_ExtensionRange) UnmarshalVTUnsafe(dAtA []byte) error
type DescriptorProto_ReservedRange ¶
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 }
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.
func (*DescriptorProto_ReservedRange) CloneMessageVT ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*DescriptorProto_ReservedRange) CloneVT ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) CloneVT() *DescriptorProto_ReservedRange
func (*DescriptorProto_ReservedRange) EqualMessageVT ¶ added in v0.2.1
func (this *DescriptorProto_ReservedRange) EqualMessageVT(thatMsg any) bool
func (*DescriptorProto_ReservedRange) EqualVT ¶ added in v0.2.1
func (this *DescriptorProto_ReservedRange) EqualVT(that *DescriptorProto_ReservedRange) bool
func (*DescriptorProto_ReservedRange) GetEnd ¶
func (x *DescriptorProto_ReservedRange) GetEnd() int32
func (*DescriptorProto_ReservedRange) GetStart ¶
func (x *DescriptorProto_ReservedRange) GetStart() int32
func (*DescriptorProto_ReservedRange) MarshalProtoText ¶ added in v0.5.0
func (x *DescriptorProto_ReservedRange) MarshalProtoText() string
func (*DescriptorProto_ReservedRange) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DescriptorProto_ReservedRange) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*DescriptorProto_ReservedRange) MarshalToVT ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) MarshalToVT(dAtA []byte) (int, error)
func (*DescriptorProto_ReservedRange) MarshalToVTStrict ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) MarshalToVTStrict(dAtA []byte) (int, error)
func (*DescriptorProto_ReservedRange) MarshalVT ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) MarshalVT() (dAtA []byte, err error)
func (*DescriptorProto_ReservedRange) MarshalVTStrict ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) MarshalVTStrict() (dAtA []byte, err error)
func (*DescriptorProto_ReservedRange) ProtoMessage ¶
func (*DescriptorProto_ReservedRange) ProtoMessage()
func (*DescriptorProto_ReservedRange) Reset ¶
func (x *DescriptorProto_ReservedRange) Reset()
func (*DescriptorProto_ReservedRange) SizeVT ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) SizeVT() (n int)
func (*DescriptorProto_ReservedRange) String ¶ added in v0.5.0
func (x *DescriptorProto_ReservedRange) String() string
func (*DescriptorProto_ReservedRange) UnmarshalVT ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) UnmarshalVT(dAtA []byte) error
func (*DescriptorProto_ReservedRange) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *DescriptorProto_ReservedRange) UnmarshalVTUnsafe(dAtA []byte) error
type Edition ¶
type Edition int32
The full set of known editions.
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 Edition_EDITION_2024 Edition = 1001 // 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 // Placeholder for specifying unbounded edition support. This should only // ever be used by plugins that can expect to never require any changes to // support a new edition. Edition_EDITION_MAX Edition = 2147483647 )
func (Edition) MarshalProtoText ¶ added in v0.5.0
type EnumDescriptorProto ¶
type EnumDescriptorProto struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` Options *EnumOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` // 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:"reservedRange,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:"reservedName,omitempty"` // contains filtered or unexported fields }
Describes an enum type.
func (*EnumDescriptorProto) CloneMessageVT ¶ added in v0.2.1
func (m *EnumDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EnumDescriptorProto) CloneVT ¶ added in v0.2.1
func (m *EnumDescriptorProto) CloneVT() *EnumDescriptorProto
func (*EnumDescriptorProto) EqualMessageVT ¶ added in v0.2.1
func (this *EnumDescriptorProto) EqualMessageVT(thatMsg any) bool
func (*EnumDescriptorProto) EqualVT ¶ added in v0.2.1
func (this *EnumDescriptorProto) EqualVT(that *EnumDescriptorProto) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *EnumDescriptorProto) MarshalProtoText() string
func (*EnumDescriptorProto) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *EnumDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EnumDescriptorProto) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *EnumDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*EnumDescriptorProto) MarshalToVT ¶ added in v0.2.1
func (m *EnumDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
func (*EnumDescriptorProto) MarshalToVTStrict ¶ added in v0.2.1
func (m *EnumDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
func (*EnumDescriptorProto) MarshalVT ¶ added in v0.2.1
func (m *EnumDescriptorProto) MarshalVT() (dAtA []byte, err error)
func (*EnumDescriptorProto) MarshalVTStrict ¶ added in v0.2.1
func (m *EnumDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
func (*EnumDescriptorProto) ProtoMessage ¶
func (*EnumDescriptorProto) ProtoMessage()
func (*EnumDescriptorProto) Reset ¶
func (x *EnumDescriptorProto) Reset()
func (*EnumDescriptorProto) SizeVT ¶ added in v0.2.1
func (m *EnumDescriptorProto) SizeVT() (n int)
func (*EnumDescriptorProto) String ¶ added in v0.5.0
func (x *EnumDescriptorProto) String() string
func (*EnumDescriptorProto) UnmarshalVT ¶ added in v0.2.1
func (m *EnumDescriptorProto) UnmarshalVT(dAtA []byte) error
func (*EnumDescriptorProto) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *EnumDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
type EnumDescriptorProto_EnumReservedRange ¶
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 }
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.
func (*EnumDescriptorProto_EnumReservedRange) CloneMessageVT ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EnumDescriptorProto_EnumReservedRange) CloneVT ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) CloneVT() *EnumDescriptorProto_EnumReservedRange
func (*EnumDescriptorProto_EnumReservedRange) EqualMessageVT ¶ added in v0.2.1
func (this *EnumDescriptorProto_EnumReservedRange) EqualMessageVT(thatMsg any) bool
func (*EnumDescriptorProto_EnumReservedRange) EqualVT ¶ added in v0.2.1
func (this *EnumDescriptorProto_EnumReservedRange) EqualVT(that *EnumDescriptorProto_EnumReservedRange) bool
func (*EnumDescriptorProto_EnumReservedRange) GetEnd ¶
func (x *EnumDescriptorProto_EnumReservedRange) GetEnd() int32
func (*EnumDescriptorProto_EnumReservedRange) GetStart ¶
func (x *EnumDescriptorProto_EnumReservedRange) GetStart() int32
func (*EnumDescriptorProto_EnumReservedRange) MarshalProtoText ¶ added in v0.5.0
func (x *EnumDescriptorProto_EnumReservedRange) MarshalProtoText() string
func (*EnumDescriptorProto_EnumReservedRange) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EnumDescriptorProto_EnumReservedRange) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*EnumDescriptorProto_EnumReservedRange) MarshalToVT ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) MarshalToVT(dAtA []byte) (int, error)
func (*EnumDescriptorProto_EnumReservedRange) MarshalToVTStrict ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) MarshalToVTStrict(dAtA []byte) (int, error)
func (*EnumDescriptorProto_EnumReservedRange) MarshalVT ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) MarshalVT() (dAtA []byte, err error)
func (*EnumDescriptorProto_EnumReservedRange) MarshalVTStrict ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) MarshalVTStrict() (dAtA []byte, err error)
func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage ¶
func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage()
func (*EnumDescriptorProto_EnumReservedRange) Reset ¶
func (x *EnumDescriptorProto_EnumReservedRange) Reset()
func (*EnumDescriptorProto_EnumReservedRange) SizeVT ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) SizeVT() (n int)
func (*EnumDescriptorProto_EnumReservedRange) String ¶ added in v0.5.0
func (x *EnumDescriptorProto_EnumReservedRange) String() string
func (*EnumDescriptorProto_EnumReservedRange) UnmarshalVT ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) UnmarshalVT(dAtA []byte) error
func (*EnumDescriptorProto_EnumReservedRange) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *EnumDescriptorProto_EnumReservedRange) UnmarshalVTUnsafe(dAtA []byte) error
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:"allowAlias,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 github.com/aperturerobotics/protobuf-go-lite/types/descriptorpb/descriptor.proto. DeprecatedLegacyJsonFieldConflicts *bool `` /* 159-byte string literal not displayed */ // 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:"uninterpretedOption,omitempty"` // contains filtered or unexported fields }
func (*EnumOptions) CloneMessageVT ¶ added in v0.2.1
func (m *EnumOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EnumOptions) CloneVT ¶ added in v0.2.1
func (m *EnumOptions) CloneVT() *EnumOptions
func (*EnumOptions) EqualMessageVT ¶ added in v0.2.1
func (this *EnumOptions) EqualMessageVT(thatMsg any) bool
func (*EnumOptions) EqualVT ¶ added in v0.2.1
func (this *EnumOptions) EqualVT(that *EnumOptions) bool
func (*EnumOptions) GetAllowAlias ¶
func (x *EnumOptions) GetAllowAlias() bool
func (*EnumOptions) GetDeprecated ¶
func (x *EnumOptions) GetDeprecated() bool
func (*EnumOptions) GetDeprecatedLegacyJsonFieldConflicts
deprecated
func (x *EnumOptions) GetDeprecatedLegacyJsonFieldConflicts() bool
Deprecated: Marked as deprecated in github.com/aperturerobotics/protobuf-go-lite/types/descriptorpb/descriptor.proto.
func (*EnumOptions) GetFeatures ¶
func (x *EnumOptions) GetFeatures() *FeatureSet
func (*EnumOptions) GetUninterpretedOption ¶
func (x *EnumOptions) GetUninterpretedOption() []*UninterpretedOption
func (*EnumOptions) MarshalProtoText ¶ added in v0.5.0
func (x *EnumOptions) MarshalProtoText() string
func (*EnumOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *EnumOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EnumOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *EnumOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*EnumOptions) MarshalToVT ¶ added in v0.2.1
func (m *EnumOptions) MarshalToVT(dAtA []byte) (int, error)
func (*EnumOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *EnumOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*EnumOptions) MarshalVT ¶ added in v0.2.1
func (m *EnumOptions) MarshalVT() (dAtA []byte, err error)
func (*EnumOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *EnumOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*EnumOptions) ProtoMessage ¶
func (*EnumOptions) ProtoMessage()
func (*EnumOptions) Reset ¶
func (x *EnumOptions) Reset()
func (*EnumOptions) SizeVT ¶ added in v0.2.1
func (m *EnumOptions) SizeVT() (n int)
func (*EnumOptions) String ¶ added in v0.5.0
func (x *EnumOptions) String() string
func (*EnumOptions) UnmarshalVT ¶ added in v0.2.1
func (m *EnumOptions) UnmarshalVT(dAtA []byte) error
func (*EnumOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *EnumOptions) UnmarshalVTUnsafe(dAtA []byte) error
type EnumValueDescriptorProto ¶
type EnumValueDescriptorProto struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"` Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` // contains filtered or unexported fields }
Describes a value within an enum.
func (*EnumValueDescriptorProto) CloneMessageVT ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EnumValueDescriptorProto) CloneVT ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) CloneVT() *EnumValueDescriptorProto
func (*EnumValueDescriptorProto) EqualMessageVT ¶ added in v0.2.1
func (this *EnumValueDescriptorProto) EqualMessageVT(thatMsg any) bool
func (*EnumValueDescriptorProto) EqualVT ¶ added in v0.2.1
func (this *EnumValueDescriptorProto) EqualVT(that *EnumValueDescriptorProto) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *EnumValueDescriptorProto) MarshalProtoText() string
func (*EnumValueDescriptorProto) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EnumValueDescriptorProto) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*EnumValueDescriptorProto) MarshalToVT ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
func (*EnumValueDescriptorProto) MarshalToVTStrict ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
func (*EnumValueDescriptorProto) MarshalVT ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) MarshalVT() (dAtA []byte, err error)
func (*EnumValueDescriptorProto) MarshalVTStrict ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
func (*EnumValueDescriptorProto) ProtoMessage ¶
func (*EnumValueDescriptorProto) ProtoMessage()
func (*EnumValueDescriptorProto) Reset ¶
func (x *EnumValueDescriptorProto) Reset()
func (*EnumValueDescriptorProto) SizeVT ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) SizeVT() (n int)
func (*EnumValueDescriptorProto) String ¶ added in v0.5.0
func (x *EnumValueDescriptorProto) String() string
func (*EnumValueDescriptorProto) UnmarshalVT ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) UnmarshalVT(dAtA []byte) error
func (*EnumValueDescriptorProto) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *EnumValueDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
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:"debugRedact,omitempty"` // The parser stores options it doesn't recognize here. See above. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpretedOption,omitempty"` // contains filtered or unexported fields }
func (*EnumValueOptions) CloneMessageVT ¶ added in v0.2.1
func (m *EnumValueOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*EnumValueOptions) CloneVT ¶ added in v0.2.1
func (m *EnumValueOptions) CloneVT() *EnumValueOptions
func (*EnumValueOptions) EqualMessageVT ¶ added in v0.2.1
func (this *EnumValueOptions) EqualMessageVT(thatMsg any) bool
func (*EnumValueOptions) EqualVT ¶ added in v0.2.1
func (this *EnumValueOptions) EqualVT(that *EnumValueOptions) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *EnumValueOptions) MarshalProtoText() string
func (*EnumValueOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *EnumValueOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EnumValueOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *EnumValueOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*EnumValueOptions) MarshalToVT ¶ added in v0.2.1
func (m *EnumValueOptions) MarshalToVT(dAtA []byte) (int, error)
func (*EnumValueOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *EnumValueOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*EnumValueOptions) MarshalVT ¶ added in v0.2.1
func (m *EnumValueOptions) MarshalVT() (dAtA []byte, err error)
func (*EnumValueOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *EnumValueOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*EnumValueOptions) ProtoMessage ¶
func (*EnumValueOptions) ProtoMessage()
func (*EnumValueOptions) Reset ¶
func (x *EnumValueOptions) Reset()
func (*EnumValueOptions) SizeVT ¶ added in v0.2.1
func (m *EnumValueOptions) SizeVT() (n int)
func (*EnumValueOptions) String ¶ added in v0.5.0
func (x *EnumValueOptions) String() string
func (*EnumValueOptions) UnmarshalVT ¶ added in v0.2.1
func (m *EnumValueOptions) UnmarshalVT(dAtA []byte) error
func (*EnumValueOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *EnumValueOptions) UnmarshalVTUnsafe(dAtA []byte) error
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:"uninterpretedOption,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,def=1" json:"verification,omitempty"` // contains filtered or unexported fields }
func (*ExtensionRangeOptions) CloneMessageVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ExtensionRangeOptions) CloneVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions) CloneVT() *ExtensionRangeOptions
func (*ExtensionRangeOptions) EqualMessageVT ¶ added in v0.2.1
func (this *ExtensionRangeOptions) EqualMessageVT(thatMsg any) bool
func (*ExtensionRangeOptions) EqualVT ¶ added in v0.2.1
func (this *ExtensionRangeOptions) EqualVT(that *ExtensionRangeOptions) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *ExtensionRangeOptions) MarshalProtoText() string
func (*ExtensionRangeOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExtensionRangeOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *ExtensionRangeOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ExtensionRangeOptions) MarshalToVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions) MarshalToVT(dAtA []byte) (int, error)
func (*ExtensionRangeOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *ExtensionRangeOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ExtensionRangeOptions) MarshalVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions) MarshalVT() (dAtA []byte, err error)
func (*ExtensionRangeOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *ExtensionRangeOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*ExtensionRangeOptions) ProtoMessage ¶
func (*ExtensionRangeOptions) ProtoMessage()
func (*ExtensionRangeOptions) Reset ¶
func (x *ExtensionRangeOptions) Reset()
func (*ExtensionRangeOptions) SizeVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions) SizeVT() (n int)
func (*ExtensionRangeOptions) String ¶ added in v0.5.0
func (x *ExtensionRangeOptions) String() string
func (*ExtensionRangeOptions) UnmarshalVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions) UnmarshalVT(dAtA []byte) error
func (*ExtensionRangeOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *ExtensionRangeOptions) UnmarshalVTUnsafe(dAtA []byte) error
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:"fullName,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) CloneMessageVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ExtensionRangeOptions_Declaration) CloneVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) CloneVT() *ExtensionRangeOptions_Declaration
func (*ExtensionRangeOptions_Declaration) EqualMessageVT ¶ added in v0.2.1
func (this *ExtensionRangeOptions_Declaration) EqualMessageVT(thatMsg any) bool
func (*ExtensionRangeOptions_Declaration) EqualVT ¶ added in v0.2.1
func (this *ExtensionRangeOptions_Declaration) EqualVT(that *ExtensionRangeOptions_Declaration) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *ExtensionRangeOptions_Declaration) MarshalProtoText() string
func (*ExtensionRangeOptions_Declaration) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExtensionRangeOptions_Declaration) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ExtensionRangeOptions_Declaration) MarshalToVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) MarshalToVT(dAtA []byte) (int, error)
func (*ExtensionRangeOptions_Declaration) MarshalToVTStrict ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ExtensionRangeOptions_Declaration) MarshalVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) MarshalVT() (dAtA []byte, err error)
func (*ExtensionRangeOptions_Declaration) MarshalVTStrict ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) MarshalVTStrict() (dAtA []byte, err error)
func (*ExtensionRangeOptions_Declaration) ProtoMessage ¶
func (*ExtensionRangeOptions_Declaration) ProtoMessage()
func (*ExtensionRangeOptions_Declaration) Reset ¶
func (x *ExtensionRangeOptions_Declaration) Reset()
func (*ExtensionRangeOptions_Declaration) SizeVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) SizeVT() (n int)
func (*ExtensionRangeOptions_Declaration) String ¶ added in v0.5.0
func (x *ExtensionRangeOptions_Declaration) String() string
func (*ExtensionRangeOptions_Declaration) UnmarshalVT ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) UnmarshalVT(dAtA []byte) error
func (*ExtensionRangeOptions_Declaration) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *ExtensionRangeOptions_Declaration) UnmarshalVTUnsafe(dAtA []byte) error
type ExtensionRangeOptions_VerificationState ¶
type ExtensionRangeOptions_VerificationState int32
The verification state of the extension range.
const ( // All the extensions of the range must be declared. ExtensionRangeOptions_DECLARATION ExtensionRangeOptions_VerificationState = 0 ExtensionRangeOptions_UNVERIFIED ExtensionRangeOptions_VerificationState = 1 )
func (ExtensionRangeOptions_VerificationState) MarshalProtoText ¶ added in v0.5.0
func (x ExtensionRangeOptions_VerificationState) MarshalProtoText() string
func (ExtensionRangeOptions_VerificationState) String ¶
func (x ExtensionRangeOptions_VerificationState) String() string
type FeatureSet ¶
type FeatureSet struct { FieldPresence *FeatureSet_FieldPresence `protobuf:"varint,1,opt,name=field_presence,json=fieldPresence" json:"fieldPresence,omitempty"` EnumType *FeatureSet_EnumType `protobuf:"varint,2,opt,name=enum_type,json=enumType" json:"enumType,omitempty"` RepeatedFieldEncoding *FeatureSet_RepeatedFieldEncoding `protobuf:"varint,3,opt,name=repeated_field_encoding,json=repeatedFieldEncoding" json:"repeatedFieldEncoding,omitempty"` Utf8Validation *FeatureSet_Utf8Validation `protobuf:"varint,4,opt,name=utf8_validation,json=utf8Validation" json:"utf8Validation,omitempty"` MessageEncoding *FeatureSet_MessageEncoding `protobuf:"varint,5,opt,name=message_encoding,json=messageEncoding" json:"messageEncoding,omitempty"` JsonFormat *FeatureSet_JsonFormat `protobuf:"varint,6,opt,name=json_format,json=jsonFormat" json:"jsonFormat,omitempty"` // contains filtered or unexported fields }
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.
func (*FeatureSet) CloneMessageVT ¶ added in v0.2.1
func (m *FeatureSet) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FeatureSet) CloneVT ¶ added in v0.2.1
func (m *FeatureSet) CloneVT() *FeatureSet
func (*FeatureSet) EqualMessageVT ¶ added in v0.2.1
func (this *FeatureSet) EqualMessageVT(thatMsg any) bool
func (*FeatureSet) EqualVT ¶ added in v0.2.1
func (this *FeatureSet) EqualVT(that *FeatureSet) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *FeatureSet) MarshalProtoText() string
func (*FeatureSet) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FeatureSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FeatureSet) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FeatureSet) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FeatureSet) MarshalToVT ¶ added in v0.2.1
func (m *FeatureSet) MarshalToVT(dAtA []byte) (int, error)
func (*FeatureSet) MarshalToVTStrict ¶ added in v0.2.1
func (m *FeatureSet) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FeatureSet) MarshalVT ¶ added in v0.2.1
func (m *FeatureSet) MarshalVT() (dAtA []byte, err error)
func (*FeatureSet) MarshalVTStrict ¶ added in v0.2.1
func (m *FeatureSet) MarshalVTStrict() (dAtA []byte, err error)
func (*FeatureSet) ProtoMessage ¶
func (*FeatureSet) ProtoMessage()
func (*FeatureSet) Reset ¶
func (x *FeatureSet) Reset()
func (*FeatureSet) SizeVT ¶ added in v0.2.1
func (m *FeatureSet) SizeVT() (n int)
func (*FeatureSet) String ¶ added in v0.5.0
func (x *FeatureSet) String() string
func (*FeatureSet) UnmarshalVT ¶ added in v0.2.1
func (m *FeatureSet) UnmarshalVT(dAtA []byte) error
func (*FeatureSet) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FeatureSet) UnmarshalVTUnsafe(dAtA []byte) error
type FeatureSetDefaults ¶
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" json:"minimumEdition,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" json:"maximumEdition,omitempty"` // contains filtered or unexported fields }
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.
func (*FeatureSetDefaults) CloneMessageVT ¶ added in v0.2.1
func (m *FeatureSetDefaults) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FeatureSetDefaults) CloneVT ¶ added in v0.2.1
func (m *FeatureSetDefaults) CloneVT() *FeatureSetDefaults
func (*FeatureSetDefaults) EqualMessageVT ¶ added in v0.2.1
func (this *FeatureSetDefaults) EqualMessageVT(thatMsg any) bool
func (*FeatureSetDefaults) EqualVT ¶ added in v0.2.1
func (this *FeatureSetDefaults) EqualVT(that *FeatureSetDefaults) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *FeatureSetDefaults) MarshalProtoText() string
func (*FeatureSetDefaults) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FeatureSetDefaults) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FeatureSetDefaults) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FeatureSetDefaults) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FeatureSetDefaults) MarshalToVT ¶ added in v0.2.1
func (m *FeatureSetDefaults) MarshalToVT(dAtA []byte) (int, error)
func (*FeatureSetDefaults) MarshalToVTStrict ¶ added in v0.2.1
func (m *FeatureSetDefaults) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FeatureSetDefaults) MarshalVT ¶ added in v0.2.1
func (m *FeatureSetDefaults) MarshalVT() (dAtA []byte, err error)
func (*FeatureSetDefaults) MarshalVTStrict ¶ added in v0.2.1
func (m *FeatureSetDefaults) MarshalVTStrict() (dAtA []byte, err error)
func (*FeatureSetDefaults) ProtoMessage ¶
func (*FeatureSetDefaults) ProtoMessage()
func (*FeatureSetDefaults) Reset ¶
func (x *FeatureSetDefaults) Reset()
func (*FeatureSetDefaults) SizeVT ¶ added in v0.2.1
func (m *FeatureSetDefaults) SizeVT() (n int)
func (*FeatureSetDefaults) String ¶ added in v0.5.0
func (x *FeatureSetDefaults) String() string
func (*FeatureSetDefaults) UnmarshalVT ¶ added in v0.2.1
func (m *FeatureSetDefaults) UnmarshalVT(dAtA []byte) error
func (*FeatureSetDefaults) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FeatureSetDefaults) UnmarshalVTUnsafe(dAtA []byte) error
type FeatureSetDefaults_FeatureSetEditionDefault ¶
type FeatureSetDefaults_FeatureSetEditionDefault struct { Edition *Edition `protobuf:"varint,3,opt,name=edition" json:"edition,omitempty"` Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"` // contains filtered or unexported fields }
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.
func (*FeatureSetDefaults_FeatureSetEditionDefault) CloneMessageVT ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FeatureSetDefaults_FeatureSetEditionDefault) CloneVT ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) CloneVT() *FeatureSetDefaults_FeatureSetEditionDefault
func (*FeatureSetDefaults_FeatureSetEditionDefault) EqualMessageVT ¶ added in v0.2.1
func (this *FeatureSetDefaults_FeatureSetEditionDefault) EqualMessageVT(thatMsg any) bool
func (*FeatureSetDefaults_FeatureSetEditionDefault) EqualVT ¶ added in v0.2.1
func (this *FeatureSetDefaults_FeatureSetEditionDefault) EqualVT(that *FeatureSetDefaults_FeatureSetEditionDefault) bool
func (*FeatureSetDefaults_FeatureSetEditionDefault) GetEdition ¶
func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition
func (*FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures ¶
func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures() *FeatureSet
func (*FeatureSetDefaults_FeatureSetEditionDefault) MarshalProtoText ¶ added in v0.5.0
func (x *FeatureSetDefaults_FeatureSetEditionDefault) MarshalProtoText() string
func (*FeatureSetDefaults_FeatureSetEditionDefault) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FeatureSetDefaults_FeatureSetEditionDefault) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FeatureSetDefaults_FeatureSetEditionDefault) MarshalToVT ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalToVT(dAtA []byte) (int, error)
func (*FeatureSetDefaults_FeatureSetEditionDefault) MarshalToVTStrict ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FeatureSetDefaults_FeatureSetEditionDefault) MarshalVT ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalVT() (dAtA []byte, err error)
func (*FeatureSetDefaults_FeatureSetEditionDefault) MarshalVTStrict ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) MarshalVTStrict() (dAtA []byte, err error)
func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage ¶
func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage()
func (*FeatureSetDefaults_FeatureSetEditionDefault) Reset ¶
func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset()
func (*FeatureSetDefaults_FeatureSetEditionDefault) SizeVT ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) SizeVT() (n int)
func (*FeatureSetDefaults_FeatureSetEditionDefault) String ¶ added in v0.5.0
func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string
func (*FeatureSetDefaults_FeatureSetEditionDefault) UnmarshalVT ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) UnmarshalVT(dAtA []byte) error
func (*FeatureSetDefaults_FeatureSetEditionDefault) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FeatureSetDefaults_FeatureSetEditionDefault) UnmarshalVTUnsafe(dAtA []byte) error
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) Enum ¶
func (x FeatureSet_EnumType) Enum() *FeatureSet_EnumType
func (FeatureSet_EnumType) MarshalProtoText ¶ added in v0.5.0
func (x FeatureSet_EnumType) MarshalProtoText() string
func (FeatureSet_EnumType) String ¶
func (x FeatureSet_EnumType) String() string
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) Enum ¶
func (x FeatureSet_FieldPresence) Enum() *FeatureSet_FieldPresence
func (FeatureSet_FieldPresence) MarshalProtoText ¶ added in v0.5.0
func (x FeatureSet_FieldPresence) MarshalProtoText() string
func (FeatureSet_FieldPresence) String ¶
func (x FeatureSet_FieldPresence) String() string
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) Enum ¶
func (x FeatureSet_JsonFormat) Enum() *FeatureSet_JsonFormat
func (FeatureSet_JsonFormat) MarshalProtoText ¶ added in v0.5.0
func (x FeatureSet_JsonFormat) MarshalProtoText() string
func (FeatureSet_JsonFormat) String ¶
func (x FeatureSet_JsonFormat) String() string
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) Enum ¶
func (x FeatureSet_MessageEncoding) Enum() *FeatureSet_MessageEncoding
func (FeatureSet_MessageEncoding) MarshalProtoText ¶ added in v0.5.0
func (x FeatureSet_MessageEncoding) MarshalProtoText() string
func (FeatureSet_MessageEncoding) String ¶
func (x FeatureSet_MessageEncoding) String() string
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) Enum ¶
func (x FeatureSet_RepeatedFieldEncoding) Enum() *FeatureSet_RepeatedFieldEncoding
func (FeatureSet_RepeatedFieldEncoding) MarshalProtoText ¶ added in v0.5.0
func (x FeatureSet_RepeatedFieldEncoding) MarshalProtoText() string
func (FeatureSet_RepeatedFieldEncoding) String ¶
func (x FeatureSet_RepeatedFieldEncoding) String() string
type FeatureSet_Utf8Validation ¶
type FeatureSet_Utf8Validation int32
const ( FeatureSet_UTF8_VALIDATION_UNKNOWN FeatureSet_Utf8Validation = 0 FeatureSet_VERIFY FeatureSet_Utf8Validation = 2 FeatureSet_NONE FeatureSet_Utf8Validation = 3 )
func (FeatureSet_Utf8Validation) Enum ¶
func (x FeatureSet_Utf8Validation) Enum() *FeatureSet_Utf8Validation
func (FeatureSet_Utf8Validation) MarshalProtoText ¶ added in v0.5.0
func (x FeatureSet_Utf8Validation) MarshalProtoText() string
func (FeatureSet_Utf8Validation) String ¶
func (x FeatureSet_Utf8Validation) String() string
type FieldDescriptorProto ¶
type FieldDescriptorProto struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Number *int32 `protobuf:"varint,3,opt,name=number" json:"number,omitempty"` Label *FieldDescriptorProto_Label `protobuf:"varint,4,opt,name=label" 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" 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:"typeName,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:"defaultValue,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:"oneofIndex,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:"jsonName,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 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:"proto3Optional,omitempty"` // contains filtered or unexported fields }
Describes a field within a message.
func (*FieldDescriptorProto) CloneMessageVT ¶ added in v0.2.1
func (m *FieldDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FieldDescriptorProto) CloneVT ¶ added in v0.2.1
func (m *FieldDescriptorProto) CloneVT() *FieldDescriptorProto
func (*FieldDescriptorProto) EqualMessageVT ¶ added in v0.2.1
func (this *FieldDescriptorProto) EqualMessageVT(thatMsg any) bool
func (*FieldDescriptorProto) EqualVT ¶ added in v0.2.1
func (this *FieldDescriptorProto) EqualVT(that *FieldDescriptorProto) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *FieldDescriptorProto) MarshalProtoText() string
func (*FieldDescriptorProto) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FieldDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FieldDescriptorProto) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FieldDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FieldDescriptorProto) MarshalToVT ¶ added in v0.2.1
func (m *FieldDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
func (*FieldDescriptorProto) MarshalToVTStrict ¶ added in v0.2.1
func (m *FieldDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FieldDescriptorProto) MarshalVT ¶ added in v0.2.1
func (m *FieldDescriptorProto) MarshalVT() (dAtA []byte, err error)
func (*FieldDescriptorProto) MarshalVTStrict ¶ added in v0.2.1
func (m *FieldDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
func (*FieldDescriptorProto) ProtoMessage ¶
func (*FieldDescriptorProto) ProtoMessage()
func (*FieldDescriptorProto) Reset ¶
func (x *FieldDescriptorProto) Reset()
func (*FieldDescriptorProto) SizeVT ¶ added in v0.2.1
func (m *FieldDescriptorProto) SizeVT() (n int)
func (*FieldDescriptorProto) String ¶ added in v0.5.0
func (x *FieldDescriptorProto) String() string
func (*FieldDescriptorProto) UnmarshalVT ¶ added in v0.2.1
func (m *FieldDescriptorProto) UnmarshalVT(dAtA []byte) error
func (*FieldDescriptorProto) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FieldDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
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) Enum ¶
func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label
func (FieldDescriptorProto_Label) MarshalProtoText ¶ added in v0.5.0
func (x FieldDescriptorProto_Label) MarshalProtoText() string
func (FieldDescriptorProto_Label) String ¶
func (x FieldDescriptorProto_Label) String() string
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) Enum ¶
func (x FieldDescriptorProto_Type) Enum() *FieldDescriptorProto_Type
func (FieldDescriptorProto_Type) MarshalProtoText ¶ added in v0.5.0
func (x FieldDescriptorProto_Type) MarshalProtoText() string
func (FieldDescriptorProto_Type) String ¶
func (x FieldDescriptorProto_Type) String() string
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,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,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 lazy message fields are still eagerly verified to check // ill-formed wireformat or missing required fields. Calling IsInitialized() // on the outer message would fail if the inner message has missing required // fields. Failed verification would result in parsing failure (except when // uninitialized messages are acceptable). 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:"unverifiedLazy,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:"debugRedact,omitempty"` Retention *FieldOptions_OptionRetention `protobuf:"varint,17,opt,name=retention" json:"retention,omitempty"` Targets []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets" json:"targets,omitempty"` EditionDefaults []*FieldOptions_EditionDefault `protobuf:"bytes,20,rep,name=edition_defaults,json=editionDefaults" json:"editionDefaults,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:"uninterpretedOption,omitempty"` // contains filtered or unexported fields }
func (*FieldOptions) CloneMessageVT ¶ added in v0.2.1
func (m *FieldOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FieldOptions) CloneVT ¶ added in v0.2.1
func (m *FieldOptions) CloneVT() *FieldOptions
func (*FieldOptions) EqualMessageVT ¶ added in v0.2.1
func (this *FieldOptions) EqualMessageVT(thatMsg any) bool
func (*FieldOptions) EqualVT ¶ added in v0.2.1
func (this *FieldOptions) EqualVT(that *FieldOptions) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *FieldOptions) MarshalProtoText() string
func (*FieldOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FieldOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FieldOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FieldOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FieldOptions) MarshalToVT ¶ added in v0.2.1
func (m *FieldOptions) MarshalToVT(dAtA []byte) (int, error)
func (*FieldOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *FieldOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FieldOptions) MarshalVT ¶ added in v0.2.1
func (m *FieldOptions) MarshalVT() (dAtA []byte, err error)
func (*FieldOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *FieldOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*FieldOptions) ProtoMessage ¶
func (*FieldOptions) ProtoMessage()
func (*FieldOptions) Reset ¶
func (x *FieldOptions) Reset()
func (*FieldOptions) SizeVT ¶ added in v0.2.1
func (m *FieldOptions) SizeVT() (n int)
func (*FieldOptions) String ¶ added in v0.5.0
func (x *FieldOptions) String() string
func (*FieldOptions) UnmarshalVT ¶ added in v0.2.1
func (m *FieldOptions) UnmarshalVT(dAtA []byte) error
func (*FieldOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FieldOptions) UnmarshalVTUnsafe(dAtA []byte) error
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) Enum ¶
func (x FieldOptions_CType) Enum() *FieldOptions_CType
func (FieldOptions_CType) MarshalProtoText ¶ added in v0.5.0
func (x FieldOptions_CType) MarshalProtoText() string
func (FieldOptions_CType) String ¶
func (x FieldOptions_CType) String() string
type FieldOptions_EditionDefault ¶
type FieldOptions_EditionDefault struct { Edition *Edition `protobuf:"varint,3,opt,name=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) CloneMessageVT ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FieldOptions_EditionDefault) CloneVT ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) CloneVT() *FieldOptions_EditionDefault
func (*FieldOptions_EditionDefault) EqualMessageVT ¶ added in v0.2.1
func (this *FieldOptions_EditionDefault) EqualMessageVT(thatMsg any) bool
func (*FieldOptions_EditionDefault) EqualVT ¶ added in v0.2.1
func (this *FieldOptions_EditionDefault) EqualVT(that *FieldOptions_EditionDefault) bool
func (*FieldOptions_EditionDefault) GetEdition ¶
func (x *FieldOptions_EditionDefault) GetEdition() Edition
func (*FieldOptions_EditionDefault) GetValue ¶
func (x *FieldOptions_EditionDefault) GetValue() string
func (*FieldOptions_EditionDefault) MarshalProtoText ¶ added in v0.5.0
func (x *FieldOptions_EditionDefault) MarshalProtoText() string
func (*FieldOptions_EditionDefault) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FieldOptions_EditionDefault) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FieldOptions_EditionDefault) MarshalToVT ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) MarshalToVT(dAtA []byte) (int, error)
func (*FieldOptions_EditionDefault) MarshalToVTStrict ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FieldOptions_EditionDefault) MarshalVT ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) MarshalVT() (dAtA []byte, err error)
func (*FieldOptions_EditionDefault) MarshalVTStrict ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) MarshalVTStrict() (dAtA []byte, err error)
func (*FieldOptions_EditionDefault) ProtoMessage ¶
func (*FieldOptions_EditionDefault) ProtoMessage()
func (*FieldOptions_EditionDefault) Reset ¶
func (x *FieldOptions_EditionDefault) Reset()
func (*FieldOptions_EditionDefault) SizeVT ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) SizeVT() (n int)
func (*FieldOptions_EditionDefault) String ¶ added in v0.5.0
func (x *FieldOptions_EditionDefault) String() string
func (*FieldOptions_EditionDefault) UnmarshalVT ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) UnmarshalVT(dAtA []byte) error
func (*FieldOptions_EditionDefault) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FieldOptions_EditionDefault) UnmarshalVTUnsafe(dAtA []byte) error
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) Enum ¶
func (x FieldOptions_JSType) Enum() *FieldOptions_JSType
func (FieldOptions_JSType) MarshalProtoText ¶ added in v0.5.0
func (x FieldOptions_JSType) MarshalProtoText() string
func (FieldOptions_JSType) String ¶
func (x FieldOptions_JSType) String() string
type FieldOptions_OptionRetention ¶
type FieldOptions_OptionRetention int32
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).
const ( FieldOptions_RETENTION_UNKNOWN FieldOptions_OptionRetention = 0 FieldOptions_RETENTION_RUNTIME FieldOptions_OptionRetention = 1 FieldOptions_RETENTION_SOURCE FieldOptions_OptionRetention = 2 )
func (FieldOptions_OptionRetention) Enum ¶
func (x FieldOptions_OptionRetention) Enum() *FieldOptions_OptionRetention
func (FieldOptions_OptionRetention) MarshalProtoText ¶ added in v0.5.0
func (x FieldOptions_OptionRetention) MarshalProtoText() string
func (FieldOptions_OptionRetention) String ¶
func (x FieldOptions_OptionRetention) String() string
type FieldOptions_OptionTargetType ¶
type FieldOptions_OptionTargetType int32
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).
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) Enum ¶
func (x FieldOptions_OptionTargetType) Enum() *FieldOptions_OptionTargetType
func (FieldOptions_OptionTargetType) MarshalProtoText ¶ added in v0.5.0
func (x FieldOptions_OptionTargetType) MarshalProtoText() string
func (FieldOptions_OptionTargetType) String ¶
func (x FieldOptions_OptionTargetType) String() string
type FileDescriptorProto ¶
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:"publicDependency,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:"weakDependency,omitempty"` // All top-level definitions in this file. MessageType []*DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"messageType,omitempty"` EnumType []*EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enumType,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:"sourceCodeInfo,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" json:"edition,omitempty"` // contains filtered or unexported fields }
Describes a complete .proto file.
func (*FileDescriptorProto) CloneMessageVT ¶ added in v0.2.1
func (m *FileDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FileDescriptorProto) CloneVT ¶ added in v0.2.1
func (m *FileDescriptorProto) CloneVT() *FileDescriptorProto
func (*FileDescriptorProto) EqualMessageVT ¶ added in v0.2.1
func (this *FileDescriptorProto) EqualMessageVT(thatMsg any) bool
func (*FileDescriptorProto) EqualVT ¶ added in v0.2.1
func (this *FileDescriptorProto) EqualVT(that *FileDescriptorProto) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *FileDescriptorProto) MarshalProtoText() string
func (*FileDescriptorProto) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FileDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FileDescriptorProto) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FileDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FileDescriptorProto) MarshalToVT ¶ added in v0.2.1
func (m *FileDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
func (*FileDescriptorProto) MarshalToVTStrict ¶ added in v0.2.1
func (m *FileDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FileDescriptorProto) MarshalVT ¶ added in v0.2.1
func (m *FileDescriptorProto) MarshalVT() (dAtA []byte, err error)
func (*FileDescriptorProto) MarshalVTStrict ¶ added in v0.2.1
func (m *FileDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
func (*FileDescriptorProto) ProtoMessage ¶
func (*FileDescriptorProto) ProtoMessage()
func (*FileDescriptorProto) Reset ¶
func (x *FileDescriptorProto) Reset()
func (*FileDescriptorProto) SizeVT ¶ added in v0.2.1
func (m *FileDescriptorProto) SizeVT() (n int)
func (*FileDescriptorProto) String ¶ added in v0.5.0
func (x *FileDescriptorProto) String() string
func (*FileDescriptorProto) UnmarshalVT ¶ added in v0.2.1
func (m *FileDescriptorProto) UnmarshalVT(dAtA []byte) error
func (*FileDescriptorProto) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FileDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
type FileDescriptorSet ¶
type FileDescriptorSet struct { File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` // contains filtered or unexported fields }
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
func (*FileDescriptorSet) CloneMessageVT ¶ added in v0.2.1
func (m *FileDescriptorSet) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FileDescriptorSet) CloneVT ¶ added in v0.2.1
func (m *FileDescriptorSet) CloneVT() *FileDescriptorSet
func (*FileDescriptorSet) EqualMessageVT ¶ added in v0.2.1
func (this *FileDescriptorSet) EqualMessageVT(thatMsg any) bool
func (*FileDescriptorSet) EqualVT ¶ added in v0.2.1
func (this *FileDescriptorSet) EqualVT(that *FileDescriptorSet) bool
func (*FileDescriptorSet) GetFile ¶
func (x *FileDescriptorSet) GetFile() []*FileDescriptorProto
func (*FileDescriptorSet) MarshalProtoText ¶ added in v0.5.0
func (x *FileDescriptorSet) MarshalProtoText() string
func (*FileDescriptorSet) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FileDescriptorSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FileDescriptorSet) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FileDescriptorSet) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FileDescriptorSet) MarshalToVT ¶ added in v0.2.1
func (m *FileDescriptorSet) MarshalToVT(dAtA []byte) (int, error)
func (*FileDescriptorSet) MarshalToVTStrict ¶ added in v0.2.1
func (m *FileDescriptorSet) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FileDescriptorSet) MarshalVT ¶ added in v0.2.1
func (m *FileDescriptorSet) MarshalVT() (dAtA []byte, err error)
func (*FileDescriptorSet) MarshalVTStrict ¶ added in v0.2.1
func (m *FileDescriptorSet) MarshalVTStrict() (dAtA []byte, err error)
func (*FileDescriptorSet) ProtoMessage ¶
func (*FileDescriptorSet) ProtoMessage()
func (*FileDescriptorSet) Reset ¶
func (x *FileDescriptorSet) Reset()
func (*FileDescriptorSet) SizeVT ¶ added in v0.2.1
func (m *FileDescriptorSet) SizeVT() (n int)
func (*FileDescriptorSet) String ¶ added in v0.5.0
func (x *FileDescriptorSet) String() string
func (*FileDescriptorSet) UnmarshalVT ¶ added in v0.2.1
func (m *FileDescriptorSet) UnmarshalVT(dAtA []byte) error
func (*FileDescriptorSet) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FileDescriptorSet) UnmarshalVTUnsafe(dAtA []byte) error
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:"javaPackage,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:"javaOuterClassname,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:"javaMultipleFiles,omitempty"` // This option does nothing. // // Deprecated: Marked as deprecated in github.com/aperturerobotics/protobuf-go-lite/types/descriptorpb/descriptor.proto. JavaGenerateEqualsAndHash *bool `` /* 133-byte string literal not displayed */ // 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:"javaStringCheckUtf8,omitempty"` OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,def=1" json:"optimizeFor,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:"goPackage,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:"ccGenericServices,omitempty"` JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"javaGenericServices,omitempty"` PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"pyGenericServices,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:"ccEnableArenas,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:"objcClassPrefix,omitempty"` // Namespace for generated classes; defaults to the package. CsharpNamespace *string `protobuf:"bytes,37,opt,name=csharp_namespace,json=csharpNamespace" json:"csharpNamespace,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:"swiftPrefix,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:"phpClassPrefix,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:"phpNamespace,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:"phpMetadataNamespace,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:"rubyPackage,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:"uninterpretedOption,omitempty"` // contains filtered or unexported fields }
func (*FileOptions) CloneMessageVT ¶ added in v0.2.1
func (m *FileOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FileOptions) CloneVT ¶ added in v0.2.1
func (m *FileOptions) CloneVT() *FileOptions
func (*FileOptions) EqualMessageVT ¶ added in v0.2.1
func (this *FileOptions) EqualMessageVT(thatMsg any) bool
func (*FileOptions) EqualVT ¶ added in v0.2.1
func (this *FileOptions) EqualVT(that *FileOptions) bool
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
deprecated
func (x *FileOptions) GetJavaGenerateEqualsAndHash() bool
Deprecated: Marked as deprecated in github.com/aperturerobotics/protobuf-go-lite/types/descriptorpb/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) 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) MarshalProtoText ¶ added in v0.5.0
func (x *FileOptions) MarshalProtoText() string
func (*FileOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *FileOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FileOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *FileOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*FileOptions) MarshalToVT ¶ added in v0.2.1
func (m *FileOptions) MarshalToVT(dAtA []byte) (int, error)
func (*FileOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *FileOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*FileOptions) MarshalVT ¶ added in v0.2.1
func (m *FileOptions) MarshalVT() (dAtA []byte, err error)
func (*FileOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *FileOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*FileOptions) ProtoMessage ¶
func (*FileOptions) ProtoMessage()
func (*FileOptions) Reset ¶
func (x *FileOptions) Reset()
func (*FileOptions) SizeVT ¶ added in v0.2.1
func (m *FileOptions) SizeVT() (n int)
func (*FileOptions) String ¶ added in v0.5.0
func (x *FileOptions) String() string
func (*FileOptions) UnmarshalVT ¶ added in v0.2.1
func (m *FileOptions) UnmarshalVT(dAtA []byte) error
func (*FileOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *FileOptions) UnmarshalVTUnsafe(dAtA []byte) error
type FileOptions_OptimizeMode ¶
type FileOptions_OptimizeMode int32
Generated classes can be optimized for speed or code size.
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) Enum ¶
func (x FileOptions_OptimizeMode) Enum() *FileOptions_OptimizeMode
func (FileOptions_OptimizeMode) MarshalProtoText ¶ added in v0.5.0
func (x FileOptions_OptimizeMode) MarshalProtoText() string
func (FileOptions_OptimizeMode) String ¶
func (x FileOptions_OptimizeMode) String() string
type GeneratedCodeInfo ¶
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 }
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.
func (*GeneratedCodeInfo) CloneMessageVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GeneratedCodeInfo) CloneVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo) CloneVT() *GeneratedCodeInfo
func (*GeneratedCodeInfo) EqualMessageVT ¶ added in v0.2.1
func (this *GeneratedCodeInfo) EqualMessageVT(thatMsg any) bool
func (*GeneratedCodeInfo) EqualVT ¶ added in v0.2.1
func (this *GeneratedCodeInfo) EqualVT(that *GeneratedCodeInfo) bool
func (*GeneratedCodeInfo) GetAnnotation ¶
func (x *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation
func (*GeneratedCodeInfo) MarshalProtoText ¶ added in v0.5.0
func (x *GeneratedCodeInfo) MarshalProtoText() string
func (*GeneratedCodeInfo) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GeneratedCodeInfo) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *GeneratedCodeInfo) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*GeneratedCodeInfo) MarshalToVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo) MarshalToVT(dAtA []byte) (int, error)
func (*GeneratedCodeInfo) MarshalToVTStrict ¶ added in v0.2.1
func (m *GeneratedCodeInfo) MarshalToVTStrict(dAtA []byte) (int, error)
func (*GeneratedCodeInfo) MarshalVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo) MarshalVT() (dAtA []byte, err error)
func (*GeneratedCodeInfo) MarshalVTStrict ¶ added in v0.2.1
func (m *GeneratedCodeInfo) MarshalVTStrict() (dAtA []byte, err error)
func (*GeneratedCodeInfo) ProtoMessage ¶
func (*GeneratedCodeInfo) ProtoMessage()
func (*GeneratedCodeInfo) Reset ¶
func (x *GeneratedCodeInfo) Reset()
func (*GeneratedCodeInfo) SizeVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo) SizeVT() (n int)
func (*GeneratedCodeInfo) String ¶ added in v0.5.0
func (x *GeneratedCodeInfo) String() string
func (*GeneratedCodeInfo) UnmarshalVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo) UnmarshalVT(dAtA []byte) error
func (*GeneratedCodeInfo) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *GeneratedCodeInfo) UnmarshalVTUnsafe(dAtA []byte) error
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:"sourceFile,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" json:"semantic,omitempty"` // contains filtered or unexported fields }
func (*GeneratedCodeInfo_Annotation) CloneMessageVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GeneratedCodeInfo_Annotation) CloneVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) CloneVT() *GeneratedCodeInfo_Annotation
func (*GeneratedCodeInfo_Annotation) EqualMessageVT ¶ added in v0.2.1
func (this *GeneratedCodeInfo_Annotation) EqualMessageVT(thatMsg any) bool
func (*GeneratedCodeInfo_Annotation) EqualVT ¶ added in v0.2.1
func (this *GeneratedCodeInfo_Annotation) EqualVT(that *GeneratedCodeInfo_Annotation) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *GeneratedCodeInfo_Annotation) MarshalProtoText() string
func (*GeneratedCodeInfo_Annotation) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GeneratedCodeInfo_Annotation) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*GeneratedCodeInfo_Annotation) MarshalToVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) MarshalToVT(dAtA []byte) (int, error)
func (*GeneratedCodeInfo_Annotation) MarshalToVTStrict ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) MarshalToVTStrict(dAtA []byte) (int, error)
func (*GeneratedCodeInfo_Annotation) MarshalVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) MarshalVT() (dAtA []byte, err error)
func (*GeneratedCodeInfo_Annotation) MarshalVTStrict ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) MarshalVTStrict() (dAtA []byte, err error)
func (*GeneratedCodeInfo_Annotation) ProtoMessage ¶
func (*GeneratedCodeInfo_Annotation) ProtoMessage()
func (*GeneratedCodeInfo_Annotation) Reset ¶
func (x *GeneratedCodeInfo_Annotation) Reset()
func (*GeneratedCodeInfo_Annotation) SizeVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) SizeVT() (n int)
func (*GeneratedCodeInfo_Annotation) String ¶ added in v0.5.0
func (x *GeneratedCodeInfo_Annotation) String() string
func (*GeneratedCodeInfo_Annotation) UnmarshalVT ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) UnmarshalVT(dAtA []byte) error
func (*GeneratedCodeInfo_Annotation) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *GeneratedCodeInfo_Annotation) UnmarshalVTUnsafe(dAtA []byte) error
type GeneratedCodeInfo_Annotation_Semantic ¶
type GeneratedCodeInfo_Annotation_Semantic int32
Represents the identified object's effect on the element in the original .proto file.
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) MarshalProtoText ¶ added in v0.5.0
func (x GeneratedCodeInfo_Annotation_Semantic) MarshalProtoText() string
func (GeneratedCodeInfo_Annotation_Semantic) String ¶
func (x GeneratedCodeInfo_Annotation_Semantic) String() string
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:"messageSetWireFormat,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 `` /* 146-byte string literal not displayed */ // 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"` // 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. // // 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. MapEntry *bool `protobuf:"varint,7,opt,name=map_entry,json=mapEntry" json:"mapEntry,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 github.com/aperturerobotics/protobuf-go-lite/types/descriptorpb/descriptor.proto. DeprecatedLegacyJsonFieldConflicts *bool `` /* 160-byte string literal not displayed */ // 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:"uninterpretedOption,omitempty"` // contains filtered or unexported fields }
func (*MessageOptions) CloneMessageVT ¶ added in v0.2.1
func (m *MessageOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*MessageOptions) CloneVT ¶ added in v0.2.1
func (m *MessageOptions) CloneVT() *MessageOptions
func (*MessageOptions) EqualMessageVT ¶ added in v0.2.1
func (this *MessageOptions) EqualMessageVT(thatMsg any) bool
func (*MessageOptions) EqualVT ¶ added in v0.2.1
func (this *MessageOptions) EqualVT(that *MessageOptions) bool
func (*MessageOptions) GetDeprecated ¶
func (x *MessageOptions) GetDeprecated() bool
func (*MessageOptions) GetDeprecatedLegacyJsonFieldConflicts
deprecated
func (x *MessageOptions) GetDeprecatedLegacyJsonFieldConflicts() bool
Deprecated: Marked as deprecated in github.com/aperturerobotics/protobuf-go-lite/types/descriptorpb/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) MarshalProtoText ¶ added in v0.5.0
func (x *MessageOptions) MarshalProtoText() string
func (*MessageOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *MessageOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MessageOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *MessageOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*MessageOptions) MarshalToVT ¶ added in v0.2.1
func (m *MessageOptions) MarshalToVT(dAtA []byte) (int, error)
func (*MessageOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *MessageOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*MessageOptions) MarshalVT ¶ added in v0.2.1
func (m *MessageOptions) MarshalVT() (dAtA []byte, err error)
func (*MessageOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *MessageOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*MessageOptions) ProtoMessage ¶
func (*MessageOptions) ProtoMessage()
func (*MessageOptions) Reset ¶
func (x *MessageOptions) Reset()
func (*MessageOptions) SizeVT ¶ added in v0.2.1
func (m *MessageOptions) SizeVT() (n int)
func (*MessageOptions) String ¶ added in v0.5.0
func (x *MessageOptions) String() string
func (*MessageOptions) UnmarshalVT ¶ added in v0.2.1
func (m *MessageOptions) UnmarshalVT(dAtA []byte) error
func (*MessageOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *MessageOptions) UnmarshalVTUnsafe(dAtA []byte) error
type MethodDescriptorProto ¶
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:"inputType,omitempty"` OutputType *string `protobuf:"bytes,3,opt,name=output_type,json=outputType" json:"outputType,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:"clientStreaming,omitempty"` // Identifies if server streams multiple server messages ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"serverStreaming,omitempty"` // contains filtered or unexported fields }
Describes a method of a service.
func (*MethodDescriptorProto) CloneMessageVT ¶ added in v0.2.1
func (m *MethodDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*MethodDescriptorProto) CloneVT ¶ added in v0.2.1
func (m *MethodDescriptorProto) CloneVT() *MethodDescriptorProto
func (*MethodDescriptorProto) EqualMessageVT ¶ added in v0.2.1
func (this *MethodDescriptorProto) EqualMessageVT(thatMsg any) bool
func (*MethodDescriptorProto) EqualVT ¶ added in v0.2.1
func (this *MethodDescriptorProto) EqualVT(that *MethodDescriptorProto) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *MethodDescriptorProto) MarshalProtoText() string
func (*MethodDescriptorProto) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *MethodDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MethodDescriptorProto) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *MethodDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*MethodDescriptorProto) MarshalToVT ¶ added in v0.2.1
func (m *MethodDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
func (*MethodDescriptorProto) MarshalToVTStrict ¶ added in v0.2.1
func (m *MethodDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
func (*MethodDescriptorProto) MarshalVT ¶ added in v0.2.1
func (m *MethodDescriptorProto) MarshalVT() (dAtA []byte, err error)
func (*MethodDescriptorProto) MarshalVTStrict ¶ added in v0.2.1
func (m *MethodDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
func (*MethodDescriptorProto) ProtoMessage ¶
func (*MethodDescriptorProto) ProtoMessage()
func (*MethodDescriptorProto) Reset ¶
func (x *MethodDescriptorProto) Reset()
func (*MethodDescriptorProto) SizeVT ¶ added in v0.2.1
func (m *MethodDescriptorProto) SizeVT() (n int)
func (*MethodDescriptorProto) String ¶ added in v0.5.0
func (x *MethodDescriptorProto) String() string
func (*MethodDescriptorProto) UnmarshalVT ¶ added in v0.2.1
func (m *MethodDescriptorProto) UnmarshalVT(dAtA []byte) error
func (*MethodDescriptorProto) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *MethodDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
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,def=0" json:"idempotencyLevel,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:"uninterpretedOption,omitempty"` // contains filtered or unexported fields }
func (*MethodOptions) CloneMessageVT ¶ added in v0.2.1
func (m *MethodOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*MethodOptions) CloneVT ¶ added in v0.2.1
func (m *MethodOptions) CloneVT() *MethodOptions
func (*MethodOptions) EqualMessageVT ¶ added in v0.2.1
func (this *MethodOptions) EqualMessageVT(thatMsg any) bool
func (*MethodOptions) EqualVT ¶ added in v0.2.1
func (this *MethodOptions) EqualVT(that *MethodOptions) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *MethodOptions) MarshalProtoText() string
func (*MethodOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *MethodOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MethodOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *MethodOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*MethodOptions) MarshalToVT ¶ added in v0.2.1
func (m *MethodOptions) MarshalToVT(dAtA []byte) (int, error)
func (*MethodOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *MethodOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*MethodOptions) MarshalVT ¶ added in v0.2.1
func (m *MethodOptions) MarshalVT() (dAtA []byte, err error)
func (*MethodOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *MethodOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*MethodOptions) ProtoMessage ¶
func (*MethodOptions) ProtoMessage()
func (*MethodOptions) Reset ¶
func (x *MethodOptions) Reset()
func (*MethodOptions) SizeVT ¶ added in v0.2.1
func (m *MethodOptions) SizeVT() (n int)
func (*MethodOptions) String ¶ added in v0.5.0
func (x *MethodOptions) String() string
func (*MethodOptions) UnmarshalVT ¶ added in v0.2.1
func (m *MethodOptions) UnmarshalVT(dAtA []byte) error
func (*MethodOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *MethodOptions) UnmarshalVTUnsafe(dAtA []byte) error
type MethodOptions_IdempotencyLevel ¶
type MethodOptions_IdempotencyLevel int32
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.
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) Enum ¶
func (x MethodOptions_IdempotencyLevel) Enum() *MethodOptions_IdempotencyLevel
func (MethodOptions_IdempotencyLevel) MarshalProtoText ¶ added in v0.5.0
func (x MethodOptions_IdempotencyLevel) MarshalProtoText() string
func (MethodOptions_IdempotencyLevel) String ¶
func (x MethodOptions_IdempotencyLevel) String() string
type OneofDescriptorProto ¶
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 }
Describes a oneof.
func (*OneofDescriptorProto) CloneMessageVT ¶ added in v0.2.1
func (m *OneofDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OneofDescriptorProto) CloneVT ¶ added in v0.2.1
func (m *OneofDescriptorProto) CloneVT() *OneofDescriptorProto
func (*OneofDescriptorProto) EqualMessageVT ¶ added in v0.2.1
func (this *OneofDescriptorProto) EqualMessageVT(thatMsg any) bool
func (*OneofDescriptorProto) EqualVT ¶ added in v0.2.1
func (this *OneofDescriptorProto) EqualVT(that *OneofDescriptorProto) bool
func (*OneofDescriptorProto) GetName ¶
func (x *OneofDescriptorProto) GetName() string
func (*OneofDescriptorProto) GetOptions ¶
func (x *OneofDescriptorProto) GetOptions() *OneofOptions
func (*OneofDescriptorProto) MarshalProtoText ¶ added in v0.5.0
func (x *OneofDescriptorProto) MarshalProtoText() string
func (*OneofDescriptorProto) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *OneofDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OneofDescriptorProto) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *OneofDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*OneofDescriptorProto) MarshalToVT ¶ added in v0.2.1
func (m *OneofDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
func (*OneofDescriptorProto) MarshalToVTStrict ¶ added in v0.2.1
func (m *OneofDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
func (*OneofDescriptorProto) MarshalVT ¶ added in v0.2.1
func (m *OneofDescriptorProto) MarshalVT() (dAtA []byte, err error)
func (*OneofDescriptorProto) MarshalVTStrict ¶ added in v0.2.1
func (m *OneofDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
func (*OneofDescriptorProto) ProtoMessage ¶
func (*OneofDescriptorProto) ProtoMessage()
func (*OneofDescriptorProto) Reset ¶
func (x *OneofDescriptorProto) Reset()
func (*OneofDescriptorProto) SizeVT ¶ added in v0.2.1
func (m *OneofDescriptorProto) SizeVT() (n int)
func (*OneofDescriptorProto) String ¶ added in v0.5.0
func (x *OneofDescriptorProto) String() string
func (*OneofDescriptorProto) UnmarshalVT ¶ added in v0.2.1
func (m *OneofDescriptorProto) UnmarshalVT(dAtA []byte) error
func (*OneofDescriptorProto) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *OneofDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
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:"uninterpretedOption,omitempty"` // contains filtered or unexported fields }
func (*OneofOptions) CloneMessageVT ¶ added in v0.2.1
func (m *OneofOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OneofOptions) CloneVT ¶ added in v0.2.1
func (m *OneofOptions) CloneVT() *OneofOptions
func (*OneofOptions) EqualMessageVT ¶ added in v0.2.1
func (this *OneofOptions) EqualMessageVT(thatMsg any) bool
func (*OneofOptions) EqualVT ¶ added in v0.2.1
func (this *OneofOptions) EqualVT(that *OneofOptions) bool
func (*OneofOptions) GetFeatures ¶
func (x *OneofOptions) GetFeatures() *FeatureSet
func (*OneofOptions) GetUninterpretedOption ¶
func (x *OneofOptions) GetUninterpretedOption() []*UninterpretedOption
func (*OneofOptions) MarshalProtoText ¶ added in v0.5.0
func (x *OneofOptions) MarshalProtoText() string
func (*OneofOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *OneofOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OneofOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *OneofOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*OneofOptions) MarshalToVT ¶ added in v0.2.1
func (m *OneofOptions) MarshalToVT(dAtA []byte) (int, error)
func (*OneofOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *OneofOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*OneofOptions) MarshalVT ¶ added in v0.2.1
func (m *OneofOptions) MarshalVT() (dAtA []byte, err error)
func (*OneofOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *OneofOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*OneofOptions) ProtoMessage ¶
func (*OneofOptions) ProtoMessage()
func (*OneofOptions) Reset ¶
func (x *OneofOptions) Reset()
func (*OneofOptions) SizeVT ¶ added in v0.2.1
func (m *OneofOptions) SizeVT() (n int)
func (*OneofOptions) String ¶ added in v0.5.0
func (x *OneofOptions) String() string
func (*OneofOptions) UnmarshalVT ¶ added in v0.2.1
func (m *OneofOptions) UnmarshalVT(dAtA []byte) error
func (*OneofOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *OneofOptions) UnmarshalVTUnsafe(dAtA []byte) error
type ServiceDescriptorProto ¶
type ServiceDescriptorProto struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"` Options *ServiceOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` // contains filtered or unexported fields }
Describes a service.
func (*ServiceDescriptorProto) CloneMessageVT ¶ added in v0.2.1
func (m *ServiceDescriptorProto) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ServiceDescriptorProto) CloneVT ¶ added in v0.2.1
func (m *ServiceDescriptorProto) CloneVT() *ServiceDescriptorProto
func (*ServiceDescriptorProto) EqualMessageVT ¶ added in v0.2.1
func (this *ServiceDescriptorProto) EqualMessageVT(thatMsg any) bool
func (*ServiceDescriptorProto) EqualVT ¶ added in v0.2.1
func (this *ServiceDescriptorProto) EqualVT(that *ServiceDescriptorProto) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *ServiceDescriptorProto) MarshalProtoText() string
func (*ServiceDescriptorProto) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *ServiceDescriptorProto) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ServiceDescriptorProto) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *ServiceDescriptorProto) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ServiceDescriptorProto) MarshalToVT ¶ added in v0.2.1
func (m *ServiceDescriptorProto) MarshalToVT(dAtA []byte) (int, error)
func (*ServiceDescriptorProto) MarshalToVTStrict ¶ added in v0.2.1
func (m *ServiceDescriptorProto) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ServiceDescriptorProto) MarshalVT ¶ added in v0.2.1
func (m *ServiceDescriptorProto) MarshalVT() (dAtA []byte, err error)
func (*ServiceDescriptorProto) MarshalVTStrict ¶ added in v0.2.1
func (m *ServiceDescriptorProto) MarshalVTStrict() (dAtA []byte, err error)
func (*ServiceDescriptorProto) ProtoMessage ¶
func (*ServiceDescriptorProto) ProtoMessage()
func (*ServiceDescriptorProto) Reset ¶
func (x *ServiceDescriptorProto) Reset()
func (*ServiceDescriptorProto) SizeVT ¶ added in v0.2.1
func (m *ServiceDescriptorProto) SizeVT() (n int)
func (*ServiceDescriptorProto) String ¶ added in v0.5.0
func (x *ServiceDescriptorProto) String() string
func (*ServiceDescriptorProto) UnmarshalVT ¶ added in v0.2.1
func (m *ServiceDescriptorProto) UnmarshalVT(dAtA []byte) error
func (*ServiceDescriptorProto) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *ServiceDescriptorProto) UnmarshalVTUnsafe(dAtA []byte) error
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:"uninterpretedOption,omitempty"` // contains filtered or unexported fields }
func (*ServiceOptions) CloneMessageVT ¶ added in v0.2.1
func (m *ServiceOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ServiceOptions) CloneVT ¶ added in v0.2.1
func (m *ServiceOptions) CloneVT() *ServiceOptions
func (*ServiceOptions) EqualMessageVT ¶ added in v0.2.1
func (this *ServiceOptions) EqualMessageVT(thatMsg any) bool
func (*ServiceOptions) EqualVT ¶ added in v0.2.1
func (this *ServiceOptions) EqualVT(that *ServiceOptions) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *ServiceOptions) MarshalProtoText() string
func (*ServiceOptions) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *ServiceOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ServiceOptions) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *ServiceOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ServiceOptions) MarshalToVT ¶ added in v0.2.1
func (m *ServiceOptions) MarshalToVT(dAtA []byte) (int, error)
func (*ServiceOptions) MarshalToVTStrict ¶ added in v0.2.1
func (m *ServiceOptions) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ServiceOptions) MarshalVT ¶ added in v0.2.1
func (m *ServiceOptions) MarshalVT() (dAtA []byte, err error)
func (*ServiceOptions) MarshalVTStrict ¶ added in v0.2.1
func (m *ServiceOptions) MarshalVTStrict() (dAtA []byte, err error)
func (*ServiceOptions) ProtoMessage ¶
func (*ServiceOptions) ProtoMessage()
func (*ServiceOptions) Reset ¶
func (x *ServiceOptions) Reset()
func (*ServiceOptions) SizeVT ¶ added in v0.2.1
func (m *ServiceOptions) SizeVT() (n int)
func (*ServiceOptions) String ¶ added in v0.5.0
func (x *ServiceOptions) String() string
func (*ServiceOptions) UnmarshalVT ¶ added in v0.2.1
func (m *ServiceOptions) UnmarshalVT(dAtA []byte) error
func (*ServiceOptions) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *ServiceOptions) UnmarshalVTUnsafe(dAtA []byte) error
type SourceCodeInfo ¶
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 }
Encapsulates information about the original source file from which a FileDescriptorProto was generated.
func (*SourceCodeInfo) CloneMessageVT ¶ added in v0.2.1
func (m *SourceCodeInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SourceCodeInfo) CloneVT ¶ added in v0.2.1
func (m *SourceCodeInfo) CloneVT() *SourceCodeInfo
func (*SourceCodeInfo) EqualMessageVT ¶ added in v0.2.1
func (this *SourceCodeInfo) EqualMessageVT(thatMsg any) bool
func (*SourceCodeInfo) EqualVT ¶ added in v0.2.1
func (this *SourceCodeInfo) EqualVT(that *SourceCodeInfo) bool
func (*SourceCodeInfo) GetLocation ¶
func (x *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location
func (*SourceCodeInfo) MarshalProtoText ¶ added in v0.5.0
func (x *SourceCodeInfo) MarshalProtoText() string
func (*SourceCodeInfo) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *SourceCodeInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SourceCodeInfo) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *SourceCodeInfo) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*SourceCodeInfo) MarshalToVT ¶ added in v0.2.1
func (m *SourceCodeInfo) MarshalToVT(dAtA []byte) (int, error)
func (*SourceCodeInfo) MarshalToVTStrict ¶ added in v0.2.1
func (m *SourceCodeInfo) MarshalToVTStrict(dAtA []byte) (int, error)
func (*SourceCodeInfo) MarshalVT ¶ added in v0.2.1
func (m *SourceCodeInfo) MarshalVT() (dAtA []byte, err error)
func (*SourceCodeInfo) MarshalVTStrict ¶ added in v0.2.1
func (m *SourceCodeInfo) MarshalVTStrict() (dAtA []byte, err error)
func (*SourceCodeInfo) ProtoMessage ¶
func (*SourceCodeInfo) ProtoMessage()
func (*SourceCodeInfo) Reset ¶
func (x *SourceCodeInfo) Reset()
func (*SourceCodeInfo) SizeVT ¶ added in v0.2.1
func (m *SourceCodeInfo) SizeVT() (n int)
func (*SourceCodeInfo) String ¶ added in v0.5.0
func (x *SourceCodeInfo) String() string
func (*SourceCodeInfo) UnmarshalVT ¶ added in v0.2.1
func (m *SourceCodeInfo) UnmarshalVT(dAtA []byte) error
func (*SourceCodeInfo) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *SourceCodeInfo) UnmarshalVTUnsafe(dAtA []byte) error
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 appears. // 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:"leadingComments,omitempty"` TrailingComments *string `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailingComments,omitempty"` LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leadingDetachedComments,omitempty"` // contains filtered or unexported fields }
func (*SourceCodeInfo_Location) CloneMessageVT ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SourceCodeInfo_Location) CloneVT ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) CloneVT() *SourceCodeInfo_Location
func (*SourceCodeInfo_Location) EqualMessageVT ¶ added in v0.2.1
func (this *SourceCodeInfo_Location) EqualMessageVT(thatMsg any) bool
func (*SourceCodeInfo_Location) EqualVT ¶ added in v0.2.1
func (this *SourceCodeInfo_Location) EqualVT(that *SourceCodeInfo_Location) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *SourceCodeInfo_Location) MarshalProtoText() string
func (*SourceCodeInfo_Location) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SourceCodeInfo_Location) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*SourceCodeInfo_Location) MarshalToVT ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) MarshalToVT(dAtA []byte) (int, error)
func (*SourceCodeInfo_Location) MarshalToVTStrict ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) MarshalToVTStrict(dAtA []byte) (int, error)
func (*SourceCodeInfo_Location) MarshalVT ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) MarshalVT() (dAtA []byte, err error)
func (*SourceCodeInfo_Location) MarshalVTStrict ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) MarshalVTStrict() (dAtA []byte, err error)
func (*SourceCodeInfo_Location) ProtoMessage ¶
func (*SourceCodeInfo_Location) ProtoMessage()
func (*SourceCodeInfo_Location) Reset ¶
func (x *SourceCodeInfo_Location) Reset()
func (*SourceCodeInfo_Location) SizeVT ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) SizeVT() (n int)
func (*SourceCodeInfo_Location) String ¶ added in v0.5.0
func (x *SourceCodeInfo_Location) String() string
func (*SourceCodeInfo_Location) UnmarshalVT ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) UnmarshalVT(dAtA []byte) error
func (*SourceCodeInfo_Location) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *SourceCodeInfo_Location) UnmarshalVTUnsafe(dAtA []byte) error
type UninterpretedOption ¶
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:"identifierValue,omitempty"` PositiveIntValue *uint64 `protobuf:"varint,4,opt,name=positive_int_value,json=positiveIntValue" json:"positiveIntValue,omitempty"` NegativeIntValue *int64 `protobuf:"varint,5,opt,name=negative_int_value,json=negativeIntValue" json:"negativeIntValue,omitempty"` DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"doubleValue,omitempty"` StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"stringValue,omitempty"` AggregateValue *string `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregateValue,omitempty"` // contains filtered or unexported fields }
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.
func (*UninterpretedOption) CloneMessageVT ¶ added in v0.2.1
func (m *UninterpretedOption) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UninterpretedOption) CloneVT ¶ added in v0.2.1
func (m *UninterpretedOption) CloneVT() *UninterpretedOption
func (*UninterpretedOption) EqualMessageVT ¶ added in v0.2.1
func (this *UninterpretedOption) EqualMessageVT(thatMsg any) bool
func (*UninterpretedOption) EqualVT ¶ added in v0.2.1
func (this *UninterpretedOption) EqualVT(that *UninterpretedOption) bool
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) MarshalProtoText ¶ added in v0.5.0
func (x *UninterpretedOption) MarshalProtoText() string
func (*UninterpretedOption) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *UninterpretedOption) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UninterpretedOption) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *UninterpretedOption) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*UninterpretedOption) MarshalToVT ¶ added in v0.2.1
func (m *UninterpretedOption) MarshalToVT(dAtA []byte) (int, error)
func (*UninterpretedOption) MarshalToVTStrict ¶ added in v0.2.1
func (m *UninterpretedOption) MarshalToVTStrict(dAtA []byte) (int, error)
func (*UninterpretedOption) MarshalVT ¶ added in v0.2.1
func (m *UninterpretedOption) MarshalVT() (dAtA []byte, err error)
func (*UninterpretedOption) MarshalVTStrict ¶ added in v0.2.1
func (m *UninterpretedOption) MarshalVTStrict() (dAtA []byte, err error)
func (*UninterpretedOption) ProtoMessage ¶
func (*UninterpretedOption) ProtoMessage()
func (*UninterpretedOption) Reset ¶
func (x *UninterpretedOption) Reset()
func (*UninterpretedOption) SizeVT ¶ added in v0.2.1
func (m *UninterpretedOption) SizeVT() (n int)
func (*UninterpretedOption) String ¶ added in v0.5.0
func (x *UninterpretedOption) String() string
func (*UninterpretedOption) UnmarshalVT ¶ added in v0.2.1
func (m *UninterpretedOption) UnmarshalVT(dAtA []byte) error
func (*UninterpretedOption) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *UninterpretedOption) UnmarshalVTUnsafe(dAtA []byte) error
type UninterpretedOption_NamePart ¶
type UninterpretedOption_NamePart struct { NamePart *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"namePart,omitempty"` IsExtension *bool `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"isExtension,omitempty"` // contains filtered or unexported fields }
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".
func (*UninterpretedOption_NamePart) CloneMessageVT ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UninterpretedOption_NamePart) CloneVT ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) CloneVT() *UninterpretedOption_NamePart
func (*UninterpretedOption_NamePart) EqualMessageVT ¶ added in v0.2.1
func (this *UninterpretedOption_NamePart) EqualMessageVT(thatMsg any) bool
func (*UninterpretedOption_NamePart) EqualVT ¶ added in v0.2.1
func (this *UninterpretedOption_NamePart) EqualVT(that *UninterpretedOption_NamePart) bool
func (*UninterpretedOption_NamePart) GetIsExtension ¶
func (x *UninterpretedOption_NamePart) GetIsExtension() bool
func (*UninterpretedOption_NamePart) GetNamePart ¶
func (x *UninterpretedOption_NamePart) GetNamePart() string
func (*UninterpretedOption_NamePart) MarshalProtoText ¶ added in v0.5.0
func (x *UninterpretedOption_NamePart) MarshalProtoText() string
func (*UninterpretedOption_NamePart) MarshalToSizedBufferVT ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UninterpretedOption_NamePart) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*UninterpretedOption_NamePart) MarshalToVT ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) MarshalToVT(dAtA []byte) (int, error)
func (*UninterpretedOption_NamePart) MarshalToVTStrict ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) MarshalToVTStrict(dAtA []byte) (int, error)
func (*UninterpretedOption_NamePart) MarshalVT ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) MarshalVT() (dAtA []byte, err error)
func (*UninterpretedOption_NamePart) MarshalVTStrict ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) MarshalVTStrict() (dAtA []byte, err error)
func (*UninterpretedOption_NamePart) ProtoMessage ¶
func (*UninterpretedOption_NamePart) ProtoMessage()
func (*UninterpretedOption_NamePart) Reset ¶
func (x *UninterpretedOption_NamePart) Reset()
func (*UninterpretedOption_NamePart) SizeVT ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) SizeVT() (n int)
func (*UninterpretedOption_NamePart) String ¶ added in v0.5.0
func (x *UninterpretedOption_NamePart) String() string
func (*UninterpretedOption_NamePart) UnmarshalVT ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) UnmarshalVT(dAtA []byte) error
func (*UninterpretedOption_NamePart) UnmarshalVTUnsafe ¶ added in v0.2.1
func (m *UninterpretedOption_NamePart) UnmarshalVTUnsafe(dAtA []byte) error