Documentation
¶
Index ¶
- Variables
- func RegisterEchoServer(s *grpc.Server, srv EchoServer)
- func RegisterIdentityServer(s *grpc.Server, srv IdentityServer)
- func RegisterMessagingServer(s *grpc.Server, srv MessagingServer)
- func RegisterTestingServer(s *grpc.Server, srv TestingServer)
- type BlockRequest
- func (*BlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockRequest) GetError() *status.Status
- func (m *BlockRequest) GetResponse() isBlockRequest_Response
- func (x *BlockRequest) GetResponseDelay() *duration.Duration
- func (x *BlockRequest) GetSuccess() *BlockResponse
- func (*BlockRequest) ProtoMessage()
- func (x *BlockRequest) ProtoReflect() protoreflect.Message
- func (x *BlockRequest) Reset()
- func (x *BlockRequest) String() string
- type BlockRequest_Error
- type BlockRequest_Success
- type BlockResponse
- type Blurb
- func (*Blurb) Descriptor() ([]byte, []int)deprecated
- func (m *Blurb) GetContent() isBlurb_Content
- func (x *Blurb) GetCreateTime() *timestamp.Timestamp
- func (x *Blurb) GetImage() []byte
- func (x *Blurb) GetName() string
- func (x *Blurb) GetText() string
- func (x *Blurb) GetUpdateTime() *timestamp.Timestamp
- func (x *Blurb) GetUser() string
- func (*Blurb) ProtoMessage()
- func (x *Blurb) ProtoReflect() protoreflect.Message
- func (x *Blurb) Reset()
- func (x *Blurb) String() string
- type Blurb_Image
- type Blurb_Text
- type ConnectRequest
- func (*ConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectRequest) GetBlurb() *Blurb
- func (x *ConnectRequest) GetConfig() *ConnectRequest_ConnectConfig
- func (m *ConnectRequest) GetRequest() isConnectRequest_Request
- func (*ConnectRequest) ProtoMessage()
- func (x *ConnectRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectRequest) Reset()
- func (x *ConnectRequest) String() string
- type ConnectRequest_Blurb
- type ConnectRequest_Config
- type ConnectRequest_ConnectConfig
- func (*ConnectRequest_ConnectConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectRequest_ConnectConfig) GetParent() string
- func (*ConnectRequest_ConnectConfig) ProtoMessage()
- func (x *ConnectRequest_ConnectConfig) ProtoReflect() protoreflect.Message
- func (x *ConnectRequest_ConnectConfig) Reset()
- func (x *ConnectRequest_ConnectConfig) String() string
- type CreateBlurbRequest
- func (*CreateBlurbRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBlurbRequest) GetBlurb() *Blurb
- func (x *CreateBlurbRequest) GetParent() string
- func (*CreateBlurbRequest) ProtoMessage()
- func (x *CreateBlurbRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBlurbRequest) Reset()
- func (x *CreateBlurbRequest) String() string
- type CreateRoomRequest
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionRequest) GetSession() *Session
- func (*CreateSessionRequest) ProtoMessage()
- func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionRequest) Reset()
- func (x *CreateSessionRequest) String() string
- type CreateUserRequest
- type DeleteBlurbRequest
- func (*DeleteBlurbRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBlurbRequest) GetName() string
- func (*DeleteBlurbRequest) ProtoMessage()
- func (x *DeleteBlurbRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBlurbRequest) Reset()
- func (x *DeleteBlurbRequest) String() string
- type DeleteRoomRequest
- type DeleteSessionRequest
- func (*DeleteSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSessionRequest) GetName() string
- func (*DeleteSessionRequest) ProtoMessage()
- func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSessionRequest) Reset()
- func (x *DeleteSessionRequest) String() string
- type DeleteTestRequest
- type DeleteUserRequest
- type EchoClient
- type EchoRequest
- func (*EchoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EchoRequest) GetContent() string
- func (x *EchoRequest) GetError() *status.Status
- func (m *EchoRequest) GetResponse() isEchoRequest_Response
- func (*EchoRequest) ProtoMessage()
- func (x *EchoRequest) ProtoReflect() protoreflect.Message
- func (x *EchoRequest) Reset()
- func (x *EchoRequest) String() string
- type EchoRequest_Content
- type EchoRequest_Error
- type EchoResponse
- type EchoServer
- type Echo_ChatClient
- type Echo_ChatServer
- type Echo_CollectClient
- type Echo_CollectServer
- type Echo_ExpandClient
- type Echo_ExpandServer
- type ExpandRequest
- func (*ExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandRequest) GetContent() string
- func (x *ExpandRequest) GetError() *status.Status
- func (*ExpandRequest) ProtoMessage()
- func (x *ExpandRequest) ProtoReflect() protoreflect.Message
- func (x *ExpandRequest) Reset()
- func (x *ExpandRequest) String() string
- type GetBlurbRequest
- type GetRoomRequest
- type GetSessionRequest
- type GetUserRequest
- type IdentityClient
- type IdentityServer
- type Issue
- func (*Issue) Descriptor() ([]byte, []int)deprecated
- func (x *Issue) GetDescription() string
- func (x *Issue) GetSeverity() Issue_Severity
- func (x *Issue) GetType() Issue_Type
- func (*Issue) ProtoMessage()
- func (x *Issue) ProtoReflect() protoreflect.Message
- func (x *Issue) Reset()
- func (x *Issue) String() string
- type Issue_Severity
- func (Issue_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x Issue_Severity) Enum() *Issue_Severity
- func (Issue_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Issue_Severity) Number() protoreflect.EnumNumber
- func (x Issue_Severity) String() string
- func (Issue_Severity) Type() protoreflect.EnumType
- type Issue_Type
- type ListBlurbsRequest
- func (*ListBlurbsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlurbsRequest) GetPageSize() int32
- func (x *ListBlurbsRequest) GetPageToken() string
- func (x *ListBlurbsRequest) GetParent() string
- func (*ListBlurbsRequest) ProtoMessage()
- func (x *ListBlurbsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBlurbsRequest) Reset()
- func (x *ListBlurbsRequest) String() string
- type ListBlurbsResponse
- func (*ListBlurbsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlurbsResponse) GetBlurbs() []*Blurb
- func (x *ListBlurbsResponse) GetNextPageToken() string
- func (*ListBlurbsResponse) ProtoMessage()
- func (x *ListBlurbsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBlurbsResponse) Reset()
- func (x *ListBlurbsResponse) String() string
- type ListRoomsRequest
- func (*ListRoomsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoomsRequest) GetPageSize() int32
- func (x *ListRoomsRequest) GetPageToken() string
- func (*ListRoomsRequest) ProtoMessage()
- func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoomsRequest) Reset()
- func (x *ListRoomsRequest) String() string
- type ListRoomsResponse
- func (*ListRoomsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoomsResponse) GetNextPageToken() string
- func (x *ListRoomsResponse) GetRooms() []*Room
- func (*ListRoomsResponse) ProtoMessage()
- func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoomsResponse) Reset()
- func (x *ListRoomsResponse) String() string
- type ListSessionsRequest
- func (*ListSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsRequest) GetPageSize() int32
- func (x *ListSessionsRequest) GetPageToken() string
- func (*ListSessionsRequest) ProtoMessage()
- func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSessionsRequest) Reset()
- func (x *ListSessionsRequest) String() string
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetNextPageToken() string
- func (x *ListSessionsResponse) GetSessions() []*Session
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- type ListTestsRequest
- func (*ListTestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTestsRequest) GetPageSize() int32
- func (x *ListTestsRequest) GetPageToken() string
- func (x *ListTestsRequest) GetParent() string
- func (*ListTestsRequest) ProtoMessage()
- func (x *ListTestsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTestsRequest) Reset()
- func (x *ListTestsRequest) String() string
- type ListTestsResponse
- func (*ListTestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTestsResponse) GetNextPageToken() string
- func (x *ListTestsResponse) GetTests() []*Test
- func (*ListTestsResponse) ProtoMessage()
- func (x *ListTestsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTestsResponse) Reset()
- func (x *ListTestsResponse) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetPageSize() int32
- func (x *ListUsersRequest) GetPageToken() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- type MessagingClient
- type MessagingServer
- type Messaging_ConnectClient
- type Messaging_ConnectServer
- type Messaging_SendBlurbsClient
- type Messaging_SendBlurbsServer
- type Messaging_StreamBlurbsClient
- type Messaging_StreamBlurbsServer
- type PagedExpandRequest
- func (*PagedExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PagedExpandRequest) GetContent() string
- func (x *PagedExpandRequest) GetPageSize() int32
- func (x *PagedExpandRequest) GetPageToken() string
- func (*PagedExpandRequest) ProtoMessage()
- func (x *PagedExpandRequest) ProtoReflect() protoreflect.Message
- func (x *PagedExpandRequest) Reset()
- func (x *PagedExpandRequest) String() string
- type PagedExpandResponse
- func (*PagedExpandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PagedExpandResponse) GetNextPageToken() string
- func (x *PagedExpandResponse) GetResponses() []*EchoResponse
- func (*PagedExpandResponse) ProtoMessage()
- func (x *PagedExpandResponse) ProtoReflect() protoreflect.Message
- func (x *PagedExpandResponse) Reset()
- func (x *PagedExpandResponse) String() string
- type ReportSessionRequest
- func (*ReportSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportSessionRequest) GetName() string
- func (*ReportSessionRequest) ProtoMessage()
- func (x *ReportSessionRequest) ProtoReflect() protoreflect.Message
- func (x *ReportSessionRequest) Reset()
- func (x *ReportSessionRequest) String() string
- type ReportSessionResponse
- func (*ReportSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportSessionResponse) GetResult() ReportSessionResponse_Result
- func (x *ReportSessionResponse) GetTestRuns() []*TestRun
- func (*ReportSessionResponse) ProtoMessage()
- func (x *ReportSessionResponse) ProtoReflect() protoreflect.Message
- func (x *ReportSessionResponse) Reset()
- func (x *ReportSessionResponse) String() string
- type ReportSessionResponse_Result
- func (ReportSessionResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ReportSessionResponse_Result) Enum() *ReportSessionResponse_Result
- func (ReportSessionResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReportSessionResponse_Result) Number() protoreflect.EnumNumber
- func (x ReportSessionResponse_Result) String() string
- func (ReportSessionResponse_Result) Type() protoreflect.EnumType
- type Room
- func (*Room) Descriptor() ([]byte, []int)deprecated
- func (x *Room) GetCreateTime() *timestamp.Timestamp
- func (x *Room) GetDescription() string
- func (x *Room) GetDisplayName() string
- func (x *Room) GetName() string
- func (x *Room) GetUpdateTime() *timestamp.Timestamp
- func (*Room) ProtoMessage()
- func (x *Room) ProtoReflect() protoreflect.Message
- func (x *Room) Reset()
- func (x *Room) String() string
- type SearchBlurbsMetadata
- func (*SearchBlurbsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SearchBlurbsMetadata) GetRetryInfo() *errdetails.RetryInfo
- func (*SearchBlurbsMetadata) ProtoMessage()
- func (x *SearchBlurbsMetadata) ProtoReflect() protoreflect.Message
- func (x *SearchBlurbsMetadata) Reset()
- func (x *SearchBlurbsMetadata) String() string
- type SearchBlurbsRequest
- func (*SearchBlurbsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchBlurbsRequest) GetPageSize() int32
- func (x *SearchBlurbsRequest) GetPageToken() string
- func (x *SearchBlurbsRequest) GetParent() string
- func (x *SearchBlurbsRequest) GetQuery() string
- func (*SearchBlurbsRequest) ProtoMessage()
- func (x *SearchBlurbsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchBlurbsRequest) Reset()
- func (x *SearchBlurbsRequest) String() string
- type SearchBlurbsResponse
- func (*SearchBlurbsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchBlurbsResponse) GetBlurbs() []*Blurb
- func (x *SearchBlurbsResponse) GetNextPageToken() string
- func (*SearchBlurbsResponse) ProtoMessage()
- func (x *SearchBlurbsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchBlurbsResponse) Reset()
- func (x *SearchBlurbsResponse) String() string
- type SendBlurbsResponse
- func (*SendBlurbsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendBlurbsResponse) GetNames() []string
- func (*SendBlurbsResponse) ProtoMessage()
- func (x *SendBlurbsResponse) ProtoReflect() protoreflect.Message
- func (x *SendBlurbsResponse) Reset()
- func (x *SendBlurbsResponse) String() string
- type Session
- type Session_Version
- func (Session_Version) Descriptor() protoreflect.EnumDescriptor
- func (x Session_Version) Enum() *Session_Version
- func (Session_Version) EnumDescriptor() ([]byte, []int)deprecated
- func (x Session_Version) Number() protoreflect.EnumNumber
- func (x Session_Version) String() string
- func (Session_Version) Type() protoreflect.EnumType
- type StreamBlurbsRequest
- func (*StreamBlurbsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamBlurbsRequest) GetExpireTime() *timestamp.Timestamp
- func (x *StreamBlurbsRequest) GetName() string
- func (*StreamBlurbsRequest) ProtoMessage()
- func (x *StreamBlurbsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamBlurbsRequest) Reset()
- func (x *StreamBlurbsRequest) String() string
- type StreamBlurbsResponse
- func (*StreamBlurbsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamBlurbsResponse) GetAction() StreamBlurbsResponse_Action
- func (x *StreamBlurbsResponse) GetBlurb() *Blurb
- func (*StreamBlurbsResponse) ProtoMessage()
- func (x *StreamBlurbsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamBlurbsResponse) Reset()
- func (x *StreamBlurbsResponse) String() string
- type StreamBlurbsResponse_Action
- func (StreamBlurbsResponse_Action) Descriptor() protoreflect.EnumDescriptor
- func (x StreamBlurbsResponse_Action) Enum() *StreamBlurbsResponse_Action
- func (StreamBlurbsResponse_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamBlurbsResponse_Action) Number() protoreflect.EnumNumber
- func (x StreamBlurbsResponse_Action) String() string
- func (StreamBlurbsResponse_Action) Type() protoreflect.EnumType
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (x *Test) GetBlueprints() []*Test_Blueprint
- func (x *Test) GetDescription() string
- func (x *Test) GetExpectationLevel() Test_ExpectationLevel
- func (x *Test) GetName() string
- func (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (x *Test) String() string
- type TestRun
- type Test_Blueprint
- func (*Test_Blueprint) Descriptor() ([]byte, []int)deprecated
- func (x *Test_Blueprint) GetAdditionalRequests() []*Test_Blueprint_Invocation
- func (x *Test_Blueprint) GetDescription() string
- func (x *Test_Blueprint) GetName() string
- func (x *Test_Blueprint) GetRequest() *Test_Blueprint_Invocation
- func (*Test_Blueprint) ProtoMessage()
- func (x *Test_Blueprint) ProtoReflect() protoreflect.Message
- func (x *Test_Blueprint) Reset()
- func (x *Test_Blueprint) String() string
- type Test_Blueprint_Invocation
- func (*Test_Blueprint_Invocation) Descriptor() ([]byte, []int)deprecated
- func (x *Test_Blueprint_Invocation) GetMethod() string
- func (x *Test_Blueprint_Invocation) GetSerializedRequest() []byte
- func (*Test_Blueprint_Invocation) ProtoMessage()
- func (x *Test_Blueprint_Invocation) ProtoReflect() protoreflect.Message
- func (x *Test_Blueprint_Invocation) Reset()
- func (x *Test_Blueprint_Invocation) String() string
- type Test_ExpectationLevel
- func (Test_ExpectationLevel) Descriptor() protoreflect.EnumDescriptor
- func (x Test_ExpectationLevel) Enum() *Test_ExpectationLevel
- func (Test_ExpectationLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x Test_ExpectationLevel) Number() protoreflect.EnumNumber
- func (x Test_ExpectationLevel) String() string
- func (Test_ExpectationLevel) Type() protoreflect.EnumType
- type TestingClient
- type TestingServer
- type UnimplementedEchoServer
- func (*UnimplementedEchoServer) Block(context.Context, *BlockRequest) (*BlockResponse, error)
- func (*UnimplementedEchoServer) Chat(Echo_ChatServer) error
- func (*UnimplementedEchoServer) Collect(Echo_CollectServer) error
- func (*UnimplementedEchoServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
- func (*UnimplementedEchoServer) Expand(*ExpandRequest, Echo_ExpandServer) error
- func (*UnimplementedEchoServer) PagedExpand(context.Context, *PagedExpandRequest) (*PagedExpandResponse, error)
- func (*UnimplementedEchoServer) Wait(context.Context, *WaitRequest) (*longrunning.Operation, error)
- type UnimplementedIdentityServer
- func (*UnimplementedIdentityServer) CreateUser(context.Context, *CreateUserRequest) (*User, error)
- func (*UnimplementedIdentityServer) DeleteUser(context.Context, *DeleteUserRequest) (*empty.Empty, error)
- func (*UnimplementedIdentityServer) GetUser(context.Context, *GetUserRequest) (*User, error)
- func (*UnimplementedIdentityServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (*UnimplementedIdentityServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
- type UnimplementedMessagingServer
- func (*UnimplementedMessagingServer) Connect(Messaging_ConnectServer) error
- func (*UnimplementedMessagingServer) CreateBlurb(context.Context, *CreateBlurbRequest) (*Blurb, error)
- func (*UnimplementedMessagingServer) CreateRoom(context.Context, *CreateRoomRequest) (*Room, error)
- func (*UnimplementedMessagingServer) DeleteBlurb(context.Context, *DeleteBlurbRequest) (*empty.Empty, error)
- func (*UnimplementedMessagingServer) DeleteRoom(context.Context, *DeleteRoomRequest) (*empty.Empty, error)
- func (*UnimplementedMessagingServer) GetBlurb(context.Context, *GetBlurbRequest) (*Blurb, error)
- func (*UnimplementedMessagingServer) GetRoom(context.Context, *GetRoomRequest) (*Room, error)
- func (*UnimplementedMessagingServer) ListBlurbs(context.Context, *ListBlurbsRequest) (*ListBlurbsResponse, error)
- func (*UnimplementedMessagingServer) ListRooms(context.Context, *ListRoomsRequest) (*ListRoomsResponse, error)
- func (*UnimplementedMessagingServer) SearchBlurbs(context.Context, *SearchBlurbsRequest) (*longrunning.Operation, error)
- func (*UnimplementedMessagingServer) SendBlurbs(Messaging_SendBlurbsServer) error
- func (*UnimplementedMessagingServer) StreamBlurbs(*StreamBlurbsRequest, Messaging_StreamBlurbsServer) error
- func (*UnimplementedMessagingServer) UpdateBlurb(context.Context, *UpdateBlurbRequest) (*Blurb, error)
- func (*UnimplementedMessagingServer) UpdateRoom(context.Context, *UpdateRoomRequest) (*Room, error)
- type UnimplementedTestingServer
- func (*UnimplementedTestingServer) CreateSession(context.Context, *CreateSessionRequest) (*Session, error)
- func (*UnimplementedTestingServer) DeleteSession(context.Context, *DeleteSessionRequest) (*empty.Empty, error)
- func (*UnimplementedTestingServer) DeleteTest(context.Context, *DeleteTestRequest) (*empty.Empty, error)
- func (*UnimplementedTestingServer) GetSession(context.Context, *GetSessionRequest) (*Session, error)
- func (*UnimplementedTestingServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
- func (*UnimplementedTestingServer) ListTests(context.Context, *ListTestsRequest) (*ListTestsResponse, error)
- func (*UnimplementedTestingServer) ReportSession(context.Context, *ReportSessionRequest) (*ReportSessionResponse, error)
- func (*UnimplementedTestingServer) VerifyTest(context.Context, *VerifyTestRequest) (*VerifyTestResponse, error)
- type UpdateBlurbRequest
- func (*UpdateBlurbRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBlurbRequest) GetBlurb() *Blurb
- func (x *UpdateBlurbRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateBlurbRequest) ProtoMessage()
- func (x *UpdateBlurbRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBlurbRequest) Reset()
- func (x *UpdateBlurbRequest) String() string
- type UpdateRoomRequest
- func (*UpdateRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoomRequest) GetRoom() *Room
- func (x *UpdateRoomRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateRoomRequest) ProtoMessage()
- func (x *UpdateRoomRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoomRequest) Reset()
- func (x *UpdateRoomRequest) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetUpdateMask() *field_mask.FieldMask
- func (x *UpdateUserRequest) GetUser() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAge() int32
- func (x *User) GetCreateTime() *timestamp.Timestamp
- func (x *User) GetDisplayName() string
- func (x *User) GetEmail() string
- func (x *User) GetEnableNotifications() bool
- func (x *User) GetHeightFeet() float64
- func (x *User) GetName() string
- func (x *User) GetNickname() string
- func (x *User) GetUpdateTime() *timestamp.Timestamp
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type VerifyTestRequest
- func (*VerifyTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyTestRequest) GetAnswer() []byte
- func (x *VerifyTestRequest) GetAnswers() [][]byte
- func (x *VerifyTestRequest) GetName() string
- func (*VerifyTestRequest) ProtoMessage()
- func (x *VerifyTestRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyTestRequest) Reset()
- func (x *VerifyTestRequest) String() string
- type VerifyTestResponse
- func (*VerifyTestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyTestResponse) GetIssue() *Issue
- func (*VerifyTestResponse) ProtoMessage()
- func (x *VerifyTestResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyTestResponse) Reset()
- func (x *VerifyTestResponse) String() string
- type WaitMetadata
- type WaitRequest
- func (*WaitRequest) Descriptor() ([]byte, []int)deprecated
- func (m *WaitRequest) GetEnd() isWaitRequest_End
- func (x *WaitRequest) GetEndTime() *timestamp.Timestamp
- func (x *WaitRequest) GetError() *status.Status
- func (m *WaitRequest) GetResponse() isWaitRequest_Response
- func (x *WaitRequest) GetSuccess() *WaitResponse
- func (x *WaitRequest) GetTtl() *duration.Duration
- func (*WaitRequest) ProtoMessage()
- func (x *WaitRequest) ProtoReflect() protoreflect.Message
- func (x *WaitRequest) Reset()
- func (x *WaitRequest) String() string
- type WaitRequest_EndTime
- type WaitRequest_Error
- type WaitRequest_Success
- type WaitRequest_Ttl
- type WaitResponse
Constants ¶
This section is empty.
Variables ¶
var ( StreamBlurbsResponse_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "CREATE", 2: "UPDATE", 3: "DELETE", } StreamBlurbsResponse_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "CREATE": 1, "UPDATE": 2, "DELETE": 3, } )
Enum value maps for StreamBlurbsResponse_Action.
var ( Session_Version_name = map[int32]string{ 0: "VERSION_UNSPECIFIED", 1: "V1_LATEST", 2: "V1_0", } Session_Version_value = map[string]int32{ "VERSION_UNSPECIFIED": 0, "V1_LATEST": 1, "V1_0": 2, } )
Enum value maps for Session_Version.
var ( ReportSessionResponse_Result_name = map[int32]string{ 0: "RESULT_UNSPECIFIED", 1: "PASSED", 2: "FAILED", 3: "INCOMPLETE", } ReportSessionResponse_Result_value = map[string]int32{ "RESULT_UNSPECIFIED": 0, "PASSED": 1, "FAILED": 2, "INCOMPLETE": 3, } )
Enum value maps for ReportSessionResponse_Result.
var ( Test_ExpectationLevel_name = map[int32]string{ 0: "EXPECTATION_LEVEL_UNSPECIFIED", 1: "REQUIRED", 2: "RECOMMENDED", 3: "OPTIONAL", } Test_ExpectationLevel_value = map[string]int32{ "EXPECTATION_LEVEL_UNSPECIFIED": 0, "REQUIRED": 1, "RECOMMENDED": 2, "OPTIONAL": 3, } )
Enum value maps for Test_ExpectationLevel.
var ( Issue_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "SKIPPED", 2: "PENDING", 3: "INCORRECT_CONFIRMATION", } Issue_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "SKIPPED": 1, "PENDING": 2, "INCORRECT_CONFIRMATION": 3, } )
Enum value maps for Issue_Type.
var ( Issue_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "ERROR", 2: "WARNING", } Issue_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "ERROR": 1, "WARNING": 2, } )
Enum value maps for Issue_Severity.
var File_google_showcase_v1beta1_echo_proto protoreflect.FileDescriptor
var File_google_showcase_v1beta1_identity_proto protoreflect.FileDescriptor
var File_google_showcase_v1beta1_messaging_proto protoreflect.FileDescriptor
var File_google_showcase_v1beta1_testing_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEchoServer ¶ added in v0.0.4
func RegisterEchoServer(s *grpc.Server, srv EchoServer)
func RegisterIdentityServer ¶ added in v0.0.9
func RegisterIdentityServer(s *grpc.Server, srv IdentityServer)
func RegisterMessagingServer ¶ added in v0.0.9
func RegisterMessagingServer(s *grpc.Server, srv MessagingServer)
func RegisterTestingServer ¶ added in v0.0.5
func RegisterTestingServer(s *grpc.Server, srv TestingServer)
Types ¶
type BlockRequest ¶ added in v0.3.0
type BlockRequest struct { // The amount of time to block before returning a response. ResponseDelay *duration.Duration `protobuf:"bytes,1,opt,name=response_delay,json=responseDelay,proto3" json:"response_delay,omitempty"` // Types that are assignable to Response: // *BlockRequest_Error // *BlockRequest_Success Response isBlockRequest_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
The request for Block method.
func (*BlockRequest) Descriptor
deprecated
added in
v0.3.0
func (*BlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockRequest.ProtoReflect.Descriptor instead.
func (*BlockRequest) GetError ¶ added in v0.3.0
func (x *BlockRequest) GetError() *status.Status
func (*BlockRequest) GetResponse ¶ added in v0.3.0
func (m *BlockRequest) GetResponse() isBlockRequest_Response
func (*BlockRequest) GetResponseDelay ¶ added in v0.3.0
func (x *BlockRequest) GetResponseDelay() *duration.Duration
func (*BlockRequest) GetSuccess ¶ added in v0.3.0
func (x *BlockRequest) GetSuccess() *BlockResponse
func (*BlockRequest) ProtoMessage ¶ added in v0.3.0
func (*BlockRequest) ProtoMessage()
func (*BlockRequest) ProtoReflect ¶ added in v0.10.0
func (x *BlockRequest) ProtoReflect() protoreflect.Message
func (*BlockRequest) Reset ¶ added in v0.3.0
func (x *BlockRequest) Reset()
func (*BlockRequest) String ¶ added in v0.3.0
func (x *BlockRequest) String() string
type BlockRequest_Error ¶ added in v0.3.0
type BlockRequest_Success ¶ added in v0.3.0
type BlockRequest_Success struct { // The response to be returned that will signify successful method call. Success *BlockResponse `protobuf:"bytes,3,opt,name=success,proto3,oneof"` }
type BlockResponse ¶ added in v0.3.0
type BlockResponse struct { // This content can contain anything, the server will not depend on a value // here. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
The response for Block method.
func (*BlockResponse) Descriptor
deprecated
added in
v0.3.0
func (*BlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockResponse.ProtoReflect.Descriptor instead.
func (*BlockResponse) GetContent ¶ added in v0.3.0
func (x *BlockResponse) GetContent() string
func (*BlockResponse) ProtoMessage ¶ added in v0.3.0
func (*BlockResponse) ProtoMessage()
func (*BlockResponse) ProtoReflect ¶ added in v0.10.0
func (x *BlockResponse) ProtoReflect() protoreflect.Message
func (*BlockResponse) Reset ¶ added in v0.3.0
func (x *BlockResponse) Reset()
func (*BlockResponse) String ¶ added in v0.3.0
func (x *BlockResponse) String() string
type Blurb ¶ added in v0.0.9
type Blurb struct { // The resource name of the chat room. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The resource name of the blurb's author. User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // Types that are assignable to Content: // *Blurb_Text // *Blurb_Image Content isBlurb_Content `protobuf_oneof:"content"` // The timestamp at which the blurb was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The latest timestamp at which the blurb was updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
This protocol buffer message represents a blurb sent to a chat room or posted on a user profile.
func (*Blurb) Descriptor
deprecated
added in
v0.0.9
func (*Blurb) GetContent ¶ added in v0.0.9
func (m *Blurb) GetContent() isBlurb_Content
func (*Blurb) GetCreateTime ¶ added in v0.0.9
func (*Blurb) GetUpdateTime ¶ added in v0.0.9
func (*Blurb) ProtoMessage ¶ added in v0.0.9
func (*Blurb) ProtoMessage()
func (*Blurb) ProtoReflect ¶ added in v0.10.0
func (x *Blurb) ProtoReflect() protoreflect.Message
type Blurb_Image ¶ added in v0.0.9
type Blurb_Image struct { // The image content of this blurb. Image []byte `protobuf:"bytes,4,opt,name=image,proto3,oneof"` }
type Blurb_Text ¶ added in v0.0.9
type Blurb_Text struct { // The textual content of this blurb. Text string `protobuf:"bytes,3,opt,name=text,proto3,oneof"` }
type ConnectRequest ¶ added in v0.0.9
type ConnectRequest struct { // Types that are assignable to Request: // *ConnectRequest_Config // *ConnectRequest_Blurb Request isConnectRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\Connect method.
func (*ConnectRequest) Descriptor
deprecated
added in
v0.0.9
func (*ConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.
func (*ConnectRequest) GetBlurb ¶ added in v0.0.9
func (x *ConnectRequest) GetBlurb() *Blurb
func (*ConnectRequest) GetConfig ¶ added in v0.0.9
func (x *ConnectRequest) GetConfig() *ConnectRequest_ConnectConfig
func (*ConnectRequest) GetRequest ¶ added in v0.0.9
func (m *ConnectRequest) GetRequest() isConnectRequest_Request
func (*ConnectRequest) ProtoMessage ¶ added in v0.0.9
func (*ConnectRequest) ProtoMessage()
func (*ConnectRequest) ProtoReflect ¶ added in v0.10.0
func (x *ConnectRequest) ProtoReflect() protoreflect.Message
func (*ConnectRequest) Reset ¶ added in v0.0.9
func (x *ConnectRequest) Reset()
func (*ConnectRequest) String ¶ added in v0.0.9
func (x *ConnectRequest) String() string
type ConnectRequest_Blurb ¶ added in v0.0.9
type ConnectRequest_Blurb struct { // The blurb to be created. Blurb *Blurb `protobuf:"bytes,2,opt,name=blurb,proto3,oneof"` }
type ConnectRequest_Config ¶ added in v0.0.9
type ConnectRequest_Config struct { // Provides information that specifies how to process subsequent requests. // The first `ConnectRequest` message must contain a `config` message. Config *ConnectRequest_ConnectConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"` }
type ConnectRequest_ConnectConfig ¶ added in v0.0.9
type ConnectRequest_ConnectConfig struct { // The room or profile to follow and create messages for. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*ConnectRequest_ConnectConfig) Descriptor
deprecated
added in
v0.0.9
func (*ConnectRequest_ConnectConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConnectRequest_ConnectConfig.ProtoReflect.Descriptor instead.
func (*ConnectRequest_ConnectConfig) GetParent ¶ added in v0.0.9
func (x *ConnectRequest_ConnectConfig) GetParent() string
func (*ConnectRequest_ConnectConfig) ProtoMessage ¶ added in v0.0.9
func (*ConnectRequest_ConnectConfig) ProtoMessage()
func (*ConnectRequest_ConnectConfig) ProtoReflect ¶ added in v0.10.0
func (x *ConnectRequest_ConnectConfig) ProtoReflect() protoreflect.Message
func (*ConnectRequest_ConnectConfig) Reset ¶ added in v0.0.9
func (x *ConnectRequest_ConnectConfig) Reset()
func (*ConnectRequest_ConnectConfig) String ¶ added in v0.0.9
func (x *ConnectRequest_ConnectConfig) String() string
type CreateBlurbRequest ¶ added in v0.0.9
type CreateBlurbRequest struct { // The resource name of the chat room or user profile that this blurb will // be tied to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The blurb to create. Blurb *Blurb `protobuf:"bytes,2,opt,name=blurb,proto3" json:"blurb,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\CreateBlurb method.
func (*CreateBlurbRequest) Descriptor
deprecated
added in
v0.0.9
func (*CreateBlurbRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBlurbRequest.ProtoReflect.Descriptor instead.
func (*CreateBlurbRequest) GetBlurb ¶ added in v0.0.9
func (x *CreateBlurbRequest) GetBlurb() *Blurb
func (*CreateBlurbRequest) GetParent ¶ added in v0.0.9
func (x *CreateBlurbRequest) GetParent() string
func (*CreateBlurbRequest) ProtoMessage ¶ added in v0.0.9
func (*CreateBlurbRequest) ProtoMessage()
func (*CreateBlurbRequest) ProtoReflect ¶ added in v0.10.0
func (x *CreateBlurbRequest) ProtoReflect() protoreflect.Message
func (*CreateBlurbRequest) Reset ¶ added in v0.0.9
func (x *CreateBlurbRequest) Reset()
func (*CreateBlurbRequest) String ¶ added in v0.0.9
func (x *CreateBlurbRequest) String() string
type CreateRoomRequest ¶ added in v0.0.9
type CreateRoomRequest struct { // The room to create. Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\CreateRoom method.
func (*CreateRoomRequest) Descriptor
deprecated
added in
v0.0.9
func (*CreateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.
func (*CreateRoomRequest) GetRoom ¶ added in v0.0.9
func (x *CreateRoomRequest) GetRoom() *Room
func (*CreateRoomRequest) ProtoMessage ¶ added in v0.0.9
func (*CreateRoomRequest) ProtoMessage()
func (*CreateRoomRequest) ProtoReflect ¶ added in v0.10.0
func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
func (*CreateRoomRequest) Reset ¶ added in v0.0.9
func (x *CreateRoomRequest) Reset()
func (*CreateRoomRequest) String ¶ added in v0.0.9
func (x *CreateRoomRequest) String() string
type CreateSessionRequest ¶ added in v0.0.10
type CreateSessionRequest struct { // The session to be created. // Sessions are immutable once they are created (although they can // be deleted). Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
The request for the CreateSession method.
func (*CreateSessionRequest) Descriptor
deprecated
added in
v0.0.10
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionRequest) GetSession ¶ added in v0.0.10
func (x *CreateSessionRequest) GetSession() *Session
func (*CreateSessionRequest) ProtoMessage ¶ added in v0.0.10
func (*CreateSessionRequest) ProtoMessage()
func (*CreateSessionRequest) ProtoReflect ¶ added in v0.10.0
func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateSessionRequest) Reset ¶ added in v0.0.10
func (x *CreateSessionRequest) Reset()
func (*CreateSessionRequest) String ¶ added in v0.0.10
func (x *CreateSessionRequest) String() string
type CreateUserRequest ¶ added in v0.0.9
type CreateUserRequest struct { // The user to create. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Identity\CreateUser method.
func (*CreateUserRequest) Descriptor
deprecated
added in
v0.0.9
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUser ¶ added in v0.0.9
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶ added in v0.0.9
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶ added in v0.10.0
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶ added in v0.0.9
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶ added in v0.0.9
func (x *CreateUserRequest) String() string
type DeleteBlurbRequest ¶ added in v0.0.9
type DeleteBlurbRequest struct { // The resource name of the requested blurb. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\DeleteBlurb method.
func (*DeleteBlurbRequest) Descriptor
deprecated
added in
v0.0.9
func (*DeleteBlurbRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBlurbRequest.ProtoReflect.Descriptor instead.
func (*DeleteBlurbRequest) GetName ¶ added in v0.0.9
func (x *DeleteBlurbRequest) GetName() string
func (*DeleteBlurbRequest) ProtoMessage ¶ added in v0.0.9
func (*DeleteBlurbRequest) ProtoMessage()
func (*DeleteBlurbRequest) ProtoReflect ¶ added in v0.10.0
func (x *DeleteBlurbRequest) ProtoReflect() protoreflect.Message
func (*DeleteBlurbRequest) Reset ¶ added in v0.0.9
func (x *DeleteBlurbRequest) Reset()
func (*DeleteBlurbRequest) String ¶ added in v0.0.9
func (x *DeleteBlurbRequest) String() string
type DeleteRoomRequest ¶ added in v0.0.9
type DeleteRoomRequest struct { // The resource name of the requested room. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\DeleteRoom method.
func (*DeleteRoomRequest) Descriptor
deprecated
added in
v0.0.9
func (*DeleteRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoomRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoomRequest) GetName ¶ added in v0.0.9
func (x *DeleteRoomRequest) GetName() string
func (*DeleteRoomRequest) ProtoMessage ¶ added in v0.0.9
func (*DeleteRoomRequest) ProtoMessage()
func (*DeleteRoomRequest) ProtoReflect ¶ added in v0.10.0
func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoomRequest) Reset ¶ added in v0.0.9
func (x *DeleteRoomRequest) Reset()
func (*DeleteRoomRequest) String ¶ added in v0.0.9
func (x *DeleteRoomRequest) String() string
type DeleteSessionRequest ¶ added in v0.0.10
type DeleteSessionRequest struct { // The session to be deleted. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the DeleteSession method.
func (*DeleteSessionRequest) Descriptor
deprecated
added in
v0.0.10
func (*DeleteSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.
func (*DeleteSessionRequest) GetName ¶ added in v0.0.10
func (x *DeleteSessionRequest) GetName() string
func (*DeleteSessionRequest) ProtoMessage ¶ added in v0.0.10
func (*DeleteSessionRequest) ProtoMessage()
func (*DeleteSessionRequest) ProtoReflect ¶ added in v0.10.0
func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message
func (*DeleteSessionRequest) Reset ¶ added in v0.0.10
func (x *DeleteSessionRequest) Reset()
func (*DeleteSessionRequest) String ¶ added in v0.0.10
func (x *DeleteSessionRequest) String() string
type DeleteTestRequest ¶ added in v0.0.5
type DeleteTestRequest struct { // The test to be deleted. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for deleting a test.
func (*DeleteTestRequest) Descriptor
deprecated
added in
v0.0.5
func (*DeleteTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTestRequest.ProtoReflect.Descriptor instead.
func (*DeleteTestRequest) GetName ¶ added in v0.0.5
func (x *DeleteTestRequest) GetName() string
func (*DeleteTestRequest) ProtoMessage ¶ added in v0.0.5
func (*DeleteTestRequest) ProtoMessage()
func (*DeleteTestRequest) ProtoReflect ¶ added in v0.10.0
func (x *DeleteTestRequest) ProtoReflect() protoreflect.Message
func (*DeleteTestRequest) Reset ¶ added in v0.0.5
func (x *DeleteTestRequest) Reset()
func (*DeleteTestRequest) String ¶ added in v0.0.5
func (x *DeleteTestRequest) String() string
type DeleteUserRequest ¶ added in v0.0.9
type DeleteUserRequest struct { // The resource name of the user to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Identity\DeleteUser method.
func (*DeleteUserRequest) Descriptor
deprecated
added in
v0.0.9
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetName ¶ added in v0.0.9
func (x *DeleteUserRequest) GetName() string
func (*DeleteUserRequest) ProtoMessage ¶ added in v0.0.9
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶ added in v0.10.0
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶ added in v0.0.9
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶ added in v0.0.9
func (x *DeleteUserRequest) String() string
type EchoClient ¶ added in v0.0.4
type EchoClient interface { // This method simply echos the request. This method is showcases unary rpcs. Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error) // This method split the given content into words and will pass each word back // through the stream. This method showcases server-side streaming rpcs. Expand(ctx context.Context, in *ExpandRequest, opts ...grpc.CallOption) (Echo_ExpandClient, error) // This method will collect the words given to it. When the stream is closed // by the client, this method will return the a concatenation of the strings // passed to it. This method showcases client-side streaming rpcs. Collect(ctx context.Context, opts ...grpc.CallOption) (Echo_CollectClient, error) // This method, upon receiving a request on the stream, the same content will // be passed back on the stream. This method showcases bidirectional // streaming rpcs. Chat(ctx context.Context, opts ...grpc.CallOption) (Echo_ChatClient, error) // This is similar to the Expand method but instead of returning a stream of // expanded words, this method returns a paged list of expanded words. PagedExpand(ctx context.Context, in *PagedExpandRequest, opts ...grpc.CallOption) (*PagedExpandResponse, error) // This method will wait the requested amount of and then return. // This method showcases how a client handles a request timing out. Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // This method will block (wait) for the requested amount of time // and then return the response or error. // This method showcases how a client handles delays or retries. Block(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockResponse, error) }
EchoClient is the client API for Echo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEchoClient ¶ added in v0.0.4
func NewEchoClient(cc grpc.ClientConnInterface) EchoClient
type EchoRequest ¶
type EchoRequest struct { // Types that are assignable to Response: // *EchoRequest_Content // *EchoRequest_Error Response isEchoRequest_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
The request message used for the Echo, Collect and Chat methods. If content is set in this message then the request will succeed. If status is set in this message then the status will be returned as an error.
func (*EchoRequest) Descriptor
deprecated
func (*EchoRequest) Descriptor() ([]byte, []int)
Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead.
func (*EchoRequest) GetContent ¶
func (x *EchoRequest) GetContent() string
func (*EchoRequest) GetError ¶
func (x *EchoRequest) GetError() *status.Status
func (*EchoRequest) GetResponse ¶
func (m *EchoRequest) GetResponse() isEchoRequest_Response
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) ProtoReflect ¶ added in v0.10.0
func (x *EchoRequest) ProtoReflect() protoreflect.Message
func (*EchoRequest) Reset ¶
func (x *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (x *EchoRequest) String() string
type EchoRequest_Content ¶
type EchoRequest_Content struct { // The content to be echoed by the server. Content string `protobuf:"bytes,1,opt,name=content,proto3,oneof"` }
type EchoRequest_Error ¶
type EchoResponse ¶
type EchoResponse struct { // The content specified in the request. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
The response message for the Echo methods.
func (*EchoResponse) Descriptor
deprecated
func (*EchoResponse) Descriptor() ([]byte, []int)
Deprecated: Use EchoResponse.ProtoReflect.Descriptor instead.
func (*EchoResponse) GetContent ¶
func (x *EchoResponse) GetContent() string
func (*EchoResponse) ProtoMessage ¶
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) ProtoReflect ¶ added in v0.10.0
func (x *EchoResponse) ProtoReflect() protoreflect.Message
func (*EchoResponse) Reset ¶
func (x *EchoResponse) Reset()
func (*EchoResponse) String ¶
func (x *EchoResponse) String() string
type EchoServer ¶ added in v0.0.4
type EchoServer interface { // This method simply echos the request. This method is showcases unary rpcs. Echo(context.Context, *EchoRequest) (*EchoResponse, error) // This method split the given content into words and will pass each word back // through the stream. This method showcases server-side streaming rpcs. Expand(*ExpandRequest, Echo_ExpandServer) error // This method will collect the words given to it. When the stream is closed // by the client, this method will return the a concatenation of the strings // passed to it. This method showcases client-side streaming rpcs. Collect(Echo_CollectServer) error // This method, upon receiving a request on the stream, the same content will // be passed back on the stream. This method showcases bidirectional // streaming rpcs. Chat(Echo_ChatServer) error // This is similar to the Expand method but instead of returning a stream of // expanded words, this method returns a paged list of expanded words. PagedExpand(context.Context, *PagedExpandRequest) (*PagedExpandResponse, error) // This method will wait the requested amount of and then return. // This method showcases how a client handles a request timing out. Wait(context.Context, *WaitRequest) (*longrunning.Operation, error) // This method will block (wait) for the requested amount of time // and then return the response or error. // This method showcases how a client handles delays or retries. Block(context.Context, *BlockRequest) (*BlockResponse, error) }
EchoServer is the server API for Echo service.
type Echo_ChatClient ¶ added in v0.0.4
type Echo_ChatClient interface { Send(*EchoRequest) error Recv() (*EchoResponse, error) grpc.ClientStream }
type Echo_ChatServer ¶ added in v0.0.4
type Echo_ChatServer interface { Send(*EchoResponse) error Recv() (*EchoRequest, error) grpc.ServerStream }
type Echo_CollectClient ¶ added in v0.0.4
type Echo_CollectClient interface { Send(*EchoRequest) error CloseAndRecv() (*EchoResponse, error) grpc.ClientStream }
type Echo_CollectServer ¶ added in v0.0.4
type Echo_CollectServer interface { SendAndClose(*EchoResponse) error Recv() (*EchoRequest, error) grpc.ServerStream }
type Echo_ExpandClient ¶ added in v0.0.4
type Echo_ExpandClient interface { Recv() (*EchoResponse, error) grpc.ClientStream }
type Echo_ExpandServer ¶ added in v0.0.4
type Echo_ExpandServer interface { Send(*EchoResponse) error grpc.ServerStream }
type ExpandRequest ¶
type ExpandRequest struct { // The content that will be split into words and returned on the stream. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // The error that is thrown after all words are sent on the stream. Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
The request message for the Expand method.
func (*ExpandRequest) Descriptor
deprecated
func (*ExpandRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpandRequest.ProtoReflect.Descriptor instead.
func (*ExpandRequest) GetContent ¶
func (x *ExpandRequest) GetContent() string
func (*ExpandRequest) GetError ¶
func (x *ExpandRequest) GetError() *status.Status
func (*ExpandRequest) ProtoMessage ¶
func (*ExpandRequest) ProtoMessage()
func (*ExpandRequest) ProtoReflect ¶ added in v0.10.0
func (x *ExpandRequest) ProtoReflect() protoreflect.Message
func (*ExpandRequest) Reset ¶
func (x *ExpandRequest) Reset()
func (*ExpandRequest) String ¶
func (x *ExpandRequest) String() string
type GetBlurbRequest ¶ added in v0.0.9
type GetBlurbRequest struct { // The resource name of the requested blurb. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\GetBlurb method.
func (*GetBlurbRequest) Descriptor
deprecated
added in
v0.0.9
func (*GetBlurbRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlurbRequest.ProtoReflect.Descriptor instead.
func (*GetBlurbRequest) GetName ¶ added in v0.0.9
func (x *GetBlurbRequest) GetName() string
func (*GetBlurbRequest) ProtoMessage ¶ added in v0.0.9
func (*GetBlurbRequest) ProtoMessage()
func (*GetBlurbRequest) ProtoReflect ¶ added in v0.10.0
func (x *GetBlurbRequest) ProtoReflect() protoreflect.Message
func (*GetBlurbRequest) Reset ¶ added in v0.0.9
func (x *GetBlurbRequest) Reset()
func (*GetBlurbRequest) String ¶ added in v0.0.9
func (x *GetBlurbRequest) String() string
type GetRoomRequest ¶ added in v0.0.9
type GetRoomRequest struct { // The resource name of the requested room. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\GetRoom method.
func (*GetRoomRequest) Descriptor
deprecated
added in
v0.0.9
func (*GetRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomRequest.ProtoReflect.Descriptor instead.
func (*GetRoomRequest) GetName ¶ added in v0.0.9
func (x *GetRoomRequest) GetName() string
func (*GetRoomRequest) ProtoMessage ¶ added in v0.0.9
func (*GetRoomRequest) ProtoMessage()
func (*GetRoomRequest) ProtoReflect ¶ added in v0.10.0
func (x *GetRoomRequest) ProtoReflect() protoreflect.Message
func (*GetRoomRequest) Reset ¶ added in v0.0.9
func (x *GetRoomRequest) Reset()
func (*GetRoomRequest) String ¶ added in v0.0.9
func (x *GetRoomRequest) String() string
type GetSessionRequest ¶ added in v0.0.10
type GetSessionRequest struct { // The session to be retrieved. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for the GetSession method.
func (*GetSessionRequest) Descriptor
deprecated
added in
v0.0.10
func (*GetSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.
func (*GetSessionRequest) GetName ¶ added in v0.0.10
func (x *GetSessionRequest) GetName() string
func (*GetSessionRequest) ProtoMessage ¶ added in v0.0.10
func (*GetSessionRequest) ProtoMessage()
func (*GetSessionRequest) ProtoReflect ¶ added in v0.10.0
func (x *GetSessionRequest) ProtoReflect() protoreflect.Message
func (*GetSessionRequest) Reset ¶ added in v0.0.10
func (x *GetSessionRequest) Reset()
func (*GetSessionRequest) String ¶ added in v0.0.10
func (x *GetSessionRequest) String() string
type GetUserRequest ¶ added in v0.0.9
type GetUserRequest struct { // The resource name of the requested user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Identity\GetUser method.
func (*GetUserRequest) Descriptor
deprecated
added in
v0.0.9
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetName ¶ added in v0.0.9
func (x *GetUserRequest) GetName() string
func (*GetUserRequest) ProtoMessage ¶ added in v0.0.9
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶ added in v0.10.0
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶ added in v0.0.9
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶ added in v0.0.9
func (x *GetUserRequest) String() string
type IdentityClient ¶ added in v0.0.9
type IdentityClient interface { // Creates a user. CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error) // Retrieves the User with the given uri. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) // Updates a user. UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error) // Deletes a user, their profile, and all of their authored messages. DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists all users. ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) }
IdentityClient is the client API for Identity service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIdentityClient ¶ added in v0.0.9
func NewIdentityClient(cc grpc.ClientConnInterface) IdentityClient
type IdentityServer ¶ added in v0.0.9
type IdentityServer interface { // Creates a user. CreateUser(context.Context, *CreateUserRequest) (*User, error) // Retrieves the User with the given uri. GetUser(context.Context, *GetUserRequest) (*User, error) // Updates a user. UpdateUser(context.Context, *UpdateUserRequest) (*User, error) // Deletes a user, their profile, and all of their authored messages. DeleteUser(context.Context, *DeleteUserRequest) (*empty.Empty, error) // Lists all users. ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) }
IdentityServer is the server API for Identity service.
type Issue ¶ added in v0.0.10
type Issue struct { // The type of the issue. Type Issue_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.showcase.v1beta1.Issue_Type" json:"type,omitempty"` // The severity of the issue. Severity Issue_Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.showcase.v1beta1.Issue_Severity" json:"severity,omitempty"` // A description of the issue. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
An issue found in the test.
func (*Issue) Descriptor
deprecated
added in
v0.0.10
func (*Issue) GetDescription ¶ added in v0.0.10
func (*Issue) GetSeverity ¶ added in v0.0.10
func (x *Issue) GetSeverity() Issue_Severity
func (*Issue) GetType ¶ added in v0.0.10
func (x *Issue) GetType() Issue_Type
func (*Issue) ProtoMessage ¶ added in v0.0.10
func (*Issue) ProtoMessage()
func (*Issue) ProtoReflect ¶ added in v0.10.0
func (x *Issue) ProtoReflect() protoreflect.Message
type Issue_Severity ¶ added in v0.0.10
type Issue_Severity int32
Severity levels.
const ( Issue_SEVERITY_UNSPECIFIED Issue_Severity = 0 // Errors. Issue_ERROR Issue_Severity = 1 // Warnings. Issue_WARNING Issue_Severity = 2 )
func (Issue_Severity) Descriptor ¶ added in v0.10.0
func (Issue_Severity) Descriptor() protoreflect.EnumDescriptor
func (Issue_Severity) Enum ¶ added in v0.10.0
func (x Issue_Severity) Enum() *Issue_Severity
func (Issue_Severity) EnumDescriptor
deprecated
added in
v0.0.10
func (Issue_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Issue_Severity.Descriptor instead.
func (Issue_Severity) Number ¶ added in v0.10.0
func (x Issue_Severity) Number() protoreflect.EnumNumber
func (Issue_Severity) String ¶ added in v0.0.10
func (x Issue_Severity) String() string
func (Issue_Severity) Type ¶ added in v0.10.0
func (Issue_Severity) Type() protoreflect.EnumType
type Issue_Type ¶ added in v0.0.10
type Issue_Type int32
The different potential types of issues.
const ( Issue_TYPE_UNSPECIFIED Issue_Type = 0 // The test was never instrumented. Issue_SKIPPED Issue_Type = 1 // The test was started but never confirmed. Issue_PENDING Issue_Type = 2 // The test was instrumented, but Showcase got an unexpected // value when the generator tried to confirm success. Issue_INCORRECT_CONFIRMATION Issue_Type = 3 )
func (Issue_Type) Descriptor ¶ added in v0.10.0
func (Issue_Type) Descriptor() protoreflect.EnumDescriptor
func (Issue_Type) Enum ¶ added in v0.10.0
func (x Issue_Type) Enum() *Issue_Type
func (Issue_Type) EnumDescriptor
deprecated
added in
v0.0.10
func (Issue_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Issue_Type.Descriptor instead.
func (Issue_Type) Number ¶ added in v0.10.0
func (x Issue_Type) Number() protoreflect.EnumNumber
func (Issue_Type) String ¶ added in v0.0.10
func (x Issue_Type) String() string
func (Issue_Type) Type ¶ added in v0.10.0
func (Issue_Type) Type() protoreflect.EnumType
type ListBlurbsRequest ¶ added in v0.0.9
type ListBlurbsRequest struct { // The resource name of the requested room or profile whos blurbs to list. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of blurbs to return. Server may return fewer // blurbs than requested. If unspecified, server will pick an appropriate // default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value of google.showcase.v1beta1.ListBlurbsResponse.next_page_token // returned from the previous call to // `google.showcase.v1beta1.Messaging\ListBlurbs` method. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\ListBlurbs method.
func (*ListBlurbsRequest) Descriptor
deprecated
added in
v0.0.9
func (*ListBlurbsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBlurbsRequest.ProtoReflect.Descriptor instead.
func (*ListBlurbsRequest) GetPageSize ¶ added in v0.0.9
func (x *ListBlurbsRequest) GetPageSize() int32
func (*ListBlurbsRequest) GetPageToken ¶ added in v0.0.9
func (x *ListBlurbsRequest) GetPageToken() string
func (*ListBlurbsRequest) GetParent ¶ added in v0.0.9
func (x *ListBlurbsRequest) GetParent() string
func (*ListBlurbsRequest) ProtoMessage ¶ added in v0.0.9
func (*ListBlurbsRequest) ProtoMessage()
func (*ListBlurbsRequest) ProtoReflect ¶ added in v0.10.0
func (x *ListBlurbsRequest) ProtoReflect() protoreflect.Message
func (*ListBlurbsRequest) Reset ¶ added in v0.0.9
func (x *ListBlurbsRequest) Reset()
func (*ListBlurbsRequest) String ¶ added in v0.0.9
func (x *ListBlurbsRequest) String() string
type ListBlurbsResponse ¶ added in v0.0.9
type ListBlurbsResponse struct { // The list of blurbs. Blurbs []*Blurb `protobuf:"bytes,1,rep,name=blurbs,proto3" json:"blurbs,omitempty"` // A token to retrieve next page of results. // Pass this value in ListBlurbsRequest.page_token field in the subsequent // call to `google.showcase.v1beta1.Blurb\ListBlurbs` method to retrieve // the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for the google.showcase.v1beta1.Messaging\ListBlurbs method.
func (*ListBlurbsResponse) Descriptor
deprecated
added in
v0.0.9
func (*ListBlurbsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBlurbsResponse.ProtoReflect.Descriptor instead.
func (*ListBlurbsResponse) GetBlurbs ¶ added in v0.0.9
func (x *ListBlurbsResponse) GetBlurbs() []*Blurb
func (*ListBlurbsResponse) GetNextPageToken ¶ added in v0.0.9
func (x *ListBlurbsResponse) GetNextPageToken() string
func (*ListBlurbsResponse) ProtoMessage ¶ added in v0.0.9
func (*ListBlurbsResponse) ProtoMessage()
func (*ListBlurbsResponse) ProtoReflect ¶ added in v0.10.0
func (x *ListBlurbsResponse) ProtoReflect() protoreflect.Message
func (*ListBlurbsResponse) Reset ¶ added in v0.0.9
func (x *ListBlurbsResponse) Reset()
func (*ListBlurbsResponse) String ¶ added in v0.0.9
func (x *ListBlurbsResponse) String() string
type ListRoomsRequest ¶ added in v0.0.9
type ListRoomsRequest struct { // The maximum number of rooms return. Server may return fewer rooms // than requested. If unspecified, server will pick an appropriate default. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value of google.showcase.v1beta1.ListRoomsResponse.next_page_token // returned from the previous call to // `google.showcase.v1beta1.Messaging\ListRooms` method. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\ListRooms method.
func (*ListRoomsRequest) Descriptor
deprecated
added in
v0.0.9
func (*ListRoomsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomsRequest.ProtoReflect.Descriptor instead.
func (*ListRoomsRequest) GetPageSize ¶ added in v0.0.9
func (x *ListRoomsRequest) GetPageSize() int32
func (*ListRoomsRequest) GetPageToken ¶ added in v0.0.9
func (x *ListRoomsRequest) GetPageToken() string
func (*ListRoomsRequest) ProtoMessage ¶ added in v0.0.9
func (*ListRoomsRequest) ProtoMessage()
func (*ListRoomsRequest) ProtoReflect ¶ added in v0.10.0
func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message
func (*ListRoomsRequest) Reset ¶ added in v0.0.9
func (x *ListRoomsRequest) Reset()
func (*ListRoomsRequest) String ¶ added in v0.0.9
func (x *ListRoomsRequest) String() string
type ListRoomsResponse ¶ added in v0.0.9
type ListRoomsResponse struct { // The list of rooms. Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` // A token to retrieve next page of results. // Pass this value in ListRoomsRequest.page_token field in the subsequent // call to `google.showcase.v1beta1.Messaging\ListRooms` method to retrieve the // next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for the google.showcase.v1beta1.Messaging\ListRooms method.
func (*ListRoomsResponse) Descriptor
deprecated
added in
v0.0.9
func (*ListRoomsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomsResponse.ProtoReflect.Descriptor instead.
func (*ListRoomsResponse) GetNextPageToken ¶ added in v0.0.9
func (x *ListRoomsResponse) GetNextPageToken() string
func (*ListRoomsResponse) GetRooms ¶ added in v0.0.9
func (x *ListRoomsResponse) GetRooms() []*Room
func (*ListRoomsResponse) ProtoMessage ¶ added in v0.0.9
func (*ListRoomsResponse) ProtoMessage()
func (*ListRoomsResponse) ProtoReflect ¶ added in v0.10.0
func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message
func (*ListRoomsResponse) Reset ¶ added in v0.0.9
func (x *ListRoomsResponse) Reset()
func (*ListRoomsResponse) String ¶ added in v0.0.9
func (x *ListRoomsResponse) String() string
type ListSessionsRequest ¶ added in v0.0.10
type ListSessionsRequest struct { // The maximum number of sessions to return per page. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token, for retrieving subsequent pages. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request for the ListSessions method.
func (*ListSessionsRequest) Descriptor
deprecated
added in
v0.0.10
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) GetPageSize ¶ added in v0.0.10
func (x *ListSessionsRequest) GetPageSize() int32
func (*ListSessionsRequest) GetPageToken ¶ added in v0.0.10
func (x *ListSessionsRequest) GetPageToken() string
func (*ListSessionsRequest) ProtoMessage ¶ added in v0.0.10
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) ProtoReflect ¶ added in v0.10.0
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListSessionsRequest) Reset ¶ added in v0.0.10
func (x *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶ added in v0.0.10
func (x *ListSessionsRequest) String() string
type ListSessionsResponse ¶ added in v0.0.10
type ListSessionsResponse struct { // The sessions being returned. Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"` // The next page token, if any. // An empty value here means the last page has been reached. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the ListSessions method.
func (*ListSessionsResponse) Descriptor
deprecated
added in
v0.0.10
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetNextPageToken ¶ added in v0.0.10
func (x *ListSessionsResponse) GetNextPageToken() string
func (*ListSessionsResponse) GetSessions ¶ added in v0.0.10
func (x *ListSessionsResponse) GetSessions() []*Session
func (*ListSessionsResponse) ProtoMessage ¶ added in v0.0.10
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶ added in v0.10.0
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶ added in v0.0.10
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶ added in v0.0.10
func (x *ListSessionsResponse) String() string
type ListTestsRequest ¶ added in v0.0.10
type ListTestsRequest struct { // The session. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of tests to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token, for retrieving subsequent pages. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request for the ListTests method.
func (*ListTestsRequest) Descriptor
deprecated
added in
v0.0.10
func (*ListTestsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTestsRequest.ProtoReflect.Descriptor instead.
func (*ListTestsRequest) GetPageSize ¶ added in v0.0.10
func (x *ListTestsRequest) GetPageSize() int32
func (*ListTestsRequest) GetPageToken ¶ added in v0.0.10
func (x *ListTestsRequest) GetPageToken() string
func (*ListTestsRequest) GetParent ¶ added in v0.0.10
func (x *ListTestsRequest) GetParent() string
func (*ListTestsRequest) ProtoMessage ¶ added in v0.0.10
func (*ListTestsRequest) ProtoMessage()
func (*ListTestsRequest) ProtoReflect ¶ added in v0.10.0
func (x *ListTestsRequest) ProtoReflect() protoreflect.Message
func (*ListTestsRequest) Reset ¶ added in v0.0.10
func (x *ListTestsRequest) Reset()
func (*ListTestsRequest) String ¶ added in v0.0.10
func (x *ListTestsRequest) String() string
type ListTestsResponse ¶ added in v0.0.10
type ListTestsResponse struct { // The tests being returned. Tests []*Test `protobuf:"bytes,1,rep,name=tests,proto3" json:"tests,omitempty"` // The next page token, if any. // An empty value here means the last page has been reached. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response for the ListTests method.
func (*ListTestsResponse) Descriptor
deprecated
added in
v0.0.10
func (*ListTestsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTestsResponse.ProtoReflect.Descriptor instead.
func (*ListTestsResponse) GetNextPageToken ¶ added in v0.0.10
func (x *ListTestsResponse) GetNextPageToken() string
func (*ListTestsResponse) GetTests ¶ added in v0.0.10
func (x *ListTestsResponse) GetTests() []*Test
func (*ListTestsResponse) ProtoMessage ¶ added in v0.0.10
func (*ListTestsResponse) ProtoMessage()
func (*ListTestsResponse) ProtoReflect ¶ added in v0.10.0
func (x *ListTestsResponse) ProtoReflect() protoreflect.Message
func (*ListTestsResponse) Reset ¶ added in v0.0.10
func (x *ListTestsResponse) Reset()
func (*ListTestsResponse) String ¶ added in v0.0.10
func (x *ListTestsResponse) String() string
type ListUsersRequest ¶ added in v0.0.9
type ListUsersRequest struct { // The maximum number of users to return. Server may return fewer users // than requested. If unspecified, server will pick an appropriate default. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value of google.showcase.v1beta1.ListUsersResponse.next_page_token // returned from the previous call to // `google.showcase.v1beta1.Identity\ListUsers` method. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Identity\ListUsers method.
func (*ListUsersRequest) Descriptor
deprecated
added in
v0.0.9
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetPageSize ¶ added in v0.0.9
func (x *ListUsersRequest) GetPageSize() int32
func (*ListUsersRequest) GetPageToken ¶ added in v0.0.9
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) ProtoMessage ¶ added in v0.0.9
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶ added in v0.10.0
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶ added in v0.0.9
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶ added in v0.0.9
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶ added in v0.0.9
type ListUsersResponse struct { // The list of users. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // A token to retrieve next page of results. // Pass this value in ListUsersRequest.page_token field in the subsequent // call to `google.showcase.v1beta1.Message\ListUsers` method to retrieve the // next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for the google.showcase.v1beta1.Identity\ListUsers method.
func (*ListUsersResponse) Descriptor
deprecated
added in
v0.0.9
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetNextPageToken ¶ added in v0.0.9
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetUsers ¶ added in v0.0.9
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶ added in v0.0.9
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶ added in v0.10.0
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶ added in v0.0.9
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶ added in v0.0.9
func (x *ListUsersResponse) String() string
type MessagingClient ¶ added in v0.0.9
type MessagingClient interface { // Creates a room. CreateRoom(ctx context.Context, in *CreateRoomRequest, opts ...grpc.CallOption) (*Room, error) // Retrieves the Room with the given resource name. GetRoom(ctx context.Context, in *GetRoomRequest, opts ...grpc.CallOption) (*Room, error) // Updates a room. UpdateRoom(ctx context.Context, in *UpdateRoomRequest, opts ...grpc.CallOption) (*Room, error) // Deletes a room and all of its blurbs. DeleteRoom(ctx context.Context, in *DeleteRoomRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists all chat rooms. ListRooms(ctx context.Context, in *ListRoomsRequest, opts ...grpc.CallOption) (*ListRoomsResponse, error) // Creates a blurb. If the parent is a room, the blurb is understood to be a // message in that room. If the parent is a profile, the blurb is understood // to be a post on the profile. CreateBlurb(ctx context.Context, in *CreateBlurbRequest, opts ...grpc.CallOption) (*Blurb, error) // Retrieves the Blurb with the given resource name. GetBlurb(ctx context.Context, in *GetBlurbRequest, opts ...grpc.CallOption) (*Blurb, error) // Updates a blurb. UpdateBlurb(ctx context.Context, in *UpdateBlurbRequest, opts ...grpc.CallOption) (*Blurb, error) // Deletes a blurb. DeleteBlurb(ctx context.Context, in *DeleteBlurbRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists blurbs for a specific chat room or user profile depending on the // parent resource name. ListBlurbs(ctx context.Context, in *ListBlurbsRequest, opts ...grpc.CallOption) (*ListBlurbsResponse, error) // This method searches through all blurbs across all rooms and profiles // for blurbs containing to words found in the query. Only posts that // contain an exact match of a queried word will be returned. SearchBlurbs(ctx context.Context, in *SearchBlurbsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // This returns a stream that emits the blurbs that are created for a // particular chat room or user profile. StreamBlurbs(ctx context.Context, in *StreamBlurbsRequest, opts ...grpc.CallOption) (Messaging_StreamBlurbsClient, error) // This is a stream to create multiple blurbs. If an invalid blurb is // requested to be created, the stream will close with an error. SendBlurbs(ctx context.Context, opts ...grpc.CallOption) (Messaging_SendBlurbsClient, error) // This method starts a bidirectional stream that receives all blurbs that // are being created after the stream has started and sends requests to create // blurbs. If an invalid blurb is requested to be created, the stream will // close with an error. Connect(ctx context.Context, opts ...grpc.CallOption) (Messaging_ConnectClient, error) }
MessagingClient is the client API for Messaging service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMessagingClient ¶ added in v0.0.9
func NewMessagingClient(cc grpc.ClientConnInterface) MessagingClient
type MessagingServer ¶ added in v0.0.9
type MessagingServer interface { // Creates a room. CreateRoom(context.Context, *CreateRoomRequest) (*Room, error) // Retrieves the Room with the given resource name. GetRoom(context.Context, *GetRoomRequest) (*Room, error) // Updates a room. UpdateRoom(context.Context, *UpdateRoomRequest) (*Room, error) // Deletes a room and all of its blurbs. DeleteRoom(context.Context, *DeleteRoomRequest) (*empty.Empty, error) // Lists all chat rooms. ListRooms(context.Context, *ListRoomsRequest) (*ListRoomsResponse, error) // Creates a blurb. If the parent is a room, the blurb is understood to be a // message in that room. If the parent is a profile, the blurb is understood // to be a post on the profile. CreateBlurb(context.Context, *CreateBlurbRequest) (*Blurb, error) // Retrieves the Blurb with the given resource name. GetBlurb(context.Context, *GetBlurbRequest) (*Blurb, error) // Updates a blurb. UpdateBlurb(context.Context, *UpdateBlurbRequest) (*Blurb, error) // Deletes a blurb. DeleteBlurb(context.Context, *DeleteBlurbRequest) (*empty.Empty, error) // Lists blurbs for a specific chat room or user profile depending on the // parent resource name. ListBlurbs(context.Context, *ListBlurbsRequest) (*ListBlurbsResponse, error) // This method searches through all blurbs across all rooms and profiles // for blurbs containing to words found in the query. Only posts that // contain an exact match of a queried word will be returned. SearchBlurbs(context.Context, *SearchBlurbsRequest) (*longrunning.Operation, error) // This returns a stream that emits the blurbs that are created for a // particular chat room or user profile. StreamBlurbs(*StreamBlurbsRequest, Messaging_StreamBlurbsServer) error // This is a stream to create multiple blurbs. If an invalid blurb is // requested to be created, the stream will close with an error. SendBlurbs(Messaging_SendBlurbsServer) error // This method starts a bidirectional stream that receives all blurbs that // are being created after the stream has started and sends requests to create // blurbs. If an invalid blurb is requested to be created, the stream will // close with an error. Connect(Messaging_ConnectServer) error }
MessagingServer is the server API for Messaging service.
type Messaging_ConnectClient ¶ added in v0.0.9
type Messaging_ConnectClient interface { Send(*ConnectRequest) error Recv() (*StreamBlurbsResponse, error) grpc.ClientStream }
type Messaging_ConnectServer ¶ added in v0.0.9
type Messaging_ConnectServer interface { Send(*StreamBlurbsResponse) error Recv() (*ConnectRequest, error) grpc.ServerStream }
type Messaging_SendBlurbsClient ¶ added in v0.0.9
type Messaging_SendBlurbsClient interface { Send(*CreateBlurbRequest) error CloseAndRecv() (*SendBlurbsResponse, error) grpc.ClientStream }
type Messaging_SendBlurbsServer ¶ added in v0.0.9
type Messaging_SendBlurbsServer interface { SendAndClose(*SendBlurbsResponse) error Recv() (*CreateBlurbRequest, error) grpc.ServerStream }
type Messaging_StreamBlurbsClient ¶ added in v0.0.9
type Messaging_StreamBlurbsClient interface { Recv() (*StreamBlurbsResponse, error) grpc.ClientStream }
type Messaging_StreamBlurbsServer ¶ added in v0.0.9
type Messaging_StreamBlurbsServer interface { Send(*StreamBlurbsResponse) error grpc.ServerStream }
type PagedExpandRequest ¶ added in v0.0.8
type PagedExpandRequest struct { // The string to expand. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // The amount of words to returned in each page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The position of the page to be returned. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request for the PagedExpand method.
func (*PagedExpandRequest) Descriptor
deprecated
added in
v0.0.8
func (*PagedExpandRequest) Descriptor() ([]byte, []int)
Deprecated: Use PagedExpandRequest.ProtoReflect.Descriptor instead.
func (*PagedExpandRequest) GetContent ¶ added in v0.0.8
func (x *PagedExpandRequest) GetContent() string
func (*PagedExpandRequest) GetPageSize ¶ added in v0.0.8
func (x *PagedExpandRequest) GetPageSize() int32
func (*PagedExpandRequest) GetPageToken ¶ added in v0.0.8
func (x *PagedExpandRequest) GetPageToken() string
func (*PagedExpandRequest) ProtoMessage ¶ added in v0.0.8
func (*PagedExpandRequest) ProtoMessage()
func (*PagedExpandRequest) ProtoReflect ¶ added in v0.10.0
func (x *PagedExpandRequest) ProtoReflect() protoreflect.Message
func (*PagedExpandRequest) Reset ¶ added in v0.0.8
func (x *PagedExpandRequest) Reset()
func (*PagedExpandRequest) String ¶ added in v0.0.8
func (x *PagedExpandRequest) String() string
type PagedExpandResponse ¶ added in v0.0.8
type PagedExpandResponse struct { // The words that were expanded. Responses []*EchoResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // The next page token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response for the PagedExpand method.
func (*PagedExpandResponse) Descriptor
deprecated
added in
v0.0.8
func (*PagedExpandResponse) Descriptor() ([]byte, []int)
Deprecated: Use PagedExpandResponse.ProtoReflect.Descriptor instead.
func (*PagedExpandResponse) GetNextPageToken ¶ added in v0.0.8
func (x *PagedExpandResponse) GetNextPageToken() string
func (*PagedExpandResponse) GetResponses ¶ added in v0.0.8
func (x *PagedExpandResponse) GetResponses() []*EchoResponse
func (*PagedExpandResponse) ProtoMessage ¶ added in v0.0.8
func (*PagedExpandResponse) ProtoMessage()
func (*PagedExpandResponse) ProtoReflect ¶ added in v0.10.0
func (x *PagedExpandResponse) ProtoReflect() protoreflect.Message
func (*PagedExpandResponse) Reset ¶ added in v0.0.8
func (x *PagedExpandResponse) Reset()
func (*PagedExpandResponse) String ¶ added in v0.0.8
func (x *PagedExpandResponse) String() string
type ReportSessionRequest ¶ added in v0.0.5
type ReportSessionRequest struct { // The session to be reported on. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for reporting on a session.
func (*ReportSessionRequest) Descriptor
deprecated
added in
v0.0.5
func (*ReportSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportSessionRequest.ProtoReflect.Descriptor instead.
func (*ReportSessionRequest) GetName ¶ added in v0.0.5
func (x *ReportSessionRequest) GetName() string
func (*ReportSessionRequest) ProtoMessage ¶ added in v0.0.5
func (*ReportSessionRequest) ProtoMessage()
func (*ReportSessionRequest) ProtoReflect ¶ added in v0.10.0
func (x *ReportSessionRequest) ProtoReflect() protoreflect.Message
func (*ReportSessionRequest) Reset ¶ added in v0.0.5
func (x *ReportSessionRequest) Reset()
func (*ReportSessionRequest) String ¶ added in v0.0.5
func (x *ReportSessionRequest) String() string
type ReportSessionResponse ¶ added in v0.0.5
type ReportSessionResponse struct { // The state of the report. Result ReportSessionResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=google.showcase.v1beta1.ReportSessionResponse_Result" json:"result,omitempty"` // The test runs of this session. TestRuns []*TestRun `protobuf:"bytes,2,rep,name=test_runs,json=testRuns,proto3" json:"test_runs,omitempty"` // contains filtered or unexported fields }
Response message for reporting on a session.
func (*ReportSessionResponse) Descriptor
deprecated
added in
v0.0.5
func (*ReportSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportSessionResponse.ProtoReflect.Descriptor instead.
func (*ReportSessionResponse) GetResult ¶ added in v0.0.10
func (x *ReportSessionResponse) GetResult() ReportSessionResponse_Result
func (*ReportSessionResponse) GetTestRuns ¶ added in v0.0.10
func (x *ReportSessionResponse) GetTestRuns() []*TestRun
func (*ReportSessionResponse) ProtoMessage ¶ added in v0.0.5
func (*ReportSessionResponse) ProtoMessage()
func (*ReportSessionResponse) ProtoReflect ¶ added in v0.10.0
func (x *ReportSessionResponse) ProtoReflect() protoreflect.Message
func (*ReportSessionResponse) Reset ¶ added in v0.0.5
func (x *ReportSessionResponse) Reset()
func (*ReportSessionResponse) String ¶ added in v0.0.5
func (x *ReportSessionResponse) String() string
type ReportSessionResponse_Result ¶ added in v0.0.10
type ReportSessionResponse_Result int32
The topline state of the report.
const ( ReportSessionResponse_RESULT_UNSPECIFIED ReportSessionResponse_Result = 0 // The session is complete, and everything passed. ReportSessionResponse_PASSED ReportSessionResponse_Result = 1 // The session had an explicit failure. ReportSessionResponse_FAILED ReportSessionResponse_Result = 2 // The session is incomplete. This is a failure response. ReportSessionResponse_INCOMPLETE ReportSessionResponse_Result = 3 )
func (ReportSessionResponse_Result) Descriptor ¶ added in v0.10.0
func (ReportSessionResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (ReportSessionResponse_Result) Enum ¶ added in v0.10.0
func (x ReportSessionResponse_Result) Enum() *ReportSessionResponse_Result
func (ReportSessionResponse_Result) EnumDescriptor
deprecated
added in
v0.0.10
func (ReportSessionResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReportSessionResponse_Result.Descriptor instead.
func (ReportSessionResponse_Result) Number ¶ added in v0.10.0
func (x ReportSessionResponse_Result) Number() protoreflect.EnumNumber
func (ReportSessionResponse_Result) String ¶ added in v0.0.10
func (x ReportSessionResponse_Result) String() string
func (ReportSessionResponse_Result) Type ¶ added in v0.10.0
func (ReportSessionResponse_Result) Type() protoreflect.EnumType
type Room ¶ added in v0.0.9
type Room struct { // The resource name of the chat room. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The human readable name of the chat room. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The description of the chat room. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The timestamp at which the room was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The latest timestamp at which the room was updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
A chat room.
func (*Room) Descriptor
deprecated
added in
v0.0.9
func (*Room) GetCreateTime ¶ added in v0.0.9
func (*Room) GetDescription ¶ added in v0.0.9
func (*Room) GetDisplayName ¶ added in v0.0.9
func (*Room) GetUpdateTime ¶ added in v0.0.9
func (*Room) ProtoMessage ¶ added in v0.0.9
func (*Room) ProtoMessage()
func (*Room) ProtoReflect ¶ added in v0.10.0
func (x *Room) ProtoReflect() protoreflect.Message
type SearchBlurbsMetadata ¶ added in v0.0.9
type SearchBlurbsMetadata struct { // This signals to the client when to next poll for response. RetryInfo *errdetails.RetryInfo `protobuf:"bytes,1,opt,name=retry_info,json=retryInfo,proto3" json:"retry_info,omitempty"` // contains filtered or unexported fields }
The operation metadata message for the google.showcase.v1beta1.Messaging\SearchBlurbs method.
func (*SearchBlurbsMetadata) Descriptor
deprecated
added in
v0.0.9
func (*SearchBlurbsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SearchBlurbsMetadata.ProtoReflect.Descriptor instead.
func (*SearchBlurbsMetadata) GetRetryInfo ¶ added in v0.0.9
func (x *SearchBlurbsMetadata) GetRetryInfo() *errdetails.RetryInfo
func (*SearchBlurbsMetadata) ProtoMessage ¶ added in v0.0.9
func (*SearchBlurbsMetadata) ProtoMessage()
func (*SearchBlurbsMetadata) ProtoReflect ¶ added in v0.10.0
func (x *SearchBlurbsMetadata) ProtoReflect() protoreflect.Message
func (*SearchBlurbsMetadata) Reset ¶ added in v0.0.9
func (x *SearchBlurbsMetadata) Reset()
func (*SearchBlurbsMetadata) String ¶ added in v0.0.9
func (x *SearchBlurbsMetadata) String() string
type SearchBlurbsRequest ¶ added in v0.0.9
type SearchBlurbsRequest struct { // The query used to search for blurbs containing to words of this string. // Only posts that contain an exact match of a queried word will be returned. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // The rooms or profiles to search. If unset, `SearchBlurbs` will search all // rooms and all profiles. Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of blurbs return. Server may return fewer // blurbs than requested. If unspecified, server will pick an appropriate // default. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value of // google.showcase.v1beta1.SearchBlurbsResponse.next_page_token // returned from the previous call to // `google.showcase.v1beta1.Messaging\SearchBlurbs` method. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\SearchBlurbs method.
func (*SearchBlurbsRequest) Descriptor
deprecated
added in
v0.0.9
func (*SearchBlurbsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchBlurbsRequest.ProtoReflect.Descriptor instead.
func (*SearchBlurbsRequest) GetPageSize ¶ added in v0.0.9
func (x *SearchBlurbsRequest) GetPageSize() int32
func (*SearchBlurbsRequest) GetPageToken ¶ added in v0.0.9
func (x *SearchBlurbsRequest) GetPageToken() string
func (*SearchBlurbsRequest) GetParent ¶ added in v0.0.9
func (x *SearchBlurbsRequest) GetParent() string
func (*SearchBlurbsRequest) GetQuery ¶ added in v0.0.9
func (x *SearchBlurbsRequest) GetQuery() string
func (*SearchBlurbsRequest) ProtoMessage ¶ added in v0.0.9
func (*SearchBlurbsRequest) ProtoMessage()
func (*SearchBlurbsRequest) ProtoReflect ¶ added in v0.10.0
func (x *SearchBlurbsRequest) ProtoReflect() protoreflect.Message
func (*SearchBlurbsRequest) Reset ¶ added in v0.0.9
func (x *SearchBlurbsRequest) Reset()
func (*SearchBlurbsRequest) String ¶ added in v0.0.9
func (x *SearchBlurbsRequest) String() string
type SearchBlurbsResponse ¶ added in v0.0.9
type SearchBlurbsResponse struct { // Blurbs that matched the search query. Blurbs []*Blurb `protobuf:"bytes,1,rep,name=blurbs,proto3" json:"blurbs,omitempty"` // A token to retrieve next page of results. // Pass this value in SearchBlurbsRequest.page_token field in the subsequent // call to `google.showcase.v1beta1.Blurb\SearchBlurbs` method to // retrieve the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The operation response message for the google.showcase.v1beta1.Messaging\SearchBlurbs method.
func (*SearchBlurbsResponse) Descriptor
deprecated
added in
v0.0.9
func (*SearchBlurbsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchBlurbsResponse.ProtoReflect.Descriptor instead.
func (*SearchBlurbsResponse) GetBlurbs ¶ added in v0.0.9
func (x *SearchBlurbsResponse) GetBlurbs() []*Blurb
func (*SearchBlurbsResponse) GetNextPageToken ¶ added in v0.0.9
func (x *SearchBlurbsResponse) GetNextPageToken() string
func (*SearchBlurbsResponse) ProtoMessage ¶ added in v0.0.9
func (*SearchBlurbsResponse) ProtoMessage()
func (*SearchBlurbsResponse) ProtoReflect ¶ added in v0.10.0
func (x *SearchBlurbsResponse) ProtoReflect() protoreflect.Message
func (*SearchBlurbsResponse) Reset ¶ added in v0.0.9
func (x *SearchBlurbsResponse) Reset()
func (*SearchBlurbsResponse) String ¶ added in v0.0.9
func (x *SearchBlurbsResponse) String() string
type SendBlurbsResponse ¶ added in v0.0.9
type SendBlurbsResponse struct { // The names of successful blurb creations. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
The response message for the google.showcase.v1beta1.Messaging\SendBlurbs method.
func (*SendBlurbsResponse) Descriptor
deprecated
added in
v0.0.9
func (*SendBlurbsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendBlurbsResponse.ProtoReflect.Descriptor instead.
func (*SendBlurbsResponse) GetNames ¶ added in v0.0.10
func (x *SendBlurbsResponse) GetNames() []string
func (*SendBlurbsResponse) ProtoMessage ¶ added in v0.0.9
func (*SendBlurbsResponse) ProtoMessage()
func (*SendBlurbsResponse) ProtoReflect ¶ added in v0.10.0
func (x *SendBlurbsResponse) ProtoReflect() protoreflect.Message
func (*SendBlurbsResponse) Reset ¶ added in v0.0.9
func (x *SendBlurbsResponse) Reset()
func (*SendBlurbsResponse) String ¶ added in v0.0.9
func (x *SendBlurbsResponse) String() string
type Session ¶ added in v0.0.5
type Session struct { // The name of the session. The ID must conform to ^[a-z]+$ // If this is not provided, Showcase chooses one at random. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The version this session is using. Version Session_Version `protobuf:"varint,2,opt,name=version,proto3,enum=google.showcase.v1beta1.Session_Version" json:"version,omitempty"` // contains filtered or unexported fields }
A session is a suite of tests, generally being made in the context of testing code generation.
A session defines tests it may expect, based on which version of the code generation spec is in use.
func (*Session) Descriptor
deprecated
added in
v0.0.5
func (*Session) GetVersion ¶ added in v0.0.5
func (x *Session) GetVersion() Session_Version
func (*Session) ProtoMessage ¶ added in v0.0.5
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶ added in v0.10.0
func (x *Session) ProtoReflect() protoreflect.Message
type Session_Version ¶ added in v0.0.5
type Session_Version int32
The specification versions understood by Showcase.
const ( // Unspecified version. If passed on creation, the session will default // to using the latest stable release. Session_VERSION_UNSPECIFIED Session_Version = 0 // The latest v1. Currently, this is v1.0. Session_V1_LATEST Session_Version = 1 // v1.0. (Until the spec is "GA", this will be a moving target.) Session_V1_0 Session_Version = 2 )
func (Session_Version) Descriptor ¶ added in v0.10.0
func (Session_Version) Descriptor() protoreflect.EnumDescriptor
func (Session_Version) Enum ¶ added in v0.10.0
func (x Session_Version) Enum() *Session_Version
func (Session_Version) EnumDescriptor
deprecated
added in
v0.0.5
func (Session_Version) EnumDescriptor() ([]byte, []int)
Deprecated: Use Session_Version.Descriptor instead.
func (Session_Version) Number ¶ added in v0.10.0
func (x Session_Version) Number() protoreflect.EnumNumber
func (Session_Version) String ¶ added in v0.0.5
func (x Session_Version) String() string
func (Session_Version) Type ¶ added in v0.10.0
func (Session_Version) Type() protoreflect.EnumType
type StreamBlurbsRequest ¶ added in v0.0.9
type StreamBlurbsRequest struct { // The resource name of a chat room or user profile whose blurbs to stream. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The time at which this stream will close. ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\StreamBlurbs method.
func (*StreamBlurbsRequest) Descriptor
deprecated
added in
v0.0.9
func (*StreamBlurbsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamBlurbsRequest.ProtoReflect.Descriptor instead.
func (*StreamBlurbsRequest) GetExpireTime ¶ added in v0.0.10
func (x *StreamBlurbsRequest) GetExpireTime() *timestamp.Timestamp
func (*StreamBlurbsRequest) GetName ¶ added in v0.0.9
func (x *StreamBlurbsRequest) GetName() string
func (*StreamBlurbsRequest) ProtoMessage ¶ added in v0.0.9
func (*StreamBlurbsRequest) ProtoMessage()
func (*StreamBlurbsRequest) ProtoReflect ¶ added in v0.10.0
func (x *StreamBlurbsRequest) ProtoReflect() protoreflect.Message
func (*StreamBlurbsRequest) Reset ¶ added in v0.0.9
func (x *StreamBlurbsRequest) Reset()
func (*StreamBlurbsRequest) String ¶ added in v0.0.9
func (x *StreamBlurbsRequest) String() string
type StreamBlurbsResponse ¶ added in v0.0.10
type StreamBlurbsResponse struct { // The blurb that was either created, updated, or deleted. Blurb *Blurb `protobuf:"bytes,1,opt,name=blurb,proto3" json:"blurb,omitempty"` // The action that triggered the blurb to be returned. Action StreamBlurbsResponse_Action `protobuf:"varint,2,opt,name=action,proto3,enum=google.showcase.v1beta1.StreamBlurbsResponse_Action" json:"action,omitempty"` // contains filtered or unexported fields }
The response message for the google.showcase.v1beta1.Messaging\StreamBlurbs method.
func (*StreamBlurbsResponse) Descriptor
deprecated
added in
v0.0.10
func (*StreamBlurbsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamBlurbsResponse.ProtoReflect.Descriptor instead.
func (*StreamBlurbsResponse) GetAction ¶ added in v0.0.10
func (x *StreamBlurbsResponse) GetAction() StreamBlurbsResponse_Action
func (*StreamBlurbsResponse) GetBlurb ¶ added in v0.0.10
func (x *StreamBlurbsResponse) GetBlurb() *Blurb
func (*StreamBlurbsResponse) ProtoMessage ¶ added in v0.0.10
func (*StreamBlurbsResponse) ProtoMessage()
func (*StreamBlurbsResponse) ProtoReflect ¶ added in v0.10.0
func (x *StreamBlurbsResponse) ProtoReflect() protoreflect.Message
func (*StreamBlurbsResponse) Reset ¶ added in v0.0.10
func (x *StreamBlurbsResponse) Reset()
func (*StreamBlurbsResponse) String ¶ added in v0.0.10
func (x *StreamBlurbsResponse) String() string
type StreamBlurbsResponse_Action ¶ added in v0.0.10
type StreamBlurbsResponse_Action int32
The action that triggered the blurb to be returned.
const ( StreamBlurbsResponse_ACTION_UNSPECIFIED StreamBlurbsResponse_Action = 0 // Specifies that the blurb was created. StreamBlurbsResponse_CREATE StreamBlurbsResponse_Action = 1 // Specifies that the blurb was updated. StreamBlurbsResponse_UPDATE StreamBlurbsResponse_Action = 2 // Specifies that the blurb was deleted. StreamBlurbsResponse_DELETE StreamBlurbsResponse_Action = 3 )
func (StreamBlurbsResponse_Action) Descriptor ¶ added in v0.10.0
func (StreamBlurbsResponse_Action) Descriptor() protoreflect.EnumDescriptor
func (StreamBlurbsResponse_Action) Enum ¶ added in v0.10.0
func (x StreamBlurbsResponse_Action) Enum() *StreamBlurbsResponse_Action
func (StreamBlurbsResponse_Action) EnumDescriptor
deprecated
added in
v0.0.10
func (StreamBlurbsResponse_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamBlurbsResponse_Action.Descriptor instead.
func (StreamBlurbsResponse_Action) Number ¶ added in v0.10.0
func (x StreamBlurbsResponse_Action) Number() protoreflect.EnumNumber
func (StreamBlurbsResponse_Action) String ¶ added in v0.0.10
func (x StreamBlurbsResponse_Action) String() string
func (StreamBlurbsResponse_Action) Type ¶ added in v0.10.0
func (StreamBlurbsResponse_Action) Type() protoreflect.EnumType
type Test ¶ added in v0.0.5
type Test struct { // The name of the test. // The tests/* portion of the names are hard-coded, and do not change // from session to session. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The expectation level for this test. ExpectationLevel Test_ExpectationLevel `` /* 161-byte string literal not displayed */ // A description of the test. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The blueprints that will satisfy this test. There may be multiple blueprints // that can signal to the server that this test case is being exercised. Although // multiple blueprints are specified, only a single blueprint needs to be run to // signal that the test case was exercised. Blueprints []*Test_Blueprint `protobuf:"bytes,4,rep,name=blueprints,proto3" json:"blueprints,omitempty"` // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
added in
v0.0.5
func (*Test) GetBlueprints ¶ added in v0.0.10
func (x *Test) GetBlueprints() []*Test_Blueprint
func (*Test) GetDescription ¶ added in v0.0.5
func (*Test) GetExpectationLevel ¶ added in v0.0.5
func (x *Test) GetExpectationLevel() Test_ExpectationLevel
func (*Test) ProtoMessage ¶ added in v0.0.5
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶ added in v0.10.0
func (x *Test) ProtoReflect() protoreflect.Message
type TestRun ¶ added in v0.0.10
type TestRun struct { // The name of the test. // The tests/* portion of the names are hard-coded, and do not change // from session to session. Test string `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"` // An issue found with the test run. If empty, this test run was successful. Issue *Issue `protobuf:"bytes,2,opt,name=issue,proto3" json:"issue,omitempty"` // contains filtered or unexported fields }
A TestRun is the result of running a Test.
func (*TestRun) Descriptor
deprecated
added in
v0.0.10
func (*TestRun) ProtoMessage ¶ added in v0.0.10
func (*TestRun) ProtoMessage()
func (*TestRun) ProtoReflect ¶ added in v0.10.0
func (x *TestRun) ProtoReflect() protoreflect.Message
type Test_Blueprint ¶ added in v0.0.10
type Test_Blueprint struct { // The name of this blueprint. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A description of this blueprint. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The initial request to trigger this test. Request *Test_Blueprint_Invocation `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` // An ordered list of method calls that can be called to trigger this test. AdditionalRequests []*Test_Blueprint_Invocation `protobuf:"bytes,4,rep,name=additional_requests,json=additionalRequests,proto3" json:"additional_requests,omitempty"` // contains filtered or unexported fields }
A blueprint is an explicit definition of methods and requests that are needed to be made to test this specific test case. Ideally this would be represented by something more robust like CEL, but as of writing this, I am unsure if CEL is ready.
func (*Test_Blueprint) Descriptor
deprecated
added in
v0.0.10
func (*Test_Blueprint) Descriptor() ([]byte, []int)
Deprecated: Use Test_Blueprint.ProtoReflect.Descriptor instead.
func (*Test_Blueprint) GetAdditionalRequests ¶ added in v0.0.10
func (x *Test_Blueprint) GetAdditionalRequests() []*Test_Blueprint_Invocation
func (*Test_Blueprint) GetDescription ¶ added in v0.0.10
func (x *Test_Blueprint) GetDescription() string
func (*Test_Blueprint) GetName ¶ added in v0.0.10
func (x *Test_Blueprint) GetName() string
func (*Test_Blueprint) GetRequest ¶ added in v0.0.10
func (x *Test_Blueprint) GetRequest() *Test_Blueprint_Invocation
func (*Test_Blueprint) ProtoMessage ¶ added in v0.0.10
func (*Test_Blueprint) ProtoMessage()
func (*Test_Blueprint) ProtoReflect ¶ added in v0.10.0
func (x *Test_Blueprint) ProtoReflect() protoreflect.Message
func (*Test_Blueprint) Reset ¶ added in v0.0.10
func (x *Test_Blueprint) Reset()
func (*Test_Blueprint) String ¶ added in v0.0.10
func (x *Test_Blueprint) String() string
type Test_Blueprint_Invocation ¶ added in v0.0.10
type Test_Blueprint_Invocation struct { // The fully qualified name of the showcase method to be invoked. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // The request to be made if a specific request is necessary. SerializedRequest []byte `protobuf:"bytes,2,opt,name=serialized_request,json=serializedRequest,proto3" json:"serialized_request,omitempty"` // contains filtered or unexported fields }
A message representing a method invocation.
func (*Test_Blueprint_Invocation) Descriptor
deprecated
added in
v0.0.10
func (*Test_Blueprint_Invocation) Descriptor() ([]byte, []int)
Deprecated: Use Test_Blueprint_Invocation.ProtoReflect.Descriptor instead.
func (*Test_Blueprint_Invocation) GetMethod ¶ added in v0.0.10
func (x *Test_Blueprint_Invocation) GetMethod() string
func (*Test_Blueprint_Invocation) GetSerializedRequest ¶ added in v0.0.10
func (x *Test_Blueprint_Invocation) GetSerializedRequest() []byte
func (*Test_Blueprint_Invocation) ProtoMessage ¶ added in v0.0.10
func (*Test_Blueprint_Invocation) ProtoMessage()
func (*Test_Blueprint_Invocation) ProtoReflect ¶ added in v0.10.0
func (x *Test_Blueprint_Invocation) ProtoReflect() protoreflect.Message
func (*Test_Blueprint_Invocation) Reset ¶ added in v0.0.10
func (x *Test_Blueprint_Invocation) Reset()
func (*Test_Blueprint_Invocation) String ¶ added in v0.0.10
func (x *Test_Blueprint_Invocation) String() string
type Test_ExpectationLevel ¶ added in v0.0.5
type Test_ExpectationLevel int32
Whether or not a test is required, recommended, or optional.
const ( Test_EXPECTATION_LEVEL_UNSPECIFIED Test_ExpectationLevel = 0 // This test is strictly required. Test_REQUIRED Test_ExpectationLevel = 1 // This test is recommended. // // If a generator explicitly ignores a recommended test (see `DeleteTest`), // then the report may still pass, but with a warning. // // If a generator skips a recommended test and does not explicitly // express that intention, the report will fail. Test_RECOMMENDED Test_ExpectationLevel = 2 // This test is optional. // // If a generator explicitly ignores an optional test (see `DeleteTest`), // then the report may still pass, and no warning will be issued. // // If a generator skips an optional test and does not explicitly // express that intention, the report may still pass, but with a // warning. Test_OPTIONAL Test_ExpectationLevel = 3 )
func (Test_ExpectationLevel) Descriptor ¶ added in v0.10.0
func (Test_ExpectationLevel) Descriptor() protoreflect.EnumDescriptor
func (Test_ExpectationLevel) Enum ¶ added in v0.10.0
func (x Test_ExpectationLevel) Enum() *Test_ExpectationLevel
func (Test_ExpectationLevel) EnumDescriptor
deprecated
added in
v0.0.5
func (Test_ExpectationLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use Test_ExpectationLevel.Descriptor instead.
func (Test_ExpectationLevel) Number ¶ added in v0.10.0
func (x Test_ExpectationLevel) Number() protoreflect.EnumNumber
func (Test_ExpectationLevel) String ¶ added in v0.0.5
func (x Test_ExpectationLevel) String() string
func (Test_ExpectationLevel) Type ¶ added in v0.10.0
func (Test_ExpectationLevel) Type() protoreflect.EnumType
type TestingClient ¶ added in v0.0.5
type TestingClient interface { // Creates a new testing session. CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*Session, error) // Gets a testing session. GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*Session, error) // Lists the current test sessions. ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) // Delete a test session. DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Report on the status of a session. // This generates a report detailing which tests have been completed, // and an overall rollup. ReportSession(ctx context.Context, in *ReportSessionRequest, opts ...grpc.CallOption) (*ReportSessionResponse, error) // List the tests of a sessesion. ListTests(ctx context.Context, in *ListTestsRequest, opts ...grpc.CallOption) (*ListTestsResponse, error) // Explicitly decline to implement a test. // // This removes the test from subsequent `ListTests` calls, and // attempting to do the test will error. // // This method will error if attempting to delete a required test. DeleteTest(ctx context.Context, in *DeleteTestRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Register a response to a test. // // In cases where a test involves registering a final answer at the // end of the test, this method provides the means to do so. VerifyTest(ctx context.Context, in *VerifyTestRequest, opts ...grpc.CallOption) (*VerifyTestResponse, error) }
TestingClient is the client API for Testing service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTestingClient ¶ added in v0.0.5
func NewTestingClient(cc grpc.ClientConnInterface) TestingClient
type TestingServer ¶ added in v0.0.5
type TestingServer interface { // Creates a new testing session. CreateSession(context.Context, *CreateSessionRequest) (*Session, error) // Gets a testing session. GetSession(context.Context, *GetSessionRequest) (*Session, error) // Lists the current test sessions. ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error) // Delete a test session. DeleteSession(context.Context, *DeleteSessionRequest) (*empty.Empty, error) // Report on the status of a session. // This generates a report detailing which tests have been completed, // and an overall rollup. ReportSession(context.Context, *ReportSessionRequest) (*ReportSessionResponse, error) // List the tests of a sessesion. ListTests(context.Context, *ListTestsRequest) (*ListTestsResponse, error) // Explicitly decline to implement a test. // // This removes the test from subsequent `ListTests` calls, and // attempting to do the test will error. // // This method will error if attempting to delete a required test. DeleteTest(context.Context, *DeleteTestRequest) (*empty.Empty, error) // Register a response to a test. // // In cases where a test involves registering a final answer at the // end of the test, this method provides the means to do so. VerifyTest(context.Context, *VerifyTestRequest) (*VerifyTestResponse, error) }
TestingServer is the server API for Testing service.
type UnimplementedEchoServer ¶ added in v0.1.0
type UnimplementedEchoServer struct { }
UnimplementedEchoServer can be embedded to have forward compatible implementations.
func (*UnimplementedEchoServer) Block ¶ added in v0.3.0
func (*UnimplementedEchoServer) Block(context.Context, *BlockRequest) (*BlockResponse, error)
func (*UnimplementedEchoServer) Chat ¶ added in v0.1.0
func (*UnimplementedEchoServer) Chat(Echo_ChatServer) error
func (*UnimplementedEchoServer) Collect ¶ added in v0.1.0
func (*UnimplementedEchoServer) Collect(Echo_CollectServer) error
func (*UnimplementedEchoServer) Echo ¶ added in v0.1.0
func (*UnimplementedEchoServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
func (*UnimplementedEchoServer) Expand ¶ added in v0.1.0
func (*UnimplementedEchoServer) Expand(*ExpandRequest, Echo_ExpandServer) error
func (*UnimplementedEchoServer) PagedExpand ¶ added in v0.1.0
func (*UnimplementedEchoServer) PagedExpand(context.Context, *PagedExpandRequest) (*PagedExpandResponse, error)
func (*UnimplementedEchoServer) Wait ¶ added in v0.1.0
func (*UnimplementedEchoServer) Wait(context.Context, *WaitRequest) (*longrunning.Operation, error)
type UnimplementedIdentityServer ¶ added in v0.1.0
type UnimplementedIdentityServer struct { }
UnimplementedIdentityServer can be embedded to have forward compatible implementations.
func (*UnimplementedIdentityServer) CreateUser ¶ added in v0.1.0
func (*UnimplementedIdentityServer) CreateUser(context.Context, *CreateUserRequest) (*User, error)
func (*UnimplementedIdentityServer) DeleteUser ¶ added in v0.1.0
func (*UnimplementedIdentityServer) DeleteUser(context.Context, *DeleteUserRequest) (*empty.Empty, error)
func (*UnimplementedIdentityServer) GetUser ¶ added in v0.1.0
func (*UnimplementedIdentityServer) GetUser(context.Context, *GetUserRequest) (*User, error)
func (*UnimplementedIdentityServer) ListUsers ¶ added in v0.1.0
func (*UnimplementedIdentityServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (*UnimplementedIdentityServer) UpdateUser ¶ added in v0.1.0
func (*UnimplementedIdentityServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
type UnimplementedMessagingServer ¶ added in v0.1.0
type UnimplementedMessagingServer struct { }
UnimplementedMessagingServer can be embedded to have forward compatible implementations.
func (*UnimplementedMessagingServer) Connect ¶ added in v0.1.0
func (*UnimplementedMessagingServer) Connect(Messaging_ConnectServer) error
func (*UnimplementedMessagingServer) CreateBlurb ¶ added in v0.1.0
func (*UnimplementedMessagingServer) CreateBlurb(context.Context, *CreateBlurbRequest) (*Blurb, error)
func (*UnimplementedMessagingServer) CreateRoom ¶ added in v0.1.0
func (*UnimplementedMessagingServer) CreateRoom(context.Context, *CreateRoomRequest) (*Room, error)
func (*UnimplementedMessagingServer) DeleteBlurb ¶ added in v0.1.0
func (*UnimplementedMessagingServer) DeleteBlurb(context.Context, *DeleteBlurbRequest) (*empty.Empty, error)
func (*UnimplementedMessagingServer) DeleteRoom ¶ added in v0.1.0
func (*UnimplementedMessagingServer) DeleteRoom(context.Context, *DeleteRoomRequest) (*empty.Empty, error)
func (*UnimplementedMessagingServer) GetBlurb ¶ added in v0.1.0
func (*UnimplementedMessagingServer) GetBlurb(context.Context, *GetBlurbRequest) (*Blurb, error)
func (*UnimplementedMessagingServer) GetRoom ¶ added in v0.1.0
func (*UnimplementedMessagingServer) GetRoom(context.Context, *GetRoomRequest) (*Room, error)
func (*UnimplementedMessagingServer) ListBlurbs ¶ added in v0.1.0
func (*UnimplementedMessagingServer) ListBlurbs(context.Context, *ListBlurbsRequest) (*ListBlurbsResponse, error)
func (*UnimplementedMessagingServer) ListRooms ¶ added in v0.1.0
func (*UnimplementedMessagingServer) ListRooms(context.Context, *ListRoomsRequest) (*ListRoomsResponse, error)
func (*UnimplementedMessagingServer) SearchBlurbs ¶ added in v0.1.0
func (*UnimplementedMessagingServer) SearchBlurbs(context.Context, *SearchBlurbsRequest) (*longrunning.Operation, error)
func (*UnimplementedMessagingServer) SendBlurbs ¶ added in v0.1.0
func (*UnimplementedMessagingServer) SendBlurbs(Messaging_SendBlurbsServer) error
func (*UnimplementedMessagingServer) StreamBlurbs ¶ added in v0.1.0
func (*UnimplementedMessagingServer) StreamBlurbs(*StreamBlurbsRequest, Messaging_StreamBlurbsServer) error
func (*UnimplementedMessagingServer) UpdateBlurb ¶ added in v0.1.0
func (*UnimplementedMessagingServer) UpdateBlurb(context.Context, *UpdateBlurbRequest) (*Blurb, error)
func (*UnimplementedMessagingServer) UpdateRoom ¶ added in v0.1.0
func (*UnimplementedMessagingServer) UpdateRoom(context.Context, *UpdateRoomRequest) (*Room, error)
type UnimplementedTestingServer ¶ added in v0.1.0
type UnimplementedTestingServer struct { }
UnimplementedTestingServer can be embedded to have forward compatible implementations.
func (*UnimplementedTestingServer) CreateSession ¶ added in v0.1.0
func (*UnimplementedTestingServer) CreateSession(context.Context, *CreateSessionRequest) (*Session, error)
func (*UnimplementedTestingServer) DeleteSession ¶ added in v0.1.0
func (*UnimplementedTestingServer) DeleteSession(context.Context, *DeleteSessionRequest) (*empty.Empty, error)
func (*UnimplementedTestingServer) DeleteTest ¶ added in v0.1.0
func (*UnimplementedTestingServer) DeleteTest(context.Context, *DeleteTestRequest) (*empty.Empty, error)
func (*UnimplementedTestingServer) GetSession ¶ added in v0.1.0
func (*UnimplementedTestingServer) GetSession(context.Context, *GetSessionRequest) (*Session, error)
func (*UnimplementedTestingServer) ListSessions ¶ added in v0.1.0
func (*UnimplementedTestingServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
func (*UnimplementedTestingServer) ListTests ¶ added in v0.1.0
func (*UnimplementedTestingServer) ListTests(context.Context, *ListTestsRequest) (*ListTestsResponse, error)
func (*UnimplementedTestingServer) ReportSession ¶ added in v0.1.0
func (*UnimplementedTestingServer) ReportSession(context.Context, *ReportSessionRequest) (*ReportSessionResponse, error)
func (*UnimplementedTestingServer) VerifyTest ¶ added in v0.1.0
func (*UnimplementedTestingServer) VerifyTest(context.Context, *VerifyTestRequest) (*VerifyTestResponse, error)
type UpdateBlurbRequest ¶ added in v0.0.9
type UpdateBlurbRequest struct { // The blurb to update. Blurb *Blurb `protobuf:"bytes,1,opt,name=blurb,proto3" json:"blurb,omitempty"` // The field mask to determine wich fields are to be updated. If empty, the // server will assume all fields are to be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\UpdateBlurb method.
func (*UpdateBlurbRequest) Descriptor
deprecated
added in
v0.0.9
func (*UpdateBlurbRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBlurbRequest.ProtoReflect.Descriptor instead.
func (*UpdateBlurbRequest) GetBlurb ¶ added in v0.0.9
func (x *UpdateBlurbRequest) GetBlurb() *Blurb
func (*UpdateBlurbRequest) GetUpdateMask ¶ added in v0.0.9
func (x *UpdateBlurbRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateBlurbRequest) ProtoMessage ¶ added in v0.0.9
func (*UpdateBlurbRequest) ProtoMessage()
func (*UpdateBlurbRequest) ProtoReflect ¶ added in v0.10.0
func (x *UpdateBlurbRequest) ProtoReflect() protoreflect.Message
func (*UpdateBlurbRequest) Reset ¶ added in v0.0.9
func (x *UpdateBlurbRequest) Reset()
func (*UpdateBlurbRequest) String ¶ added in v0.0.9
func (x *UpdateBlurbRequest) String() string
type UpdateRoomRequest ¶ added in v0.0.9
type UpdateRoomRequest struct { // The room to update. Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // The field mask to determine wich fields are to be updated. If empty, the // server will assume all fields are to be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Messaging\UpdateRoom method.
func (*UpdateRoomRequest) Descriptor
deprecated
added in
v0.0.9
func (*UpdateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoomRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoomRequest) GetRoom ¶ added in v0.0.9
func (x *UpdateRoomRequest) GetRoom() *Room
func (*UpdateRoomRequest) GetUpdateMask ¶ added in v0.0.9
func (x *UpdateRoomRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateRoomRequest) ProtoMessage ¶ added in v0.0.9
func (*UpdateRoomRequest) ProtoMessage()
func (*UpdateRoomRequest) ProtoReflect ¶ added in v0.10.0
func (x *UpdateRoomRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoomRequest) Reset ¶ added in v0.0.9
func (x *UpdateRoomRequest) Reset()
func (*UpdateRoomRequest) String ¶ added in v0.0.9
func (x *UpdateRoomRequest) String() string
type UpdateUserRequest ¶ added in v0.0.9
type UpdateUserRequest struct { // The user to update. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The field mask to determine wich fields are to be updated. If empty, the // server will assume all fields are to be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for the google.showcase.v1beta1.Identity\UpdateUser method.
func (*UpdateUserRequest) Descriptor
deprecated
added in
v0.0.9
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUpdateMask ¶ added in v0.0.9
func (x *UpdateUserRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateUserRequest) GetUser ¶ added in v0.0.9
func (x *UpdateUserRequest) GetUser() *User
func (*UpdateUserRequest) ProtoMessage ¶ added in v0.0.9
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶ added in v0.10.0
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶ added in v0.0.9
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶ added in v0.0.9
func (x *UpdateUserRequest) String() string
type User ¶ added in v0.0.9
type User struct { // The resource name of the user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The display_name of the user. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The email address of the user. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // The timestamp at which the user was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The latest timestamp at which the user was updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The age of the use in years. Age *int32 `protobuf:"varint,6,opt,name=age,proto3,oneof" json:"age,omitempty"` // The height of the user in feet. HeightFeet *float64 `protobuf:"fixed64,7,opt,name=height_feet,json=heightFeet,proto3,oneof" json:"height_feet,omitempty"` // The nickname of the user. // // (-- aip.dev/not-precedent: An empty string is a valid nickname. // Ordinarily, proto3_optional should not be used on a `string` field. --) Nickname *string `protobuf:"bytes,8,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` // Enables the receiving of notifications. The default is true if unset. // // (-- aip.dev/not-precedent: The default for the feature is true. // Ordinarily, the default for a `bool` field should be false. --) EnableNotifications *bool `protobuf:"varint,9,opt,name=enable_notifications,json=enableNotifications,proto3,oneof" json:"enable_notifications,omitempty"` // contains filtered or unexported fields }
A user.
func (*User) Descriptor
deprecated
added in
v0.0.9
func (*User) GetCreateTime ¶ added in v0.0.9
func (*User) GetDisplayName ¶ added in v0.0.9
func (*User) GetEnableNotifications ¶ added in v0.10.0
func (*User) GetHeightFeet ¶ added in v0.10.0
func (*User) GetNickname ¶ added in v0.10.0
func (*User) GetUpdateTime ¶ added in v0.0.9
func (*User) ProtoMessage ¶ added in v0.0.9
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v0.10.0
func (x *User) ProtoReflect() protoreflect.Message
type VerifyTestRequest ¶ added in v0.0.10
type VerifyTestRequest struct { // The test to have an answer registered to it. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The answer from the test. Answer []byte `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` // The answers from the test if multiple are to be checked Answers [][]byte `protobuf:"bytes,3,rep,name=answers,proto3" json:"answers,omitempty"` // contains filtered or unexported fields }
func (*VerifyTestRequest) Descriptor
deprecated
added in
v0.0.10
func (*VerifyTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyTestRequest.ProtoReflect.Descriptor instead.
func (*VerifyTestRequest) GetAnswer ¶ added in v0.0.10
func (x *VerifyTestRequest) GetAnswer() []byte
func (*VerifyTestRequest) GetAnswers ¶ added in v0.0.10
func (x *VerifyTestRequest) GetAnswers() [][]byte
func (*VerifyTestRequest) GetName ¶ added in v0.0.10
func (x *VerifyTestRequest) GetName() string
func (*VerifyTestRequest) ProtoMessage ¶ added in v0.0.10
func (*VerifyTestRequest) ProtoMessage()
func (*VerifyTestRequest) ProtoReflect ¶ added in v0.10.0
func (x *VerifyTestRequest) ProtoReflect() protoreflect.Message
func (*VerifyTestRequest) Reset ¶ added in v0.0.10
func (x *VerifyTestRequest) Reset()
func (*VerifyTestRequest) String ¶ added in v0.0.10
func (x *VerifyTestRequest) String() string
type VerifyTestResponse ¶ added in v0.0.10
type VerifyTestResponse struct { // An issue if check answer was unsuccessful. This will be empty if the check answer succeeded. Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"` // contains filtered or unexported fields }
func (*VerifyTestResponse) Descriptor
deprecated
added in
v0.0.10
func (*VerifyTestResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyTestResponse.ProtoReflect.Descriptor instead.
func (*VerifyTestResponse) GetIssue ¶ added in v0.0.10
func (x *VerifyTestResponse) GetIssue() *Issue
func (*VerifyTestResponse) ProtoMessage ¶ added in v0.0.10
func (*VerifyTestResponse) ProtoMessage()
func (*VerifyTestResponse) ProtoReflect ¶ added in v0.10.0
func (x *VerifyTestResponse) ProtoReflect() protoreflect.Message
func (*VerifyTestResponse) Reset ¶ added in v0.0.10
func (x *VerifyTestResponse) Reset()
func (*VerifyTestResponse) String ¶ added in v0.0.10
func (x *VerifyTestResponse) String() string
type WaitMetadata ¶ added in v0.0.8
type WaitMetadata struct { // The time that this operation will complete. EndTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
The metadata for Wait operation.
func (*WaitMetadata) Descriptor
deprecated
added in
v0.0.8
func (*WaitMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WaitMetadata.ProtoReflect.Descriptor instead.
func (*WaitMetadata) GetEndTime ¶ added in v0.0.8
func (x *WaitMetadata) GetEndTime() *timestamp.Timestamp
func (*WaitMetadata) ProtoMessage ¶ added in v0.0.8
func (*WaitMetadata) ProtoMessage()
func (*WaitMetadata) ProtoReflect ¶ added in v0.10.0
func (x *WaitMetadata) ProtoReflect() protoreflect.Message
func (*WaitMetadata) Reset ¶ added in v0.0.8
func (x *WaitMetadata) Reset()
func (*WaitMetadata) String ¶ added in v0.0.8
func (x *WaitMetadata) String() string
type WaitRequest ¶ added in v0.0.4
type WaitRequest struct { // Types that are assignable to End: // *WaitRequest_EndTime // *WaitRequest_Ttl End isWaitRequest_End `protobuf_oneof:"end"` // Types that are assignable to Response: // *WaitRequest_Error // *WaitRequest_Success Response isWaitRequest_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
The request for Wait method.
func (*WaitRequest) Descriptor
deprecated
added in
v0.0.4
func (*WaitRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitRequest.ProtoReflect.Descriptor instead.
func (*WaitRequest) GetEnd ¶ added in v0.0.10
func (m *WaitRequest) GetEnd() isWaitRequest_End
func (*WaitRequest) GetEndTime ¶ added in v0.0.8
func (x *WaitRequest) GetEndTime() *timestamp.Timestamp
func (*WaitRequest) GetError ¶ added in v0.0.4
func (x *WaitRequest) GetError() *status.Status
func (*WaitRequest) GetResponse ¶ added in v0.0.4
func (m *WaitRequest) GetResponse() isWaitRequest_Response
func (*WaitRequest) GetSuccess ¶ added in v0.0.4
func (x *WaitRequest) GetSuccess() *WaitResponse
func (*WaitRequest) GetTtl ¶ added in v0.0.10
func (x *WaitRequest) GetTtl() *duration.Duration
func (*WaitRequest) ProtoMessage ¶ added in v0.0.4
func (*WaitRequest) ProtoMessage()
func (*WaitRequest) ProtoReflect ¶ added in v0.10.0
func (x *WaitRequest) ProtoReflect() protoreflect.Message
func (*WaitRequest) Reset ¶ added in v0.0.4
func (x *WaitRequest) Reset()
func (*WaitRequest) String ¶ added in v0.0.4
func (x *WaitRequest) String() string
type WaitRequest_EndTime ¶ added in v0.0.10
type WaitRequest_Error ¶ added in v0.0.4
type WaitRequest_Success ¶ added in v0.0.4
type WaitRequest_Success struct { // The response to be returned on operation completion. Success *WaitResponse `protobuf:"bytes,3,opt,name=success,proto3,oneof"` }
type WaitRequest_Ttl ¶ added in v0.0.10
type WaitResponse ¶ added in v0.0.4
type WaitResponse struct { // This content of the result. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
The result of the Wait operation.
func (*WaitResponse) Descriptor
deprecated
added in
v0.0.4
func (*WaitResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitResponse.ProtoReflect.Descriptor instead.
func (*WaitResponse) GetContent ¶ added in v0.0.4
func (x *WaitResponse) GetContent() string
func (*WaitResponse) ProtoMessage ¶ added in v0.0.4
func (*WaitResponse) ProtoMessage()
func (*WaitResponse) ProtoReflect ¶ added in v0.10.0
func (x *WaitResponse) ProtoReflect() protoreflect.Message
func (*WaitResponse) Reset ¶ added in v0.0.4
func (x *WaitResponse) Reset()
func (*WaitResponse) String ¶ added in v0.0.4
func (x *WaitResponse) String() string