options

package
v0.0.0-...-da76002 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// if true, Marshal interface will be ignored for this file
	//
	// optional bool fastproto_no_marshaler = 56002;
	E_FastprotoNoMarshaler = &file_options_options_proto_extTypes[0]
	// if true, Unmarshal interface will be ignored for this file
	//
	// optional bool fastproto_no_unmarshaler = 56004;
	E_FastprotoNoUnmarshaler = &file_options_options_proto_extTypes[1]
	// if true, Size interface will be ignored for this file.
	// Marshal() method depends on Size()
	//
	// optional bool fastproto_sizer = 56005;
	E_FastprotoSizer = &file_options_options_proto_extTypes[2]
	// if true, Equal interface will be ignored for this file.
	//
	// optional bool fastproto_equaler = 56006;
	E_FastprotoEqualer = &file_options_options_proto_extTypes[3]
)

Extension fields to descriptorpb.FileOptions.

View Source
var (
	// if true, Marshal interface will be generated for this message whatever
	// fastproto_no_marshaler is.
	//
	// optional bool fastproto_msg_marshaler = 56001;
	E_FastprotoMsgMarshaler = &file_options_options_proto_extTypes[4]
	// if true, Marshal interface will be ignored for this message
	//
	// optional bool fastproto_msg_no_marshaler = 56002;
	E_FastprotoMsgNoMarshaler = &file_options_options_proto_extTypes[5]
	// if true, Unmarshal interface will be generated for this message whatever
	// fastproto_no_unmarshaler is.
	//
	// optional bool fastproto_msg_unmarshaler = 56003;
	E_FastprotoMsgUnmarshaler = &file_options_options_proto_extTypes[6]
	// if true, Unmarshal interface will be ignored for this message
	//
	// optional bool fastproto_msg_no_unmarshaler = 56004;
	E_FastprotoMsgNoUnmarshaler = &file_options_options_proto_extTypes[7]
	// if true, Size method will be ignored for this message
	// Marshal() method depends on Size()
	//
	// optional bool fastproto_msg_sizer = 56005;
	E_FastprotoMsgSizer = &file_options_options_proto_extTypes[8]
	// if true, Equal method will be ignored for this message
	//
	// optional bool fastproto_msg_equaler = 56006;
	E_FastprotoMsgEqualer = &file_options_options_proto_extTypes[9]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_options_options_proto protoreflect.FileDescriptor

Functions

func GetExtension

func GetExtension[T any](m proto.Message, xt protoreflect.ExtensionType) T

func IsEqualer

func IsEqualer(fileDesc protoreflect.FileDescriptor, msgDesc protoreflect.MessageDescriptor) bool

func IsMarshaler

func IsMarshaler(fileDesc protoreflect.FileDescriptor, msgDesc protoreflect.MessageDescriptor) bool

func IsUnmarshaler

func IsUnmarshaler(fileDesc protoreflect.FileDescriptor, msgDesc protoreflect.MessageDescriptor) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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