testpb

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_test_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {
	AccountId      string  `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountBalance float64 `protobuf:"fixed64,2,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountBalance

func (x *Account) GetAccountBalance() float64

func (*Account) GetAccountId

func (x *Account) GetAccountId() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountCreated

type AccountCreated struct {
	AccountId      string  `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountBalance float64 `protobuf:"fixed64,2,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountCreated) Descriptor deprecated

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

Deprecated: Use AccountCreated.ProtoReflect.Descriptor instead.

func (*AccountCreated) GetAccountBalance

func (x *AccountCreated) GetAccountBalance() float64

func (*AccountCreated) GetAccountId

func (x *AccountCreated) GetAccountId() string

func (*AccountCreated) ProtoMessage

func (*AccountCreated) ProtoMessage()

func (*AccountCreated) ProtoReflect

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

func (*AccountCreated) Reset

func (x *AccountCreated) Reset()

func (*AccountCreated) String

func (x *AccountCreated) String() string

type AccountCredited

type AccountCredited struct {
	AccountId      string  `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountBalance float64 `protobuf:"fixed64,2,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountCredited) Descriptor deprecated

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

Deprecated: Use AccountCredited.ProtoReflect.Descriptor instead.

func (*AccountCredited) GetAccountBalance

func (x *AccountCredited) GetAccountBalance() float64

func (*AccountCredited) GetAccountId

func (x *AccountCredited) GetAccountId() string

func (*AccountCredited) ProtoMessage

func (*AccountCredited) ProtoMessage()

func (*AccountCredited) ProtoReflect

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

func (*AccountCredited) Reset

func (x *AccountCredited) Reset()

func (*AccountCredited) String

func (x *AccountCredited) String() string

type AccountDebited

type AccountDebited struct {
	// contains filtered or unexported fields
}

func (*AccountDebited) Descriptor deprecated

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

Deprecated: Use AccountDebited.ProtoReflect.Descriptor instead.

func (*AccountDebited) ProtoMessage

func (*AccountDebited) ProtoMessage()

func (*AccountDebited) ProtoReflect

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

func (*AccountDebited) Reset

func (x *AccountDebited) Reset()

func (*AccountDebited) String

func (x *AccountDebited) String() string

type CreateAccount

type CreateAccount struct {
	AccountBalance float64 `protobuf:"fixed64,2,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccount) Descriptor deprecated

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

Deprecated: Use CreateAccount.ProtoReflect.Descriptor instead.

func (*CreateAccount) GetAccountBalance

func (x *CreateAccount) GetAccountBalance() float64

func (*CreateAccount) ProtoMessage

func (*CreateAccount) ProtoMessage()

func (*CreateAccount) ProtoReflect

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

func (*CreateAccount) Reset

func (x *CreateAccount) Reset()

func (*CreateAccount) String

func (x *CreateAccount) String() string

type CreditAccount

type CreditAccount struct {
	AccountId string  `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Balance   float64 `protobuf:"fixed64,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*CreditAccount) Descriptor deprecated

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

Deprecated: Use CreditAccount.ProtoReflect.Descriptor instead.

func (*CreditAccount) GetAccountId

func (x *CreditAccount) GetAccountId() string

func (*CreditAccount) GetBalance

func (x *CreditAccount) GetBalance() float64

func (*CreditAccount) ProtoMessage

func (*CreditAccount) ProtoMessage()

func (*CreditAccount) ProtoReflect

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

func (*CreditAccount) Reset

func (x *CreditAccount) Reset()

func (*CreditAccount) String

func (x *CreditAccount) String() string

type DebitAccount

type DebitAccount struct {
	// contains filtered or unexported fields
}

func (*DebitAccount) Descriptor deprecated

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

Deprecated: Use DebitAccount.ProtoReflect.Descriptor instead.

func (*DebitAccount) ProtoMessage

func (*DebitAccount) ProtoMessage()

func (*DebitAccount) ProtoReflect

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

func (*DebitAccount) Reset

func (x *DebitAccount) Reset()

func (*DebitAccount) String

func (x *DebitAccount) String() string

type Reply

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

func (*Reply) Descriptor deprecated

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

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) GetContent

func (x *Reply) GetContent() string

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

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

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) String

func (x *Reply) String() string

type TaskComplete added in v2.2.0

type TaskComplete struct {
	// contains filtered or unexported fields
}

func (*TaskComplete) Descriptor deprecated added in v2.2.0

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

Deprecated: Use TaskComplete.ProtoReflect.Descriptor instead.

func (*TaskComplete) ProtoMessage added in v2.2.0

func (*TaskComplete) ProtoMessage()

func (*TaskComplete) ProtoReflect added in v2.2.0

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

func (*TaskComplete) Reset added in v2.2.0

func (x *TaskComplete) Reset()

func (*TaskComplete) String added in v2.2.0

func (x *TaskComplete) String() string

type TestBye

type TestBye struct {
	// contains filtered or unexported fields
}

func (*TestBye) Descriptor deprecated

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

Deprecated: Use TestBye.ProtoReflect.Descriptor instead.

func (*TestBye) ProtoMessage

func (*TestBye) ProtoMessage()

func (*TestBye) ProtoReflect

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

func (*TestBye) Reset

func (x *TestBye) Reset()

func (*TestBye) String

func (x *TestBye) String() string

type TestClusterForward added in v2.10.1

type TestClusterForward struct {
	// contains filtered or unexported fields
}

func (*TestClusterForward) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestClusterForward.ProtoReflect.Descriptor instead.

func (*TestClusterForward) ProtoMessage added in v2.10.1

func (*TestClusterForward) ProtoMessage()

func (*TestClusterForward) ProtoReflect added in v2.10.1

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

func (*TestClusterForward) Reset added in v2.10.1

func (x *TestClusterForward) Reset()

func (*TestClusterForward) String added in v2.10.1

func (x *TestClusterForward) String() string

type TestCount added in v2.10.1

type TestCount struct {
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCount) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestCount.ProtoReflect.Descriptor instead.

func (*TestCount) GetValue added in v2.10.1

func (x *TestCount) GetValue() int32

func (*TestCount) ProtoMessage added in v2.10.1

func (*TestCount) ProtoMessage()

func (*TestCount) ProtoReflect added in v2.10.1

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

func (*TestCount) Reset added in v2.10.1

func (x *TestCount) Reset()

func (*TestCount) String added in v2.10.1

func (x *TestCount) String() string

type TestGetCount added in v2.10.1

type TestGetCount struct {
	// contains filtered or unexported fields
}

func (*TestGetCount) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestGetCount.ProtoReflect.Descriptor instead.

func (*TestGetCount) ProtoMessage added in v2.10.1

func (*TestGetCount) ProtoMessage()

func (*TestGetCount) ProtoReflect added in v2.10.1

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

func (*TestGetCount) Reset added in v2.10.1

func (x *TestGetCount) Reset()

func (*TestGetCount) String added in v2.10.1

func (x *TestGetCount) String() string

type TestLog added in v2.10.1

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

func (*TestLog) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestLog.ProtoReflect.Descriptor instead.

func (*TestLog) GetText added in v2.10.1

func (x *TestLog) GetText() string

func (*TestLog) ProtoMessage added in v2.10.1

func (*TestLog) ProtoMessage()

func (*TestLog) ProtoReflect added in v2.10.1

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

func (*TestLog) Reset added in v2.10.1

func (x *TestLog) Reset()

func (*TestLog) String added in v2.10.1

func (x *TestLog) String() string

type TestLogin

type TestLogin struct {
	// contains filtered or unexported fields
}

func (*TestLogin) Descriptor deprecated

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

Deprecated: Use TestLogin.ProtoReflect.Descriptor instead.

func (*TestLogin) ProtoMessage

func (*TestLogin) ProtoMessage()

func (*TestLogin) ProtoReflect

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

func (*TestLogin) Reset

func (x *TestLogin) Reset()

func (*TestLogin) String

func (x *TestLogin) String() string

type TestLoginSuccess

type TestLoginSuccess struct {
	// contains filtered or unexported fields
}

func (*TestLoginSuccess) Descriptor deprecated

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

Deprecated: Use TestLoginSuccess.ProtoReflect.Descriptor instead.

func (*TestLoginSuccess) ProtoMessage

func (*TestLoginSuccess) ProtoMessage()

func (*TestLoginSuccess) ProtoReflect

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

func (*TestLoginSuccess) Reset

func (x *TestLoginSuccess) Reset()

func (*TestLoginSuccess) String

func (x *TestLoginSuccess) String() string

type TestMessage added in v2.10.1

type TestMessage struct {

	// Specifies the actual message
	Message *anypb.Any `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Specifies the message priority
	Priority int64 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

func (*TestMessage) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.

func (*TestMessage) GetMessage added in v2.10.1

func (x *TestMessage) GetMessage() *anypb.Any

func (*TestMessage) GetPriority added in v2.10.1

func (x *TestMessage) GetPriority() int64

func (*TestMessage) ProtoMessage added in v2.10.1

func (*TestMessage) ProtoMessage()

func (*TestMessage) ProtoReflect added in v2.10.1

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

func (*TestMessage) Reset added in v2.10.1

func (x *TestMessage) Reset()

func (*TestMessage) String added in v2.10.1

func (x *TestMessage) String() string

type TestPanic

type TestPanic struct {
	// contains filtered or unexported fields
}

func (*TestPanic) Descriptor deprecated

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

Deprecated: Use TestPanic.ProtoReflect.Descriptor instead.

func (*TestPanic) ProtoMessage

func (*TestPanic) ProtoMessage()

func (*TestPanic) ProtoReflect

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

func (*TestPanic) Reset

func (x *TestPanic) Reset()

func (*TestPanic) String

func (x *TestPanic) String() string

type TestPing added in v2.10.1

type TestPing struct {
	// contains filtered or unexported fields
}

func (*TestPing) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestPing.ProtoReflect.Descriptor instead.

func (*TestPing) ProtoMessage added in v2.10.1

func (*TestPing) ProtoMessage()

func (*TestPing) ProtoReflect added in v2.10.1

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

func (*TestPing) Reset added in v2.10.1

func (x *TestPing) Reset()

func (*TestPing) String added in v2.10.1

func (x *TestPing) String() string

type TestPong added in v2.10.1

type TestPong struct {
	// contains filtered or unexported fields
}

func (*TestPong) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestPong.ProtoReflect.Descriptor instead.

func (*TestPong) ProtoMessage added in v2.10.1

func (*TestPong) ProtoMessage()

func (*TestPong) ProtoReflect added in v2.10.1

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

func (*TestPong) Reset added in v2.10.1

func (x *TestPong) Reset()

func (*TestPong) String added in v2.10.1

func (x *TestPong) String() string

type TestReadiness

type TestReadiness struct {
	// contains filtered or unexported fields
}

func (*TestReadiness) Descriptor deprecated

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

Deprecated: Use TestReadiness.ProtoReflect.Descriptor instead.

func (*TestReadiness) ProtoMessage

func (*TestReadiness) ProtoMessage()

func (*TestReadiness) ProtoReflect

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

func (*TestReadiness) Reset

func (x *TestReadiness) Reset()

func (*TestReadiness) String

func (x *TestReadiness) String() string

type TestReady

type TestReady struct {
	// contains filtered or unexported fields
}

func (*TestReady) Descriptor deprecated

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

Deprecated: Use TestReady.ProtoReflect.Descriptor instead.

func (*TestReady) ProtoMessage

func (*TestReady) ProtoMessage()

func (*TestReady) ProtoReflect

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

func (*TestReady) Reset

func (x *TestReady) Reset()

func (*TestReady) String

func (x *TestReady) String() string

type TestRemoteForward added in v2.10.1

type TestRemoteForward struct {
	// contains filtered or unexported fields
}

func (*TestRemoteForward) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestRemoteForward.ProtoReflect.Descriptor instead.

func (*TestRemoteForward) ProtoMessage added in v2.10.1

func (*TestRemoteForward) ProtoMessage()

func (*TestRemoteForward) ProtoReflect added in v2.10.1

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

func (*TestRemoteForward) Reset added in v2.10.1

func (x *TestRemoteForward) Reset()

func (*TestRemoteForward) String added in v2.10.1

func (x *TestRemoteForward) String() string

type TestRemoteSend

type TestRemoteSend struct {
	// contains filtered or unexported fields
}

func (*TestRemoteSend) Descriptor deprecated

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

Deprecated: Use TestRemoteSend.ProtoReflect.Descriptor instead.

func (*TestRemoteSend) ProtoMessage

func (*TestRemoteSend) ProtoMessage()

func (*TestRemoteSend) ProtoReflect

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

func (*TestRemoteSend) Reset

func (x *TestRemoteSend) Reset()

func (*TestRemoteSend) String

func (x *TestRemoteSend) String() string

type TestReply

type TestReply struct {
	// contains filtered or unexported fields
}

func (*TestReply) Descriptor deprecated

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

Deprecated: Use TestReply.ProtoReflect.Descriptor instead.

func (*TestReply) ProtoMessage

func (*TestReply) ProtoMessage()

func (*TestReply) ProtoReflect

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

func (*TestReply) Reset

func (x *TestReply) Reset()

func (*TestReply) String

func (x *TestReply) String() string

type TestRunTask added in v2.10.1

type TestRunTask struct {
	Duration uint64 `protobuf:"varint,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*TestRunTask) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestRunTask.ProtoReflect.Descriptor instead.

func (*TestRunTask) GetDuration added in v2.10.1

func (x *TestRunTask) GetDuration() uint64

func (*TestRunTask) ProtoMessage added in v2.10.1

func (*TestRunTask) ProtoMessage()

func (*TestRunTask) ProtoReflect added in v2.10.1

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

func (*TestRunTask) Reset added in v2.10.1

func (x *TestRunTask) Reset()

func (*TestRunTask) String added in v2.10.1

func (x *TestRunTask) String() string

type TestSend

type TestSend struct {
	// contains filtered or unexported fields
}

func (*TestSend) Descriptor deprecated

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

Deprecated: Use TestSend.ProtoReflect.Descriptor instead.

func (*TestSend) ProtoMessage

func (*TestSend) ProtoMessage()

func (*TestSend) ProtoReflect

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

func (*TestSend) Reset

func (x *TestSend) Reset()

func (*TestSend) String

func (x *TestSend) String() string

type TestStash

type TestStash struct {
	// contains filtered or unexported fields
}

func (*TestStash) Descriptor deprecated

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

Deprecated: Use TestStash.ProtoReflect.Descriptor instead.

func (*TestStash) ProtoMessage

func (*TestStash) ProtoMessage()

func (*TestStash) ProtoReflect

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

func (*TestStash) Reset

func (x *TestStash) Reset()

func (*TestStash) String

func (x *TestStash) String() string

type TestTimeout

type TestTimeout struct {
	// contains filtered or unexported fields
}

func (*TestTimeout) Descriptor deprecated

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

Deprecated: Use TestTimeout.ProtoReflect.Descriptor instead.

func (*TestTimeout) ProtoMessage

func (*TestTimeout) ProtoMessage()

func (*TestTimeout) ProtoReflect

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

func (*TestTimeout) Reset

func (x *TestTimeout) Reset()

func (*TestTimeout) String

func (x *TestTimeout) String() string

type TestUnstash

type TestUnstash struct {
	// contains filtered or unexported fields
}

func (*TestUnstash) Descriptor deprecated

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

Deprecated: Use TestUnstash.ProtoReflect.Descriptor instead.

func (*TestUnstash) ProtoMessage

func (*TestUnstash) ProtoMessage()

func (*TestUnstash) ProtoReflect

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

func (*TestUnstash) Reset

func (x *TestUnstash) Reset()

func (*TestUnstash) String

func (x *TestUnstash) String() string

type TestUnstashAll

type TestUnstashAll struct {
	// contains filtered or unexported fields
}

func (*TestUnstashAll) Descriptor deprecated

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

Deprecated: Use TestUnstashAll.ProtoReflect.Descriptor instead.

func (*TestUnstashAll) ProtoMessage

func (*TestUnstashAll) ProtoMessage()

func (*TestUnstashAll) ProtoReflect

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

func (*TestUnstashAll) Reset

func (x *TestUnstashAll) Reset()

func (*TestUnstashAll) String

func (x *TestUnstashAll) String() string

type TestWait added in v2.10.1

type TestWait struct {
	Duration uint64 `protobuf:"varint,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*TestWait) Descriptor deprecated added in v2.10.1

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

Deprecated: Use TestWait.ProtoReflect.Descriptor instead.

func (*TestWait) GetDuration added in v2.10.1

func (x *TestWait) GetDuration() uint64

func (*TestWait) ProtoMessage added in v2.10.1

func (*TestWait) ProtoMessage()

func (*TestWait) ProtoReflect added in v2.10.1

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

func (*TestWait) Reset added in v2.10.1

func (x *TestWait) Reset()

func (*TestWait) String added in v2.10.1

func (x *TestWait) String() string

Jump to

Keyboard shortcuts

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