samplepb

package
v2.0.0-...-d30d9ec Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sample_sample_proto protoreflect.FileDescriptor
View Source
var File_sample_service_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 {
	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 (*AccountDebited) Descriptor deprecated

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

Deprecated: Use AccountDebited.ProtoReflect.Descriptor instead.

func (*AccountDebited) GetAccountBalance

func (x *AccountDebited) GetAccountBalance() float64

func (*AccountDebited) GetAccountId

func (x *AccountDebited) GetAccountId() string

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 Authenticate

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

func (*Authenticate) Descriptor deprecated

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

Deprecated: Use Authenticate.ProtoReflect.Descriptor instead.

func (*Authenticate) ProtoMessage

func (*Authenticate) ProtoMessage()

func (*Authenticate) ProtoReflect

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

func (*Authenticate) Reset

func (x *Authenticate) Reset()

func (*Authenticate) String

func (x *Authenticate) String() string

type Authenticated

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

func (*Authenticated) Descriptor deprecated

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

Deprecated: Use Authenticated.ProtoReflect.Descriptor instead.

func (*Authenticated) ProtoMessage

func (*Authenticated) ProtoMessage()

func (*Authenticated) ProtoReflect

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

func (*Authenticated) Reset

func (x *Authenticated) Reset()

func (*Authenticated) String

func (x *Authenticated) String() string

type CreateAccount

type CreateAccount 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 (*CreateAccount) Descriptor deprecated

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

Deprecated: Use CreateAccount.ProtoReflect.Descriptor instead.

func (*CreateAccount) GetAccountBalance

func (x *CreateAccount) GetAccountBalance() float64

func (*CreateAccount) GetAccountId

func (x *CreateAccount) GetAccountId() string

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 CreateAccountRequest

type CreateAccountRequest struct {
	CreateAccount *CreateAccount `protobuf:"bytes,1,opt,name=create_account,json=createAccount,proto3" json:"create_account,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetCreateAccount

func (x *CreateAccountRequest) GetCreateAccount() *CreateAccount

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

type CreateAccountResponse

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

func (*CreateAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetAccount

func (x *CreateAccountResponse) GetAccount() *Account

func (*CreateAccountResponse) ProtoMessage

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) ProtoReflect

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

func (*CreateAccountResponse) Reset

func (x *CreateAccountResponse) Reset()

func (*CreateAccountResponse) String

func (x *CreateAccountResponse) 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 CreditAccountRequest

type CreditAccountRequest struct {
	CreditAccount *CreditAccount `protobuf:"bytes,1,opt,name=credit_account,json=creditAccount,proto3" json:"credit_account,omitempty"`
	// contains filtered or unexported fields
}

func (*CreditAccountRequest) Descriptor deprecated

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

Deprecated: Use CreditAccountRequest.ProtoReflect.Descriptor instead.

func (*CreditAccountRequest) GetCreditAccount

func (x *CreditAccountRequest) GetCreditAccount() *CreditAccount

func (*CreditAccountRequest) ProtoMessage

func (*CreditAccountRequest) ProtoMessage()

func (*CreditAccountRequest) ProtoReflect

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

func (*CreditAccountRequest) Reset

func (x *CreditAccountRequest) Reset()

func (*CreditAccountRequest) String

func (x *CreditAccountRequest) String() string

type CreditAccountResponse

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

func (*CreditAccountResponse) Descriptor deprecated

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

Deprecated: Use CreditAccountResponse.ProtoReflect.Descriptor instead.

func (*CreditAccountResponse) GetAccount

func (x *CreditAccountResponse) GetAccount() *Account

func (*CreditAccountResponse) ProtoMessage

func (*CreditAccountResponse) ProtoMessage()

func (*CreditAccountResponse) ProtoReflect

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

func (*CreditAccountResponse) Reset

func (x *CreditAccountResponse) Reset()

func (*CreditAccountResponse) String

func (x *CreditAccountResponse) String() string

type DebitAccount

type DebitAccount 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 (*DebitAccount) Descriptor deprecated

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

Deprecated: Use DebitAccount.ProtoReflect.Descriptor instead.

func (*DebitAccount) GetAccountId

func (x *DebitAccount) GetAccountId() string

func (*DebitAccount) GetBalance

func (x *DebitAccount) GetBalance() float64

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 GetAccount

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

func (*GetAccount) Descriptor deprecated

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

Deprecated: Use GetAccount.ProtoReflect.Descriptor instead.

func (*GetAccount) GetAccountId

func (x *GetAccount) GetAccountId() string

func (*GetAccount) ProtoMessage

func (*GetAccount) ProtoMessage()

func (*GetAccount) ProtoReflect

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

func (*GetAccount) Reset

func (x *GetAccount) Reset()

func (*GetAccount) String

func (x *GetAccount) String() string

type GetAccountRequest

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

func (*GetAccountRequest) Descriptor deprecated

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetAccountId

func (x *GetAccountRequest) GetAccountId() string

func (*GetAccountRequest) ProtoMessage

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect

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

func (*GetAccountRequest) Reset

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String

func (x *GetAccountRequest) String() string

type GetAccountResponse

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

func (*GetAccountResponse) Descriptor deprecated

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

Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.

func (*GetAccountResponse) GetAccount

func (x *GetAccountResponse) GetAccount() *Account

func (*GetAccountResponse) ProtoMessage

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) ProtoReflect

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

func (*GetAccountResponse) Reset

func (x *GetAccountResponse) Reset()

func (*GetAccountResponse) String

func (x *GetAccountResponse) String() string

type Logout

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

func (*Logout) Descriptor deprecated

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

Deprecated: Use Logout.ProtoReflect.Descriptor instead.

func (*Logout) ProtoMessage

func (*Logout) ProtoMessage()

func (*Logout) ProtoReflect

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

func (*Logout) Reset

func (x *Logout) Reset()

func (*Logout) String

func (x *Logout) String() string

type Ping

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

func (*Ping) Descriptor deprecated

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetId

func (x *Ping) GetId() string

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 {
	Reply string `protobuf:"bytes,2,opt,name=reply,proto3" json:"reply,omitempty"`
	// contains filtered or unexported fields
}

func (*Pong) Descriptor deprecated

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

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) GetReply

func (x *Pong) GetReply() string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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