testpb

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var File_pb_v1_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 ¶ added in v0.6.0

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

func (*AccountDebited) Descriptor deprecated added in v0.6.0

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

Deprecated: Use AccountDebited.ProtoReflect.Descriptor instead.

func (*AccountDebited) ProtoMessage ¶ added in v0.6.0

func (*AccountDebited) ProtoMessage()

func (*AccountDebited) ProtoReflect ¶ added in v0.6.0

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

func (*AccountDebited) Reset ¶ added in v0.6.0

func (x *AccountDebited) Reset()

func (*AccountDebited) String ¶ added in v0.6.0

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 ¶ added in v0.6.0

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

func (*DebitAccount) Descriptor deprecated added in v0.6.0

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

Deprecated: Use DebitAccount.ProtoReflect.Descriptor instead.

func (*DebitAccount) ProtoMessage ¶ added in v0.6.0

func (*DebitAccount) ProtoMessage()

func (*DebitAccount) ProtoReflect ¶ added in v0.6.0

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

func (*DebitAccount) Reset ¶ added in v0.6.0

func (x *DebitAccount) Reset()

func (*DebitAccount) String ¶ added in v0.6.0

func (x *DebitAccount) String() string

type Ping ¶ added in v1.4.0

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

func (*Ping) Descriptor deprecated added in v1.4.0

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) ProtoMessage ¶ added in v1.4.0

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect ¶ added in v1.4.0

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

func (*Ping) Reset ¶ added in v1.4.0

func (x *Ping) Reset()

func (*Ping) String ¶ added in v1.4.0

func (x *Ping) String() string

type Pong ¶ added in v1.4.0

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

func (*Pong) Descriptor deprecated added in v1.4.0

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

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) ProtoMessage ¶ added in v1.4.0

func (*Pong) ProtoMessage()

func (*Pong) ProtoReflect ¶ added in v1.4.0

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

func (*Pong) Reset ¶ added in v1.4.0

func (x *Pong) Reset()

func (*Pong) String ¶ added in v1.4.0

func (x *Pong) 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 TestBye ¶ added in v0.6.0

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

func (*TestBye) Descriptor deprecated added in v0.6.0

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

Deprecated: Use TestBye.ProtoReflect.Descriptor instead.

func (*TestBye) ProtoMessage ¶ added in v0.6.0

func (*TestBye) ProtoMessage()

func (*TestBye) ProtoReflect ¶ added in v0.6.0

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

func (*TestBye) Reset ¶ added in v0.6.0

func (x *TestBye) Reset()

func (*TestBye) String ¶ added in v0.6.0

func (x *TestBye) String() string

type TestLogin ¶ added in v0.6.0

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

func (*TestLogin) Descriptor deprecated added in v0.6.0

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

Deprecated: Use TestLogin.ProtoReflect.Descriptor instead.

func (*TestLogin) ProtoMessage ¶ added in v0.6.0

func (*TestLogin) ProtoMessage()

func (*TestLogin) ProtoReflect ¶ added in v0.6.0

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

func (*TestLogin) Reset ¶ added in v0.6.0

func (x *TestLogin) Reset()

func (*TestLogin) String ¶ added in v0.6.0

func (x *TestLogin) String() string

type TestLoginSuccess ¶ added in v0.6.0

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

func (*TestLoginSuccess) Descriptor deprecated added in v0.6.0

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

Deprecated: Use TestLoginSuccess.ProtoReflect.Descriptor instead.

func (*TestLoginSuccess) ProtoMessage ¶ added in v0.6.0

func (*TestLoginSuccess) ProtoMessage()

func (*TestLoginSuccess) ProtoReflect ¶ added in v0.6.0

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

func (*TestLoginSuccess) Reset ¶ added in v0.6.0

func (x *TestLoginSuccess) Reset()

func (*TestLoginSuccess) String ¶ added in v0.6.0

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 ¶ added in v0.6.0

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

func (*TestReadiness) Descriptor deprecated added in v0.6.0

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

Deprecated: Use TestReadiness.ProtoReflect.Descriptor instead.

func (*TestReadiness) ProtoMessage ¶ added in v0.6.0

func (*TestReadiness) ProtoMessage()

func (*TestReadiness) ProtoReflect ¶ added in v0.6.0

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

func (*TestReadiness) Reset ¶ added in v0.6.0

func (x *TestReadiness) Reset()

func (*TestReadiness) String ¶ added in v0.6.0

func (x *TestReadiness) String() string

type TestReady ¶ added in v0.6.0

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

func (*TestReady) Descriptor deprecated added in v0.6.0

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

Deprecated: Use TestReady.ProtoReflect.Descriptor instead.

func (*TestReady) ProtoMessage ¶ added in v0.6.0

func (*TestReady) ProtoMessage()

func (*TestReady) ProtoReflect ¶ added in v0.6.0

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

func (*TestReady) Reset ¶ added in v0.6.0

func (x *TestReady) Reset()

func (*TestReady) String ¶ added in v0.6.0

func (x *TestReady) String() string

type TestRemoteSend ¶ added in v0.6.0

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

func (*TestRemoteSend) Descriptor deprecated added in v0.6.0

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

Deprecated: Use TestRemoteSend.ProtoReflect.Descriptor instead.

func (*TestRemoteSend) ProtoMessage ¶ added in v0.6.0

func (*TestRemoteSend) ProtoMessage()

func (*TestRemoteSend) ProtoReflect ¶ added in v0.6.0

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

func (*TestRemoteSend) Reset ¶ added in v0.6.0

func (x *TestRemoteSend) Reset()

func (*TestRemoteSend) String ¶ added in v0.6.0

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 ¶ added in v0.7.0

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

func (*TestStash) Descriptor deprecated added in v0.7.0

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

Deprecated: Use TestStash.ProtoReflect.Descriptor instead.

func (*TestStash) ProtoMessage ¶ added in v0.7.0

func (*TestStash) ProtoMessage()

func (*TestStash) ProtoReflect ¶ added in v0.7.0

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

func (*TestStash) Reset ¶ added in v0.7.0

func (x *TestStash) Reset()

func (*TestStash) String ¶ added in v0.7.0

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 ¶ added in v0.7.0

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

func (*TestUnstash) Descriptor deprecated added in v0.7.0

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

Deprecated: Use TestUnstash.ProtoReflect.Descriptor instead.

func (*TestUnstash) ProtoMessage ¶ added in v0.7.0

func (*TestUnstash) ProtoMessage()

func (*TestUnstash) ProtoReflect ¶ added in v0.7.0

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

func (*TestUnstash) Reset ¶ added in v0.7.0

func (x *TestUnstash) Reset()

func (*TestUnstash) String ¶ added in v0.7.0

func (x *TestUnstash) String() string

type TestUnstashAll ¶ added in v0.7.0

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

func (*TestUnstashAll) Descriptor deprecated added in v0.7.0

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

Deprecated: Use TestUnstashAll.ProtoReflect.Descriptor instead.

func (*TestUnstashAll) ProtoMessage ¶ added in v0.7.0

func (*TestUnstashAll) ProtoMessage()

func (*TestUnstashAll) ProtoReflect ¶ added in v0.7.0

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

func (*TestUnstashAll) Reset ¶ added in v0.7.0

func (x *TestUnstashAll) Reset()

func (*TestUnstashAll) String ¶ added in v0.7.0

func (x *TestUnstashAll) String() string

type Wait ¶ added in v1.4.0

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

func (*Wait) Descriptor deprecated added in v1.4.0

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

Deprecated: Use Wait.ProtoReflect.Descriptor instead.

func (*Wait) GetDuration ¶ added in v1.4.0

func (x *Wait) GetDuration() uint64

func (*Wait) ProtoMessage ¶ added in v1.4.0

func (*Wait) ProtoMessage()

func (*Wait) ProtoReflect ¶ added in v1.4.0

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

func (*Wait) Reset ¶ added in v1.4.0

func (x *Wait) Reset()

func (*Wait) String ¶ added in v1.4.0

func (x *Wait) String() string

Jump to

Keyboard shortcuts

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