testpb

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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 ClusterForward added in v2.9.0

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

func (*ClusterForward) Descriptor deprecated added in v2.9.0

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

Deprecated: Use ClusterForward.ProtoReflect.Descriptor instead.

func (*ClusterForward) ProtoMessage added in v2.9.0

func (*ClusterForward) ProtoMessage()

func (*ClusterForward) ProtoReflect added in v2.9.0

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

func (*ClusterForward) Reset added in v2.9.0

func (x *ClusterForward) Reset()

func (*ClusterForward) String added in v2.9.0

func (x *ClusterForward) String() string

type Count added in v2.4.0

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

func (*Count) Descriptor deprecated added in v2.4.0

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

Deprecated: Use Count.ProtoReflect.Descriptor instead.

func (*Count) GetValue added in v2.4.0

func (x *Count) GetValue() int32

func (*Count) ProtoMessage added in v2.4.0

func (*Count) ProtoMessage()

func (*Count) ProtoReflect added in v2.4.0

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

func (*Count) Reset added in v2.4.0

func (x *Count) Reset()

func (*Count) String added in v2.4.0

func (x *Count) 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 DoLog added in v2.4.0

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

func (*DoLog) Descriptor deprecated added in v2.4.0

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

Deprecated: Use DoLog.ProtoReflect.Descriptor instead.

func (*DoLog) GetText added in v2.4.0

func (x *DoLog) GetText() string

func (*DoLog) ProtoMessage added in v2.4.0

func (*DoLog) ProtoMessage()

func (*DoLog) ProtoReflect added in v2.4.0

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

func (*DoLog) Reset added in v2.4.0

func (x *DoLog) Reset()

func (*DoLog) String added in v2.4.0

func (x *DoLog) String() string

type GetCount added in v2.4.0

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

func (*GetCount) Descriptor deprecated added in v2.4.0

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

Deprecated: Use GetCount.ProtoReflect.Descriptor instead.

func (*GetCount) ProtoMessage added in v2.4.0

func (*GetCount) ProtoMessage()

func (*GetCount) ProtoReflect added in v2.4.0

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

func (*GetCount) Reset added in v2.4.0

func (x *GetCount) Reset()

func (*GetCount) String added in v2.4.0

func (x *GetCount) String() string

type Ping

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

func (*Ping) Descriptor deprecated

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect

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

func (*Ping) Reset

func (x *Ping) Reset()

func (*Ping) String

func (x *Ping) String() string

type Pong

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

func (*Pong) Descriptor deprecated

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

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) ProtoReflect

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

func (*Pong) Reset

func (x *Pong) Reset()

func (*Pong) String

func (x *Pong) String() string

type PriorityMessage added in v2.10.0

type PriorityMessage 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 (*PriorityMessage) Descriptor deprecated added in v2.10.0

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

Deprecated: Use PriorityMessage.ProtoReflect.Descriptor instead.

func (*PriorityMessage) GetMessage added in v2.10.0

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

func (*PriorityMessage) GetPriority added in v2.10.0

func (x *PriorityMessage) GetPriority() int64

func (*PriorityMessage) ProtoMessage added in v2.10.0

func (*PriorityMessage) ProtoMessage()

func (*PriorityMessage) ProtoReflect added in v2.10.0

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

func (*PriorityMessage) Reset added in v2.10.0

func (x *PriorityMessage) Reset()

func (*PriorityMessage) String added in v2.10.0

func (x *PriorityMessage) String() string

type RemoteForward added in v2.9.0

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

func (*RemoteForward) Descriptor deprecated added in v2.9.0

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

Deprecated: Use RemoteForward.ProtoReflect.Descriptor instead.

func (*RemoteForward) ProtoMessage added in v2.9.0

func (*RemoteForward) ProtoMessage()

func (*RemoteForward) ProtoReflect added in v2.9.0

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

func (*RemoteForward) Reset added in v2.9.0

func (x *RemoteForward) Reset()

func (*RemoteForward) String added in v2.9.0

func (x *RemoteForward) 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 RunTask added in v2.2.0

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

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

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

Deprecated: Use RunTask.ProtoReflect.Descriptor instead.

func (*RunTask) GetDuration added in v2.2.0

func (x *RunTask) GetDuration() uint64

func (*RunTask) ProtoMessage added in v2.2.0

func (*RunTask) ProtoMessage()

func (*RunTask) ProtoReflect added in v2.2.0

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

func (*RunTask) Reset added in v2.2.0

func (x *RunTask) Reset()

func (*RunTask) String added in v2.2.0

func (x *RunTask) 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 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 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 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 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 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 Wait

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

func (*Wait) Descriptor deprecated

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

Deprecated: Use Wait.ProtoReflect.Descriptor instead.

func (*Wait) GetDuration

func (x *Wait) GetDuration() uint64

func (*Wait) ProtoMessage

func (*Wait) ProtoMessage()

func (*Wait) ProtoReflect

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

func (*Wait) Reset

func (x *Wait) Reset()

func (*Wait) String

func (x *Wait) String() string

Jump to

Keyboard shortcuts

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