package protoreflect
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name", nil)
case 2:
= .appendSingularField(, "package", nil)
case 3:
= .appendRepeatedField(, "dependency", nil)
case 10:
= .appendRepeatedField(, "public_dependency", nil)
case 11:
= .appendRepeatedField(, "weak_dependency", nil)
case 4:
= .appendRepeatedField(, "message_type", (*SourcePath).appendDescriptorProto)
case 5:
= .appendRepeatedField(, "enum_type", (*SourcePath).appendEnumDescriptorProto)
case 6:
= .appendRepeatedField(, "service", (*SourcePath).appendServiceDescriptorProto)
case 7:
= .appendRepeatedField(, "extension", (*SourcePath).appendFieldDescriptorProto)
case 8:
= .appendSingularField(, "options", (*SourcePath).appendFileOptions)
case 9:
= .appendSingularField(, "source_code_info", (*SourcePath).appendSourceCodeInfo)
case 12:
= .appendSingularField(, "syntax", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name", nil)
case 2:
= .appendRepeatedField(, "field", (*SourcePath).appendFieldDescriptorProto)
case 6:
= .appendRepeatedField(, "extension", (*SourcePath).appendFieldDescriptorProto)
case 3:
= .appendRepeatedField(, "nested_type", (*SourcePath).)
case 4:
= .appendRepeatedField(, "enum_type", (*SourcePath).appendEnumDescriptorProto)
case 5:
= .appendRepeatedField(, "extension_range", (*SourcePath).appendDescriptorProto_ExtensionRange)
case 8:
= .appendRepeatedField(, "oneof_decl", (*SourcePath).appendOneofDescriptorProto)
case 7:
= .appendSingularField(, "options", (*SourcePath).appendMessageOptions)
case 9:
= .appendRepeatedField(, "reserved_range", (*SourcePath).appendDescriptorProto_ReservedRange)
case 10:
= .appendRepeatedField(, "reserved_name", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name", nil)
case 2:
= .appendRepeatedField(, "value", (*SourcePath).appendEnumValueDescriptorProto)
case 3:
= .appendSingularField(, "options", (*SourcePath).appendEnumOptions)
case 4:
= .appendRepeatedField(, "reserved_range", (*SourcePath).appendEnumDescriptorProto_EnumReservedRange)
case 5:
= .appendRepeatedField(, "reserved_name", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name", nil)
case 2:
= .appendRepeatedField(, "method", (*SourcePath).appendMethodDescriptorProto)
case 3:
= .appendSingularField(, "options", (*SourcePath).appendServiceOptions)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name", nil)
case 3:
= .appendSingularField(, "number", nil)
case 4:
= .appendSingularField(, "label", nil)
case 5:
= .appendSingularField(, "type", nil)
case 6:
= .appendSingularField(, "type_name", nil)
case 2:
= .appendSingularField(, "extendee", nil)
case 7:
= .appendSingularField(, "default_value", nil)
case 9:
= .appendSingularField(, "oneof_index", nil)
case 10:
= .appendSingularField(, "json_name", nil)
case 8:
= .appendSingularField(, "options", (*SourcePath).appendFieldOptions)
case 17:
= .appendSingularField(, "proto3_optional", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "java_package", nil)
case 8:
= .appendSingularField(, "java_outer_classname", nil)
case 10:
= .appendSingularField(, "java_multiple_files", nil)
case 20:
= .appendSingularField(, "java_generate_equals_and_hash", nil)
case 27:
= .appendSingularField(, "java_string_check_utf8", nil)
case 9:
= .appendSingularField(, "optimize_for", nil)
case 11:
= .appendSingularField(, "go_package", nil)
case 16:
= .appendSingularField(, "cc_generic_services", nil)
case 17:
= .appendSingularField(, "java_generic_services", nil)
case 18:
= .appendSingularField(, "py_generic_services", nil)
case 42:
= .appendSingularField(, "php_generic_services", nil)
case 23:
= .appendSingularField(, "deprecated", nil)
case 31:
= .appendSingularField(, "cc_enable_arenas", nil)
case 36:
= .appendSingularField(, "objc_class_prefix", nil)
case 37:
= .appendSingularField(, "csharp_namespace", nil)
case 39:
= .appendSingularField(, "swift_prefix", nil)
case 40:
= .appendSingularField(, "php_class_prefix", nil)
case 41:
= .appendSingularField(, "php_namespace", nil)
case 44:
= .appendSingularField(, "php_metadata_namespace", nil)
case 45:
= .appendSingularField(, "ruby_package", nil)
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendRepeatedField(, "location", (*SourcePath).appendSourceCodeInfo_Location)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "start", nil)
case 2:
= .appendSingularField(, "end", nil)
case 3:
= .appendSingularField(, "options", (*SourcePath).appendExtensionRangeOptions)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name", nil)
case 2:
= .appendSingularField(, "options", (*SourcePath).appendOneofOptions)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "message_set_wire_format", nil)
case 2:
= .appendSingularField(, "no_standard_descriptor_accessor", nil)
case 3:
= .appendSingularField(, "deprecated", nil)
case 7:
= .appendSingularField(, "map_entry", nil)
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "start", nil)
case 2:
= .appendSingularField(, "end", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name", nil)
case 2:
= .appendSingularField(, "number", nil)
case 3:
= .appendSingularField(, "options", (*SourcePath).appendEnumValueOptions)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 2:
= .appendSingularField(, "allow_alias", nil)
case 3:
= .appendSingularField(, "deprecated", nil)
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "start", nil)
case 2:
= .appendSingularField(, "end", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name", nil)
case 2:
= .appendSingularField(, "input_type", nil)
case 3:
= .appendSingularField(, "output_type", nil)
case 4:
= .appendSingularField(, "options", (*SourcePath).appendMethodOptions)
case 5:
= .appendSingularField(, "client_streaming", nil)
case 6:
= .appendSingularField(, "server_streaming", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 33:
= .appendSingularField(, "deprecated", nil)
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "ctype", nil)
case 2:
= .appendSingularField(, "packed", nil)
case 6:
= .appendSingularField(, "jstype", nil)
case 5:
= .appendSingularField(, "lazy", nil)
case 3:
= .appendSingularField(, "deprecated", nil)
case 10:
= .appendSingularField(, "weak", nil)
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 2:
= .appendRepeatedField(, "name", (*SourcePath).appendUninterpretedOption_NamePart)
case 3:
= .appendSingularField(, "identifier_value", nil)
case 4:
= .appendSingularField(, "positive_int_value", nil)
case 5:
= .appendSingularField(, "negative_int_value", nil)
case 6:
= .appendSingularField(, "double_value", nil)
case 7:
= .appendSingularField(, "string_value", nil)
case 8:
= .appendSingularField(, "aggregate_value", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendRepeatedField(, "path", nil)
case 2:
= .appendRepeatedField(, "span", nil)
case 3:
= .appendSingularField(, "leading_comments", nil)
case 4:
= .appendSingularField(, "trailing_comments", nil)
case 6:
= .appendRepeatedField(, "leading_detached_comments", nil)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "deprecated", nil)
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 33:
= .appendSingularField(, "deprecated", nil)
case 34:
= .appendSingularField(, "idempotency_level", nil)
case 999:
= .appendRepeatedField(, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return
}
func ( *SourcePath) ( []byte) []byte {
if len(*) == 0 {
return
}
switch (*)[0] {
case 1:
= .appendSingularField(, "name_part", nil)
case 2:
= .appendSingularField(, "is_extension", nil)
}
return
}