Documentation ¶
Index ¶
- Variables
- type NoRequest
- type NoResponse
- type RPCSemantics
- func (*RPCSemantics) Descriptor() ([]byte, []int)deprecated
- func (x *RPCSemantics) GetMaxRequestFulfillmentSeconds() int64
- func (x *RPCSemantics) GetMaxRoundtripSeconds() int64
- func (x *RPCSemantics) GetRequestOnly() bool
- func (x *RPCSemantics) GetResponseOnly() bool
- func (*RPCSemantics) ProtoMessage()
- func (x *RPCSemantics) ProtoReflect() protoreflect.Message
- func (x *RPCSemantics) Reset()
- func (x *RPCSemantics) String() string
- type X
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional rail.v1.RPCSemantics rpc_semantics = 72275522;
E_RpcSemantics = &file_github_com_parrotmac_rail_proto_common_annotations_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_github_com_parrotmac_rail_proto_common_annotations_proto protoreflect.FileDescriptor
View Source
var File_github_com_parrotmac_rail_proto_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NoRequest ¶
type NoRequest struct {
// contains filtered or unexported fields
}
func (*NoRequest) Descriptor
deprecated
func (*NoRequest) ProtoMessage ¶
func (*NoRequest) ProtoMessage()
func (*NoRequest) ProtoReflect ¶
func (x *NoRequest) ProtoReflect() protoreflect.Message
type NoResponse ¶
type NoResponse struct {
// contains filtered or unexported fields
}
func (*NoResponse) Descriptor
deprecated
func (*NoResponse) Descriptor() ([]byte, []int)
Deprecated: Use NoResponse.ProtoReflect.Descriptor instead.
func (*NoResponse) ProtoMessage ¶
func (*NoResponse) ProtoMessage()
func (*NoResponse) ProtoReflect ¶
func (x *NoResponse) ProtoReflect() protoreflect.Message
func (*NoResponse) Reset ¶
func (x *NoResponse) Reset()
func (*NoResponse) String ¶
func (x *NoResponse) String() string
type RPCSemantics ¶
type RPCSemantics struct { RequestOnly bool `protobuf:"varint,1,opt,name=request_only,json=requestOnly,proto3" json:"request_only,omitempty"` ResponseOnly bool `protobuf:"varint,2,opt,name=response_only,json=responseOnly,proto3" json:"response_only,omitempty"` // If set, regular RPCs will wait up to this many seconds for a response before canceling if no response has been received. MaxRoundtripSeconds int64 `protobuf:"varint,3,opt,name=max_roundtrip_seconds,json=maxRoundtripSeconds,proto3" json:"max_roundtrip_seconds,omitempty"` // If set, the servicer may opt to ignore this message if it was delayed for too long. MaxRequestFulfillmentSeconds int64 `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RPCSemantics) Descriptor
deprecated
func (*RPCSemantics) Descriptor() ([]byte, []int)
Deprecated: Use RPCSemantics.ProtoReflect.Descriptor instead.
func (*RPCSemantics) GetMaxRequestFulfillmentSeconds ¶
func (x *RPCSemantics) GetMaxRequestFulfillmentSeconds() int64
func (*RPCSemantics) GetMaxRoundtripSeconds ¶
func (x *RPCSemantics) GetMaxRoundtripSeconds() int64
func (*RPCSemantics) GetRequestOnly ¶
func (x *RPCSemantics) GetRequestOnly() bool
func (*RPCSemantics) GetResponseOnly ¶
func (x *RPCSemantics) GetResponseOnly() bool
func (*RPCSemantics) ProtoMessage ¶
func (*RPCSemantics) ProtoMessage()
func (*RPCSemantics) ProtoReflect ¶
func (x *RPCSemantics) ProtoReflect() protoreflect.Message
func (*RPCSemantics) Reset ¶
func (x *RPCSemantics) Reset()
func (*RPCSemantics) String ¶
func (x *RPCSemantics) String() string
type X ¶
type X struct {
// contains filtered or unexported fields
}
func (*X) Descriptor
deprecated
func (*X) ProtoMessage ¶
func (*X) ProtoMessage()
func (*X) ProtoReflect ¶
func (x *X) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.