diff options
| author | 2023-07-10 12:58:06 +0100 | |
|---|---|---|
| committer | 2023-07-10 12:58:06 +0100 | |
| commit | a29b5affc87e578987580f22ae57fa719e1f4135 (patch) | |
| tree | 6f5ee39951fe68a9c59fb98e48616ce82e233f70 /vendor/google.golang.org/protobuf/reflect | |
| parent | [feature] Use Read/Write lock for config (#1969) (diff) | |
| download | gotosocial-a29b5affc87e578987580f22ae57fa719e1f4135.tar.xz | |
[chore]: Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 (#1975)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/google.golang.org/protobuf/reflect')
| -rw-r--r-- | vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go | 27 | 
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go index 54ce326df..717b106f3 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go @@ -363,6 +363,8 @@ func (p *SourcePath) appendFieldOptions(b []byte) []byte {  		b = p.appendSingularField(b, "retention", nil)  	case 18:  		b = p.appendSingularField(b, "target", nil) +	case 19: +		b = p.appendRepeatedField(b, "targets", nil)  	case 999:  		b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)  	} @@ -418,6 +420,10 @@ func (p *SourcePath) appendExtensionRangeOptions(b []byte) []byte {  	switch (*p)[0] {  	case 999:  		b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption) +	case 2: +		b = p.appendRepeatedField(b, "declaration", (*SourcePath).appendExtensionRangeOptions_Declaration) +	case 3: +		b = p.appendSingularField(b, "verification", nil)  	}  	return b  } @@ -473,3 +479,24 @@ func (p *SourcePath) appendUninterpretedOption_NamePart(b []byte) []byte {  	}  	return b  } + +func (p *SourcePath) appendExtensionRangeOptions_Declaration(b []byte) []byte { +	if len(*p) == 0 { +		return b +	} +	switch (*p)[0] { +	case 1: +		b = p.appendSingularField(b, "number", nil) +	case 2: +		b = p.appendSingularField(b, "full_name", nil) +	case 3: +		b = p.appendSingularField(b, "type", nil) +	case 4: +		b = p.appendSingularField(b, "is_repeated", nil) +	case 5: +		b = p.appendSingularField(b, "reserved", nil) +	case 6: +		b = p.appendSingularField(b, "repeated", nil) +	} +	return b +}  | 
