Documentation ¶
Index ¶
- Variables
- type MethodOptions
- func (*MethodOptions) Descriptor() ([]byte, []int)deprecated
- func (x *MethodOptions) GetFuture() bool
- func (x *MethodOptions) GetReenterable() bool
- func (*MethodOptions) ProtoMessage()
- func (x *MethodOptions) ProtoReflect() protoreflect.Message
- func (x *MethodOptions) Reset()
- func (x *MethodOptions) String() string
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
Click to show internal directories.
Click to hide internal directories.