genproto

package
v0.28.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Continent_name = map[int32]string{
		0: "CONTINENT_UNSPECIFIED",
		1: "AFRICA",
		2: "AMERICA",
		3: "ANTARTICA",
		4: "AUSTRALIA",
		5: "EUROPE",
	}
	Continent_value = map[string]int32{
		"CONTINENT_UNSPECIFIED": 0,
		"AFRICA":                1,
		"AMERICA":               2,
		"ANTARTICA":             3,
		"AUSTRALIA":             4,
		"EUROPE":                5,
	}
)

Enum value maps for Continent.

View Source
var (
	ComplianceData_LifeKingdom_name = map[int32]string{
		0: "LIFE_KINGDOM_UNSPECIFIED",
		1: "ARCHAEBACTERIA",
		2: "EUBACTERIA",
		3: "PROTISTA",
		4: "FUNGI",
		5: "PLANTAE",
		6: "ANIMALIA",
	}
	ComplianceData_LifeKingdom_value = map[string]int32{
		"LIFE_KINGDOM_UNSPECIFIED": 0,
		"ARCHAEBACTERIA":           1,
		"EUBACTERIA":               2,
		"PROTISTA":                 3,
		"FUNGI":                    4,
		"PLANTAE":                  5,
		"ANIMALIA":                 6,
	}
)

Enum value maps for ComplianceData_LifeKingdom.

View Source
var (
	Severity_name = map[int32]string{
		0: "UNNECESSARY",
		1: "NECESSARY",
		2: "URGENT",
		3: "CRITICAL",
	}
	Severity_value = map[string]int32{
		"UNNECESSARY": 0,
		"NECESSARY":   1,
		"URGENT":      2,
		"CRITICAL":    3,
	}
)

Enum value maps for Severity.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_google_showcase_v1beta1_compliance_proto protoreflect.FileDescriptor
View Source
var File_google_showcase_v1beta1_echo_proto protoreflect.FileDescriptor
View Source
var File_google_showcase_v1beta1_identity_proto protoreflect.FileDescriptor
View Source
var File_google_showcase_v1beta1_messaging_proto protoreflect.FileDescriptor
View Source
var File_google_showcase_v1beta1_sequence_proto protoreflect.FileDescriptor
View Source
var File_google_showcase_v1beta1_testing_proto protoreflect.FileDescriptor

Functions

func RegisterComplianceServer added in v0.13.0

func RegisterComplianceServer(s *grpc.Server, srv ComplianceServer)

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 RegisterSequenceServiceServer added in v0.12.0

func RegisterSequenceServiceServer(s *grpc.Server, srv SequenceServiceServer)

func RegisterTestingServer added in v0.0.5

func RegisterTestingServer(s *grpc.Server, srv TestingServer)

Types

type AttemptSequenceRequest added in v0.12.0

type AttemptSequenceRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AttemptSequenceRequest) Descriptor deprecated added in v0.12.0

func (*AttemptSequenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use AttemptSequenceRequest.ProtoReflect.Descriptor instead.

func (*AttemptSequenceRequest) GetName added in v0.12.0

func (x *AttemptSequenceRequest) GetName() string

func (*AttemptSequenceRequest) ProtoMessage added in v0.12.0

func (*AttemptSequenceRequest) ProtoMessage()

func (*AttemptSequenceRequest) ProtoReflect added in v0.12.0

func (x *AttemptSequenceRequest) ProtoReflect() protoreflect.Message

func (*AttemptSequenceRequest) Reset added in v0.12.0

func (x *AttemptSequenceRequest) Reset()

func (*AttemptSequenceRequest) String added in v0.12.0

func (x *AttemptSequenceRequest) String() string

type AttemptStreamingSequenceRequest added in v0.27.0

type AttemptStreamingSequenceRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AttemptStreamingSequenceRequest) Descriptor deprecated added in v0.27.0

func (*AttemptStreamingSequenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use AttemptStreamingSequenceRequest.ProtoReflect.Descriptor instead.

func (*AttemptStreamingSequenceRequest) GetName added in v0.27.0

func (*AttemptStreamingSequenceRequest) ProtoMessage added in v0.27.0

func (*AttemptStreamingSequenceRequest) ProtoMessage()

func (*AttemptStreamingSequenceRequest) ProtoReflect added in v0.27.0

func (*AttemptStreamingSequenceRequest) Reset added in v0.27.0

func (*AttemptStreamingSequenceRequest) String added in v0.27.0

type AttemptStreamingSequenceResponse added in v0.27.0

type AttemptStreamingSequenceResponse 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 (*AttemptStreamingSequenceResponse) Descriptor deprecated added in v0.27.0

func (*AttemptStreamingSequenceResponse) Descriptor() ([]byte, []int)

Deprecated: Use AttemptStreamingSequenceResponse.ProtoReflect.Descriptor instead.

func (*AttemptStreamingSequenceResponse) GetContent added in v0.27.0

func (x *AttemptStreamingSequenceResponse) GetContent() string

func (*AttemptStreamingSequenceResponse) ProtoMessage added in v0.27.0

func (*AttemptStreamingSequenceResponse) ProtoMessage()

func (*AttemptStreamingSequenceResponse) ProtoReflect added in v0.27.0

func (*AttemptStreamingSequenceResponse) Reset added in v0.27.0

func (*AttemptStreamingSequenceResponse) String added in v0.27.0

type BlockRequest added in v0.3.0

type BlockRequest struct {

	// The amount of time to block before returning a response.
	ResponseDelay *durationpb.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() *durationpb.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_Error struct {
	// The error that will be returned by the server. If this code is specified
	// to be the OK rpc code, an empty response will be returned.
	Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

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 *timestamppb.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 *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// (-- aip.dev/not-precedent: This is designed for testing non-slash
	//
	//	resource patterns. Ordinarily, non-slash separators are discouraged.
	//	--)
	//
	// Types that are assignable to LegacyId:
	//
	//	*Blurb_LegacyRoomId
	//	*Blurb_LegacyUserId
	LegacyId isBlurb_LegacyId `protobuf_oneof:"legacy_id"`
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use Blurb.ProtoReflect.Descriptor instead.

func (*Blurb) GetContent added in v0.0.9

func (m *Blurb) GetContent() isBlurb_Content

func (*Blurb) GetCreateTime added in v0.0.9

func (x *Blurb) GetCreateTime() *timestamppb.Timestamp

func (*Blurb) GetImage added in v0.0.9

func (x *Blurb) GetImage() []byte

func (*Blurb) GetLegacyId added in v0.11.0

func (m *Blurb) GetLegacyId() isBlurb_LegacyId

func (*Blurb) GetLegacyRoomId added in v0.11.0

func (x *Blurb) GetLegacyRoomId() string

func (*Blurb) GetLegacyUserId added in v0.11.0

func (x *Blurb) GetLegacyUserId() string

func (*Blurb) GetName added in v0.0.9

func (x *Blurb) GetName() string

func (*Blurb) GetText added in v0.0.9

func (x *Blurb) GetText() string

func (*Blurb) GetUpdateTime added in v0.0.9

func (x *Blurb) GetUpdateTime() *timestamppb.Timestamp

func (*Blurb) GetUser added in v0.0.9

func (x *Blurb) GetUser() string

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

func (*Blurb) Reset added in v0.0.9

func (x *Blurb) Reset()

func (*Blurb) String added in v0.0.9

func (x *Blurb) String() string

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_LegacyRoomId added in v0.11.0

type Blurb_LegacyRoomId struct {
	// The legacy id of the room. This field is used to signal
	// the use of the compound resource pattern
	// `rooms/{room}/blurbs/legacy/{legacy_room}.{blurb}`
	LegacyRoomId string `protobuf:"bytes,7,opt,name=legacy_room_id,json=legacyRoomId,proto3,oneof"`
}

type Blurb_LegacyUserId added in v0.11.0

type Blurb_LegacyUserId struct {
	// The legacy id of the user. This field is used to signal
	// the use of the compound resource pattern
	// `users/{user}/profile/blurbs/legacy/{legacy_user}~{blurb}`
	LegacyUserId string `protobuf:"bytes,8,opt,name=legacy_user_id,json=legacyUserId,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 ComplianceClient added in v0.13.0

type ComplianceClient interface {
	// This method echoes the ComplianceData request. This method exercises
	// sending the entire request object in the REST body.
	RepeatDataBody(ctx context.Context, in *RepeatRequest, opts ...grpc.CallOption) (*RepeatResponse, error)
	// This method echoes the ComplianceData request. This method exercises
	// sending the a message-type field in the REST body. Per AIP-127, only
	// top-level, non-repeated fields can be sent this way.
	RepeatDataBodyInfo(ctx context.Context, in *RepeatRequest, opts ...grpc.CallOption) (*RepeatResponse, error)
	// This method echoes the ComplianceData request. This method exercises
	// sending all request fields as query parameters.
	RepeatDataQuery(ctx context.Context, in *RepeatRequest, opts ...grpc.CallOption) (*RepeatResponse, error)
	// This method echoes the ComplianceData request. This method exercises
	// sending some parameters as "simple" path variables (i.e., of the form
	// "/bar/{foo}" rather than "/{foo=bar/*}"), and the rest as query parameters.
	RepeatDataSimplePath(ctx context.Context, in *RepeatRequest, opts ...grpc.CallOption) (*RepeatResponse, error)
	// Same as RepeatDataSimplePath, but with a path resource.
	RepeatDataPathResource(ctx context.Context, in *RepeatRequest, opts ...grpc.CallOption) (*RepeatResponse, error)
	// Same as RepeatDataSimplePath, but with a trailing resource.
	RepeatDataPathTrailingResource(ctx context.Context, in *RepeatRequest, opts ...grpc.CallOption) (*RepeatResponse, error)
	// This method echoes the ComplianceData request, using the HTTP PUT method.
	RepeatDataBodyPut(ctx context.Context, in *RepeatRequest, opts ...grpc.CallOption) (*RepeatResponse, error)
	// This method echoes the ComplianceData request, using the HTTP PATCH method.
	RepeatDataBodyPatch(ctx context.Context, in *RepeatRequest, opts ...grpc.CallOption) (*RepeatResponse, error)
	// This method requests an enum value from the server. Depending on the contents of EnumRequest, the enum value returned will be a known enum declared in the
	// .proto file, or a made-up enum value the is unknown to the client. To verify that clients can round-trip unknown enum vaues they receive, use the
	// response from this RPC as the request to VerifyEnum()
	//
	// The values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run (this is needed for
	// VerifyEnum() to work) but are not guaranteed to be the same across separate Showcase server runs.
	GetEnum(ctx context.Context, in *EnumRequest, opts ...grpc.CallOption) (*EnumResponse, error)
	// This method is used to verify that clients can round-trip enum values, which is particularly important for unknown enum values over REST. VerifyEnum()
	// verifies that its request, which is presumably the response that the client previously got to a GetEnum(), contains the correct data. If so, it responds
	// with the same EnumResponse; otherwise, the RPC errors.
	//
	// This works because the values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run,
	// although they are not guaranteed to be the same across separate Showcase server runs.
	VerifyEnum(ctx context.Context, in *EnumResponse, opts ...grpc.CallOption) (*EnumResponse, error)
}

ComplianceClient is the client API for Compliance service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewComplianceClient added in v0.13.0

func NewComplianceClient(cc grpc.ClientConnInterface) ComplianceClient

type ComplianceData added in v0.13.0

type ComplianceData struct {
	FString   string                      `protobuf:"bytes,1,opt,name=f_string,json=fString,proto3" json:"f_string,omitempty"`
	FInt32    int32                       `protobuf:"varint,2,opt,name=f_int32,json=fInt32,proto3" json:"f_int32,omitempty"`
	FSint32   int32                       `protobuf:"zigzag32,3,opt,name=f_sint32,json=fSint32,proto3" json:"f_sint32,omitempty"`
	FSfixed32 int32                       `protobuf:"fixed32,4,opt,name=f_sfixed32,json=fSfixed32,proto3" json:"f_sfixed32,omitempty"`
	FUint32   uint32                      `protobuf:"varint,5,opt,name=f_uint32,json=fUint32,proto3" json:"f_uint32,omitempty"`
	FFixed32  uint32                      `protobuf:"fixed32,6,opt,name=f_fixed32,json=fFixed32,proto3" json:"f_fixed32,omitempty"`
	FInt64    int64                       `protobuf:"varint,7,opt,name=f_int64,json=fInt64,proto3" json:"f_int64,omitempty"`
	FSint64   int64                       `protobuf:"zigzag64,8,opt,name=f_sint64,json=fSint64,proto3" json:"f_sint64,omitempty"`
	FSfixed64 int64                       `protobuf:"fixed64,9,opt,name=f_sfixed64,json=fSfixed64,proto3" json:"f_sfixed64,omitempty"`
	FUint64   uint64                      `protobuf:"varint,10,opt,name=f_uint64,json=fUint64,proto3" json:"f_uint64,omitempty"`
	FFixed64  uint64                      `protobuf:"fixed64,11,opt,name=f_fixed64,json=fFixed64,proto3" json:"f_fixed64,omitempty"`
	FDouble   float64                     `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3" json:"f_double,omitempty"`
	FFloat    float32                     `protobuf:"fixed32,13,opt,name=f_float,json=fFloat,proto3" json:"f_float,omitempty"`
	FBool     bool                        `protobuf:"varint,14,opt,name=f_bool,json=fBool,proto3" json:"f_bool,omitempty"`
	FBytes    []byte                      `protobuf:"bytes,15,opt,name=f_bytes,json=fBytes,proto3" json:"f_bytes,omitempty"`
	FKingdom  ComplianceData_LifeKingdom  `` /* 143-byte string literal not displayed */
	FChild    *ComplianceDataChild        `protobuf:"bytes,16,opt,name=f_child,json=fChild,proto3" json:"f_child,omitempty"`
	PString   *string                     `protobuf:"bytes,17,opt,name=p_string,json=pString,proto3,oneof" json:"p_string,omitempty"`
	PInt32    *int32                      `protobuf:"varint,18,opt,name=p_int32,json=pInt32,proto3,oneof" json:"p_int32,omitempty"`
	PDouble   *float64                    `protobuf:"fixed64,19,opt,name=p_double,json=pDouble,proto3,oneof" json:"p_double,omitempty"`
	PBool     *bool                       `protobuf:"varint,20,opt,name=p_bool,json=pBool,proto3,oneof" json:"p_bool,omitempty"`
	PKingdom  *ComplianceData_LifeKingdom `` /* 149-byte string literal not displayed */
	PChild    *ComplianceDataChild        `protobuf:"bytes,21,opt,name=p_child,json=pChild,proto3,oneof" json:"p_child,omitempty"`
	// contains filtered or unexported fields
}

ComplianceData is a message used for testing REST transcoding of different data types.

func (*ComplianceData) Descriptor deprecated added in v0.13.0

func (*ComplianceData) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceData.ProtoReflect.Descriptor instead.

func (*ComplianceData) GetFBool added in v0.13.0

func (x *ComplianceData) GetFBool() bool

func (*ComplianceData) GetFBytes added in v0.13.0

func (x *ComplianceData) GetFBytes() []byte

func (*ComplianceData) GetFChild added in v0.13.0

func (x *ComplianceData) GetFChild() *ComplianceDataChild

func (*ComplianceData) GetFDouble added in v0.13.0

func (x *ComplianceData) GetFDouble() float64

func (*ComplianceData) GetFFixed32 added in v0.13.0

func (x *ComplianceData) GetFFixed32() uint32

func (*ComplianceData) GetFFixed64 added in v0.13.0

func (x *ComplianceData) GetFFixed64() uint64

func (*ComplianceData) GetFFloat added in v0.13.0

func (x *ComplianceData) GetFFloat() float32

func (*ComplianceData) GetFInt32 added in v0.13.0

func (x *ComplianceData) GetFInt32() int32

func (*ComplianceData) GetFInt64 added in v0.13.0

func (x *ComplianceData) GetFInt64() int64

func (*ComplianceData) GetFKingdom added in v0.14.0

func (x *ComplianceData) GetFKingdom() ComplianceData_LifeKingdom

func (*ComplianceData) GetFSfixed32 added in v0.13.0

func (x *ComplianceData) GetFSfixed32() int32

func (*ComplianceData) GetFSfixed64 added in v0.13.0

func (x *ComplianceData) GetFSfixed64() int64

func (*ComplianceData) GetFSint32 added in v0.13.0

func (x *ComplianceData) GetFSint32() int32

func (*ComplianceData) GetFSint64 added in v0.13.0

func (x *ComplianceData) GetFSint64() int64

func (*ComplianceData) GetFString added in v0.13.0

func (x *ComplianceData) GetFString() string

func (*ComplianceData) GetFUint32 added in v0.13.0

func (x *ComplianceData) GetFUint32() uint32

func (*ComplianceData) GetFUint64 added in v0.13.0

func (x *ComplianceData) GetFUint64() uint64

func (*ComplianceData) GetPBool added in v0.13.0

func (x *ComplianceData) GetPBool() bool

func (*ComplianceData) GetPChild added in v0.13.0

func (x *ComplianceData) GetPChild() *ComplianceDataChild

func (*ComplianceData) GetPDouble added in v0.13.0

func (x *ComplianceData) GetPDouble() float64

func (*ComplianceData) GetPInt32 added in v0.13.0

func (x *ComplianceData) GetPInt32() int32

func (*ComplianceData) GetPKingdom added in v0.14.0

func (x *ComplianceData) GetPKingdom() ComplianceData_LifeKingdom

func (*ComplianceData) GetPString added in v0.13.0

func (x *ComplianceData) GetPString() string

func (*ComplianceData) ProtoMessage added in v0.13.0

func (*ComplianceData) ProtoMessage()

func (*ComplianceData) ProtoReflect added in v0.13.0

func (x *ComplianceData) ProtoReflect() protoreflect.Message

func (*ComplianceData) Reset added in v0.13.0

func (x *ComplianceData) Reset()

func (*ComplianceData) String added in v0.13.0

func (x *ComplianceData) String() string

type ComplianceDataChild added in v0.13.0

type ComplianceDataChild struct {
	FString    string                    `protobuf:"bytes,1,opt,name=f_string,json=fString,proto3" json:"f_string,omitempty"`
	FFloat     float32                   `protobuf:"fixed32,2,opt,name=f_float,json=fFloat,proto3" json:"f_float,omitempty"`
	FDouble    float64                   `protobuf:"fixed64,3,opt,name=f_double,json=fDouble,proto3" json:"f_double,omitempty"`
	FBool      bool                      `protobuf:"varint,4,opt,name=f_bool,json=fBool,proto3" json:"f_bool,omitempty"`
	FContinent Continent                 `` /* 132-byte string literal not displayed */
	FChild     *ComplianceDataGrandchild `protobuf:"bytes,5,opt,name=f_child,json=fChild,proto3" json:"f_child,omitempty"`
	PString    *string                   `protobuf:"bytes,6,opt,name=p_string,json=pString,proto3,oneof" json:"p_string,omitempty"`
	PFloat     *float32                  `protobuf:"fixed32,7,opt,name=p_float,json=pFloat,proto3,oneof" json:"p_float,omitempty"`
	PDouble    *float64                  `protobuf:"fixed64,8,opt,name=p_double,json=pDouble,proto3,oneof" json:"p_double,omitempty"`
	PBool      *bool                     `protobuf:"varint,9,opt,name=p_bool,json=pBool,proto3,oneof" json:"p_bool,omitempty"`
	PContinent Continent                 `` /* 132-byte string literal not displayed */
	PChild     *ComplianceDataGrandchild `protobuf:"bytes,10,opt,name=p_child,json=pChild,proto3,oneof" json:"p_child,omitempty"`
	// contains filtered or unexported fields
}

func (*ComplianceDataChild) Descriptor deprecated added in v0.13.0

func (*ComplianceDataChild) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceDataChild.ProtoReflect.Descriptor instead.

func (*ComplianceDataChild) GetFBool added in v0.13.0

func (x *ComplianceDataChild) GetFBool() bool

func (*ComplianceDataChild) GetFChild added in v0.13.0

func (*ComplianceDataChild) GetFContinent added in v0.14.0

func (x *ComplianceDataChild) GetFContinent() Continent

func (*ComplianceDataChild) GetFDouble added in v0.13.0

func (x *ComplianceDataChild) GetFDouble() float64

func (*ComplianceDataChild) GetFFloat added in v0.13.0

func (x *ComplianceDataChild) GetFFloat() float32

func (*ComplianceDataChild) GetFString added in v0.13.0

func (x *ComplianceDataChild) GetFString() string

func (*ComplianceDataChild) GetPBool added in v0.13.0

func (x *ComplianceDataChild) GetPBool() bool

func (*ComplianceDataChild) GetPChild added in v0.13.0

func (*ComplianceDataChild) GetPContinent added in v0.14.0

func (x *ComplianceDataChild) GetPContinent() Continent

func (*ComplianceDataChild) GetPDouble added in v0.13.0

func (x *ComplianceDataChild) GetPDouble() float64

func (*ComplianceDataChild) GetPFloat added in v0.13.0

func (x *ComplianceDataChild) GetPFloat() float32

func (*ComplianceDataChild) GetPString added in v0.13.0

func (x *ComplianceDataChild) GetPString() string

func (*ComplianceDataChild) ProtoMessage added in v0.13.0

func (*ComplianceDataChild) ProtoMessage()

func (*ComplianceDataChild) ProtoReflect added in v0.13.0

func (x *ComplianceDataChild) ProtoReflect() protoreflect.Message

func (*ComplianceDataChild) Reset added in v0.13.0

func (x *ComplianceDataChild) Reset()

func (*ComplianceDataChild) String added in v0.13.0

func (x *ComplianceDataChild) String() string

type ComplianceDataGrandchild added in v0.13.0

type ComplianceDataGrandchild struct {
	FString string  `protobuf:"bytes,1,opt,name=f_string,json=fString,proto3" json:"f_string,omitempty"`
	FDouble float64 `protobuf:"fixed64,2,opt,name=f_double,json=fDouble,proto3" json:"f_double,omitempty"`
	FBool   bool    `protobuf:"varint,3,opt,name=f_bool,json=fBool,proto3" json:"f_bool,omitempty"`
	// contains filtered or unexported fields
}

func (*ComplianceDataGrandchild) Descriptor deprecated added in v0.13.0

func (*ComplianceDataGrandchild) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceDataGrandchild.ProtoReflect.Descriptor instead.

func (*ComplianceDataGrandchild) GetFBool added in v0.13.0

func (x *ComplianceDataGrandchild) GetFBool() bool

func (*ComplianceDataGrandchild) GetFDouble added in v0.13.0

func (x *ComplianceDataGrandchild) GetFDouble() float64

func (*ComplianceDataGrandchild) GetFString added in v0.13.0

func (x *ComplianceDataGrandchild) GetFString() string

func (*ComplianceDataGrandchild) ProtoMessage added in v0.13.0

func (*ComplianceDataGrandchild) ProtoMessage()

func (*ComplianceDataGrandchild) ProtoReflect added in v0.13.0

func (x *ComplianceDataGrandchild) ProtoReflect() protoreflect.Message

func (*ComplianceDataGrandchild) Reset added in v0.13.0

func (x *ComplianceDataGrandchild) Reset()

func (*ComplianceDataGrandchild) String added in v0.13.0

func (x *ComplianceDataGrandchild) String() string

type ComplianceData_LifeKingdom added in v0.14.0

type ComplianceData_LifeKingdom int32
const (
	ComplianceData_LIFE_KINGDOM_UNSPECIFIED ComplianceData_LifeKingdom = 0
	ComplianceData_ARCHAEBACTERIA           ComplianceData_LifeKingdom = 1
	ComplianceData_EUBACTERIA               ComplianceData_LifeKingdom = 2
	ComplianceData_PROTISTA                 ComplianceData_LifeKingdom = 3
	ComplianceData_FUNGI                    ComplianceData_LifeKingdom = 4
	ComplianceData_PLANTAE                  ComplianceData_LifeKingdom = 5
	ComplianceData_ANIMALIA                 ComplianceData_LifeKingdom = 6
)

func (ComplianceData_LifeKingdom) Descriptor added in v0.14.0

func (ComplianceData_LifeKingdom) Enum added in v0.14.0

func (ComplianceData_LifeKingdom) EnumDescriptor deprecated added in v0.14.0

func (ComplianceData_LifeKingdom) EnumDescriptor() ([]byte, []int)

Deprecated: Use ComplianceData_LifeKingdom.Descriptor instead.

func (ComplianceData_LifeKingdom) Number added in v0.14.0

func (ComplianceData_LifeKingdom) String added in v0.14.0

func (ComplianceData_LifeKingdom) Type added in v0.14.0

type ComplianceGroup added in v0.13.0

type ComplianceGroup struct {
	Name     string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Rpcs     []string         `protobuf:"bytes,2,rep,name=rpcs,proto3" json:"rpcs,omitempty"`
	Requests []*RepeatRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

ComplianceGroups encapsulates a group of RPC requests to the Compliance server: one request for each combination of elements of `rpcs` and of `requests`.

func (*ComplianceGroup) Descriptor deprecated added in v0.13.0

func (*ComplianceGroup) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceGroup.ProtoReflect.Descriptor instead.

func (*ComplianceGroup) GetName added in v0.13.0

func (x *ComplianceGroup) GetName() string

func (*ComplianceGroup) GetRequests added in v0.13.0

func (x *ComplianceGroup) GetRequests() []*RepeatRequest

func (*ComplianceGroup) GetRpcs added in v0.13.0

func (x *ComplianceGroup) GetRpcs() []string

func (*ComplianceGroup) ProtoMessage added in v0.13.0

func (*ComplianceGroup) ProtoMessage()

func (*ComplianceGroup) ProtoReflect added in v0.13.0

func (x *ComplianceGroup) ProtoReflect() protoreflect.Message

func (*ComplianceGroup) Reset added in v0.13.0

func (x *ComplianceGroup) Reset()

func (*ComplianceGroup) String added in v0.13.0

func (x *ComplianceGroup) String() string

type ComplianceServer added in v0.13.0

type ComplianceServer interface {
	// This method echoes the ComplianceData request. This method exercises
	// sending the entire request object in the REST body.
	RepeatDataBody(context.Context, *RepeatRequest) (*RepeatResponse, error)
	// This method echoes the ComplianceData request. This method exercises
	// sending the a message-type field in the REST body. Per AIP-127, only
	// top-level, non-repeated fields can be sent this way.
	RepeatDataBodyInfo(context.Context, *RepeatRequest) (*RepeatResponse, error)
	// This method echoes the ComplianceData request. This method exercises
	// sending all request fields as query parameters.
	RepeatDataQuery(context.Context, *RepeatRequest) (*RepeatResponse, error)
	// This method echoes the ComplianceData request. This method exercises
	// sending some parameters as "simple" path variables (i.e., of the form
	// "/bar/{foo}" rather than "/{foo=bar/*}"), and the rest as query parameters.
	RepeatDataSimplePath(context.Context, *RepeatRequest) (*RepeatResponse, error)
	// Same as RepeatDataSimplePath, but with a path resource.
	RepeatDataPathResource(context.Context, *RepeatRequest) (*RepeatResponse, error)
	// Same as RepeatDataSimplePath, but with a trailing resource.
	RepeatDataPathTrailingResource(context.Context, *RepeatRequest) (*RepeatResponse, error)
	// This method echoes the ComplianceData request, using the HTTP PUT method.
	RepeatDataBodyPut(context.Context, *RepeatRequest) (*RepeatResponse, error)
	// This method echoes the ComplianceData request, using the HTTP PATCH method.
	RepeatDataBodyPatch(context.Context, *RepeatRequest) (*RepeatResponse, error)
	// This method requests an enum value from the server. Depending on the contents of EnumRequest, the enum value returned will be a known enum declared in the
	// .proto file, or a made-up enum value the is unknown to the client. To verify that clients can round-trip unknown enum vaues they receive, use the
	// response from this RPC as the request to VerifyEnum()
	//
	// The values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run (this is needed for
	// VerifyEnum() to work) but are not guaranteed to be the same across separate Showcase server runs.
	GetEnum(context.Context, *EnumRequest) (*EnumResponse, error)
	// This method is used to verify that clients can round-trip enum values, which is particularly important for unknown enum values over REST. VerifyEnum()
	// verifies that its request, which is presumably the response that the client previously got to a GetEnum(), contains the correct data. If so, it responds
	// with the same EnumResponse; otherwise, the RPC errors.
	//
	// This works because the values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run,
	// although they are not guaranteed to be the same across separate Showcase server runs.
	VerifyEnum(context.Context, *EnumResponse) (*EnumResponse, error)
}

ComplianceServer is the server API for Compliance service.

type ComplianceSuite added in v0.13.0

type ComplianceSuite struct {
	Group []*ComplianceGroup `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

ComplianceSuite contains a set of requests that microgenerators should issue over REST to the Compliance service to test their gRPC-to-REST transcoding implementation.

func (*ComplianceSuite) Descriptor deprecated added in v0.13.0

func (*ComplianceSuite) Descriptor() ([]byte, []int)

Deprecated: Use ComplianceSuite.ProtoReflect.Descriptor instead.

func (*ComplianceSuite) GetGroup added in v0.13.0

func (x *ComplianceSuite) GetGroup() []*ComplianceGroup

func (*ComplianceSuite) ProtoMessage added in v0.13.0

func (*ComplianceSuite) ProtoMessage()

func (*ComplianceSuite) ProtoReflect added in v0.13.0

func (x *ComplianceSuite) ProtoReflect() protoreflect.Message

func (*ComplianceSuite) Reset added in v0.13.0

func (x *ComplianceSuite) Reset()

func (*ComplianceSuite) String added in v0.13.0

func (x *ComplianceSuite) String() string

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 (*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 (*ConnectRequest_ConnectConfig) Reset added in v0.0.9

func (x *ConnectRequest_ConnectConfig) Reset()

func (*ConnectRequest_ConnectConfig) String added in v0.0.9

type Continent added in v0.14.0

type Continent int32
const (
	Continent_CONTINENT_UNSPECIFIED Continent = 0
	Continent_AFRICA                Continent = 1
	Continent_AMERICA               Continent = 2
	Continent_ANTARTICA             Continent = 3
	Continent_AUSTRALIA             Continent = 4
	Continent_EUROPE                Continent = 5
)

func (Continent) Descriptor added in v0.14.0

func (Continent) Descriptor() protoreflect.EnumDescriptor

func (Continent) Enum added in v0.14.0

func (x Continent) Enum() *Continent

func (Continent) EnumDescriptor deprecated added in v0.14.0

func (Continent) EnumDescriptor() ([]byte, []int)

Deprecated: Use Continent.Descriptor instead.

func (Continent) Number added in v0.14.0

func (x Continent) Number() protoreflect.EnumNumber

func (Continent) String added in v0.14.0

func (x Continent) String() string

func (Continent) Type added in v0.14.0

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 CreateSequenceRequest added in v0.12.0

type CreateSequenceRequest struct {
	Sequence *Sequence `protobuf:"bytes,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSequenceRequest) Descriptor deprecated added in v0.12.0

func (*CreateSequenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSequenceRequest.ProtoReflect.Descriptor instead.

func (*CreateSequenceRequest) GetSequence added in v0.12.0

func (x *CreateSequenceRequest) GetSequence() *Sequence

func (*CreateSequenceRequest) ProtoMessage added in v0.12.0

func (*CreateSequenceRequest) ProtoMessage()

func (*CreateSequenceRequest) ProtoReflect added in v0.12.0

func (x *CreateSequenceRequest) ProtoReflect() protoreflect.Message

func (*CreateSequenceRequest) Reset added in v0.12.0

func (x *CreateSequenceRequest) Reset()

func (*CreateSequenceRequest) String added in v0.12.0

func (x *CreateSequenceRequest) 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 CreateStreamingSequenceRequest added in v0.27.0

type CreateStreamingSequenceRequest struct {
	StreamingSequence *StreamingSequence `protobuf:"bytes,1,opt,name=streaming_sequence,json=streamingSequence,proto3" json:"streaming_sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateStreamingSequenceRequest) Descriptor deprecated added in v0.27.0

func (*CreateStreamingSequenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateStreamingSequenceRequest.ProtoReflect.Descriptor instead.

func (*CreateStreamingSequenceRequest) GetStreamingSequence added in v0.27.0

func (x *CreateStreamingSequenceRequest) GetStreamingSequence() *StreamingSequence

func (*CreateStreamingSequenceRequest) ProtoMessage added in v0.27.0

func (*CreateStreamingSequenceRequest) ProtoMessage()

func (*CreateStreamingSequenceRequest) ProtoReflect added in v0.27.0

func (*CreateStreamingSequenceRequest) Reset added in v0.27.0

func (x *CreateStreamingSequenceRequest) Reset()

func (*CreateStreamingSequenceRequest) String added in v0.27.0

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 echoes the request. This method showcases unary RPCs.
	Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
	// This method splits 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, will pass the same
	// content 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 is similar to the PagedExpand except that it uses
	// max_results instead of page_size, as some legacy APIs still
	// do. New APIs should NOT use this pattern.
	PagedExpandLegacy(ctx context.Context, in *PagedExpandLegacyRequest, opts ...grpc.CallOption) (*PagedExpandResponse, error)
	// This method returns a map containing lists of words that appear in the input, keyed by their
	// initial character. The only words returned are the ones included in the current page,
	// as determined by page_token and page_size, which both refer to the word indices in the
	// input. This paging result consisting of a map of lists is a pattern used by some legacy
	// APIs. New APIs should NOT use this pattern.
	PagedExpandLegacyMapped(ctx context.Context, in *PagedExpandRequest, opts ...grpc.CallOption) (*PagedExpandLegacyMappedResponse, error)
	// This method will wait for the requested amount of time and then return.
	// This method showcases how a client handles a request timeout.
	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"`
	// The severity to be echoed by the server.
	Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.showcase.v1beta1.Severity" json:"severity,omitempty"`
	// Optional. This field can be set to test the routing annotation on the Echo method.
	Header string `protobuf:"bytes,4,opt,name=header,proto3" json:"header,omitempty"`
	// Optional. This field can be set to test the routing annotation on the Echo method.
	OtherHeader string `protobuf:"bytes,5,opt,name=other_header,json=otherHeader,proto3" json:"other_header,omitempty"`
	// contains filtered or unexported fields
}

The request message used for the Echo, Collect and Chat methods. If content or opt are 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) GetHeader added in v0.19.0

func (x *EchoRequest) GetHeader() string

func (*EchoRequest) GetOtherHeader added in v0.19.0

func (x *EchoRequest) GetOtherHeader() string

func (*EchoRequest) GetResponse

func (m *EchoRequest) GetResponse() isEchoRequest_Response

func (*EchoRequest) GetSeverity added in v0.11.0

func (x *EchoRequest) GetSeverity() Severity

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 EchoRequest_Error struct {
	// The error to be thrown by the server.
	Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type EchoResponse

type EchoResponse struct {

	// The content specified in the request.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The severity specified in the request.
	Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.showcase.v1beta1.Severity" json:"severity,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) GetSeverity added in v0.11.0

func (x *EchoResponse) GetSeverity() Severity

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 echoes the request. This method showcases unary RPCs.
	Echo(context.Context, *EchoRequest) (*EchoResponse, error)
	// This method splits 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, will pass the same
	// content 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 is similar to the PagedExpand except that it uses
	// max_results instead of page_size, as some legacy APIs still
	// do. New APIs should NOT use this pattern.
	PagedExpandLegacy(context.Context, *PagedExpandLegacyRequest) (*PagedExpandResponse, error)
	// This method returns a map containing lists of words that appear in the input, keyed by their
	// initial character. The only words returned are the ones included in the current page,
	// as determined by page_token and page_size, which both refer to the word indices in the
	// input. This paging result consisting of a map of lists is a pattern used by some legacy
	// APIs. New APIs should NOT use this pattern.
	PagedExpandLegacyMapped(context.Context, *PagedExpandRequest) (*PagedExpandLegacyMappedResponse, error)
	// This method will wait for the requested amount of time and then return.
	// This method showcases how a client handles a request timeout.
	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 EnumRequest added in v0.24.0

type EnumRequest struct {

	// Whether the client is requesting a new, unknown enum value or a known enum value already declard in this proto file.
	UnknownEnum bool `protobuf:"varint,1,opt,name=unknown_enum,json=unknownEnum,proto3" json:"unknown_enum,omitempty"`
	// contains filtered or unexported fields
}

func (*EnumRequest) Descriptor deprecated added in v0.24.0

func (*EnumRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnumRequest.ProtoReflect.Descriptor instead.

func (*EnumRequest) GetUnknownEnum added in v0.24.0

func (x *EnumRequest) GetUnknownEnum() bool

func (*EnumRequest) ProtoMessage added in v0.24.0

func (*EnumRequest) ProtoMessage()

func (*EnumRequest) ProtoReflect added in v0.24.0

func (x *EnumRequest) ProtoReflect() protoreflect.Message

func (*EnumRequest) Reset added in v0.24.0

func (x *EnumRequest) Reset()

func (*EnumRequest) String added in v0.24.0

func (x *EnumRequest) String() string

type EnumResponse added in v0.24.0

type EnumResponse struct {

	// The original request for a known or unknown enum from the server.
	Request *EnumRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// The actual enum the server provided.
	Continent Continent `protobuf:"varint,2,opt,name=continent,proto3,enum=google.showcase.v1beta1.Continent" json:"continent,omitempty"`
	// contains filtered or unexported fields
}

func (*EnumResponse) Descriptor deprecated added in v0.24.0

func (*EnumResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnumResponse.ProtoReflect.Descriptor instead.

func (*EnumResponse) GetContinent added in v0.24.0

func (x *EnumResponse) GetContinent() Continent

func (*EnumResponse) GetRequest added in v0.24.0

func (x *EnumResponse) GetRequest() *EnumRequest

func (*EnumResponse) ProtoMessage added in v0.24.0

func (*EnumResponse) ProtoMessage()

func (*EnumResponse) ProtoReflect added in v0.24.0

func (x *EnumResponse) ProtoReflect() protoreflect.Message

func (*EnumResponse) Reset added in v0.24.0

func (x *EnumResponse) Reset()

func (*EnumResponse) String added in v0.24.0

func (x *EnumResponse) String() string

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"`
	// The wait time between each server streaming messages
	StreamWaitTime *durationpb.Duration `protobuf:"bytes,3,opt,name=stream_wait_time,json=streamWaitTime,proto3" json:"stream_wait_time,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) GetStreamWaitTime added in v0.28.0

func (x *ExpandRequest) GetStreamWaitTime() *durationpb.Duration

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 GetSequenceReportRequest added in v0.12.0

type GetSequenceReportRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSequenceReportRequest) Descriptor deprecated added in v0.12.0

func (*GetSequenceReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSequenceReportRequest.ProtoReflect.Descriptor instead.

func (*GetSequenceReportRequest) GetName added in v0.12.0

func (x *GetSequenceReportRequest) GetName() string

func (*GetSequenceReportRequest) ProtoMessage added in v0.12.0

func (*GetSequenceReportRequest) ProtoMessage()

func (*GetSequenceReportRequest) ProtoReflect added in v0.12.0

func (x *GetSequenceReportRequest) ProtoReflect() protoreflect.Message

func (*GetSequenceReportRequest) Reset added in v0.12.0

func (x *GetSequenceReportRequest) Reset()

func (*GetSequenceReportRequest) String added in v0.12.0

func (x *GetSequenceReportRequest) 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 GetStreamingSequenceReportRequest added in v0.27.0

type GetStreamingSequenceReportRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreamingSequenceReportRequest) Descriptor deprecated added in v0.27.0

func (*GetStreamingSequenceReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStreamingSequenceReportRequest.ProtoReflect.Descriptor instead.

func (*GetStreamingSequenceReportRequest) GetName added in v0.27.0

func (*GetStreamingSequenceReportRequest) ProtoMessage added in v0.27.0

func (*GetStreamingSequenceReportRequest) ProtoMessage()

func (*GetStreamingSequenceReportRequest) ProtoReflect added in v0.27.0

func (*GetStreamingSequenceReportRequest) Reset added in v0.27.0

func (*GetStreamingSequenceReportRequest) String added in v0.27.0

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) (*emptypb.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) (*emptypb.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) Descriptor() ([]byte, []int)

Deprecated: Use Issue.ProtoReflect.Descriptor instead.

func (*Issue) GetDescription added in v0.0.10

func (x *Issue) GetDescription() string

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

func (*Issue) Reset added in v0.0.10

func (x *Issue) Reset()

func (*Issue) String added in v0.0.10

func (x *Issue) String() string

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) 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 (Issue_Severity) String added in v0.0.10

func (x Issue_Severity) String() string

func (Issue_Severity) Type added in v0.10.0

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

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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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 PagedExpandLegacyMappedResponse added in v0.17.0

type PagedExpandLegacyMappedResponse struct {

	// The words that were expanded, indexed by their initial character.
	// (-- aip.dev/not-precedent: This is a legacy, non-standard pattern that violates
	//
	//	aip.dev/158. Ordinarily, this should be a `repeated` field, as in PagedExpandResponse. --)
	Alphabetized map[string]*PagedExpandResponseList `` /* 165-byte string literal not displayed */
	// 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
}

func (*PagedExpandLegacyMappedResponse) Descriptor deprecated added in v0.17.0

func (*PagedExpandLegacyMappedResponse) Descriptor() ([]byte, []int)

Deprecated: Use PagedExpandLegacyMappedResponse.ProtoReflect.Descriptor instead.

func (*PagedExpandLegacyMappedResponse) GetAlphabetized added in v0.17.0

func (*PagedExpandLegacyMappedResponse) GetNextPageToken added in v0.17.0

func (x *PagedExpandLegacyMappedResponse) GetNextPageToken() string

func (*PagedExpandLegacyMappedResponse) ProtoMessage added in v0.17.0

func (*PagedExpandLegacyMappedResponse) ProtoMessage()

func (*PagedExpandLegacyMappedResponse) ProtoReflect added in v0.17.0

func (*PagedExpandLegacyMappedResponse) Reset added in v0.17.0

func (*PagedExpandLegacyMappedResponse) String added in v0.17.0

type PagedExpandLegacyRequest added in v0.17.0

type PagedExpandLegacyRequest struct {

	// The string to expand.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The number of words to returned in each page.
	// (-- aip.dev/not-precedent: This is a legacy, non-standard pattern that
	//
	//	violates aip.dev/158. Ordinarily, this should be page_size. --)
	MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,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 PagedExpandLegacy method. This is a pattern used by some legacy APIs. New APIs should NOT use this pattern, but rather something like PagedExpandRequest which conforms to aip.dev/158.

func (*PagedExpandLegacyRequest) Descriptor deprecated added in v0.17.0

func (*PagedExpandLegacyRequest) Descriptor() ([]byte, []int)

Deprecated: Use PagedExpandLegacyRequest.ProtoReflect.Descriptor instead.

func (*PagedExpandLegacyRequest) GetContent added in v0.17.0

func (x *PagedExpandLegacyRequest) GetContent() string

func (*PagedExpandLegacyRequest) GetMaxResults added in v0.17.0

func (x *PagedExpandLegacyRequest) GetMaxResults() int32

func (*PagedExpandLegacyRequest) GetPageToken added in v0.17.0

func (x *PagedExpandLegacyRequest) GetPageToken() string

func (*PagedExpandLegacyRequest) ProtoMessage added in v0.17.0

func (*PagedExpandLegacyRequest) ProtoMessage()

func (*PagedExpandLegacyRequest) ProtoReflect added in v0.17.0

func (x *PagedExpandLegacyRequest) ProtoReflect() protoreflect.Message

func (*PagedExpandLegacyRequest) Reset added in v0.17.0

func (x *PagedExpandLegacyRequest) Reset()

func (*PagedExpandLegacyRequest) String added in v0.17.0

func (x *PagedExpandLegacyRequest) String() string

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 number 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 PagedExpandResponseList added in v0.17.0

type PagedExpandResponseList struct {
	Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"`
	// contains filtered or unexported fields
}

A list of words.

func (*PagedExpandResponseList) Descriptor deprecated added in v0.17.0

func (*PagedExpandResponseList) Descriptor() ([]byte, []int)

Deprecated: Use PagedExpandResponseList.ProtoReflect.Descriptor instead.

func (*PagedExpandResponseList) GetWords added in v0.17.0

func (x *PagedExpandResponseList) GetWords() []string

func (*PagedExpandResponseList) ProtoMessage added in v0.17.0

func (*PagedExpandResponseList) ProtoMessage()

func (*PagedExpandResponseList) ProtoReflect added in v0.17.0

func (x *PagedExpandResponseList) ProtoReflect() protoreflect.Message

func (*PagedExpandResponseList) Reset added in v0.17.0

func (x *PagedExpandResponseList) Reset()

func (*PagedExpandResponseList) String added in v0.17.0

func (x *PagedExpandResponseList) String() string

type RepeatRequest added in v0.13.0

type RepeatRequest struct {
	Name string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Info *ComplianceData `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// If true, the server will verify that the received request matches
	// the request with the same name in the compliance test suite.
	ServerVerify bool `protobuf:"varint,3,opt,name=server_verify,json=serverVerify,proto3" json:"server_verify,omitempty"`
	// The URI template this request is expected to be bound to server-side.
	IntendedBindingUri *string `protobuf:"bytes,10,opt,name=intended_binding_uri,json=intendedBindingUri,proto3,oneof" json:"intended_binding_uri,omitempty"`
	// Some top level fields, to test that these are encoded correctly
	// in query params.
	FInt32  int32    `protobuf:"varint,4,opt,name=f_int32,json=fInt32,proto3" json:"f_int32,omitempty"`
	FInt64  int64    `protobuf:"varint,5,opt,name=f_int64,json=fInt64,proto3" json:"f_int64,omitempty"`
	FDouble float64  `protobuf:"fixed64,6,opt,name=f_double,json=fDouble,proto3" json:"f_double,omitempty"`
	PInt32  *int32   `protobuf:"varint,7,opt,name=p_int32,json=pInt32,proto3,oneof" json:"p_int32,omitempty"`
	PInt64  *int64   `protobuf:"varint,8,opt,name=p_int64,json=pInt64,proto3,oneof" json:"p_int64,omitempty"`
	PDouble *float64 `protobuf:"fixed64,9,opt,name=p_double,json=pDouble,proto3,oneof" json:"p_double,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatRequest) Descriptor deprecated added in v0.13.0

func (*RepeatRequest) Descriptor() ([]byte, []int)

Deprecated: Use RepeatRequest.ProtoReflect.Descriptor instead.

func (*RepeatRequest) GetFDouble added in v0.17.0

func (x *RepeatRequest) GetFDouble() float64

func (*RepeatRequest) GetFInt32 added in v0.17.0

func (x *RepeatRequest) GetFInt32() int32

func (*RepeatRequest) GetFInt64 added in v0.17.0

func (x *RepeatRequest) GetFInt64() int64

func (*RepeatRequest) GetInfo added in v0.13.0

func (x *RepeatRequest) GetInfo() *ComplianceData

func (*RepeatRequest) GetIntendedBindingUri added in v0.23.0

func (x *RepeatRequest) GetIntendedBindingUri() string

func (*RepeatRequest) GetName added in v0.13.0

func (x *RepeatRequest) GetName() string

func (*RepeatRequest) GetPDouble added in v0.17.0

func (x *RepeatRequest) GetPDouble() float64

func (*RepeatRequest) GetPInt32 added in v0.17.0

func (x *RepeatRequest) GetPInt32() int32

func (*RepeatRequest) GetPInt64 added in v0.17.0

func (x *RepeatRequest) GetPInt64() int64

func (*RepeatRequest) GetServerVerify added in v0.15.0

func (x *RepeatRequest) GetServerVerify() bool

func (*RepeatRequest) ProtoMessage added in v0.13.0

func (*RepeatRequest) ProtoMessage()

func (*RepeatRequest) ProtoReflect added in v0.13.0

func (x *RepeatRequest) ProtoReflect() protoreflect.Message

func (*RepeatRequest) Reset added in v0.13.0

func (x *RepeatRequest) Reset()

func (*RepeatRequest) String added in v0.13.0

func (x *RepeatRequest) String() string

type RepeatResponse added in v0.13.0

type RepeatResponse struct {
	Request *RepeatRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// The URI template the request was bound to server-side.
	BindingUri string `protobuf:"bytes,2,opt,name=binding_uri,json=bindingUri,proto3" json:"binding_uri,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatResponse) Descriptor deprecated added in v0.13.0

func (*RepeatResponse) Descriptor() ([]byte, []int)

Deprecated: Use RepeatResponse.ProtoReflect.Descriptor instead.

func (*RepeatResponse) GetBindingUri added in v0.23.0

func (x *RepeatResponse) GetBindingUri() string

func (*RepeatResponse) GetRequest added in v0.17.0

func (x *RepeatResponse) GetRequest() *RepeatRequest

func (*RepeatResponse) ProtoMessage added in v0.13.0

func (*RepeatResponse) ProtoMessage()

func (*RepeatResponse) ProtoReflect added in v0.13.0

func (x *RepeatResponse) ProtoReflect() protoreflect.Message

func (*RepeatResponse) Reset added in v0.13.0

func (x *RepeatResponse) Reset()

func (*RepeatResponse) String added in v0.13.0

func (x *RepeatResponse) 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 (*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) Enum added in v0.10.0

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 (ReportSessionResponse_Result) String added in v0.0.10

func (ReportSessionResponse_Result) Type added in v0.10.0

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 *timestamppb.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 *timestamppb.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) Descriptor() ([]byte, []int)

Deprecated: Use Room.ProtoReflect.Descriptor instead.

func (*Room) GetCreateTime added in v0.0.9

func (x *Room) GetCreateTime() *timestamppb.Timestamp

func (*Room) GetDescription added in v0.0.9

func (x *Room) GetDescription() string

func (*Room) GetDisplayName added in v0.0.9

func (x *Room) GetDisplayName() string

func (*Room) GetName added in v0.0.9

func (x *Room) GetName() string

func (*Room) GetUpdateTime added in v0.0.9

func (x *Room) GetUpdateTime() *timestamppb.Timestamp

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

func (*Room) Reset added in v0.0.9

func (x *Room) Reset()

func (*Room) String added in v0.0.9

func (x *Room) String() string

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 Sequence added in v0.12.0

type Sequence struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Sequence of responses to return in order for each attempt. If empty, the
	// default response is an immediate OK.
	Responses []*Sequence_Response `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*Sequence) Descriptor deprecated added in v0.12.0

func (*Sequence) Descriptor() ([]byte, []int)

Deprecated: Use Sequence.ProtoReflect.Descriptor instead.

func (*Sequence) GetName added in v0.12.0

func (x *Sequence) GetName() string

func (*Sequence) GetResponses added in v0.12.0

func (x *Sequence) GetResponses() []*Sequence_Response

func (*Sequence) ProtoMessage added in v0.12.0

func (*Sequence) ProtoMessage()

func (*Sequence) ProtoReflect added in v0.12.0

func (x *Sequence) ProtoReflect() protoreflect.Message

func (*Sequence) Reset added in v0.12.0

func (x *Sequence) Reset()

func (*Sequence) String added in v0.12.0

func (x *Sequence) String() string

type SequenceReport added in v0.12.0

type SequenceReport struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The set of RPC attempts received by the server for a Sequence.
	Attempts []*SequenceReport_Attempt `protobuf:"bytes,2,rep,name=attempts,proto3" json:"attempts,omitempty"`
	// contains filtered or unexported fields
}

func (*SequenceReport) Descriptor deprecated added in v0.12.0

func (*SequenceReport) Descriptor() ([]byte, []int)

Deprecated: Use SequenceReport.ProtoReflect.Descriptor instead.

func (*SequenceReport) GetAttempts added in v0.12.0

func (x *SequenceReport) GetAttempts() []*SequenceReport_Attempt

func (*SequenceReport) GetName added in v0.12.0

func (x *SequenceReport) GetName() string

func (*SequenceReport) ProtoMessage added in v0.12.0

func (*SequenceReport) ProtoMessage()

func (*SequenceReport) ProtoReflect added in v0.12.0

func (x *SequenceReport) ProtoReflect() protoreflect.Message

func (*SequenceReport) Reset added in v0.12.0

func (x *SequenceReport) Reset()

func (*SequenceReport) String added in v0.12.0

func (x *SequenceReport) String() string

type SequenceReport_Attempt added in v0.12.0

type SequenceReport_Attempt struct {

	// The attempt number - starting at 0.
	AttemptNumber int32 `protobuf:"varint,1,opt,name=attempt_number,json=attemptNumber,proto3" json:"attempt_number,omitempty"`
	// The deadline dictated by the attempt to the server.
	AttemptDeadline *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=attempt_deadline,json=attemptDeadline,proto3" json:"attempt_deadline,omitempty"`
	// The time that the server responded to the RPC attempt. Used for
	// calculating attempt_delay.
	ResponseTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"`
	// The server perceived delay between sending the last response and
	// receiving this attempt. Used for validating attempt delay backoff.
	AttemptDelay *durationpb.Duration `protobuf:"bytes,4,opt,name=attempt_delay,json=attemptDelay,proto3" json:"attempt_delay,omitempty"`
	// The status returned to the attempt.
	Status *status.Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Contains metrics on individual RPC Attempts in a sequence.

func (*SequenceReport_Attempt) Descriptor deprecated added in v0.12.0

func (*SequenceReport_Attempt) Descriptor() ([]byte, []int)

Deprecated: Use SequenceReport_Attempt.ProtoReflect.Descriptor instead.

func (*SequenceReport_Attempt) GetAttemptDeadline added in v0.12.0

func (x *SequenceReport_Attempt) GetAttemptDeadline() *timestamppb.Timestamp

func (*SequenceReport_Attempt) GetAttemptDelay added in v0.12.0

func (x *SequenceReport_Attempt) GetAttemptDelay() *durationpb.Duration

func (*SequenceReport_Attempt) GetAttemptNumber added in v0.12.0

func (x *SequenceReport_Attempt) GetAttemptNumber() int32

func (*SequenceReport_Attempt) GetResponseTime added in v0.12.0

func (x *SequenceReport_Attempt) GetResponseTime() *timestamppb.Timestamp

func (*SequenceReport_Attempt) GetStatus added in v0.12.0

func (x *SequenceReport_Attempt) GetStatus() *status.Status

func (*SequenceReport_Attempt) ProtoMessage added in v0.12.0

func (*SequenceReport_Attempt) ProtoMessage()

func (*SequenceReport_Attempt) ProtoReflect added in v0.12.0

func (x *SequenceReport_Attempt) ProtoReflect() protoreflect.Message

func (*SequenceReport_Attempt) Reset added in v0.12.0

func (x *SequenceReport_Attempt) Reset()

func (*SequenceReport_Attempt) String added in v0.12.0

func (x *SequenceReport_Attempt) String() string

type SequenceServiceClient added in v0.12.0

type SequenceServiceClient interface {
	// Creates a sequence.
	CreateSequence(ctx context.Context, in *CreateSequenceRequest, opts ...grpc.CallOption) (*Sequence, error)
	// Creates a sequence.
	CreateStreamingSequence(ctx context.Context, in *CreateStreamingSequenceRequest, opts ...grpc.CallOption) (*StreamingSequence, error)
	// Retrieves a sequence.
	GetSequenceReport(ctx context.Context, in *GetSequenceReportRequest, opts ...grpc.CallOption) (*SequenceReport, error)
	// Retrieves a sequence.
	GetStreamingSequenceReport(ctx context.Context, in *GetStreamingSequenceReportRequest, opts ...grpc.CallOption) (*StreamingSequenceReport, error)
	// Attempts a sequence.
	AttemptSequence(ctx context.Context, in *AttemptSequenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Attempts a streaming sequence.
	AttemptStreamingSequence(ctx context.Context, in *AttemptStreamingSequenceRequest, opts ...grpc.CallOption) (SequenceService_AttemptStreamingSequenceClient, error)
}

SequenceServiceClient is the client API for SequenceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSequenceServiceClient added in v0.12.0

func NewSequenceServiceClient(cc grpc.ClientConnInterface) SequenceServiceClient

type SequenceServiceServer added in v0.12.0

type SequenceServiceServer interface {
	// Creates a sequence.
	CreateSequence(context.Context, *CreateSequenceRequest) (*Sequence, error)
	// Creates a sequence.
	CreateStreamingSequence(context.Context, *CreateStreamingSequenceRequest) (*StreamingSequence, error)
	// Retrieves a sequence.
	GetSequenceReport(context.Context, *GetSequenceReportRequest) (*SequenceReport, error)
	// Retrieves a sequence.
	GetStreamingSequenceReport(context.Context, *GetStreamingSequenceReportRequest) (*StreamingSequenceReport, error)
	// Attempts a sequence.
	AttemptSequence(context.Context, *AttemptSequenceRequest) (*emptypb.Empty, error)
	// Attempts a streaming sequence.
	AttemptStreamingSequence(*AttemptStreamingSequenceRequest, SequenceService_AttemptStreamingSequenceServer) error
}

SequenceServiceServer is the server API for SequenceService service.

type SequenceService_AttemptStreamingSequenceClient added in v0.27.0

type SequenceService_AttemptStreamingSequenceClient interface {
	Recv() (*AttemptStreamingSequenceResponse, error)
	grpc.ClientStream
}

type SequenceService_AttemptStreamingSequenceServer added in v0.27.0

type SequenceService_AttemptStreamingSequenceServer interface {
	Send(*AttemptStreamingSequenceResponse) error
	grpc.ServerStream
}

type Sequence_Response added in v0.12.0

type Sequence_Response struct {

	// The status to return for an individual attempt.
	Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The amount of time to delay sending the response.
	Delay *durationpb.Duration `protobuf:"bytes,2,opt,name=delay,proto3" json:"delay,omitempty"`
	// contains filtered or unexported fields
}

A server response to an RPC Attempt in a sequence.

func (*Sequence_Response) Descriptor deprecated added in v0.12.0

func (*Sequence_Response) Descriptor() ([]byte, []int)

Deprecated: Use Sequence_Response.ProtoReflect.Descriptor instead.

func (*Sequence_Response) GetDelay added in v0.12.0

func (x *Sequence_Response) GetDelay() *durationpb.Duration

func (*Sequence_Response) GetStatus added in v0.12.0

func (x *Sequence_Response) GetStatus() *status.Status

func (*Sequence_Response) ProtoMessage added in v0.12.0

func (*Sequence_Response) ProtoMessage()

func (*Sequence_Response) ProtoReflect added in v0.12.0

func (x *Sequence_Response) ProtoReflect() protoreflect.Message

func (*Sequence_Response) Reset added in v0.12.0

func (x *Sequence_Response) Reset()

func (*Sequence_Response) String added in v0.12.0

func (x *Sequence_Response) 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) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetName added in v0.0.5

func (x *Session) GetName() string

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

func (*Session) Reset added in v0.0.5

func (x *Session) Reset()

func (*Session) String added in v0.0.5

func (x *Session) String() string

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) 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 (Session_Version) String added in v0.0.5

func (x Session_Version) String() string

func (Session_Version) Type added in v0.10.0

type Severity added in v0.11.0

type Severity int32

A severity enum used to test enum capabilities in GAPIC surfaces.

const (
	Severity_UNNECESSARY Severity = 0
	Severity_NECESSARY   Severity = 1
	Severity_URGENT      Severity = 2
	Severity_CRITICAL    Severity = 3
)

func (Severity) Descriptor added in v0.11.0

func (Severity) Descriptor() protoreflect.EnumDescriptor

func (Severity) Enum added in v0.11.0

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor deprecated added in v0.11.0

func (Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number added in v0.11.0

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String added in v0.11.0

func (x Severity) String() string

func (Severity) Type added in v0.11.0

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 *timestamppb.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() *timestamppb.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 (*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) Enum added in v0.10.0

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 (StreamBlurbsResponse_Action) String added in v0.0.10

func (StreamBlurbsResponse_Action) Type added in v0.10.0

type StreamingSequence added in v0.27.0

type StreamingSequence struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The Content that the stream will send
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// Sequence of responses to return in order for each attempt. If empty, the
	// default response is an immediate OK.
	Responses []*StreamingSequence_Response `protobuf:"bytes,3,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamingSequence) Descriptor deprecated added in v0.27.0

func (*StreamingSequence) Descriptor() ([]byte, []int)

Deprecated: Use StreamingSequence.ProtoReflect.Descriptor instead.

func (*StreamingSequence) GetContent added in v0.27.0

func (x *StreamingSequence) GetContent() string

func (*StreamingSequence) GetName added in v0.27.0

func (x *StreamingSequence) GetName() string

func (*StreamingSequence) GetResponses added in v0.27.0

func (x *StreamingSequence) GetResponses() []*StreamingSequence_Response

func (*StreamingSequence) ProtoMessage added in v0.27.0

func (*StreamingSequence) ProtoMessage()

func (*StreamingSequence) ProtoReflect added in v0.27.0

func (x *StreamingSequence) ProtoReflect() protoreflect.Message

func (*StreamingSequence) Reset added in v0.27.0

func (x *StreamingSequence) Reset()

func (*StreamingSequence) String added in v0.27.0

func (x *StreamingSequence) String() string

type StreamingSequenceReport added in v0.27.0

type StreamingSequenceReport struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The set of RPC attempts received by the server for a Sequence.
	Attempts []*StreamingSequenceReport_Attempt `protobuf:"bytes,2,rep,name=attempts,proto3" json:"attempts,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamingSequenceReport) Descriptor deprecated added in v0.27.0

func (*StreamingSequenceReport) Descriptor() ([]byte, []int)

Deprecated: Use StreamingSequenceReport.ProtoReflect.Descriptor instead.

func (*StreamingSequenceReport) GetAttempts added in v0.27.0

func (*StreamingSequenceReport) GetName added in v0.27.0

func (x *StreamingSequenceReport) GetName() string

func (*StreamingSequenceReport) ProtoMessage added in v0.27.0

func (*StreamingSequenceReport) ProtoMessage()

func (*StreamingSequenceReport) ProtoReflect added in v0.27.0

func (x *StreamingSequenceReport) ProtoReflect() protoreflect.Message

func (*StreamingSequenceReport) Reset added in v0.27.0

func (x *StreamingSequenceReport) Reset()

func (*StreamingSequenceReport) String added in v0.27.0

func (x *StreamingSequenceReport) String() string

type StreamingSequenceReport_Attempt added in v0.27.0

type StreamingSequenceReport_Attempt struct {

	// The attempt number - starting at 0.
	AttemptNumber int32 `protobuf:"varint,1,opt,name=attempt_number,json=attemptNumber,proto3" json:"attempt_number,omitempty"`
	// The deadline dictated by the attempt to the server.
	AttemptDeadline *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=attempt_deadline,json=attemptDeadline,proto3" json:"attempt_deadline,omitempty"`
	// The time that the server responded to the RPC attempt. Used for
	// calculating attempt_delay.
	ResponseTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"`
	// The server perceived delay between sending the last response and
	// receiving this attempt. Used for validating attempt delay backoff.
	AttemptDelay *durationpb.Duration `protobuf:"bytes,4,opt,name=attempt_delay,json=attemptDelay,proto3" json:"attempt_delay,omitempty"`
	// The status returned to the attempt.
	Status      *status.Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	ContentSent string         `protobuf:"bytes,6,opt,name=content_sent,json=contentSent,proto3" json:"content_sent,omitempty"`
	// contains filtered or unexported fields
}

Contains metrics on individual RPC Attempts in a sequence.

func (*StreamingSequenceReport_Attempt) Descriptor deprecated added in v0.27.0

func (*StreamingSequenceReport_Attempt) Descriptor() ([]byte, []int)

Deprecated: Use StreamingSequenceReport_Attempt.ProtoReflect.Descriptor instead.

func (*StreamingSequenceReport_Attempt) GetAttemptDeadline added in v0.27.0

func (x *StreamingSequenceReport_Attempt) GetAttemptDeadline() *timestamppb.Timestamp

func (*StreamingSequenceReport_Attempt) GetAttemptDelay added in v0.27.0

func (x *StreamingSequenceReport_Attempt) GetAttemptDelay() *durationpb.Duration

func (*StreamingSequenceReport_Attempt) GetAttemptNumber added in v0.27.0

func (x *StreamingSequenceReport_Attempt) GetAttemptNumber() int32

func (*StreamingSequenceReport_Attempt) GetContentSent added in v0.27.0

func (x *StreamingSequenceReport_Attempt) GetContentSent() string

func (*StreamingSequenceReport_Attempt) GetResponseTime added in v0.27.0

func (*StreamingSequenceReport_Attempt) GetStatus added in v0.27.0

func (*StreamingSequenceReport_Attempt) ProtoMessage added in v0.27.0

func (*StreamingSequenceReport_Attempt) ProtoMessage()

func (*StreamingSequenceReport_Attempt) ProtoReflect added in v0.27.0

func (*StreamingSequenceReport_Attempt) Reset added in v0.27.0

func (*StreamingSequenceReport_Attempt) String added in v0.27.0

type StreamingSequence_Response added in v0.27.0

type StreamingSequence_Response struct {

	// The status to return for an individual attempt.
	Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The amount of time to delay sending the response.
	Delay *durationpb.Duration `protobuf:"bytes,2,opt,name=delay,proto3" json:"delay,omitempty"`
	// The index that the status should be sent
	ResponseIndex int32 `protobuf:"varint,3,opt,name=response_index,json=responseIndex,proto3" json:"response_index,omitempty"`
	// contains filtered or unexported fields
}

A server response to an RPC Attempt in a sequence.

func (*StreamingSequence_Response) Descriptor deprecated added in v0.27.0

func (*StreamingSequence_Response) Descriptor() ([]byte, []int)

Deprecated: Use StreamingSequence_Response.ProtoReflect.Descriptor instead.

func (*StreamingSequence_Response) GetDelay added in v0.27.0

func (*StreamingSequence_Response) GetResponseIndex added in v0.27.0

func (x *StreamingSequence_Response) GetResponseIndex() int32

func (*StreamingSequence_Response) GetStatus added in v0.27.0

func (x *StreamingSequence_Response) GetStatus() *status.Status

func (*StreamingSequence_Response) ProtoMessage added in v0.27.0

func (*StreamingSequence_Response) ProtoMessage()

func (*StreamingSequence_Response) ProtoReflect added in v0.27.0

func (*StreamingSequence_Response) Reset added in v0.27.0

func (x *StreamingSequence_Response) Reset()

func (*StreamingSequence_Response) String added in v0.27.0

func (x *StreamingSequence_Response) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetBlueprints added in v0.0.10

func (x *Test) GetBlueprints() []*Test_Blueprint

func (*Test) GetDescription added in v0.0.5

func (x *Test) GetDescription() string

func (*Test) GetExpectationLevel added in v0.0.5

func (x *Test) GetExpectationLevel() Test_ExpectationLevel

func (*Test) GetName added in v0.0.5

func (x *Test) GetName() string

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

func (*Test) Reset added in v0.0.5

func (x *Test) Reset()

func (*Test) String added in v0.0.5

func (x *Test) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TestRun.ProtoReflect.Descriptor instead.

func (*TestRun) GetIssue added in v0.0.10

func (x *TestRun) GetIssue() *Issue

func (*TestRun) GetTest added in v0.0.10

func (x *TestRun) GetTest() string

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

func (*TestRun) Reset added in v0.0.10

func (x *TestRun) Reset()

func (*TestRun) String added in v0.0.10

func (x *TestRun) String() string

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 (*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) Enum added in v0.10.0

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 (Test_ExpectationLevel) String added in v0.0.5

func (x Test_ExpectationLevel) String() string

func (Test_ExpectationLevel) Type added in v0.10.0

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) (*emptypb.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) (*emptypb.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) (*emptypb.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) (*emptypb.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 UnimplementedComplianceServer added in v0.13.0

type UnimplementedComplianceServer struct {
}

UnimplementedComplianceServer can be embedded to have forward compatible implementations.

func (*UnimplementedComplianceServer) GetEnum added in v0.24.0

func (*UnimplementedComplianceServer) RepeatDataBody added in v0.13.0

func (*UnimplementedComplianceServer) RepeatDataBodyInfo added in v0.13.0

func (*UnimplementedComplianceServer) RepeatDataBodyPatch added in v0.17.0

func (*UnimplementedComplianceServer) RepeatDataBodyPut added in v0.17.0

func (*UnimplementedComplianceServer) RepeatDataPathResource added in v0.13.0

func (*UnimplementedComplianceServer) RepeatDataPathTrailingResource added in v0.13.0

func (*UnimplementedComplianceServer) RepeatDataPathTrailingResource(context.Context, *RepeatRequest) (*RepeatResponse, error)

func (*UnimplementedComplianceServer) RepeatDataQuery added in v0.13.0

func (*UnimplementedComplianceServer) RepeatDataSimplePath added in v0.13.0

func (*UnimplementedComplianceServer) VerifyEnum added in v0.24.0

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) Chat added in v0.1.0

func (*UnimplementedEchoServer) Collect added in v0.1.0

func (*UnimplementedEchoServer) Echo added in v0.1.0

func (*UnimplementedEchoServer) Expand added in v0.1.0

func (*UnimplementedEchoServer) PagedExpand added in v0.1.0

func (*UnimplementedEchoServer) PagedExpandLegacy added in v0.17.0

func (*UnimplementedEchoServer) PagedExpandLegacyMapped added in v0.17.0

func (*UnimplementedEchoServer) Wait added in v0.1.0

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) DeleteUser added in v0.1.0

func (*UnimplementedIdentityServer) GetUser added in v0.1.0

func (*UnimplementedIdentityServer) ListUsers added in v0.1.0

func (*UnimplementedIdentityServer) UpdateUser added in v0.1.0

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) CreateBlurb added in v0.1.0

func (*UnimplementedMessagingServer) CreateRoom added in v0.1.0

func (*UnimplementedMessagingServer) DeleteBlurb added in v0.1.0

func (*UnimplementedMessagingServer) DeleteRoom added in v0.1.0

func (*UnimplementedMessagingServer) GetBlurb added in v0.1.0

func (*UnimplementedMessagingServer) GetRoom added in v0.1.0

func (*UnimplementedMessagingServer) ListBlurbs added in v0.1.0

func (*UnimplementedMessagingServer) ListRooms added in v0.1.0

func (*UnimplementedMessagingServer) SearchBlurbs added in v0.1.0

func (*UnimplementedMessagingServer) SendBlurbs added in v0.1.0

func (*UnimplementedMessagingServer) StreamBlurbs added in v0.1.0

func (*UnimplementedMessagingServer) UpdateBlurb added in v0.1.0

func (*UnimplementedMessagingServer) UpdateRoom added in v0.1.0

type UnimplementedSequenceServiceServer added in v0.12.0

type UnimplementedSequenceServiceServer struct {
}

UnimplementedSequenceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSequenceServiceServer) AttemptSequence added in v0.12.0

func (*UnimplementedSequenceServiceServer) AttemptStreamingSequence added in v0.27.0

func (*UnimplementedSequenceServiceServer) CreateSequence added in v0.12.0

func (*UnimplementedSequenceServiceServer) CreateStreamingSequence added in v0.27.0

func (*UnimplementedSequenceServiceServer) GetSequenceReport added in v0.12.0

func (*UnimplementedSequenceServiceServer) GetStreamingSequenceReport added in v0.27.0

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) DeleteSession added in v0.1.0

func (*UnimplementedTestingServer) DeleteTest added in v0.1.0

func (*UnimplementedTestingServer) GetSession added in v0.1.0

func (*UnimplementedTestingServer) ListSessions added in v0.1.0

func (*UnimplementedTestingServer) ListTests added in v0.1.0

func (*UnimplementedTestingServer) ReportSession added in v0.1.0

func (*UnimplementedTestingServer) VerifyTest added in v0.1.0

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 *fieldmaskpb.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() *fieldmaskpb.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 which fields are to be updated. If empty, the
	// server will assume all fields are to be updated.
	UpdateMask *fieldmaskpb.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() *fieldmaskpb.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 which fields are to be updated. If empty, the
	// server will assume all fields are to be updated.
	UpdateMask *fieldmaskpb.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() *fieldmaskpb.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 *timestamppb.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 *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The age of the user 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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAge added in v0.10.0

func (x *User) GetAge() int32

func (*User) GetCreateTime added in v0.0.9

func (x *User) GetCreateTime() *timestamppb.Timestamp

func (*User) GetDisplayName added in v0.0.9

func (x *User) GetDisplayName() string

func (*User) GetEmail added in v0.0.9

func (x *User) GetEmail() string

func (*User) GetEnableNotifications added in v0.10.0

func (x *User) GetEnableNotifications() bool

func (*User) GetHeightFeet added in v0.10.0

func (x *User) GetHeightFeet() float64

func (*User) GetName added in v0.0.9

func (x *User) GetName() string

func (*User) GetNickname added in v0.10.0

func (x *User) GetNickname() string

func (*User) GetUpdateTime added in v0.0.9

func (x *User) GetUpdateTime() *timestamppb.Timestamp

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

func (*User) Reset added in v0.0.9

func (x *User) Reset()

func (*User) String added in v0.0.9

func (x *User) String() string

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 *timestamppb.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() *timestamppb.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() *timestamppb.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() *durationpb.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_EndTime struct {
	// The time that this operation will complete.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3,oneof"`
}

type WaitRequest_Error added in v0.0.4

type WaitRequest_Error struct {
	// The error that will be returned by the server. If this code is specified
	// to be the OK rpc code, an empty response will be returned.
	Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

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 WaitRequest_Ttl struct {
	// The duration of this operation.
	Ttl *durationpb.Duration `protobuf:"bytes,4,opt,name=ttl,proto3,oneof"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL