customfeatures

package
v1.61.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveCppFeature

func ResolveCppFeature(field protoreflect.FieldDescriptor, fieldName protoreflect.Name, expectedKind protoreflect.Kind) (protoreflect.Value, error)

ResolveCppFeature returns a value for the given field name of the (pb.cpp) custom feature for the given field.

func ResolveGoFeature

func ResolveGoFeature(field protoreflect.FieldDescriptor, fieldName protoreflect.Name, expectedKind protoreflect.Kind) (protoreflect.Value, error)

ResolveGoFeature returns a value for the given field name of the (pb.go) custom feature for the given field.

func ResolveGoFeatureForEnum

func ResolveGoFeatureForEnum(enum protoreflect.EnumDescriptor, fieldName protoreflect.Name, expectedKind protoreflect.Kind) (protoreflect.Value, error)

ResolveGoFeatureForEnum returns a value for the given field name of the (pb.go) custom feature for the given enum.

func ResolveJavaFeature

func ResolveJavaFeature(field protoreflect.FieldDescriptor, fieldName protoreflect.Name, expectedKind protoreflect.Kind) (protoreflect.Value, error)

ResolveJavaFeature returns a value for the given field name of the (pb.java) custom feature for the given field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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