options

package
v0.0.0-...-3c0e61c Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional options.MethodOptions method_options = 50000;
	E_MethodOptions = &file_options_options_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_options_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MethodOptions

type MethodOptions struct {

	// mark a method as reenterable will generate a callback version of the method
	Reenterable bool `protobuf:"varint,1,opt,name=reenterable,proto3" json:"reenterable,omitempty"`
	// generate an extra future interface in the client
	// all methods called in reenterable methods should use the future interface
	Future bool `protobuf:"varint,2,opt,name=future,proto3" json:"future,omitempty"`
	// contains filtered or unexported fields
}

func (*MethodOptions) Descriptor deprecated

func (*MethodOptions) Descriptor() ([]byte, []int)

Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead.

func (*MethodOptions) GetFuture

func (x *MethodOptions) GetFuture() bool

func (*MethodOptions) GetReenterable

func (x *MethodOptions) GetReenterable() bool

func (*MethodOptions) ProtoMessage

func (*MethodOptions) ProtoMessage()

func (*MethodOptions) ProtoReflect

func (x *MethodOptions) ProtoReflect() protoreflect.Message

func (*MethodOptions) Reset

func (x *MethodOptions) Reset()

func (*MethodOptions) String

func (x *MethodOptions) String() string

Jump to

Keyboard shortcuts

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