Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional corelib.api.v1.Operation operation = 87334;
E_Operation = &file_corelib_api_v1_operation_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_corelib_api_v1_operation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct {
// Optional. If present, rpc returns operation which metadata field will
// contains message of specified type.
Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Optional.
// Required. rpc returns operation, in case of success response will contains message of
// specified field.
Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` // Required.
// contains filtered or unexported fields
}
Operation is annotation for rpc that returns longrunning operation, describes message types that will be returned in metadata [google.protobuf.Any], and in response [google.protobuf.Any] (for successful operation).
func (*Operation) Descriptor
deprecated
func (*Operation) GetMetadata ¶
func (*Operation) GetResponse ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.