Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterChatRoomServer(s grpc.ServiceRegistrar, srv ChatRoomServer)
- func RegisterComplexServer(s grpc.ServiceRegistrar, srv ComplexServer)
- func RegisterFilesServer(s grpc.ServiceRegistrar, srv FilesServer)
- func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)
- func RegisterWellKnownServer(s grpc.ServiceRegistrar, srv WellKnownServer)
- type Book
- type ChatMessage
- type ChatRoomClient
- type ChatRoomServer
- type ChatRoom_ChatClient
- type ChatRoom_ChatServer
- type ComplexClient
- type ComplexRequest
- func (*ComplexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ComplexRequest) GetAny() *anypb.Any
- func (x *ComplexRequest) GetBoolList() []bool
- func (x *ComplexRequest) GetBoolMap() map[bool]bool
- func (x *ComplexRequest) GetBoolValue() bool
- func (x *ComplexRequest) GetBoolValueWrapper() *wrapperspb.BoolValue
- func (x *ComplexRequest) GetBytesList() [][]byte
- func (x *ComplexRequest) GetBytesMap() map[string][]byte
- func (x *ComplexRequest) GetBytesValue() []byte
- func (x *ComplexRequest) GetBytesValueWrapper() *wrapperspb.BytesValue
- func (x *ComplexRequest) GetDoubleList() []float64
- func (x *ComplexRequest) GetDoubleMap() map[string]float64
- func (x *ComplexRequest) GetDoubleValue() float64
- func (x *ComplexRequest) GetDoubleValueWrapper() *wrapperspb.DoubleValue
- func (x *ComplexRequest) GetDuration() *durationpb.Duration
- func (x *ComplexRequest) GetEmpty() *emptypb.Empty
- func (x *ComplexRequest) GetEnumList() []ComplexRequest_Enum
- func (x *ComplexRequest) GetEnumMap() map[string]ComplexRequest_Enum
- func (x *ComplexRequest) GetEnumValue() ComplexRequest_Enum
- func (x *ComplexRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *ComplexRequest) GetFixed32List() []uint32
- func (x *ComplexRequest) GetFixed32Map() map[uint32]uint32
- func (x *ComplexRequest) GetFixed32Value() uint32
- func (x *ComplexRequest) GetFixed64List() []uint64
- func (x *ComplexRequest) GetFixed64Map() map[uint64]uint64
- func (x *ComplexRequest) GetFixed64Value() uint64
- func (x *ComplexRequest) GetFloatList() []float32
- func (x *ComplexRequest) GetFloatMap() map[string]float32
- func (x *ComplexRequest) GetFloatValue() float32
- func (x *ComplexRequest) GetFloatValueWrapper() *wrapperspb.FloatValue
- func (x *ComplexRequest) GetInt32List() []int32
- func (x *ComplexRequest) GetInt32Map() map[int32]int32
- func (x *ComplexRequest) GetInt32Value() int32
- func (x *ComplexRequest) GetInt32ValueWrapper() *wrapperspb.Int32Value
- func (x *ComplexRequest) GetInt64List() []int64
- func (x *ComplexRequest) GetInt64Map() map[int64]int64
- func (x *ComplexRequest) GetInt64Value() int64
- func (x *ComplexRequest) GetInt64ValueWrapper() *wrapperspb.Int64Value
- func (x *ComplexRequest) GetListValue() *structpb.ListValue
- func (x *ComplexRequest) GetNested() *ComplexRequest_Nested
- func (x *ComplexRequest) GetNestedList() []*ComplexRequest_Nested
- func (x *ComplexRequest) GetNestedMap() map[string]*ComplexRequest_Nested
- func (x *ComplexRequest) GetNullValue() structpb.NullValue
- func (m *ComplexRequest) GetOneof() isComplexRequest_Oneof
- func (x *ComplexRequest) GetOneofAny() *anypb.Any
- func (x *ComplexRequest) GetOneofBoolValue() bool
- func (x *ComplexRequest) GetOneofBoolValueWrapper() *wrapperspb.BoolValue
- func (x *ComplexRequest) GetOneofBytesValue() []byte
- func (x *ComplexRequest) GetOneofBytesValueWrapper() *wrapperspb.BytesValue
- func (x *ComplexRequest) GetOneofDoubleValue() float64
- func (x *ComplexRequest) GetOneofDoubleValueWrapper() *wrapperspb.DoubleValue
- func (x *ComplexRequest) GetOneofDuration() *durationpb.Duration
- func (x *ComplexRequest) GetOneofEmpty() *emptypb.Empty
- func (x *ComplexRequest) GetOneofEnumValue() ComplexRequest_Enum
- func (x *ComplexRequest) GetOneofFieldMask() *fieldmaskpb.FieldMask
- func (x *ComplexRequest) GetOneofFixed32Value() uint32
- func (x *ComplexRequest) GetOneofFixed64Value() uint64
- func (x *ComplexRequest) GetOneofFloatValue() float32
- func (x *ComplexRequest) GetOneofFloatValueWrapper() *wrapperspb.FloatValue
- func (x *ComplexRequest) GetOneofInt32Value() int32
- func (x *ComplexRequest) GetOneofInt32ValueWrapper() *wrapperspb.Int32Value
- func (x *ComplexRequest) GetOneofInt64Value() int64
- func (x *ComplexRequest) GetOneofInt64ValueWrapper() *wrapperspb.Int64Value
- func (x *ComplexRequest) GetOneofListValue() *structpb.ListValue
- func (x *ComplexRequest) GetOneofNested() *ComplexRequest_Nested
- func (x *ComplexRequest) GetOneofNullValue() structpb.NullValue
- func (x *ComplexRequest) GetOneofSfixed32Value() int32
- func (x *ComplexRequest) GetOneofSfixed64Value() int64
- func (x *ComplexRequest) GetOneofSint32Value() int32
- func (x *ComplexRequest) GetOneofSint64Value() int64
- func (x *ComplexRequest) GetOneofStringValue() string
- func (x *ComplexRequest) GetOneofStringValueWrapper() *wrapperspb.StringValue
- func (x *ComplexRequest) GetOneofStruct() *structpb.Struct
- func (x *ComplexRequest) GetOneofTimestamp() *timestamppb.Timestamp
- func (x *ComplexRequest) GetOneofUint32Value() uint32
- func (x *ComplexRequest) GetOneofUint32ValueWrapper() *wrapperspb.UInt32Value
- func (x *ComplexRequest) GetOneofUint64Value() uint64
- func (x *ComplexRequest) GetOneofUint64ValueWrapper() *wrapperspb.UInt64Value
- func (x *ComplexRequest) GetOneofValue() *structpb.Value
- func (x *ComplexRequest) GetSfixed32List() []int32
- func (x *ComplexRequest) GetSfixed32Map() map[int32]int32
- func (x *ComplexRequest) GetSfixed32Value() int32
- func (x *ComplexRequest) GetSfixed64List() []int64
- func (x *ComplexRequest) GetSfixed64Map() map[int64]int64
- func (x *ComplexRequest) GetSfixed64Value() int64
- func (x *ComplexRequest) GetSint32List() []int32
- func (x *ComplexRequest) GetSint32Map() map[int32]int32
- func (x *ComplexRequest) GetSint32Value() int32
- func (x *ComplexRequest) GetSint64List() []int64
- func (x *ComplexRequest) GetSint64Map() map[int64]int64
- func (x *ComplexRequest) GetSint64Value() int64
- func (x *ComplexRequest) GetStringList() []string
- func (x *ComplexRequest) GetStringMap() map[string]string
- func (x *ComplexRequest) GetStringValue() string
- func (x *ComplexRequest) GetStringValueWrapper() *wrapperspb.StringValue
- func (x *ComplexRequest) GetStruct() *structpb.Struct
- func (x *ComplexRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *ComplexRequest) GetUint32List() []uint32
- func (x *ComplexRequest) GetUint32Map() map[uint32]uint32
- func (x *ComplexRequest) GetUint32Value() uint32
- func (x *ComplexRequest) GetUint32ValueWrapper() *wrapperspb.UInt32Value
- func (x *ComplexRequest) GetUint64List() []uint64
- func (x *ComplexRequest) GetUint64Map() map[uint64]uint64
- func (x *ComplexRequest) GetUint64Value() uint64
- func (x *ComplexRequest) GetUint64ValueWrapper() *wrapperspb.UInt64Value
- func (x *ComplexRequest) GetValue() *structpb.Value
- func (*ComplexRequest) ProtoMessage()
- func (x *ComplexRequest) ProtoReflect() protoreflect.Message
- func (x *ComplexRequest) Reset()
- func (x *ComplexRequest) String() string
- type ComplexRequest_Enum
- func (ComplexRequest_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ComplexRequest_Enum) Enum() *ComplexRequest_Enum
- func (ComplexRequest_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComplexRequest_Enum) Number() protoreflect.EnumNumber
- func (x ComplexRequest_Enum) String() string
- func (ComplexRequest_Enum) Type() protoreflect.EnumType
- type ComplexRequest_Nested
- func (*ComplexRequest_Nested) Descriptor() ([]byte, []int)deprecated
- func (x *ComplexRequest_Nested) GetBoolValue() bool
- func (x *ComplexRequest_Nested) GetBytesValue() []byte
- func (x *ComplexRequest_Nested) GetDoubleValue() float64
- func (x *ComplexRequest_Nested) GetEnumValue() ComplexRequest_Nested_Enum
- func (x *ComplexRequest_Nested) GetFixed32Value() uint32
- func (x *ComplexRequest_Nested) GetFixed64Value() uint64
- func (x *ComplexRequest_Nested) GetFloatValue() float32
- func (x *ComplexRequest_Nested) GetInt32Value() int32
- func (x *ComplexRequest_Nested) GetInt64Value() int64
- func (x *ComplexRequest_Nested) GetSfixed32Value() int32
- func (x *ComplexRequest_Nested) GetSfixed64Value() int64
- func (x *ComplexRequest_Nested) GetSint32Value() int32
- func (x *ComplexRequest_Nested) GetSint64Value() int64
- func (x *ComplexRequest_Nested) GetStringValue() string
- func (x *ComplexRequest_Nested) GetUint32Value() uint32
- func (x *ComplexRequest_Nested) GetUint64Value() uint64
- func (*ComplexRequest_Nested) ProtoMessage()
- func (x *ComplexRequest_Nested) ProtoReflect() protoreflect.Message
- func (x *ComplexRequest_Nested) Reset()
- func (x *ComplexRequest_Nested) String() string
- type ComplexRequest_Nested_Enum
- func (ComplexRequest_Nested_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ComplexRequest_Nested_Enum) Enum() *ComplexRequest_Nested_Enum
- func (ComplexRequest_Nested_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComplexRequest_Nested_Enum) Number() protoreflect.EnumNumber
- func (x ComplexRequest_Nested_Enum) String() string
- func (ComplexRequest_Nested_Enum) Type() protoreflect.EnumType
- type ComplexRequest_OneofAny
- type ComplexRequest_OneofBoolValue
- type ComplexRequest_OneofBoolValueWrapper
- type ComplexRequest_OneofBytesValue
- type ComplexRequest_OneofBytesValueWrapper
- type ComplexRequest_OneofDoubleValue
- type ComplexRequest_OneofDoubleValueWrapper
- type ComplexRequest_OneofDuration
- type ComplexRequest_OneofEmpty
- type ComplexRequest_OneofEnumValue
- type ComplexRequest_OneofFieldMask
- type ComplexRequest_OneofFixed32Value
- type ComplexRequest_OneofFixed64Value
- type ComplexRequest_OneofFloatValue
- type ComplexRequest_OneofFloatValueWrapper
- type ComplexRequest_OneofInt32Value
- type ComplexRequest_OneofInt32ValueWrapper
- type ComplexRequest_OneofInt64Value
- type ComplexRequest_OneofInt64ValueWrapper
- type ComplexRequest_OneofListValue
- type ComplexRequest_OneofNested
- type ComplexRequest_OneofNullValue
- type ComplexRequest_OneofSfixed32Value
- type ComplexRequest_OneofSfixed64Value
- type ComplexRequest_OneofSint32Value
- type ComplexRequest_OneofSint64Value
- type ComplexRequest_OneofStringValue
- type ComplexRequest_OneofStringValueWrapper
- type ComplexRequest_OneofStruct
- type ComplexRequest_OneofTimestamp
- type ComplexRequest_OneofUint32Value
- type ComplexRequest_OneofUint32ValueWrapper
- type ComplexRequest_OneofUint64Value
- type ComplexRequest_OneofUint64ValueWrapper
- type ComplexRequest_OneofValue
- type ComplexServer
- type CreateBookRequest
- func (*CreateBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBookRequest) GetBook() *Book
- func (x *CreateBookRequest) GetParent() string
- func (*CreateBookRequest) ProtoMessage()
- func (x *CreateBookRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBookRequest) Reset()
- func (x *CreateBookRequest) String() string
- type FilesClient
- type FilesServer
- type Files_LargeUploadDownloadClient
- type Files_LargeUploadDownloadServer
- type GetBookRequest
- type GetMessageRequestOne
- func (*GetMessageRequestOne) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessageRequestOne) GetName() string
- func (*GetMessageRequestOne) ProtoMessage()
- func (x *GetMessageRequestOne) ProtoReflect() protoreflect.Message
- func (x *GetMessageRequestOne) Reset()
- func (x *GetMessageRequestOne) String() string
- type GetMessageRequestTwo
- func (*GetMessageRequestTwo) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessageRequestTwo) GetMessageId() string
- func (x *GetMessageRequestTwo) GetRevision() int64
- func (x *GetMessageRequestTwo) GetSub() *GetMessageRequestTwo_SubMessage
- func (x *GetMessageRequestTwo) GetUserId() string
- func (*GetMessageRequestTwo) ProtoMessage()
- func (x *GetMessageRequestTwo) ProtoReflect() protoreflect.Message
- func (x *GetMessageRequestTwo) Reset()
- func (x *GetMessageRequestTwo) String() string
- type GetMessageRequestTwo_SubMessage
- func (*GetMessageRequestTwo_SubMessage) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessageRequestTwo_SubMessage) GetSubfield() string
- func (*GetMessageRequestTwo_SubMessage) ProtoMessage()
- func (x *GetMessageRequestTwo_SubMessage) ProtoReflect() protoreflect.Message
- func (x *GetMessageRequestTwo_SubMessage) Reset()
- func (x *GetMessageRequestTwo_SubMessage) String() string
- type GetShelfRequest
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetMessageId() string
- func (x *Message) GetText() string
- func (x *Message) GetUserId() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessagingClient
- type MessagingServer
- type Scalars
- func (*Scalars) Descriptor() ([]byte, []int)deprecated
- func (x *Scalars) GetBoolValue() *wrapperspb.BoolValue
- func (x *Scalars) GetBytesValue() *wrapperspb.BytesValue
- func (x *Scalars) GetDoubleValue() *wrapperspb.DoubleValue
- func (x *Scalars) GetDuration() *durationpb.Duration
- func (x *Scalars) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *Scalars) GetFloatValue() *wrapperspb.FloatValue
- func (x *Scalars) GetInt32Value() *wrapperspb.Int32Value
- func (x *Scalars) GetInt64Value() *wrapperspb.Int64Value
- func (x *Scalars) GetStringValue() *wrapperspb.StringValue
- func (x *Scalars) GetTimestamp() *timestamppb.Timestamp
- func (x *Scalars) GetUint32Value() *wrapperspb.UInt32Value
- func (x *Scalars) GetUint64Value() *wrapperspb.UInt64Value
- func (*Scalars) ProtoMessage()
- func (x *Scalars) ProtoReflect() protoreflect.Message
- func (x *Scalars) Reset()
- func (x *Scalars) String() string
- type Shelf
- type UnimplementedChatRoomServer
- type UnimplementedComplexServer
- type UnimplementedFilesServer
- type UnimplementedMessagingServer
- func (UnimplementedMessagingServer) Action(context.Context, *Message) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) ActionResource(context.Context, *Message) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) ActionSegment(context.Context, *Message) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) ActionSegments(context.Context, *Message) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) BatchGet(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) CreateBook(context.Context, *CreateBookRequest) (*Book, error)
- func (UnimplementedMessagingServer) GetBook(context.Context, *GetBookRequest) (*Book, error)
- func (UnimplementedMessagingServer) GetMessageOne(context.Context, *GetMessageRequestOne) (*Message, error)
- func (UnimplementedMessagingServer) GetMessageTwo(context.Context, *GetMessageRequestTwo) (*Message, error)
- func (UnimplementedMessagingServer) GetShelf(context.Context, *GetShelfRequest) (*Shelf, error)
- func (UnimplementedMessagingServer) UpdateBook(context.Context, *UpdateBookRequest) (*Book, error)
- func (UnimplementedMessagingServer) UpdateMessage(context.Context, *UpdateMessageRequestOne) (*Message, error)
- func (UnimplementedMessagingServer) UpdateMessageBody(context.Context, *Message) (*Message, error)
- func (UnimplementedMessagingServer) VariableOne(context.Context, *Message) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) VariableTwo(context.Context, *Message) (*emptypb.Empty, error)
- type UnimplementedWellKnownServer
- type UnsafeChatRoomServer
- type UnsafeComplexServer
- type UnsafeFilesServer
- type UnsafeMessagingServer
- type UnsafeWellKnownServer
- type UpdateBookRequest
- func (*UpdateBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBookRequest) GetBook() *Book
- func (x *UpdateBookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBookRequest) ProtoMessage()
- func (x *UpdateBookRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBookRequest) Reset()
- func (x *UpdateBookRequest) String() string
- type UpdateMessageRequestOne
- func (*UpdateMessageRequestOne) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMessageRequestOne) GetMessage() *Message
- func (x *UpdateMessageRequestOne) GetMessageId() string
- func (*UpdateMessageRequestOne) ProtoMessage()
- func (x *UpdateMessageRequestOne) ProtoReflect() protoreflect.Message
- func (x *UpdateMessageRequestOne) Reset()
- func (x *UpdateMessageRequestOne) String() string
- type UploadFileRequest
- func (*UploadFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFileRequest) GetFile() *httpbody.HttpBody
- func (x *UploadFileRequest) GetFilename() string
- func (*UploadFileRequest) ProtoMessage()
- func (x *UploadFileRequest) ProtoReflect() protoreflect.Message
- func (x *UploadFileRequest) Reset()
- func (x *UploadFileRequest) String() string
- type WellKnownClient
- type WellKnownServer
Constants ¶
const ( Messaging_GetMessageOne_FullMethodName = "/larking.testpb.Messaging/GetMessageOne" Messaging_GetMessageTwo_FullMethodName = "/larking.testpb.Messaging/GetMessageTwo" Messaging_UpdateMessage_FullMethodName = "/larking.testpb.Messaging/UpdateMessage" Messaging_UpdateMessageBody_FullMethodName = "/larking.testpb.Messaging/UpdateMessageBody" Messaging_Action_FullMethodName = "/larking.testpb.Messaging/Action" Messaging_ActionSegment_FullMethodName = "/larking.testpb.Messaging/ActionSegment" Messaging_ActionResource_FullMethodName = "/larking.testpb.Messaging/ActionResource" Messaging_ActionSegments_FullMethodName = "/larking.testpb.Messaging/ActionSegments" Messaging_BatchGet_FullMethodName = "/larking.testpb.Messaging/BatchGet" Messaging_VariableOne_FullMethodName = "/larking.testpb.Messaging/VariableOne" Messaging_VariableTwo_FullMethodName = "/larking.testpb.Messaging/VariableTwo" Messaging_GetShelf_FullMethodName = "/larking.testpb.Messaging/GetShelf" Messaging_GetBook_FullMethodName = "/larking.testpb.Messaging/GetBook" Messaging_CreateBook_FullMethodName = "/larking.testpb.Messaging/CreateBook" Messaging_UpdateBook_FullMethodName = "/larking.testpb.Messaging/UpdateBook" )
const ( Files_UploadDownload_FullMethodName = "/larking.testpb.Files/UploadDownload" Files_LargeUploadDownload_FullMethodName = "/larking.testpb.Files/LargeUploadDownload" )
const (
ChatRoom_Chat_FullMethodName = "/larking.testpb.ChatRoom/Chat"
)
const (
Complex_Check_FullMethodName = "/larking.testpb.Complex/Check"
)
const (
WellKnown_Check_FullMethodName = "/larking.testpb.WellKnown/Check"
)
Variables ¶
var ( ComplexRequest_Enum_name = map[int32]string{ 0: "ENUM_UNSPECIFIED", 1: "ENUM_VALUE", } ComplexRequest_Enum_value = map[string]int32{ "ENUM_UNSPECIFIED": 0, "ENUM_VALUE": 1, } )
Enum value maps for ComplexRequest_Enum.
var ( ComplexRequest_Nested_Enum_name = map[int32]string{ 0: "ENUM_UNSPECIFIED", 1: "ENUM_VALUE", } ComplexRequest_Nested_Enum_value = map[string]int32{ "ENUM_UNSPECIFIED": 0, "ENUM_VALUE": 1, } )
Enum value maps for ComplexRequest_Nested_Enum.
var ChatRoom_ServiceDesc = grpc.ServiceDesc{ ServiceName: "larking.testpb.ChatRoom", HandlerType: (*ChatRoomServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Chat", Handler: _ChatRoom_Chat_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "larking/api/test.proto", }
ChatRoom_ServiceDesc is the grpc.ServiceDesc for ChatRoom service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Complex_ServiceDesc = grpc.ServiceDesc{ ServiceName: "larking.testpb.Complex", HandlerType: (*ComplexServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Check", Handler: _Complex_Check_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "larking/api/test.proto", }
Complex_ServiceDesc is the grpc.ServiceDesc for Complex service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_larking_api_test_proto protoreflect.FileDescriptor
var Files_ServiceDesc = grpc.ServiceDesc{ ServiceName: "larking.testpb.Files", HandlerType: (*FilesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UploadDownload", Handler: _Files_UploadDownload_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "LargeUploadDownload", Handler: _Files_LargeUploadDownload_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "larking/api/test.proto", }
Files_ServiceDesc is the grpc.ServiceDesc for Files service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Messaging_ServiceDesc = grpc.ServiceDesc{ ServiceName: "larking.testpb.Messaging", HandlerType: (*MessagingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMessageOne", Handler: _Messaging_GetMessageOne_Handler, }, { MethodName: "GetMessageTwo", Handler: _Messaging_GetMessageTwo_Handler, }, { MethodName: "UpdateMessage", Handler: _Messaging_UpdateMessage_Handler, }, { MethodName: "UpdateMessageBody", Handler: _Messaging_UpdateMessageBody_Handler, }, { MethodName: "Action", Handler: _Messaging_Action_Handler, }, { MethodName: "ActionSegment", Handler: _Messaging_ActionSegment_Handler, }, { MethodName: "ActionResource", Handler: _Messaging_ActionResource_Handler, }, { MethodName: "ActionSegments", Handler: _Messaging_ActionSegments_Handler, }, { MethodName: "BatchGet", Handler: _Messaging_BatchGet_Handler, }, { MethodName: "VariableOne", Handler: _Messaging_VariableOne_Handler, }, { MethodName: "VariableTwo", Handler: _Messaging_VariableTwo_Handler, }, { MethodName: "GetShelf", Handler: _Messaging_GetShelf_Handler, }, { MethodName: "GetBook", Handler: _Messaging_GetBook_Handler, }, { MethodName: "CreateBook", Handler: _Messaging_CreateBook_Handler, }, { MethodName: "UpdateBook", Handler: _Messaging_UpdateBook_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "larking/api/test.proto", }
Messaging_ServiceDesc is the grpc.ServiceDesc for Messaging service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WellKnown_ServiceDesc = grpc.ServiceDesc{ ServiceName: "larking.testpb.WellKnown", HandlerType: (*WellKnownServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Check", Handler: _WellKnown_Check_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "larking/api/test.proto", }
WellKnown_ServiceDesc is the grpc.ServiceDesc for WellKnown service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterChatRoomServer ¶
func RegisterChatRoomServer(s grpc.ServiceRegistrar, srv ChatRoomServer)
func RegisterComplexServer ¶
func RegisterComplexServer(s grpc.ServiceRegistrar, srv ComplexServer)
func RegisterFilesServer ¶
func RegisterFilesServer(s grpc.ServiceRegistrar, srv FilesServer)
func RegisterMessagingServer ¶
func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)
func RegisterWellKnownServer ¶
func RegisterWellKnownServer(s grpc.ServiceRegistrar, srv WellKnownServer)
Types ¶
type Book ¶
type Book struct { // Resource name of the book. It must have the format of "shelves/*/books/*". // For example: "shelves/shelf1/books/book2". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ... other properties Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
func (*Book) Descriptor
deprecated
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
type ChatMessage ¶
type ChatMessage struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*ChatMessage) Descriptor
deprecated
func (*ChatMessage) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead.
func (*ChatMessage) GetName ¶
func (x *ChatMessage) GetName() string
func (*ChatMessage) GetText ¶
func (x *ChatMessage) GetText() string
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) ProtoReflect ¶
func (x *ChatMessage) ProtoReflect() protoreflect.Message
func (*ChatMessage) Reset ¶
func (x *ChatMessage) Reset()
func (*ChatMessage) String ¶
func (x *ChatMessage) String() string
type ChatRoomClient ¶
type ChatRoomClient interface {
Chat(ctx context.Context, opts ...grpc.CallOption) (ChatRoom_ChatClient, error)
}
ChatRoomClient is the client API for ChatRoom service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewChatRoomClient ¶
func NewChatRoomClient(cc grpc.ClientConnInterface) ChatRoomClient
type ChatRoomServer ¶
type ChatRoomServer interface { Chat(ChatRoom_ChatServer) error // contains filtered or unexported methods }
ChatRoomServer is the server API for ChatRoom service. All implementations must embed UnimplementedChatRoomServer for forward compatibility
type ChatRoom_ChatClient ¶
type ChatRoom_ChatClient interface { Send(*ChatMessage) error Recv() (*ChatMessage, error) grpc.ClientStream }
type ChatRoom_ChatServer ¶
type ChatRoom_ChatServer interface { Send(*ChatMessage) error Recv() (*ChatMessage, error) grpc.ServerStream }
type ComplexClient ¶
type ComplexClient interface {
Check(ctx context.Context, in *ComplexRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
ComplexClient is the client API for Complex service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewComplexClient ¶
func NewComplexClient(cc grpc.ClientConnInterface) ComplexClient
type ComplexRequest ¶
type ComplexRequest struct { DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` FloatValue float32 `protobuf:"fixed32,2,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` Int32Value int32 `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Int64Value int64 `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` Uint32Value uint32 `protobuf:"varint,5,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` Sint32Value int32 `protobuf:"zigzag32,7,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"` Sint64Value int64 `protobuf:"zigzag64,8,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"` Fixed32Value uint32 `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"` Fixed64Value uint64 `protobuf:"fixed64,10,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"` Sfixed32Value int32 `protobuf:"fixed32,11,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"` Sfixed64Value int64 `protobuf:"fixed64,12,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"` BoolValue bool `protobuf:"varint,13,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` StringValue string `protobuf:"bytes,14,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` BytesValue []byte `protobuf:"bytes,15,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` DoubleList []float64 `protobuf:"fixed64,16,rep,packed,name=double_list,json=doubleList,proto3" json:"double_list,omitempty"` FloatList []float32 `protobuf:"fixed32,17,rep,packed,name=float_list,json=floatList,proto3" json:"float_list,omitempty"` Int32List []int32 `protobuf:"varint,18,rep,packed,name=int32_list,json=int32List,proto3" json:"int32_list,omitempty"` Int64List []int64 `protobuf:"varint,19,rep,packed,name=int64_list,json=int64List,proto3" json:"int64_list,omitempty"` Uint32List []uint32 `protobuf:"varint,20,rep,packed,name=uint32_list,json=uint32List,proto3" json:"uint32_list,omitempty"` Uint64List []uint64 `protobuf:"varint,21,rep,packed,name=uint64_list,json=uint64List,proto3" json:"uint64_list,omitempty"` Sint32List []int32 `protobuf:"zigzag32,22,rep,packed,name=sint32_list,json=sint32List,proto3" json:"sint32_list,omitempty"` Sint64List []int64 `protobuf:"zigzag64,23,rep,packed,name=sint64_list,json=sint64List,proto3" json:"sint64_list,omitempty"` Fixed32List []uint32 `protobuf:"fixed32,24,rep,packed,name=fixed32_list,json=fixed32List,proto3" json:"fixed32_list,omitempty"` Fixed64List []uint64 `protobuf:"fixed64,25,rep,packed,name=fixed64_list,json=fixed64List,proto3" json:"fixed64_list,omitempty"` Sfixed32List []int32 `protobuf:"fixed32,26,rep,packed,name=sfixed32_list,json=sfixed32List,proto3" json:"sfixed32_list,omitempty"` Sfixed64List []int64 `protobuf:"fixed64,27,rep,packed,name=sfixed64_list,json=sfixed64List,proto3" json:"sfixed64_list,omitempty"` BoolList []bool `protobuf:"varint,28,rep,packed,name=bool_list,json=boolList,proto3" json:"bool_list,omitempty"` StringList []string `protobuf:"bytes,29,rep,name=string_list,json=stringList,proto3" json:"string_list,omitempty"` BytesList [][]byte `protobuf:"bytes,30,rep,name=bytes_list,json=bytesList,proto3" json:"bytes_list,omitempty"` DoubleMap map[string]float64 `` /* 179-byte string literal not displayed */ FloatMap map[string]float32 `` /* 176-byte string literal not displayed */ Int32Map map[int32]int32 `` /* 176-byte string literal not displayed */ Int64Map map[int64]int64 `` /* 176-byte string literal not displayed */ Uint32Map map[uint32]uint32 `` /* 179-byte string literal not displayed */ Uint64Map map[uint64]uint64 `` /* 179-byte string literal not displayed */ Sint32Map map[int32]int32 `` /* 183-byte string literal not displayed */ Sint64Map map[int64]int64 `` /* 183-byte string literal not displayed */ Fixed32Map map[uint32]uint32 `` /* 184-byte string literal not displayed */ Fixed64Map map[uint64]uint64 `` /* 184-byte string literal not displayed */ Sfixed32Map map[int32]int32 `` /* 187-byte string literal not displayed */ Sfixed64Map map[int64]int64 `` /* 187-byte string literal not displayed */ BoolMap map[bool]bool `` /* 173-byte string literal not displayed */ StringMap map[string]string `` /* 177-byte string literal not displayed */ BytesMap map[string][]byte `` /* 174-byte string literal not displayed */ Timestamp *timestamppb.Timestamp `protobuf:"bytes,46,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,47,opt,name=duration,proto3" json:"duration,omitempty"` BoolValueWrapper *wrapperspb.BoolValue `protobuf:"bytes,48,opt,name=bool_value_wrapper,json=boolValueWrapper,proto3" json:"bool_value_wrapper,omitempty"` Int32ValueWrapper *wrapperspb.Int32Value `protobuf:"bytes,49,opt,name=int32_value_wrapper,json=int32ValueWrapper,proto3" json:"int32_value_wrapper,omitempty"` Int64ValueWrapper *wrapperspb.Int64Value `protobuf:"bytes,50,opt,name=int64_value_wrapper,json=int64ValueWrapper,proto3" json:"int64_value_wrapper,omitempty"` Uint32ValueWrapper *wrapperspb.UInt32Value `protobuf:"bytes,51,opt,name=uint32_value_wrapper,json=uint32ValueWrapper,proto3" json:"uint32_value_wrapper,omitempty"` Uint64ValueWrapper *wrapperspb.UInt64Value `protobuf:"bytes,52,opt,name=uint64_value_wrapper,json=uint64ValueWrapper,proto3" json:"uint64_value_wrapper,omitempty"` FloatValueWrapper *wrapperspb.FloatValue `protobuf:"bytes,53,opt,name=float_value_wrapper,json=floatValueWrapper,proto3" json:"float_value_wrapper,omitempty"` DoubleValueWrapper *wrapperspb.DoubleValue `protobuf:"bytes,54,opt,name=double_value_wrapper,json=doubleValueWrapper,proto3" json:"double_value_wrapper,omitempty"` BytesValueWrapper *wrapperspb.BytesValue `protobuf:"bytes,55,opt,name=bytes_value_wrapper,json=bytesValueWrapper,proto3" json:"bytes_value_wrapper,omitempty"` StringValueWrapper *wrapperspb.StringValue `protobuf:"bytes,56,opt,name=string_value_wrapper,json=stringValueWrapper,proto3" json:"string_value_wrapper,omitempty"` FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,57,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` Struct *structpb.Struct `protobuf:"bytes,58,opt,name=struct,proto3" json:"struct,omitempty"` Any *anypb.Any `protobuf:"bytes,59,opt,name=any,proto3" json:"any,omitempty"` Value *structpb.Value `protobuf:"bytes,60,opt,name=value,proto3" json:"value,omitempty"` ListValue *structpb.ListValue `protobuf:"bytes,61,opt,name=list_value,json=listValue,proto3" json:"list_value,omitempty"` NullValue structpb.NullValue `protobuf:"varint,62,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue" json:"null_value,omitempty"` Empty *emptypb.Empty `protobuf:"bytes,63,opt,name=empty,proto3" json:"empty,omitempty"` Nested *ComplexRequest_Nested `protobuf:"bytes,64,opt,name=nested,proto3" json:"nested,omitempty"` NestedList []*ComplexRequest_Nested `protobuf:"bytes,65,rep,name=nested_list,json=nestedList,proto3" json:"nested_list,omitempty"` NestedMap map[string]*ComplexRequest_Nested `` /* 177-byte string literal not displayed */ EnumValue ComplexRequest_Enum `` /* 130-byte string literal not displayed */ EnumList []ComplexRequest_Enum `` /* 134-byte string literal not displayed */ EnumMap map[string]ComplexRequest_Enum `` /* 212-byte string literal not displayed */ // Types that are assignable to Oneof: // // *ComplexRequest_OneofDoubleValue // *ComplexRequest_OneofFloatValue // *ComplexRequest_OneofInt32Value // *ComplexRequest_OneofInt64Value // *ComplexRequest_OneofUint32Value // *ComplexRequest_OneofUint64Value // *ComplexRequest_OneofSint32Value // *ComplexRequest_OneofSint64Value // *ComplexRequest_OneofFixed32Value // *ComplexRequest_OneofFixed64Value // *ComplexRequest_OneofSfixed32Value // *ComplexRequest_OneofSfixed64Value // *ComplexRequest_OneofBoolValue // *ComplexRequest_OneofStringValue // *ComplexRequest_OneofBytesValue // *ComplexRequest_OneofTimestamp // *ComplexRequest_OneofDuration // *ComplexRequest_OneofBoolValueWrapper // *ComplexRequest_OneofInt32ValueWrapper // *ComplexRequest_OneofInt64ValueWrapper // *ComplexRequest_OneofUint32ValueWrapper // *ComplexRequest_OneofUint64ValueWrapper // *ComplexRequest_OneofFloatValueWrapper // *ComplexRequest_OneofDoubleValueWrapper // *ComplexRequest_OneofBytesValueWrapper // *ComplexRequest_OneofStringValueWrapper // *ComplexRequest_OneofFieldMask // *ComplexRequest_OneofStruct // *ComplexRequest_OneofAny // *ComplexRequest_OneofValue // *ComplexRequest_OneofListValue // *ComplexRequest_OneofNullValue // *ComplexRequest_OneofEmpty // *ComplexRequest_OneofNested // *ComplexRequest_OneofEnumValue Oneof isComplexRequest_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*ComplexRequest) Descriptor
deprecated
func (*ComplexRequest) Descriptor() ([]byte, []int)
Deprecated: Use ComplexRequest.ProtoReflect.Descriptor instead.
func (*ComplexRequest) GetAny ¶
func (x *ComplexRequest) GetAny() *anypb.Any
func (*ComplexRequest) GetBoolList ¶
func (x *ComplexRequest) GetBoolList() []bool
func (*ComplexRequest) GetBoolMap ¶
func (x *ComplexRequest) GetBoolMap() map[bool]bool
func (*ComplexRequest) GetBoolValue ¶
func (x *ComplexRequest) GetBoolValue() bool
func (*ComplexRequest) GetBoolValueWrapper ¶
func (x *ComplexRequest) GetBoolValueWrapper() *wrapperspb.BoolValue
func (*ComplexRequest) GetBytesList ¶
func (x *ComplexRequest) GetBytesList() [][]byte
func (*ComplexRequest) GetBytesMap ¶
func (x *ComplexRequest) GetBytesMap() map[string][]byte
func (*ComplexRequest) GetBytesValue ¶
func (x *ComplexRequest) GetBytesValue() []byte
func (*ComplexRequest) GetBytesValueWrapper ¶
func (x *ComplexRequest) GetBytesValueWrapper() *wrapperspb.BytesValue
func (*ComplexRequest) GetDoubleList ¶
func (x *ComplexRequest) GetDoubleList() []float64
func (*ComplexRequest) GetDoubleMap ¶
func (x *ComplexRequest) GetDoubleMap() map[string]float64
func (*ComplexRequest) GetDoubleValue ¶
func (x *ComplexRequest) GetDoubleValue() float64
func (*ComplexRequest) GetDoubleValueWrapper ¶
func (x *ComplexRequest) GetDoubleValueWrapper() *wrapperspb.DoubleValue
func (*ComplexRequest) GetDuration ¶
func (x *ComplexRequest) GetDuration() *durationpb.Duration
func (*ComplexRequest) GetEmpty ¶
func (x *ComplexRequest) GetEmpty() *emptypb.Empty
func (*ComplexRequest) GetEnumList ¶
func (x *ComplexRequest) GetEnumList() []ComplexRequest_Enum
func (*ComplexRequest) GetEnumMap ¶
func (x *ComplexRequest) GetEnumMap() map[string]ComplexRequest_Enum
func (*ComplexRequest) GetEnumValue ¶
func (x *ComplexRequest) GetEnumValue() ComplexRequest_Enum
func (*ComplexRequest) GetFieldMask ¶
func (x *ComplexRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*ComplexRequest) GetFixed32List ¶
func (x *ComplexRequest) GetFixed32List() []uint32
func (*ComplexRequest) GetFixed32Map ¶
func (x *ComplexRequest) GetFixed32Map() map[uint32]uint32
func (*ComplexRequest) GetFixed32Value ¶
func (x *ComplexRequest) GetFixed32Value() uint32
func (*ComplexRequest) GetFixed64List ¶
func (x *ComplexRequest) GetFixed64List() []uint64
func (*ComplexRequest) GetFixed64Map ¶
func (x *ComplexRequest) GetFixed64Map() map[uint64]uint64
func (*ComplexRequest) GetFixed64Value ¶
func (x *ComplexRequest) GetFixed64Value() uint64
func (*ComplexRequest) GetFloatList ¶
func (x *ComplexRequest) GetFloatList() []float32
func (*ComplexRequest) GetFloatMap ¶
func (x *ComplexRequest) GetFloatMap() map[string]float32
func (*ComplexRequest) GetFloatValue ¶
func (x *ComplexRequest) GetFloatValue() float32
func (*ComplexRequest) GetFloatValueWrapper ¶
func (x *ComplexRequest) GetFloatValueWrapper() *wrapperspb.FloatValue
func (*ComplexRequest) GetInt32List ¶
func (x *ComplexRequest) GetInt32List() []int32
func (*ComplexRequest) GetInt32Map ¶
func (x *ComplexRequest) GetInt32Map() map[int32]int32
func (*ComplexRequest) GetInt32Value ¶
func (x *ComplexRequest) GetInt32Value() int32
func (*ComplexRequest) GetInt32ValueWrapper ¶
func (x *ComplexRequest) GetInt32ValueWrapper() *wrapperspb.Int32Value
func (*ComplexRequest) GetInt64List ¶
func (x *ComplexRequest) GetInt64List() []int64
func (*ComplexRequest) GetInt64Map ¶
func (x *ComplexRequest) GetInt64Map() map[int64]int64
func (*ComplexRequest) GetInt64Value ¶
func (x *ComplexRequest) GetInt64Value() int64
func (*ComplexRequest) GetInt64ValueWrapper ¶
func (x *ComplexRequest) GetInt64ValueWrapper() *wrapperspb.Int64Value
func (*ComplexRequest) GetListValue ¶
func (x *ComplexRequest) GetListValue() *structpb.ListValue
func (*ComplexRequest) GetNested ¶
func (x *ComplexRequest) GetNested() *ComplexRequest_Nested
func (*ComplexRequest) GetNestedList ¶
func (x *ComplexRequest) GetNestedList() []*ComplexRequest_Nested
func (*ComplexRequest) GetNestedMap ¶
func (x *ComplexRequest) GetNestedMap() map[string]*ComplexRequest_Nested
func (*ComplexRequest) GetNullValue ¶
func (x *ComplexRequest) GetNullValue() structpb.NullValue
func (*ComplexRequest) GetOneof ¶
func (m *ComplexRequest) GetOneof() isComplexRequest_Oneof
func (*ComplexRequest) GetOneofAny ¶
func (x *ComplexRequest) GetOneofAny() *anypb.Any
func (*ComplexRequest) GetOneofBoolValue ¶
func (x *ComplexRequest) GetOneofBoolValue() bool
func (*ComplexRequest) GetOneofBoolValueWrapper ¶
func (x *ComplexRequest) GetOneofBoolValueWrapper() *wrapperspb.BoolValue
func (*ComplexRequest) GetOneofBytesValue ¶
func (x *ComplexRequest) GetOneofBytesValue() []byte
func (*ComplexRequest) GetOneofBytesValueWrapper ¶
func (x *ComplexRequest) GetOneofBytesValueWrapper() *wrapperspb.BytesValue
func (*ComplexRequest) GetOneofDoubleValue ¶
func (x *ComplexRequest) GetOneofDoubleValue() float64
func (*ComplexRequest) GetOneofDoubleValueWrapper ¶
func (x *ComplexRequest) GetOneofDoubleValueWrapper() *wrapperspb.DoubleValue
func (*ComplexRequest) GetOneofDuration ¶
func (x *ComplexRequest) GetOneofDuration() *durationpb.Duration
func (*ComplexRequest) GetOneofEmpty ¶
func (x *ComplexRequest) GetOneofEmpty() *emptypb.Empty
func (*ComplexRequest) GetOneofEnumValue ¶
func (x *ComplexRequest) GetOneofEnumValue() ComplexRequest_Enum
func (*ComplexRequest) GetOneofFieldMask ¶
func (x *ComplexRequest) GetOneofFieldMask() *fieldmaskpb.FieldMask
func (*ComplexRequest) GetOneofFixed32Value ¶
func (x *ComplexRequest) GetOneofFixed32Value() uint32
func (*ComplexRequest) GetOneofFixed64Value ¶
func (x *ComplexRequest) GetOneofFixed64Value() uint64
func (*ComplexRequest) GetOneofFloatValue ¶
func (x *ComplexRequest) GetOneofFloatValue() float32
func (*ComplexRequest) GetOneofFloatValueWrapper ¶
func (x *ComplexRequest) GetOneofFloatValueWrapper() *wrapperspb.FloatValue
func (*ComplexRequest) GetOneofInt32Value ¶
func (x *ComplexRequest) GetOneofInt32Value() int32
func (*ComplexRequest) GetOneofInt32ValueWrapper ¶
func (x *ComplexRequest) GetOneofInt32ValueWrapper() *wrapperspb.Int32Value
func (*ComplexRequest) GetOneofInt64Value ¶
func (x *ComplexRequest) GetOneofInt64Value() int64
func (*ComplexRequest) GetOneofInt64ValueWrapper ¶
func (x *ComplexRequest) GetOneofInt64ValueWrapper() *wrapperspb.Int64Value
func (*ComplexRequest) GetOneofListValue ¶
func (x *ComplexRequest) GetOneofListValue() *structpb.ListValue
func (*ComplexRequest) GetOneofNested ¶
func (x *ComplexRequest) GetOneofNested() *ComplexRequest_Nested
func (*ComplexRequest) GetOneofNullValue ¶
func (x *ComplexRequest) GetOneofNullValue() structpb.NullValue
func (*ComplexRequest) GetOneofSfixed32Value ¶
func (x *ComplexRequest) GetOneofSfixed32Value() int32
func (*ComplexRequest) GetOneofSfixed64Value ¶
func (x *ComplexRequest) GetOneofSfixed64Value() int64
func (*ComplexRequest) GetOneofSint32Value ¶
func (x *ComplexRequest) GetOneofSint32Value() int32
func (*ComplexRequest) GetOneofSint64Value ¶
func (x *ComplexRequest) GetOneofSint64Value() int64
func (*ComplexRequest) GetOneofStringValue ¶
func (x *ComplexRequest) GetOneofStringValue() string
func (*ComplexRequest) GetOneofStringValueWrapper ¶
func (x *ComplexRequest) GetOneofStringValueWrapper() *wrapperspb.StringValue
func (*ComplexRequest) GetOneofStruct ¶
func (x *ComplexRequest) GetOneofStruct() *structpb.Struct
func (*ComplexRequest) GetOneofTimestamp ¶
func (x *ComplexRequest) GetOneofTimestamp() *timestamppb.Timestamp
func (*ComplexRequest) GetOneofUint32Value ¶
func (x *ComplexRequest) GetOneofUint32Value() uint32
func (*ComplexRequest) GetOneofUint32ValueWrapper ¶
func (x *ComplexRequest) GetOneofUint32ValueWrapper() *wrapperspb.UInt32Value
func (*ComplexRequest) GetOneofUint64Value ¶
func (x *ComplexRequest) GetOneofUint64Value() uint64
func (*ComplexRequest) GetOneofUint64ValueWrapper ¶
func (x *ComplexRequest) GetOneofUint64ValueWrapper() *wrapperspb.UInt64Value
func (*ComplexRequest) GetOneofValue ¶
func (x *ComplexRequest) GetOneofValue() *structpb.Value
func (*ComplexRequest) GetSfixed32List ¶
func (x *ComplexRequest) GetSfixed32List() []int32
func (*ComplexRequest) GetSfixed32Map ¶
func (x *ComplexRequest) GetSfixed32Map() map[int32]int32
func (*ComplexRequest) GetSfixed32Value ¶
func (x *ComplexRequest) GetSfixed32Value() int32
func (*ComplexRequest) GetSfixed64List ¶
func (x *ComplexRequest) GetSfixed64List() []int64
func (*ComplexRequest) GetSfixed64Map ¶
func (x *ComplexRequest) GetSfixed64Map() map[int64]int64
func (*ComplexRequest) GetSfixed64Value ¶
func (x *ComplexRequest) GetSfixed64Value() int64
func (*ComplexRequest) GetSint32List ¶
func (x *ComplexRequest) GetSint32List() []int32
func (*ComplexRequest) GetSint32Map ¶
func (x *ComplexRequest) GetSint32Map() map[int32]int32
func (*ComplexRequest) GetSint32Value ¶
func (x *ComplexRequest) GetSint32Value() int32
func (*ComplexRequest) GetSint64List ¶
func (x *ComplexRequest) GetSint64List() []int64
func (*ComplexRequest) GetSint64Map ¶
func (x *ComplexRequest) GetSint64Map() map[int64]int64
func (*ComplexRequest) GetSint64Value ¶
func (x *ComplexRequest) GetSint64Value() int64
func (*ComplexRequest) GetStringList ¶
func (x *ComplexRequest) GetStringList() []string
func (*ComplexRequest) GetStringMap ¶
func (x *ComplexRequest) GetStringMap() map[string]string
func (*ComplexRequest) GetStringValue ¶
func (x *ComplexRequest) GetStringValue() string
func (*ComplexRequest) GetStringValueWrapper ¶
func (x *ComplexRequest) GetStringValueWrapper() *wrapperspb.StringValue
func (*ComplexRequest) GetStruct ¶
func (x *ComplexRequest) GetStruct() *structpb.Struct
func (*ComplexRequest) GetTimestamp ¶
func (x *ComplexRequest) GetTimestamp() *timestamppb.Timestamp
func (*ComplexRequest) GetUint32List ¶
func (x *ComplexRequest) GetUint32List() []uint32
func (*ComplexRequest) GetUint32Map ¶
func (x *ComplexRequest) GetUint32Map() map[uint32]uint32
func (*ComplexRequest) GetUint32Value ¶
func (x *ComplexRequest) GetUint32Value() uint32
func (*ComplexRequest) GetUint32ValueWrapper ¶
func (x *ComplexRequest) GetUint32ValueWrapper() *wrapperspb.UInt32Value
func (*ComplexRequest) GetUint64List ¶
func (x *ComplexRequest) GetUint64List() []uint64
func (*ComplexRequest) GetUint64Map ¶
func (x *ComplexRequest) GetUint64Map() map[uint64]uint64
func (*ComplexRequest) GetUint64Value ¶
func (x *ComplexRequest) GetUint64Value() uint64
func (*ComplexRequest) GetUint64ValueWrapper ¶
func (x *ComplexRequest) GetUint64ValueWrapper() *wrapperspb.UInt64Value
func (*ComplexRequest) GetValue ¶
func (x *ComplexRequest) GetValue() *structpb.Value
func (*ComplexRequest) ProtoMessage ¶
func (*ComplexRequest) ProtoMessage()
func (*ComplexRequest) ProtoReflect ¶
func (x *ComplexRequest) ProtoReflect() protoreflect.Message
func (*ComplexRequest) Reset ¶
func (x *ComplexRequest) Reset()
func (*ComplexRequest) String ¶
func (x *ComplexRequest) String() string
type ComplexRequest_Enum ¶
type ComplexRequest_Enum int32
const ( ComplexRequest_ENUM_UNSPECIFIED ComplexRequest_Enum = 0 ComplexRequest_ENUM_VALUE ComplexRequest_Enum = 1 )
func (ComplexRequest_Enum) Descriptor ¶
func (ComplexRequest_Enum) Descriptor() protoreflect.EnumDescriptor
func (ComplexRequest_Enum) Enum ¶
func (x ComplexRequest_Enum) Enum() *ComplexRequest_Enum
func (ComplexRequest_Enum) EnumDescriptor
deprecated
func (ComplexRequest_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComplexRequest_Enum.Descriptor instead.
func (ComplexRequest_Enum) Number ¶
func (x ComplexRequest_Enum) Number() protoreflect.EnumNumber
func (ComplexRequest_Enum) String ¶
func (x ComplexRequest_Enum) String() string
func (ComplexRequest_Enum) Type ¶
func (ComplexRequest_Enum) Type() protoreflect.EnumType
type ComplexRequest_Nested ¶
type ComplexRequest_Nested struct { DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` FloatValue float32 `protobuf:"fixed32,2,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` Int32Value int32 `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Int64Value int64 `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` Uint32Value uint32 `protobuf:"varint,5,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` Sint32Value int32 `protobuf:"zigzag32,7,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"` Sint64Value int64 `protobuf:"zigzag64,8,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"` Fixed32Value uint32 `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"` Fixed64Value uint64 `protobuf:"fixed64,10,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"` Sfixed32Value int32 `protobuf:"fixed32,11,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"` Sfixed64Value int64 `protobuf:"fixed64,12,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"` BoolValue bool `protobuf:"varint,13,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` StringValue string `protobuf:"bytes,14,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` BytesValue []byte `protobuf:"bytes,15,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` EnumValue ComplexRequest_Nested_Enum `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ComplexRequest_Nested) Descriptor
deprecated
func (*ComplexRequest_Nested) Descriptor() ([]byte, []int)
Deprecated: Use ComplexRequest_Nested.ProtoReflect.Descriptor instead.
func (*ComplexRequest_Nested) GetBoolValue ¶
func (x *ComplexRequest_Nested) GetBoolValue() bool
func (*ComplexRequest_Nested) GetBytesValue ¶
func (x *ComplexRequest_Nested) GetBytesValue() []byte
func (*ComplexRequest_Nested) GetDoubleValue ¶
func (x *ComplexRequest_Nested) GetDoubleValue() float64
func (*ComplexRequest_Nested) GetEnumValue ¶
func (x *ComplexRequest_Nested) GetEnumValue() ComplexRequest_Nested_Enum
func (*ComplexRequest_Nested) GetFixed32Value ¶
func (x *ComplexRequest_Nested) GetFixed32Value() uint32
func (*ComplexRequest_Nested) GetFixed64Value ¶
func (x *ComplexRequest_Nested) GetFixed64Value() uint64
func (*ComplexRequest_Nested) GetFloatValue ¶
func (x *ComplexRequest_Nested) GetFloatValue() float32
func (*ComplexRequest_Nested) GetInt32Value ¶
func (x *ComplexRequest_Nested) GetInt32Value() int32
func (*ComplexRequest_Nested) GetInt64Value ¶
func (x *ComplexRequest_Nested) GetInt64Value() int64
func (*ComplexRequest_Nested) GetSfixed32Value ¶
func (x *ComplexRequest_Nested) GetSfixed32Value() int32
func (*ComplexRequest_Nested) GetSfixed64Value ¶
func (x *ComplexRequest_Nested) GetSfixed64Value() int64
func (*ComplexRequest_Nested) GetSint32Value ¶
func (x *ComplexRequest_Nested) GetSint32Value() int32
func (*ComplexRequest_Nested) GetSint64Value ¶
func (x *ComplexRequest_Nested) GetSint64Value() int64
func (*ComplexRequest_Nested) GetStringValue ¶
func (x *ComplexRequest_Nested) GetStringValue() string
func (*ComplexRequest_Nested) GetUint32Value ¶
func (x *ComplexRequest_Nested) GetUint32Value() uint32
func (*ComplexRequest_Nested) GetUint64Value ¶
func (x *ComplexRequest_Nested) GetUint64Value() uint64
func (*ComplexRequest_Nested) ProtoMessage ¶
func (*ComplexRequest_Nested) ProtoMessage()
func (*ComplexRequest_Nested) ProtoReflect ¶
func (x *ComplexRequest_Nested) ProtoReflect() protoreflect.Message
func (*ComplexRequest_Nested) Reset ¶
func (x *ComplexRequest_Nested) Reset()
func (*ComplexRequest_Nested) String ¶
func (x *ComplexRequest_Nested) String() string
type ComplexRequest_Nested_Enum ¶
type ComplexRequest_Nested_Enum int32
const ( ComplexRequest_Nested_ENUM_UNSPECIFIED ComplexRequest_Nested_Enum = 0 ComplexRequest_Nested_ENUM_VALUE ComplexRequest_Nested_Enum = 1 )
func (ComplexRequest_Nested_Enum) Descriptor ¶
func (ComplexRequest_Nested_Enum) Descriptor() protoreflect.EnumDescriptor
func (ComplexRequest_Nested_Enum) Enum ¶
func (x ComplexRequest_Nested_Enum) Enum() *ComplexRequest_Nested_Enum
func (ComplexRequest_Nested_Enum) EnumDescriptor
deprecated
func (ComplexRequest_Nested_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComplexRequest_Nested_Enum.Descriptor instead.
func (ComplexRequest_Nested_Enum) Number ¶
func (x ComplexRequest_Nested_Enum) Number() protoreflect.EnumNumber
func (ComplexRequest_Nested_Enum) String ¶
func (x ComplexRequest_Nested_Enum) String() string
func (ComplexRequest_Nested_Enum) Type ¶
func (ComplexRequest_Nested_Enum) Type() protoreflect.EnumType
type ComplexRequest_OneofAny ¶
type ComplexRequest_OneofBoolValue ¶
type ComplexRequest_OneofBoolValue struct {
OneofBoolValue bool `protobuf:"varint,82,opt,name=oneof_bool_value,json=oneofBoolValue,proto3,oneof"`
}
type ComplexRequest_OneofBoolValueWrapper ¶
type ComplexRequest_OneofBoolValueWrapper struct {
OneofBoolValueWrapper *wrapperspb.BoolValue `protobuf:"bytes,87,opt,name=oneof_bool_value_wrapper,json=oneofBoolValueWrapper,proto3,oneof"`
}
type ComplexRequest_OneofBytesValue ¶
type ComplexRequest_OneofBytesValue struct {
OneofBytesValue []byte `protobuf:"bytes,84,opt,name=oneof_bytes_value,json=oneofBytesValue,proto3,oneof"`
}
type ComplexRequest_OneofBytesValueWrapper ¶
type ComplexRequest_OneofBytesValueWrapper struct {
OneofBytesValueWrapper *wrapperspb.BytesValue `protobuf:"bytes,94,opt,name=oneof_bytes_value_wrapper,json=oneofBytesValueWrapper,proto3,oneof"`
}
type ComplexRequest_OneofDoubleValue ¶
type ComplexRequest_OneofDoubleValue struct {
OneofDoubleValue float64 `protobuf:"fixed64,70,opt,name=oneof_double_value,json=oneofDoubleValue,proto3,oneof"`
}
type ComplexRequest_OneofDoubleValueWrapper ¶
type ComplexRequest_OneofDoubleValueWrapper struct {
OneofDoubleValueWrapper *wrapperspb.DoubleValue `protobuf:"bytes,93,opt,name=oneof_double_value_wrapper,json=oneofDoubleValueWrapper,proto3,oneof"`
}
type ComplexRequest_OneofDuration ¶
type ComplexRequest_OneofDuration struct {
OneofDuration *durationpb.Duration `protobuf:"bytes,86,opt,name=oneof_duration,json=oneofDuration,proto3,oneof"`
}
type ComplexRequest_OneofEnumValue ¶
type ComplexRequest_OneofEnumValue struct {
OneofEnumValue ComplexRequest_Enum `protobuf:"varint,104,opt,name=oneof_enum_value,json=oneofEnumValue,proto3,enum=larking.testpb.ComplexRequest_Enum,oneof"`
}
type ComplexRequest_OneofFieldMask ¶
type ComplexRequest_OneofFieldMask struct {
OneofFieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,96,opt,name=oneof_field_mask,json=oneofFieldMask,proto3,oneof"`
}
type ComplexRequest_OneofFixed32Value ¶
type ComplexRequest_OneofFixed32Value struct {
OneofFixed32Value uint32 `protobuf:"fixed32,78,opt,name=oneof_fixed32_value,json=oneofFixed32Value,proto3,oneof"`
}
type ComplexRequest_OneofFixed64Value ¶
type ComplexRequest_OneofFixed64Value struct {
OneofFixed64Value uint64 `protobuf:"fixed64,79,opt,name=oneof_fixed64_value,json=oneofFixed64Value,proto3,oneof"`
}
type ComplexRequest_OneofFloatValue ¶
type ComplexRequest_OneofFloatValue struct {
OneofFloatValue float32 `protobuf:"fixed32,71,opt,name=oneof_float_value,json=oneofFloatValue,proto3,oneof"`
}
type ComplexRequest_OneofFloatValueWrapper ¶
type ComplexRequest_OneofFloatValueWrapper struct {
OneofFloatValueWrapper *wrapperspb.FloatValue `protobuf:"bytes,92,opt,name=oneof_float_value_wrapper,json=oneofFloatValueWrapper,proto3,oneof"`
}
type ComplexRequest_OneofInt32Value ¶
type ComplexRequest_OneofInt32Value struct {
OneofInt32Value int32 `protobuf:"varint,72,opt,name=oneof_int32_value,json=oneofInt32Value,proto3,oneof"`
}
type ComplexRequest_OneofInt32ValueWrapper ¶
type ComplexRequest_OneofInt32ValueWrapper struct {
OneofInt32ValueWrapper *wrapperspb.Int32Value `protobuf:"bytes,88,opt,name=oneof_int32_value_wrapper,json=oneofInt32ValueWrapper,proto3,oneof"`
}
type ComplexRequest_OneofInt64Value ¶
type ComplexRequest_OneofInt64Value struct {
OneofInt64Value int64 `protobuf:"varint,73,opt,name=oneof_int64_value,json=oneofInt64Value,proto3,oneof"`
}
type ComplexRequest_OneofInt64ValueWrapper ¶
type ComplexRequest_OneofInt64ValueWrapper struct {
OneofInt64ValueWrapper *wrapperspb.Int64Value `protobuf:"bytes,89,opt,name=oneof_int64_value_wrapper,json=oneofInt64ValueWrapper,proto3,oneof"`
}
type ComplexRequest_OneofNested ¶
type ComplexRequest_OneofNested struct {
OneofNested *ComplexRequest_Nested `protobuf:"bytes,103,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
}
type ComplexRequest_OneofSfixed32Value ¶
type ComplexRequest_OneofSfixed32Value struct {
OneofSfixed32Value int32 `protobuf:"fixed32,80,opt,name=oneof_sfixed32_value,json=oneofSfixed32Value,proto3,oneof"`
}
type ComplexRequest_OneofSfixed64Value ¶
type ComplexRequest_OneofSfixed64Value struct {
OneofSfixed64Value int64 `protobuf:"fixed64,81,opt,name=oneof_sfixed64_value,json=oneofSfixed64Value,proto3,oneof"`
}
type ComplexRequest_OneofSint32Value ¶
type ComplexRequest_OneofSint32Value struct {
OneofSint32Value int32 `protobuf:"zigzag32,76,opt,name=oneof_sint32_value,json=oneofSint32Value,proto3,oneof"`
}
type ComplexRequest_OneofSint64Value ¶
type ComplexRequest_OneofSint64Value struct {
OneofSint64Value int64 `protobuf:"zigzag64,77,opt,name=oneof_sint64_value,json=oneofSint64Value,proto3,oneof"`
}
type ComplexRequest_OneofStringValue ¶
type ComplexRequest_OneofStringValue struct {
OneofStringValue string `protobuf:"bytes,83,opt,name=oneof_string_value,json=oneofStringValue,proto3,oneof"`
}
type ComplexRequest_OneofStringValueWrapper ¶
type ComplexRequest_OneofStringValueWrapper struct {
OneofStringValueWrapper *wrapperspb.StringValue `protobuf:"bytes,95,opt,name=oneof_string_value_wrapper,json=oneofStringValueWrapper,proto3,oneof"`
}
type ComplexRequest_OneofTimestamp ¶
type ComplexRequest_OneofTimestamp struct {
OneofTimestamp *timestamppb.Timestamp `protobuf:"bytes,85,opt,name=oneof_timestamp,json=oneofTimestamp,proto3,oneof"`
}
type ComplexRequest_OneofUint32Value ¶
type ComplexRequest_OneofUint32Value struct {
OneofUint32Value uint32 `protobuf:"varint,74,opt,name=oneof_uint32_value,json=oneofUint32Value,proto3,oneof"`
}
type ComplexRequest_OneofUint32ValueWrapper ¶
type ComplexRequest_OneofUint32ValueWrapper struct {
OneofUint32ValueWrapper *wrapperspb.UInt32Value `protobuf:"bytes,90,opt,name=oneof_uint32_value_wrapper,json=oneofUint32ValueWrapper,proto3,oneof"`
}
type ComplexRequest_OneofUint64Value ¶
type ComplexRequest_OneofUint64Value struct {
OneofUint64Value uint64 `protobuf:"varint,75,opt,name=oneof_uint64_value,json=oneofUint64Value,proto3,oneof"`
}
type ComplexRequest_OneofUint64ValueWrapper ¶
type ComplexRequest_OneofUint64ValueWrapper struct {
OneofUint64ValueWrapper *wrapperspb.UInt64Value `protobuf:"bytes,91,opt,name=oneof_uint64_value_wrapper,json=oneofUint64ValueWrapper,proto3,oneof"`
}
type ComplexServer ¶
type ComplexServer interface { Check(context.Context, *ComplexRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
ComplexServer is the server API for Complex service. All implementations must embed UnimplementedComplexServer for forward compatibility
type CreateBookRequest ¶
type CreateBookRequest struct { // Resource name of the parent resource where to create the book. // For example: "shelves/shelf1". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The Book resource to be created. Client must not set the `Book.name` field. Book *Book `protobuf:"bytes,2,opt,name=book,proto3" json:"book,omitempty"` // contains filtered or unexported fields }
func (*CreateBookRequest) Descriptor
deprecated
func (*CreateBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBookRequest.ProtoReflect.Descriptor instead.
func (*CreateBookRequest) GetBook ¶
func (x *CreateBookRequest) GetBook() *Book
func (*CreateBookRequest) GetParent ¶
func (x *CreateBookRequest) GetParent() string
func (*CreateBookRequest) ProtoMessage ¶
func (*CreateBookRequest) ProtoMessage()
func (*CreateBookRequest) ProtoReflect ¶
func (x *CreateBookRequest) ProtoReflect() protoreflect.Message
func (*CreateBookRequest) Reset ¶
func (x *CreateBookRequest) Reset()
func (*CreateBookRequest) String ¶
func (x *CreateBookRequest) String() string
type FilesClient ¶
type FilesClient interface { // HTTP | gRPC // -----|----- // `POST /files/cat.jpg <body>` | `UploadDownload(filename: "cat.jpg", file: // { content_type: "image/jpeg", data: <body>})"` UploadDownload(ctx context.Context, in *UploadFileRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) LargeUploadDownload(ctx context.Context, opts ...grpc.CallOption) (Files_LargeUploadDownloadClient, error) }
FilesClient is the client API for Files service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFilesClient ¶
func NewFilesClient(cc grpc.ClientConnInterface) FilesClient
type FilesServer ¶
type FilesServer interface { // HTTP | gRPC // -----|----- // `POST /files/cat.jpg <body>` | `UploadDownload(filename: "cat.jpg", file: // { content_type: "image/jpeg", data: <body>})"` UploadDownload(context.Context, *UploadFileRequest) (*httpbody.HttpBody, error) LargeUploadDownload(Files_LargeUploadDownloadServer) error // contains filtered or unexported methods }
FilesServer is the server API for Files service. All implementations must embed UnimplementedFilesServer for forward compatibility
type Files_LargeUploadDownloadClient ¶
type Files_LargeUploadDownloadClient interface { Send(*UploadFileRequest) error Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Files_LargeUploadDownloadServer ¶
type Files_LargeUploadDownloadServer interface { Send(*httpbody.HttpBody) error Recv() (*UploadFileRequest, error) grpc.ServerStream }
type GetBookRequest ¶
type GetBookRequest struct { // Resource name of a book. For example: "shelves/shelf1/books/book2". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetBookRequest) Descriptor
deprecated
func (*GetBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBookRequest.ProtoReflect.Descriptor instead.
func (*GetBookRequest) GetName ¶
func (x *GetBookRequest) GetName() string
func (*GetBookRequest) ProtoMessage ¶
func (*GetBookRequest) ProtoMessage()
func (*GetBookRequest) ProtoReflect ¶
func (x *GetBookRequest) ProtoReflect() protoreflect.Message
func (*GetBookRequest) Reset ¶
func (x *GetBookRequest) Reset()
func (*GetBookRequest) String ¶
func (x *GetBookRequest) String() string
type GetMessageRequestOne ¶
type GetMessageRequestOne struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped to URL path // contains filtered or unexported fields }
func (*GetMessageRequestOne) Descriptor
deprecated
func (*GetMessageRequestOne) Descriptor() ([]byte, []int)
Deprecated: Use GetMessageRequestOne.ProtoReflect.Descriptor instead.
func (*GetMessageRequestOne) GetName ¶
func (x *GetMessageRequestOne) GetName() string
func (*GetMessageRequestOne) ProtoMessage ¶
func (*GetMessageRequestOne) ProtoMessage()
func (*GetMessageRequestOne) ProtoReflect ¶
func (x *GetMessageRequestOne) ProtoReflect() protoreflect.Message
func (*GetMessageRequestOne) Reset ¶
func (x *GetMessageRequestOne) Reset()
func (*GetMessageRequestOne) String ¶
func (x *GetMessageRequestOne) String() string
type GetMessageRequestTwo ¶
type GetMessageRequestTwo struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // Mapped to URL path Revision int64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"` // Mapped to URL query parameter `revision` Sub *GetMessageRequestTwo_SubMessage `protobuf:"bytes,3,opt,name=sub,proto3" json:"sub,omitempty"` // Mapped to URL query parameter `sub.subfield` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Additional binding // contains filtered or unexported fields }
func (*GetMessageRequestTwo) Descriptor
deprecated
func (*GetMessageRequestTwo) Descriptor() ([]byte, []int)
Deprecated: Use GetMessageRequestTwo.ProtoReflect.Descriptor instead.
func (*GetMessageRequestTwo) GetMessageId ¶
func (x *GetMessageRequestTwo) GetMessageId() string
func (*GetMessageRequestTwo) GetRevision ¶
func (x *GetMessageRequestTwo) GetRevision() int64
func (*GetMessageRequestTwo) GetSub ¶
func (x *GetMessageRequestTwo) GetSub() *GetMessageRequestTwo_SubMessage
func (*GetMessageRequestTwo) GetUserId ¶
func (x *GetMessageRequestTwo) GetUserId() string
func (*GetMessageRequestTwo) ProtoMessage ¶
func (*GetMessageRequestTwo) ProtoMessage()
func (*GetMessageRequestTwo) ProtoReflect ¶
func (x *GetMessageRequestTwo) ProtoReflect() protoreflect.Message
func (*GetMessageRequestTwo) Reset ¶
func (x *GetMessageRequestTwo) Reset()
func (*GetMessageRequestTwo) String ¶
func (x *GetMessageRequestTwo) String() string
type GetMessageRequestTwo_SubMessage ¶
type GetMessageRequestTwo_SubMessage struct { Subfield string `protobuf:"bytes,1,opt,name=subfield,proto3" json:"subfield,omitempty"` // contains filtered or unexported fields }
func (*GetMessageRequestTwo_SubMessage) Descriptor
deprecated
func (*GetMessageRequestTwo_SubMessage) Descriptor() ([]byte, []int)
Deprecated: Use GetMessageRequestTwo_SubMessage.ProtoReflect.Descriptor instead.
func (*GetMessageRequestTwo_SubMessage) GetSubfield ¶
func (x *GetMessageRequestTwo_SubMessage) GetSubfield() string
func (*GetMessageRequestTwo_SubMessage) ProtoMessage ¶
func (*GetMessageRequestTwo_SubMessage) ProtoMessage()
func (*GetMessageRequestTwo_SubMessage) ProtoReflect ¶
func (x *GetMessageRequestTwo_SubMessage) ProtoReflect() protoreflect.Message
func (*GetMessageRequestTwo_SubMessage) Reset ¶
func (x *GetMessageRequestTwo_SubMessage) Reset()
func (*GetMessageRequestTwo_SubMessage) String ¶
func (x *GetMessageRequestTwo_SubMessage) String() string
type GetShelfRequest ¶
type GetShelfRequest struct { // Resource name of a shelf. For example: "shelves/shelf1". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetShelfRequest) Descriptor
deprecated
func (*GetShelfRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetShelfRequest.ProtoReflect.Descriptor instead.
func (*GetShelfRequest) GetName ¶
func (x *GetShelfRequest) GetName() string
func (*GetShelfRequest) ProtoMessage ¶
func (*GetShelfRequest) ProtoMessage()
func (*GetShelfRequest) ProtoReflect ¶
func (x *GetShelfRequest) ProtoReflect() protoreflect.Message
func (*GetShelfRequest) Reset ¶
func (x *GetShelfRequest) Reset()
func (*GetShelfRequest) String ¶
func (x *GetShelfRequest) String() string
type Message ¶
type Message struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // The resource content UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetMessageId ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessagingClient ¶
type MessagingClient interface { // HTTP | gRPC // -----|----- // `GET /v1/messages/123456` | `GetMessageOne(name: "messages/123456")` GetMessageOne(ctx context.Context, in *GetMessageRequestOne, opts ...grpc.CallOption) (*Message, error) // HTTP | gRPC // -----|----- // `GET /v1/messages/123456?revision=2&sub.subfield=foo` | // `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: // "foo"))` // `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: // "123456")` GetMessageTwo(ctx context.Context, in *GetMessageRequestTwo, opts ...grpc.CallOption) (*Message, error) // HTTP | gRPC // -----|----- // `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: // "123456" message { text: "Hi!" })` UpdateMessage(ctx context.Context, in *UpdateMessageRequestOne, opts ...grpc.CallOption) (*Message, error) // HTTP | gRPC // -----|----- // `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: // "123456" text: "Hi!")` UpdateMessageBody(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error) Action(ctx context.Context, in *Message, opts ...grpc.CallOption) (*emptypb.Empty, error) ActionSegment(ctx context.Context, in *Message, opts ...grpc.CallOption) (*emptypb.Empty, error) ActionResource(ctx context.Context, in *Message, opts ...grpc.CallOption) (*emptypb.Empty, error) ActionSegments(ctx context.Context, in *Message, opts ...grpc.CallOption) (*emptypb.Empty, error) BatchGet(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) VariableOne(ctx context.Context, in *Message, opts ...grpc.CallOption) (*emptypb.Empty, error) VariableTwo(ctx context.Context, in *Message, opts ...grpc.CallOption) (*emptypb.Empty, error) GetShelf(ctx context.Context, in *GetShelfRequest, opts ...grpc.CallOption) (*Shelf, error) GetBook(ctx context.Context, in *GetBookRequest, opts ...grpc.CallOption) (*Book, error) CreateBook(ctx context.Context, in *CreateBookRequest, opts ...grpc.CallOption) (*Book, error) UpdateBook(ctx context.Context, in *UpdateBookRequest, opts ...grpc.CallOption) (*Book, error) }
MessagingClient is the client API for Messaging service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMessagingClient ¶
func NewMessagingClient(cc grpc.ClientConnInterface) MessagingClient
type MessagingServer ¶
type MessagingServer interface { // HTTP | gRPC // -----|----- // `GET /v1/messages/123456` | `GetMessageOne(name: "messages/123456")` GetMessageOne(context.Context, *GetMessageRequestOne) (*Message, error) // HTTP | gRPC // -----|----- // `GET /v1/messages/123456?revision=2&sub.subfield=foo` | // `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: // "foo"))` // `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: // "123456")` GetMessageTwo(context.Context, *GetMessageRequestTwo) (*Message, error) // HTTP | gRPC // -----|----- // `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: // "123456" message { text: "Hi!" })` UpdateMessage(context.Context, *UpdateMessageRequestOne) (*Message, error) // HTTP | gRPC // -----|----- // `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: // "123456" text: "Hi!")` UpdateMessageBody(context.Context, *Message) (*Message, error) Action(context.Context, *Message) (*emptypb.Empty, error) ActionSegment(context.Context, *Message) (*emptypb.Empty, error) ActionResource(context.Context, *Message) (*emptypb.Empty, error) ActionSegments(context.Context, *Message) (*emptypb.Empty, error) BatchGet(context.Context, *emptypb.Empty) (*emptypb.Empty, error) VariableOne(context.Context, *Message) (*emptypb.Empty, error) VariableTwo(context.Context, *Message) (*emptypb.Empty, error) GetShelf(context.Context, *GetShelfRequest) (*Shelf, error) GetBook(context.Context, *GetBookRequest) (*Book, error) CreateBook(context.Context, *CreateBookRequest) (*Book, error) UpdateBook(context.Context, *UpdateBookRequest) (*Book, error) // contains filtered or unexported methods }
MessagingServer is the server API for Messaging service. All implementations must embed UnimplementedMessagingServer for forward compatibility
type Scalars ¶
type Scalars struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` BoolValue *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` Int32Value *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Int64Value *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` Uint32Value *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` Uint64Value *wrapperspb.UInt64Value `protobuf:"bytes,7,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` FloatValue *wrapperspb.FloatValue `protobuf:"bytes,8,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` DoubleValue *wrapperspb.DoubleValue `protobuf:"bytes,9,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` BytesValue *wrapperspb.BytesValue `protobuf:"bytes,10,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` StringValue *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,12,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*Scalars) Descriptor
deprecated
func (*Scalars) GetBoolValue ¶
func (x *Scalars) GetBoolValue() *wrapperspb.BoolValue
func (*Scalars) GetBytesValue ¶
func (x *Scalars) GetBytesValue() *wrapperspb.BytesValue
func (*Scalars) GetDoubleValue ¶
func (x *Scalars) GetDoubleValue() *wrapperspb.DoubleValue
func (*Scalars) GetDuration ¶
func (x *Scalars) GetDuration() *durationpb.Duration
func (*Scalars) GetFieldMask ¶
func (x *Scalars) GetFieldMask() *fieldmaskpb.FieldMask
func (*Scalars) GetFloatValue ¶
func (x *Scalars) GetFloatValue() *wrapperspb.FloatValue
func (*Scalars) GetInt32Value ¶
func (x *Scalars) GetInt32Value() *wrapperspb.Int32Value
func (*Scalars) GetInt64Value ¶
func (x *Scalars) GetInt64Value() *wrapperspb.Int64Value
func (*Scalars) GetStringValue ¶
func (x *Scalars) GetStringValue() *wrapperspb.StringValue
func (*Scalars) GetTimestamp ¶
func (x *Scalars) GetTimestamp() *timestamppb.Timestamp
func (*Scalars) GetUint32Value ¶
func (x *Scalars) GetUint32Value() *wrapperspb.UInt32Value
func (*Scalars) GetUint64Value ¶
func (x *Scalars) GetUint64Value() *wrapperspb.UInt64Value
func (*Scalars) ProtoMessage ¶
func (*Scalars) ProtoMessage()
func (*Scalars) ProtoReflect ¶
func (x *Scalars) ProtoReflect() protoreflect.Message
type Shelf ¶
type Shelf struct { // Resource name of the shelf. It must have the format of "shelves/*". // For example: "shelves/shelf1". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Shelf) Descriptor
deprecated
func (*Shelf) ProtoMessage ¶
func (*Shelf) ProtoMessage()
func (*Shelf) ProtoReflect ¶
func (x *Shelf) ProtoReflect() protoreflect.Message
type UnimplementedChatRoomServer ¶
type UnimplementedChatRoomServer struct { }
UnimplementedChatRoomServer must be embedded to have forward compatible implementations.
func (UnimplementedChatRoomServer) Chat ¶
func (UnimplementedChatRoomServer) Chat(ChatRoom_ChatServer) error
type UnimplementedComplexServer ¶
type UnimplementedComplexServer struct { }
UnimplementedComplexServer must be embedded to have forward compatible implementations.
func (UnimplementedComplexServer) Check ¶
func (UnimplementedComplexServer) Check(context.Context, *ComplexRequest) (*emptypb.Empty, error)
type UnimplementedFilesServer ¶
type UnimplementedFilesServer struct { }
UnimplementedFilesServer must be embedded to have forward compatible implementations.
func (UnimplementedFilesServer) LargeUploadDownload ¶
func (UnimplementedFilesServer) LargeUploadDownload(Files_LargeUploadDownloadServer) error
func (UnimplementedFilesServer) UploadDownload ¶
func (UnimplementedFilesServer) UploadDownload(context.Context, *UploadFileRequest) (*httpbody.HttpBody, error)
type UnimplementedMessagingServer ¶
type UnimplementedMessagingServer struct { }
UnimplementedMessagingServer must be embedded to have forward compatible implementations.
func (UnimplementedMessagingServer) ActionResource ¶
func (UnimplementedMessagingServer) ActionSegment ¶
func (UnimplementedMessagingServer) ActionSegments ¶
func (UnimplementedMessagingServer) CreateBook ¶
func (UnimplementedMessagingServer) CreateBook(context.Context, *CreateBookRequest) (*Book, error)
func (UnimplementedMessagingServer) GetBook ¶
func (UnimplementedMessagingServer) GetBook(context.Context, *GetBookRequest) (*Book, error)
func (UnimplementedMessagingServer) GetMessageOne ¶
func (UnimplementedMessagingServer) GetMessageOne(context.Context, *GetMessageRequestOne) (*Message, error)
func (UnimplementedMessagingServer) GetMessageTwo ¶
func (UnimplementedMessagingServer) GetMessageTwo(context.Context, *GetMessageRequestTwo) (*Message, error)
func (UnimplementedMessagingServer) GetShelf ¶
func (UnimplementedMessagingServer) GetShelf(context.Context, *GetShelfRequest) (*Shelf, error)
func (UnimplementedMessagingServer) UpdateBook ¶
func (UnimplementedMessagingServer) UpdateBook(context.Context, *UpdateBookRequest) (*Book, error)
func (UnimplementedMessagingServer) UpdateMessage ¶
func (UnimplementedMessagingServer) UpdateMessage(context.Context, *UpdateMessageRequestOne) (*Message, error)
func (UnimplementedMessagingServer) UpdateMessageBody ¶
func (UnimplementedMessagingServer) VariableOne ¶
func (UnimplementedMessagingServer) VariableTwo ¶
type UnimplementedWellKnownServer ¶
type UnimplementedWellKnownServer struct { }
UnimplementedWellKnownServer must be embedded to have forward compatible implementations.
type UnsafeChatRoomServer ¶
type UnsafeChatRoomServer interface {
// contains filtered or unexported methods
}
UnsafeChatRoomServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChatRoomServer will result in compilation errors.
type UnsafeComplexServer ¶
type UnsafeComplexServer interface {
// contains filtered or unexported methods
}
UnsafeComplexServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ComplexServer will result in compilation errors.
type UnsafeFilesServer ¶
type UnsafeFilesServer interface {
// contains filtered or unexported methods
}
UnsafeFilesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FilesServer will result in compilation errors.
type UnsafeMessagingServer ¶
type UnsafeMessagingServer interface {
// contains filtered or unexported methods
}
UnsafeMessagingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessagingServer will result in compilation errors.
type UnsafeWellKnownServer ¶
type UnsafeWellKnownServer interface {
// contains filtered or unexported methods
}
UnsafeWellKnownServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WellKnownServer will result in compilation errors.
type UpdateBookRequest ¶
type UpdateBookRequest struct { // The book resource which replaces the resource on the server. Book *Book `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"` // The update mask applies to the resource. For the `FieldMask` definition, // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateBookRequest) Descriptor
deprecated
func (*UpdateBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBookRequest.ProtoReflect.Descriptor instead.
func (*UpdateBookRequest) GetBook ¶
func (x *UpdateBookRequest) GetBook() *Book
func (*UpdateBookRequest) GetUpdateMask ¶
func (x *UpdateBookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBookRequest) ProtoMessage ¶
func (*UpdateBookRequest) ProtoMessage()
func (*UpdateBookRequest) ProtoReflect ¶
func (x *UpdateBookRequest) ProtoReflect() protoreflect.Message
func (*UpdateBookRequest) Reset ¶
func (x *UpdateBookRequest) Reset()
func (*UpdateBookRequest) String ¶
func (x *UpdateBookRequest) String() string
type UpdateMessageRequestOne ¶
type UpdateMessageRequestOne struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // Mapped to the URL Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Mapped to the body // contains filtered or unexported fields }
func (*UpdateMessageRequestOne) Descriptor
deprecated
func (*UpdateMessageRequestOne) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMessageRequestOne.ProtoReflect.Descriptor instead.
func (*UpdateMessageRequestOne) GetMessage ¶
func (x *UpdateMessageRequestOne) GetMessage() *Message
func (*UpdateMessageRequestOne) GetMessageId ¶
func (x *UpdateMessageRequestOne) GetMessageId() string
func (*UpdateMessageRequestOne) ProtoMessage ¶
func (*UpdateMessageRequestOne) ProtoMessage()
func (*UpdateMessageRequestOne) ProtoReflect ¶
func (x *UpdateMessageRequestOne) ProtoReflect() protoreflect.Message
func (*UpdateMessageRequestOne) Reset ¶
func (x *UpdateMessageRequestOne) Reset()
func (*UpdateMessageRequestOne) String ¶
func (x *UpdateMessageRequestOne) String() string
type UploadFileRequest ¶
type UploadFileRequest struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` File *httpbody.HttpBody `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*UploadFileRequest) Descriptor
deprecated
func (*UploadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadFileRequest.ProtoReflect.Descriptor instead.
func (*UploadFileRequest) GetFile ¶
func (x *UploadFileRequest) GetFile() *httpbody.HttpBody
func (*UploadFileRequest) GetFilename ¶
func (x *UploadFileRequest) GetFilename() string
func (*UploadFileRequest) ProtoMessage ¶
func (*UploadFileRequest) ProtoMessage()
func (*UploadFileRequest) ProtoReflect ¶
func (x *UploadFileRequest) ProtoReflect() protoreflect.Message
func (*UploadFileRequest) Reset ¶
func (x *UploadFileRequest) Reset()
func (*UploadFileRequest) String ¶
func (x *UploadFileRequest) String() string
type WellKnownClient ¶
type WellKnownClient interface { // HTTP | gRPC // -----|----- // `GET /v1/wellknown/timestamp/2017-01-15T01:30:15.01Z` | // `Check(Timestamp{...})` Check(ctx context.Context, in *Scalars, opts ...grpc.CallOption) (*emptypb.Empty, error) }
WellKnownClient is the client API for WellKnown service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWellKnownClient ¶
func NewWellKnownClient(cc grpc.ClientConnInterface) WellKnownClient
type WellKnownServer ¶
type WellKnownServer interface { // HTTP | gRPC // -----|----- // `GET /v1/wellknown/timestamp/2017-01-15T01:30:15.01Z` | // `Check(Timestamp{...})` Check(context.Context, *Scalars) (*emptypb.Empty, error) // contains filtered or unexported methods }
WellKnownServer is the server API for WellKnown service. All implementations must embed UnimplementedWellKnownServer for forward compatibility