bertyaccount

package
v2.212.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0, MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GRPCErrCode_name = map[int32]string{
	0:  "OK",
	1:  "CANCELED",
	2:  "UNKNOWN",
	3:  "INVALID_ARGUMENT",
	4:  "DEADLINE_EXCEEDED",
	5:  "NOT_FOUND",
	6:  "ALREADY_EXISTS",
	7:  "PERMISSION_DENIED",
	8:  "RESOURCE_EXHAUSTED",
	9:  "FAILED_PRECONDITION",
	10: "ABORTED",
	11: "OUT_OF_RANGE",
	12: "UNIMPLEMENTED",
	13: "INTERNAL",
	14: "UNAVAILABLE",
	15: "DATA_LOSS",
	16: "UNAUTHENTICATED",
}
View Source
var GRPCErrCode_value = map[string]int32{
	"OK":                  0,
	"CANCELED":            1,
	"UNKNOWN":             2,
	"INVALID_ARGUMENT":    3,
	"DEADLINE_EXCEEDED":   4,
	"NOT_FOUND":           5,
	"ALREADY_EXISTS":      6,
	"PERMISSION_DENIED":   7,
	"RESOURCE_EXHAUSTED":  8,
	"FAILED_PRECONDITION": 9,
	"ABORTED":             10,
	"OUT_OF_RANGE":        11,
	"UNIMPLEMENTED":       12,
	"INTERNAL":            13,
	"UNAVAILABLE":         14,
	"DATA_LOSS":           15,
	"UNAUTHENTICATED":     16,
}

Functions

func RegisterAccountServiceServer

func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)

Types

type AccountMetadata added in v2.208.0

type AccountMetadata struct {
	AccountID            string   `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	LastOpened           int64    `protobuf:"varint,3,opt,name=last_opened,json=lastOpened,proto3" json:"last_opened,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountMetadata) Descriptor added in v2.208.0

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

func (*AccountMetadata) GetAccountID added in v2.208.0

func (m *AccountMetadata) GetAccountID() string

func (*AccountMetadata) GetLastOpened added in v2.208.0

func (m *AccountMetadata) GetLastOpened() int64

func (*AccountMetadata) GetName added in v2.208.0

func (m *AccountMetadata) GetName() string

func (*AccountMetadata) ProtoMessage added in v2.208.0

func (*AccountMetadata) ProtoMessage()

func (*AccountMetadata) Reset added in v2.208.0

func (m *AccountMetadata) Reset()

func (*AccountMetadata) String added in v2.208.0

func (m *AccountMetadata) String() string

func (*AccountMetadata) XXX_DiscardUnknown added in v2.208.0

func (m *AccountMetadata) XXX_DiscardUnknown()

func (*AccountMetadata) XXX_Marshal added in v2.208.0

func (m *AccountMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountMetadata) XXX_Merge added in v2.208.0

func (m *AccountMetadata) XXX_Merge(src proto.Message)

func (*AccountMetadata) XXX_Size added in v2.208.0

func (m *AccountMetadata) XXX_Size() int

func (*AccountMetadata) XXX_Unmarshal added in v2.208.0

func (m *AccountMetadata) XXX_Unmarshal(b []byte) error

type AccountServiceClient

type AccountServiceClient interface {
	// OpenAccount, start berty node
	OpenAccount(ctx context.Context, in *OpenAccount_Request, opts ...grpc.CallOption) (*OpenAccount_Reply, error)
	// CloseAccount, close the current account
	CloseAccount(ctx context.Context, in *CloseAccount_Request, opts ...grpc.CallOption) (*CloseAccount_Reply, error)
	// ListAccounts retrieves a list of local accounts
	ListAccounts(ctx context.Context, in *ListAccounts_Request, opts ...grpc.CallOption) (*ListAccounts_Reply, error)
	// DeleteAccount deletes an account
	DeleteAccount(ctx context.Context, in *DeleteAccount_Request, opts ...grpc.CallOption) (*DeleteAccount_Reply, error)
	// ImportAccount imports existing data
	ImportAccount(ctx context.Context, in *ImportAccount_Request, opts ...grpc.CallOption) (*ImportAccount_Reply, error)
	// CreateAccount creates a new account
	CreateAccount(ctx context.Context, in *CreateAccount_Request, opts ...grpc.CallOption) (*CreateAccount_Reply, error)
	// GetGRPCListenerAddrs return current listeners addrs available on this bridge
	GetGRPCListenerAddrs(ctx context.Context, in *GetGRPCListenerAddrs_Request, opts ...grpc.CallOption) (*GetGRPCListenerAddrs_Reply, error)
	// ClientInvokeUnary invoke a unary method
	ClientInvokeUnary(ctx context.Context, in *ClientInvokeUnary_Request, opts ...grpc.CallOption) (*ClientInvokeUnary_Reply, error)
	// CreateStream create a stream
	CreateClientStream(ctx context.Context, in *ClientCreateStream_Request, opts ...grpc.CallOption) (*ClientCreateStream_Reply, error)
	// Send Message over the given stream
	ClientStreamSend(ctx context.Context, in *ClientStreamSend_Request, opts ...grpc.CallOption) (*ClientStreamSend_Reply, error)
	// Recv message over the given stream
	ClientStreamRecv(ctx context.Context, in *ClientStreamRecv_Request, opts ...grpc.CallOption) (*ClientStreamRecv_Reply, error)
	// Close the given stream (should not be used)
	ClientStreamClose(ctx context.Context, in *ClientStreamClose_Request, opts ...grpc.CallOption) (*ClientStreamClose_Reply, error)
}

AccountServiceClient is the client API for AccountService service.

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

func NewAccountServiceClient

func NewAccountServiceClient(cc *grpc.ClientConn) AccountServiceClient

type AccountServiceServer

type AccountServiceServer interface {
	// OpenAccount, start berty node
	OpenAccount(context.Context, *OpenAccount_Request) (*OpenAccount_Reply, error)
	// CloseAccount, close the current account
	CloseAccount(context.Context, *CloseAccount_Request) (*CloseAccount_Reply, error)
	// ListAccounts retrieves a list of local accounts
	ListAccounts(context.Context, *ListAccounts_Request) (*ListAccounts_Reply, error)
	// DeleteAccount deletes an account
	DeleteAccount(context.Context, *DeleteAccount_Request) (*DeleteAccount_Reply, error)
	// ImportAccount imports existing data
	ImportAccount(context.Context, *ImportAccount_Request) (*ImportAccount_Reply, error)
	// CreateAccount creates a new account
	CreateAccount(context.Context, *CreateAccount_Request) (*CreateAccount_Reply, error)
	// GetGRPCListenerAddrs return current listeners addrs available on this bridge
	GetGRPCListenerAddrs(context.Context, *GetGRPCListenerAddrs_Request) (*GetGRPCListenerAddrs_Reply, error)
	// ClientInvokeUnary invoke a unary method
	ClientInvokeUnary(context.Context, *ClientInvokeUnary_Request) (*ClientInvokeUnary_Reply, error)
	// CreateStream create a stream
	CreateClientStream(context.Context, *ClientCreateStream_Request) (*ClientCreateStream_Reply, error)
	// Send Message over the given stream
	ClientStreamSend(context.Context, *ClientStreamSend_Request) (*ClientStreamSend_Reply, error)
	// Recv message over the given stream
	ClientStreamRecv(context.Context, *ClientStreamRecv_Request) (*ClientStreamRecv_Reply, error)
	// Close the given stream (should not be used)
	ClientStreamClose(context.Context, *ClientStreamClose_Request) (*ClientStreamClose_Reply, error)
}

AccountServiceServer is the server API for AccountService service.

type ClientCreateStream

type ClientCreateStream struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientCreateStream) Descriptor

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

func (*ClientCreateStream) ProtoMessage

func (*ClientCreateStream) ProtoMessage()

func (*ClientCreateStream) Reset

func (m *ClientCreateStream) Reset()

func (*ClientCreateStream) String

func (m *ClientCreateStream) String() string

func (*ClientCreateStream) XXX_DiscardUnknown

func (m *ClientCreateStream) XXX_DiscardUnknown()

func (*ClientCreateStream) XXX_Marshal

func (m *ClientCreateStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientCreateStream) XXX_Merge

func (m *ClientCreateStream) XXX_Merge(src proto.Message)

func (*ClientCreateStream) XXX_Size

func (m *ClientCreateStream) XXX_Size() int

func (*ClientCreateStream) XXX_Unmarshal

func (m *ClientCreateStream) XXX_Unmarshal(b []byte) error

type ClientCreateStream_Reply

type ClientCreateStream_Reply struct {
	StreamId             string      `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Trailer              []*Metadata `protobuf:"bytes,2,rep,name=trailer,proto3" json:"trailer,omitempty"`
	Error                *Error      `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClientCreateStream_Reply) Descriptor

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

func (*ClientCreateStream_Reply) GetError

func (m *ClientCreateStream_Reply) GetError() *Error

func (*ClientCreateStream_Reply) GetStreamId

func (m *ClientCreateStream_Reply) GetStreamId() string

func (*ClientCreateStream_Reply) GetTrailer

func (m *ClientCreateStream_Reply) GetTrailer() []*Metadata

func (*ClientCreateStream_Reply) ProtoMessage

func (*ClientCreateStream_Reply) ProtoMessage()

func (*ClientCreateStream_Reply) Reset

func (m *ClientCreateStream_Reply) Reset()

func (*ClientCreateStream_Reply) String

func (m *ClientCreateStream_Reply) String() string

func (*ClientCreateStream_Reply) XXX_DiscardUnknown

func (m *ClientCreateStream_Reply) XXX_DiscardUnknown()

func (*ClientCreateStream_Reply) XXX_Marshal

func (m *ClientCreateStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientCreateStream_Reply) XXX_Merge

func (m *ClientCreateStream_Reply) XXX_Merge(src proto.Message)

func (*ClientCreateStream_Reply) XXX_Size

func (m *ClientCreateStream_Reply) XXX_Size() int

func (*ClientCreateStream_Reply) XXX_Unmarshal

func (m *ClientCreateStream_Reply) XXX_Unmarshal(b []byte) error

type ClientCreateStream_Request

type ClientCreateStream_Request struct {
	MethodDesc           *MethodDesc `protobuf:"bytes,2,opt,name=method_desc,json=methodDesc,proto3" json:"method_desc,omitempty"`
	Payload              []byte      `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	Header               []*Metadata `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClientCreateStream_Request) Descriptor

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

func (*ClientCreateStream_Request) GetHeader

func (m *ClientCreateStream_Request) GetHeader() []*Metadata

func (*ClientCreateStream_Request) GetMethodDesc

func (m *ClientCreateStream_Request) GetMethodDesc() *MethodDesc

func (*ClientCreateStream_Request) GetPayload

func (m *ClientCreateStream_Request) GetPayload() []byte

func (*ClientCreateStream_Request) ProtoMessage

func (*ClientCreateStream_Request) ProtoMessage()

func (*ClientCreateStream_Request) Reset

func (m *ClientCreateStream_Request) Reset()

func (*ClientCreateStream_Request) String

func (m *ClientCreateStream_Request) String() string

func (*ClientCreateStream_Request) XXX_DiscardUnknown

func (m *ClientCreateStream_Request) XXX_DiscardUnknown()

func (*ClientCreateStream_Request) XXX_Marshal

func (m *ClientCreateStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientCreateStream_Request) XXX_Merge

func (m *ClientCreateStream_Request) XXX_Merge(src proto.Message)

func (*ClientCreateStream_Request) XXX_Size

func (m *ClientCreateStream_Request) XXX_Size() int

func (*ClientCreateStream_Request) XXX_Unmarshal

func (m *ClientCreateStream_Request) XXX_Unmarshal(b []byte) error

type ClientInvokeUnary

type ClientInvokeUnary struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientInvokeUnary) Descriptor

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

func (*ClientInvokeUnary) ProtoMessage

func (*ClientInvokeUnary) ProtoMessage()

func (*ClientInvokeUnary) Reset

func (m *ClientInvokeUnary) Reset()

func (*ClientInvokeUnary) String

func (m *ClientInvokeUnary) String() string

func (*ClientInvokeUnary) XXX_DiscardUnknown

func (m *ClientInvokeUnary) XXX_DiscardUnknown()

func (*ClientInvokeUnary) XXX_Marshal

func (m *ClientInvokeUnary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientInvokeUnary) XXX_Merge

func (m *ClientInvokeUnary) XXX_Merge(src proto.Message)

func (*ClientInvokeUnary) XXX_Size

func (m *ClientInvokeUnary) XXX_Size() int

func (*ClientInvokeUnary) XXX_Unmarshal

func (m *ClientInvokeUnary) XXX_Unmarshal(b []byte) error

type ClientInvokeUnary_Reply

type ClientInvokeUnary_Reply struct {
	Payload              []byte      `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	Trailer              []*Metadata `protobuf:"bytes,3,rep,name=trailer,proto3" json:"trailer,omitempty"`
	Error                *Error      `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClientInvokeUnary_Reply) Descriptor

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

func (*ClientInvokeUnary_Reply) GetError

func (m *ClientInvokeUnary_Reply) GetError() *Error

func (*ClientInvokeUnary_Reply) GetPayload

func (m *ClientInvokeUnary_Reply) GetPayload() []byte

func (*ClientInvokeUnary_Reply) GetTrailer

func (m *ClientInvokeUnary_Reply) GetTrailer() []*Metadata

func (*ClientInvokeUnary_Reply) ProtoMessage

func (*ClientInvokeUnary_Reply) ProtoMessage()

func (*ClientInvokeUnary_Reply) Reset

func (m *ClientInvokeUnary_Reply) Reset()

func (*ClientInvokeUnary_Reply) String

func (m *ClientInvokeUnary_Reply) String() string

func (*ClientInvokeUnary_Reply) XXX_DiscardUnknown

func (m *ClientInvokeUnary_Reply) XXX_DiscardUnknown()

func (*ClientInvokeUnary_Reply) XXX_Marshal

func (m *ClientInvokeUnary_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientInvokeUnary_Reply) XXX_Merge

func (m *ClientInvokeUnary_Reply) XXX_Merge(src proto.Message)

func (*ClientInvokeUnary_Reply) XXX_Size

func (m *ClientInvokeUnary_Reply) XXX_Size() int

func (*ClientInvokeUnary_Reply) XXX_Unmarshal

func (m *ClientInvokeUnary_Reply) XXX_Unmarshal(b []byte) error

type ClientInvokeUnary_Request

type ClientInvokeUnary_Request struct {
	MethodDesc           *MethodDesc `protobuf:"bytes,2,opt,name=method_desc,json=methodDesc,proto3" json:"method_desc,omitempty"`
	Payload              []byte      `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	Header               []*Metadata `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClientInvokeUnary_Request) Descriptor

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

func (*ClientInvokeUnary_Request) GetHeader

func (m *ClientInvokeUnary_Request) GetHeader() []*Metadata

func (*ClientInvokeUnary_Request) GetMethodDesc

func (m *ClientInvokeUnary_Request) GetMethodDesc() *MethodDesc

func (*ClientInvokeUnary_Request) GetPayload

func (m *ClientInvokeUnary_Request) GetPayload() []byte

func (*ClientInvokeUnary_Request) ProtoMessage

func (*ClientInvokeUnary_Request) ProtoMessage()

func (*ClientInvokeUnary_Request) Reset

func (m *ClientInvokeUnary_Request) Reset()

func (*ClientInvokeUnary_Request) String

func (m *ClientInvokeUnary_Request) String() string

func (*ClientInvokeUnary_Request) XXX_DiscardUnknown

func (m *ClientInvokeUnary_Request) XXX_DiscardUnknown()

func (*ClientInvokeUnary_Request) XXX_Marshal

func (m *ClientInvokeUnary_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientInvokeUnary_Request) XXX_Merge

func (m *ClientInvokeUnary_Request) XXX_Merge(src proto.Message)

func (*ClientInvokeUnary_Request) XXX_Size

func (m *ClientInvokeUnary_Request) XXX_Size() int

func (*ClientInvokeUnary_Request) XXX_Unmarshal

func (m *ClientInvokeUnary_Request) XXX_Unmarshal(b []byte) error

type ClientStreamClose

type ClientStreamClose struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientStreamClose) Descriptor

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

func (*ClientStreamClose) ProtoMessage

func (*ClientStreamClose) ProtoMessage()

func (*ClientStreamClose) Reset

func (m *ClientStreamClose) Reset()

func (*ClientStreamClose) String

func (m *ClientStreamClose) String() string

func (*ClientStreamClose) XXX_DiscardUnknown

func (m *ClientStreamClose) XXX_DiscardUnknown()

func (*ClientStreamClose) XXX_Marshal

func (m *ClientStreamClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamClose) XXX_Merge

func (m *ClientStreamClose) XXX_Merge(src proto.Message)

func (*ClientStreamClose) XXX_Size

func (m *ClientStreamClose) XXX_Size() int

func (*ClientStreamClose) XXX_Unmarshal

func (m *ClientStreamClose) XXX_Unmarshal(b []byte) error

type ClientStreamClose_Reply

type ClientStreamClose_Reply struct {
	StreamId             string      `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Trailer              []*Metadata `protobuf:"bytes,2,rep,name=trailer,proto3" json:"trailer,omitempty"`
	Error                *Error      `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClientStreamClose_Reply) Descriptor

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

func (*ClientStreamClose_Reply) GetError

func (m *ClientStreamClose_Reply) GetError() *Error

func (*ClientStreamClose_Reply) GetStreamId

func (m *ClientStreamClose_Reply) GetStreamId() string

func (*ClientStreamClose_Reply) GetTrailer

func (m *ClientStreamClose_Reply) GetTrailer() []*Metadata

func (*ClientStreamClose_Reply) ProtoMessage

func (*ClientStreamClose_Reply) ProtoMessage()

func (*ClientStreamClose_Reply) Reset

func (m *ClientStreamClose_Reply) Reset()

func (*ClientStreamClose_Reply) String

func (m *ClientStreamClose_Reply) String() string

func (*ClientStreamClose_Reply) XXX_DiscardUnknown

func (m *ClientStreamClose_Reply) XXX_DiscardUnknown()

func (*ClientStreamClose_Reply) XXX_Marshal

func (m *ClientStreamClose_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamClose_Reply) XXX_Merge

func (m *ClientStreamClose_Reply) XXX_Merge(src proto.Message)

func (*ClientStreamClose_Reply) XXX_Size

func (m *ClientStreamClose_Reply) XXX_Size() int

func (*ClientStreamClose_Reply) XXX_Unmarshal

func (m *ClientStreamClose_Reply) XXX_Unmarshal(b []byte) error

type ClientStreamClose_Request

type ClientStreamClose_Request struct {
	StreamId             string   `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientStreamClose_Request) Descriptor

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

func (*ClientStreamClose_Request) GetStreamId

func (m *ClientStreamClose_Request) GetStreamId() string

func (*ClientStreamClose_Request) ProtoMessage

func (*ClientStreamClose_Request) ProtoMessage()

func (*ClientStreamClose_Request) Reset

func (m *ClientStreamClose_Request) Reset()

func (*ClientStreamClose_Request) String

func (m *ClientStreamClose_Request) String() string

func (*ClientStreamClose_Request) XXX_DiscardUnknown

func (m *ClientStreamClose_Request) XXX_DiscardUnknown()

func (*ClientStreamClose_Request) XXX_Marshal

func (m *ClientStreamClose_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamClose_Request) XXX_Merge

func (m *ClientStreamClose_Request) XXX_Merge(src proto.Message)

func (*ClientStreamClose_Request) XXX_Size

func (m *ClientStreamClose_Request) XXX_Size() int

func (*ClientStreamClose_Request) XXX_Unmarshal

func (m *ClientStreamClose_Request) XXX_Unmarshal(b []byte) error

type ClientStreamRecv

type ClientStreamRecv struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientStreamRecv) Descriptor

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

func (*ClientStreamRecv) ProtoMessage

func (*ClientStreamRecv) ProtoMessage()

func (*ClientStreamRecv) Reset

func (m *ClientStreamRecv) Reset()

func (*ClientStreamRecv) String

func (m *ClientStreamRecv) String() string

func (*ClientStreamRecv) XXX_DiscardUnknown

func (m *ClientStreamRecv) XXX_DiscardUnknown()

func (*ClientStreamRecv) XXX_Marshal

func (m *ClientStreamRecv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamRecv) XXX_Merge

func (m *ClientStreamRecv) XXX_Merge(src proto.Message)

func (*ClientStreamRecv) XXX_Size

func (m *ClientStreamRecv) XXX_Size() int

func (*ClientStreamRecv) XXX_Unmarshal

func (m *ClientStreamRecv) XXX_Unmarshal(b []byte) error

type ClientStreamRecv_Reply

type ClientStreamRecv_Reply struct {
	StreamId             string      `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Payload              []byte      `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	Trailer              []*Metadata `protobuf:"bytes,3,rep,name=trailer,proto3" json:"trailer,omitempty"`
	Error                *Error      `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClientStreamRecv_Reply) Descriptor

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

func (*ClientStreamRecv_Reply) GetError

func (m *ClientStreamRecv_Reply) GetError() *Error

func (*ClientStreamRecv_Reply) GetPayload

func (m *ClientStreamRecv_Reply) GetPayload() []byte

func (*ClientStreamRecv_Reply) GetStreamId

func (m *ClientStreamRecv_Reply) GetStreamId() string

func (*ClientStreamRecv_Reply) GetTrailer

func (m *ClientStreamRecv_Reply) GetTrailer() []*Metadata

func (*ClientStreamRecv_Reply) ProtoMessage

func (*ClientStreamRecv_Reply) ProtoMessage()

func (*ClientStreamRecv_Reply) Reset

func (m *ClientStreamRecv_Reply) Reset()

func (*ClientStreamRecv_Reply) String

func (m *ClientStreamRecv_Reply) String() string

func (*ClientStreamRecv_Reply) XXX_DiscardUnknown

func (m *ClientStreamRecv_Reply) XXX_DiscardUnknown()

func (*ClientStreamRecv_Reply) XXX_Marshal

func (m *ClientStreamRecv_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamRecv_Reply) XXX_Merge

func (m *ClientStreamRecv_Reply) XXX_Merge(src proto.Message)

func (*ClientStreamRecv_Reply) XXX_Size

func (m *ClientStreamRecv_Reply) XXX_Size() int

func (*ClientStreamRecv_Reply) XXX_Unmarshal

func (m *ClientStreamRecv_Reply) XXX_Unmarshal(b []byte) error

type ClientStreamRecv_Request

type ClientStreamRecv_Request struct {
	StreamId             string   `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientStreamRecv_Request) Descriptor

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

func (*ClientStreamRecv_Request) GetStreamId

func (m *ClientStreamRecv_Request) GetStreamId() string

func (*ClientStreamRecv_Request) ProtoMessage

func (*ClientStreamRecv_Request) ProtoMessage()

func (*ClientStreamRecv_Request) Reset

func (m *ClientStreamRecv_Request) Reset()

func (*ClientStreamRecv_Request) String

func (m *ClientStreamRecv_Request) String() string

func (*ClientStreamRecv_Request) XXX_DiscardUnknown

func (m *ClientStreamRecv_Request) XXX_DiscardUnknown()

func (*ClientStreamRecv_Request) XXX_Marshal

func (m *ClientStreamRecv_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamRecv_Request) XXX_Merge

func (m *ClientStreamRecv_Request) XXX_Merge(src proto.Message)

func (*ClientStreamRecv_Request) XXX_Size

func (m *ClientStreamRecv_Request) XXX_Size() int

func (*ClientStreamRecv_Request) XXX_Unmarshal

func (m *ClientStreamRecv_Request) XXX_Unmarshal(b []byte) error

type ClientStreamSend

type ClientStreamSend struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientStreamSend) Descriptor

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

func (*ClientStreamSend) ProtoMessage

func (*ClientStreamSend) ProtoMessage()

func (*ClientStreamSend) Reset

func (m *ClientStreamSend) Reset()

func (*ClientStreamSend) String

func (m *ClientStreamSend) String() string

func (*ClientStreamSend) XXX_DiscardUnknown

func (m *ClientStreamSend) XXX_DiscardUnknown()

func (*ClientStreamSend) XXX_Marshal

func (m *ClientStreamSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamSend) XXX_Merge

func (m *ClientStreamSend) XXX_Merge(src proto.Message)

func (*ClientStreamSend) XXX_Size

func (m *ClientStreamSend) XXX_Size() int

func (*ClientStreamSend) XXX_Unmarshal

func (m *ClientStreamSend) XXX_Unmarshal(b []byte) error

type ClientStreamSend_Reply

type ClientStreamSend_Reply struct {
	StreamId             string      `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Trailer              []*Metadata `protobuf:"bytes,2,rep,name=trailer,proto3" json:"trailer,omitempty"`
	Error                *Error      `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClientStreamSend_Reply) Descriptor

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

func (*ClientStreamSend_Reply) GetError

func (m *ClientStreamSend_Reply) GetError() *Error

func (*ClientStreamSend_Reply) GetStreamId

func (m *ClientStreamSend_Reply) GetStreamId() string

func (*ClientStreamSend_Reply) GetTrailer

func (m *ClientStreamSend_Reply) GetTrailer() []*Metadata

func (*ClientStreamSend_Reply) ProtoMessage

func (*ClientStreamSend_Reply) ProtoMessage()

func (*ClientStreamSend_Reply) Reset

func (m *ClientStreamSend_Reply) Reset()

func (*ClientStreamSend_Reply) String

func (m *ClientStreamSend_Reply) String() string

func (*ClientStreamSend_Reply) XXX_DiscardUnknown

func (m *ClientStreamSend_Reply) XXX_DiscardUnknown()

func (*ClientStreamSend_Reply) XXX_Marshal

func (m *ClientStreamSend_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamSend_Reply) XXX_Merge

func (m *ClientStreamSend_Reply) XXX_Merge(src proto.Message)

func (*ClientStreamSend_Reply) XXX_Size

func (m *ClientStreamSend_Reply) XXX_Size() int

func (*ClientStreamSend_Reply) XXX_Unmarshal

func (m *ClientStreamSend_Reply) XXX_Unmarshal(b []byte) error

type ClientStreamSend_Request

type ClientStreamSend_Request struct {
	StreamId             string   `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Payload              []byte   `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientStreamSend_Request) Descriptor

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

func (*ClientStreamSend_Request) GetPayload

func (m *ClientStreamSend_Request) GetPayload() []byte

func (*ClientStreamSend_Request) GetStreamId

func (m *ClientStreamSend_Request) GetStreamId() string

func (*ClientStreamSend_Request) ProtoMessage

func (*ClientStreamSend_Request) ProtoMessage()

func (*ClientStreamSend_Request) Reset

func (m *ClientStreamSend_Request) Reset()

func (*ClientStreamSend_Request) String

func (m *ClientStreamSend_Request) String() string

func (*ClientStreamSend_Request) XXX_DiscardUnknown

func (m *ClientStreamSend_Request) XXX_DiscardUnknown()

func (*ClientStreamSend_Request) XXX_Marshal

func (m *ClientStreamSend_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientStreamSend_Request) XXX_Merge

func (m *ClientStreamSend_Request) XXX_Merge(src proto.Message)

func (*ClientStreamSend_Request) XXX_Size

func (m *ClientStreamSend_Request) XXX_Size() int

func (*ClientStreamSend_Request) XXX_Unmarshal

func (m *ClientStreamSend_Request) XXX_Unmarshal(b []byte) error

type CloseAccount

type CloseAccount struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloseAccount) Descriptor

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

func (*CloseAccount) ProtoMessage

func (*CloseAccount) ProtoMessage()

func (*CloseAccount) Reset

func (m *CloseAccount) Reset()

func (*CloseAccount) String

func (m *CloseAccount) String() string

func (*CloseAccount) XXX_DiscardUnknown

func (m *CloseAccount) XXX_DiscardUnknown()

func (*CloseAccount) XXX_Marshal

func (m *CloseAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseAccount) XXX_Merge

func (m *CloseAccount) XXX_Merge(src proto.Message)

func (*CloseAccount) XXX_Size

func (m *CloseAccount) XXX_Size() int

func (*CloseAccount) XXX_Unmarshal

func (m *CloseAccount) XXX_Unmarshal(b []byte) error

type CloseAccount_Reply

type CloseAccount_Reply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloseAccount_Reply) Descriptor

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

func (*CloseAccount_Reply) ProtoMessage

func (*CloseAccount_Reply) ProtoMessage()

func (*CloseAccount_Reply) Reset

func (m *CloseAccount_Reply) Reset()

func (*CloseAccount_Reply) String

func (m *CloseAccount_Reply) String() string

func (*CloseAccount_Reply) XXX_DiscardUnknown

func (m *CloseAccount_Reply) XXX_DiscardUnknown()

func (*CloseAccount_Reply) XXX_Marshal

func (m *CloseAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseAccount_Reply) XXX_Merge

func (m *CloseAccount_Reply) XXX_Merge(src proto.Message)

func (*CloseAccount_Reply) XXX_Size

func (m *CloseAccount_Reply) XXX_Size() int

func (*CloseAccount_Reply) XXX_Unmarshal

func (m *CloseAccount_Reply) XXX_Unmarshal(b []byte) error

type CloseAccount_Request

type CloseAccount_Request struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloseAccount_Request) Descriptor

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

func (*CloseAccount_Request) ProtoMessage

func (*CloseAccount_Request) ProtoMessage()

func (*CloseAccount_Request) Reset

func (m *CloseAccount_Request) Reset()

func (*CloseAccount_Request) String

func (m *CloseAccount_Request) String() string

func (*CloseAccount_Request) XXX_DiscardUnknown

func (m *CloseAccount_Request) XXX_DiscardUnknown()

func (*CloseAccount_Request) XXX_Marshal

func (m *CloseAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseAccount_Request) XXX_Merge

func (m *CloseAccount_Request) XXX_Merge(src proto.Message)

func (*CloseAccount_Request) XXX_Size

func (m *CloseAccount_Request) XXX_Size() int

func (*CloseAccount_Request) XXX_Unmarshal

func (m *CloseAccount_Request) XXX_Unmarshal(b []byte) error

type CreateAccount added in v2.208.0

type CreateAccount struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAccount) Descriptor added in v2.208.0

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

func (*CreateAccount) ProtoMessage added in v2.208.0

func (*CreateAccount) ProtoMessage()

func (*CreateAccount) Reset added in v2.208.0

func (m *CreateAccount) Reset()

func (*CreateAccount) String added in v2.208.0

func (m *CreateAccount) String() string

func (*CreateAccount) XXX_DiscardUnknown added in v2.208.0

func (m *CreateAccount) XXX_DiscardUnknown()

func (*CreateAccount) XXX_Marshal added in v2.208.0

func (m *CreateAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAccount) XXX_Merge added in v2.208.0

func (m *CreateAccount) XXX_Merge(src proto.Message)

func (*CreateAccount) XXX_Size added in v2.208.0

func (m *CreateAccount) XXX_Size() int

func (*CreateAccount) XXX_Unmarshal added in v2.208.0

func (m *CreateAccount) XXX_Unmarshal(b []byte) error

type CreateAccount_Reply added in v2.208.0

type CreateAccount_Reply struct {
	AccountMetadata      *AccountMetadata `protobuf:"bytes,1,opt,name=account_metadata,json=accountMetadata,proto3" json:"account_metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*CreateAccount_Reply) Descriptor added in v2.208.0

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

func (*CreateAccount_Reply) GetAccountMetadata added in v2.208.0

func (m *CreateAccount_Reply) GetAccountMetadata() *AccountMetadata

func (*CreateAccount_Reply) ProtoMessage added in v2.208.0

func (*CreateAccount_Reply) ProtoMessage()

func (*CreateAccount_Reply) Reset added in v2.208.0

func (m *CreateAccount_Reply) Reset()

func (*CreateAccount_Reply) String added in v2.208.0

func (m *CreateAccount_Reply) String() string

func (*CreateAccount_Reply) XXX_DiscardUnknown added in v2.208.0

func (m *CreateAccount_Reply) XXX_DiscardUnknown()

func (*CreateAccount_Reply) XXX_Marshal added in v2.208.0

func (m *CreateAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAccount_Reply) XXX_Merge added in v2.208.0

func (m *CreateAccount_Reply) XXX_Merge(src proto.Message)

func (*CreateAccount_Reply) XXX_Size added in v2.208.0

func (m *CreateAccount_Reply) XXX_Size() int

func (*CreateAccount_Reply) XXX_Unmarshal added in v2.208.0

func (m *CreateAccount_Reply) XXX_Unmarshal(b []byte) error

type CreateAccount_Request added in v2.208.0

type CreateAccount_Request struct {
	AccountID            string   `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountName          string   `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	Args                 []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	LoggerFilters        string   `protobuf:"bytes,4,opt,name=logger_filters,json=loggerFilters,proto3" json:"logger_filters,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAccount_Request) Descriptor added in v2.208.0

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

func (*CreateAccount_Request) GetAccountID added in v2.208.0

func (m *CreateAccount_Request) GetAccountID() string

func (*CreateAccount_Request) GetAccountName added in v2.208.0

func (m *CreateAccount_Request) GetAccountName() string

func (*CreateAccount_Request) GetArgs added in v2.208.0

func (m *CreateAccount_Request) GetArgs() []string

func (*CreateAccount_Request) GetLoggerFilters added in v2.208.0

func (m *CreateAccount_Request) GetLoggerFilters() string

func (*CreateAccount_Request) ProtoMessage added in v2.208.0

func (*CreateAccount_Request) ProtoMessage()

func (*CreateAccount_Request) Reset added in v2.208.0

func (m *CreateAccount_Request) Reset()

func (*CreateAccount_Request) String added in v2.208.0

func (m *CreateAccount_Request) String() string

func (*CreateAccount_Request) XXX_DiscardUnknown added in v2.208.0

func (m *CreateAccount_Request) XXX_DiscardUnknown()

func (*CreateAccount_Request) XXX_Marshal added in v2.208.0

func (m *CreateAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAccount_Request) XXX_Merge added in v2.208.0

func (m *CreateAccount_Request) XXX_Merge(src proto.Message)

func (*CreateAccount_Request) XXX_Size added in v2.208.0

func (m *CreateAccount_Request) XXX_Size() int

func (*CreateAccount_Request) XXX_Unmarshal added in v2.208.0

func (m *CreateAccount_Request) XXX_Unmarshal(b []byte) error

type DeleteAccount added in v2.208.0

type DeleteAccount struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAccount) Descriptor added in v2.208.0

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

func (*DeleteAccount) ProtoMessage added in v2.208.0

func (*DeleteAccount) ProtoMessage()

func (*DeleteAccount) Reset added in v2.208.0

func (m *DeleteAccount) Reset()

func (*DeleteAccount) String added in v2.208.0

func (m *DeleteAccount) String() string

func (*DeleteAccount) XXX_DiscardUnknown added in v2.208.0

func (m *DeleteAccount) XXX_DiscardUnknown()

func (*DeleteAccount) XXX_Marshal added in v2.208.0

func (m *DeleteAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAccount) XXX_Merge added in v2.208.0

func (m *DeleteAccount) XXX_Merge(src proto.Message)

func (*DeleteAccount) XXX_Size added in v2.208.0

func (m *DeleteAccount) XXX_Size() int

func (*DeleteAccount) XXX_Unmarshal added in v2.208.0

func (m *DeleteAccount) XXX_Unmarshal(b []byte) error

type DeleteAccount_Reply added in v2.208.0

type DeleteAccount_Reply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAccount_Reply) Descriptor added in v2.208.0

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

func (*DeleteAccount_Reply) ProtoMessage added in v2.208.0

func (*DeleteAccount_Reply) ProtoMessage()

func (*DeleteAccount_Reply) Reset added in v2.208.0

func (m *DeleteAccount_Reply) Reset()

func (*DeleteAccount_Reply) String added in v2.208.0

func (m *DeleteAccount_Reply) String() string

func (*DeleteAccount_Reply) XXX_DiscardUnknown added in v2.208.0

func (m *DeleteAccount_Reply) XXX_DiscardUnknown()

func (*DeleteAccount_Reply) XXX_Marshal added in v2.208.0

func (m *DeleteAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAccount_Reply) XXX_Merge added in v2.208.0

func (m *DeleteAccount_Reply) XXX_Merge(src proto.Message)

func (*DeleteAccount_Reply) XXX_Size added in v2.208.0

func (m *DeleteAccount_Reply) XXX_Size() int

func (*DeleteAccount_Reply) XXX_Unmarshal added in v2.208.0

func (m *DeleteAccount_Reply) XXX_Unmarshal(b []byte) error

type DeleteAccount_Request added in v2.208.0

type DeleteAccount_Request struct {
	AccountID            string   `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAccount_Request) Descriptor added in v2.208.0

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

func (*DeleteAccount_Request) GetAccountID added in v2.208.0

func (m *DeleteAccount_Request) GetAccountID() string

func (*DeleteAccount_Request) ProtoMessage added in v2.208.0

func (*DeleteAccount_Request) ProtoMessage()

func (*DeleteAccount_Request) Reset added in v2.208.0

func (m *DeleteAccount_Request) Reset()

func (*DeleteAccount_Request) String added in v2.208.0

func (m *DeleteAccount_Request) String() string

func (*DeleteAccount_Request) XXX_DiscardUnknown added in v2.208.0

func (m *DeleteAccount_Request) XXX_DiscardUnknown()

func (*DeleteAccount_Request) XXX_Marshal added in v2.208.0

func (m *DeleteAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAccount_Request) XXX_Merge added in v2.208.0

func (m *DeleteAccount_Request) XXX_Merge(src proto.Message)

func (*DeleteAccount_Request) XXX_Size added in v2.208.0

func (m *DeleteAccount_Request) XXX_Size() int

func (*DeleteAccount_Request) XXX_Unmarshal added in v2.208.0

func (m *DeleteAccount_Request) XXX_Unmarshal(b []byte) error

type Error

type Error struct {
	GrpcErrorCode        GRPCErrCode     `` /* 137-byte string literal not displayed */
	ErrorCode            errcode.ErrCode `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3,enum=berty.errcode.ErrCode" json:"error_code,omitempty"`
	Message              string          `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Error) Descriptor

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

func (*Error) GetErrorCode

func (m *Error) GetErrorCode() errcode.ErrCode

func (*Error) GetGrpcErrorCode

func (m *Error) GetGrpcErrorCode() GRPCErrCode

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error) XXX_Merge

func (m *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

func (m *Error) XXX_Unmarshal(b []byte) error

type GRPCErrCode

type GRPCErrCode int32
const (
	// OK is returned on success.
	GRPCErrCode_OK GRPCErrCode = 0
	// Canceled indicates the operation was canceled (typically by the caller).
	//
	// The gRPC framework will generate this error code when cancellation
	// is requested.
	GRPCErrCode_CANCELED GRPCErrCode = 1
	// Unknown error. An example of where this error may be returned is
	// if a Status value received from another address space belongs to
	// an error-space that is not known in this address space. Also
	// errors raised by APIs that do not return enough error information
	// may be converted to this error.
	//
	// The gRPC framework will generate this error code in the above two
	// mentioned cases.
	GRPCErrCode_UNKNOWN GRPCErrCode = 2
	// InvalidArgument indicates client specified an invalid argument.
	// Note that this differs from FailedPrecondition. It indicates arguments
	// that are problematic regardless of the state of the system
	// (e.g., a malformed file name).
	//
	// This error code will not be generated by the gRPC framework.
	GRPCErrCode_INVALID_ARGUMENT GRPCErrCode = 3
	// DeadlineExceeded means operation expired before completion.
	// For operations that change the state of the system, this error may be
	// returned even if the operation has completed successfully. For
	// example, a successful response from a server could have been delayed
	// long enough for the deadline to expire.
	//
	// The gRPC framework will generate this error code when the deadline is
	// exceeded.
	GRPCErrCode_DEADLINE_EXCEEDED GRPCErrCode = 4
	// NotFound means some requested entity (e.g., file or directory) was
	// not found.
	//
	// This error code will not be generated by the gRPC framework.
	GRPCErrCode_NOT_FOUND GRPCErrCode = 5
	// AlreadyExists means an attempt to create an entity failed because one
	// already exists.
	//
	// This error code will not be generated by the gRPC framework.
	GRPCErrCode_ALREADY_EXISTS GRPCErrCode = 6
	// PermissionDenied indicates the caller does not have permission to
	// execute the specified operation. It must not be used for rejections
	// caused by exhausting some resource (use ResourceExhausted
	// instead for those errors). It must not be
	// used if the caller cannot be identified (use Unauthenticated
	// instead for those errors).
	//
	// This error code will not be generated by the gRPC core framework,
	// but expect authentication middleware to use it.
	GRPCErrCode_PERMISSION_DENIED GRPCErrCode = 7
	// ResourceExhausted indicates some resource has been exhausted, perhaps
	// a per-user quota, or perhaps the entire file system is out of space.
	//
	// This error code will be generated by the gRPC framework in
	// out-of-memory and server overload situations, or when a message is
	// larger than the configured maximum size.
	GRPCErrCode_RESOURCE_EXHAUSTED GRPCErrCode = 8
	// FailedPrecondition indicates operation was rejected because the
	// system is not in a state required for the operation's execution.
	// For example, directory to be deleted may be non-empty, an rmdir
	// operation is applied to a non-directory, etc.
	//
	// A litmus test that may help a service implementor in deciding
	// between FailedPrecondition, Aborted, and Unavailable:
	//  (a) Use Unavailable if the client can retry just the failing call.
	//  (b) Use Aborted if the client should retry at a higher-level
	//      (e.g., restarting a read-modify-write sequence).
	//  (c) Use FailedPrecondition if the client should not retry until
	//      the system state has been explicitly fixed. E.g., if an "rmdir"
	//      fails because the directory is non-empty, FailedPrecondition
	//      should be returned since the client should not retry unless
	//      they have first fixed up the directory by deleting files from it.
	//  (d) Use FailedPrecondition if the client performs conditional
	//      REST Get/Update/Delete on a resource and the resource on the
	//      server does not match the condition. E.g., conflicting
	//      read-modify-write on the same resource.
	//
	// This error code will not be generated by the gRPC framework.
	GRPCErrCode_FAILED_PRECONDITION GRPCErrCode = 9
	// Aborted indicates the operation was aborted, typically due to a
	// concurrency issue like sequencer check failures, transaction aborts,
	// etc.
	//
	// See litmus test above for deciding between FailedPrecondition,
	// Aborted, and Unavailable.
	//
	// This error code will not be generated by the gRPC framework.
	GRPCErrCode_ABORTED GRPCErrCode = 10
	// OutOfRange means operation was attempted past the valid range.
	// E.g., seeking or reading past end of file.
	//
	// Unlike InvalidArgument, this error indicates a problem that may
	// be fixed if the system state changes. For example, a 32-bit file
	// system will generate InvalidArgument if asked to read at an
	// offset that is not in the range [0,2^32-1], but it will generate
	// OutOfRange if asked to read from an offset past the current
	// file size.
	//
	// There is a fair bit of overlap between FailedPrecondition and
	// OutOfRange. We recommend using OutOfRange (the more specific
	// error) when it applies so that callers who are iterating through
	// a space can easily look for an OutOfRange error to detect when
	// they are done.
	//
	// This error code will not be generated by the gRPC framework.
	GRPCErrCode_OUT_OF_RANGE GRPCErrCode = 11
	// Unimplemented indicates operation is not implemented or not
	// supported/enabled in this service.
	//
	// This error code will be generated by the gRPC framework. Most
	// commonly, you will see this error code when a method implementation
	// is missing on the server. It can also be generated for unknown
	// compression algorithms or a disagreement as to whether an RPC should
	// be streaming.
	GRPCErrCode_UNIMPLEMENTED GRPCErrCode = 12
	// Internal errors. Means some invariants expected by underlying
	// system has been broken. If you see one of these errors,
	// something is very broken.
	//
	// This error code will be generated by the gRPC framework in several
	// internal error conditions.
	GRPCErrCode_INTERNAL GRPCErrCode = 13
	// Unavailable indicates the service is currently unavailable.
	// This is a most likely a transient condition and may be corrected
	// by retrying with a backoff. Note that it is not always safe to retry
	// non-idempotent operations.
	//
	// See litmus test above for deciding between FailedPrecondition,
	// Aborted, and Unavailable.
	//
	// This error code will be generated by the gRPC framework during
	// abrupt shutdown of a server process or network connection.
	GRPCErrCode_UNAVAILABLE GRPCErrCode = 14
	// DataLoss indicates unrecoverable data loss or corruption.
	//
	// This error code will not be generated by the gRPC framework.
	GRPCErrCode_DATA_LOSS GRPCErrCode = 15
	// Unauthenticated indicates the request does not have valid
	// authentication credentials for the operation.
	//
	// The gRPC framework will generate this error code when the
	// authentication metadata is invalid or a Credentials callback fails,
	// but also expect authentication middleware to generate it.
	GRPCErrCode_UNAUTHENTICATED GRPCErrCode = 16
)

func (GRPCErrCode) EnumDescriptor

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

func (GRPCErrCode) String

func (x GRPCErrCode) String() string

type GetGRPCListenerAddrs

type GetGRPCListenerAddrs struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGRPCListenerAddrs) Descriptor

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

func (*GetGRPCListenerAddrs) ProtoMessage

func (*GetGRPCListenerAddrs) ProtoMessage()

func (*GetGRPCListenerAddrs) Reset

func (m *GetGRPCListenerAddrs) Reset()

func (*GetGRPCListenerAddrs) String

func (m *GetGRPCListenerAddrs) String() string

func (*GetGRPCListenerAddrs) XXX_DiscardUnknown

func (m *GetGRPCListenerAddrs) XXX_DiscardUnknown()

func (*GetGRPCListenerAddrs) XXX_Marshal

func (m *GetGRPCListenerAddrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGRPCListenerAddrs) XXX_Merge

func (m *GetGRPCListenerAddrs) XXX_Merge(src proto.Message)

func (*GetGRPCListenerAddrs) XXX_Size

func (m *GetGRPCListenerAddrs) XXX_Size() int

func (*GetGRPCListenerAddrs) XXX_Unmarshal

func (m *GetGRPCListenerAddrs) XXX_Unmarshal(b []byte) error

type GetGRPCListenerAddrs_Reply

type GetGRPCListenerAddrs_Reply struct {
	Entries              []*GetGRPCListenerAddrs_Reply_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*GetGRPCListenerAddrs_Reply) Descriptor

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

func (*GetGRPCListenerAddrs_Reply) GetEntries

func (*GetGRPCListenerAddrs_Reply) ProtoMessage

func (*GetGRPCListenerAddrs_Reply) ProtoMessage()

func (*GetGRPCListenerAddrs_Reply) Reset

func (m *GetGRPCListenerAddrs_Reply) Reset()

func (*GetGRPCListenerAddrs_Reply) String

func (m *GetGRPCListenerAddrs_Reply) String() string

func (*GetGRPCListenerAddrs_Reply) XXX_DiscardUnknown

func (m *GetGRPCListenerAddrs_Reply) XXX_DiscardUnknown()

func (*GetGRPCListenerAddrs_Reply) XXX_Marshal

func (m *GetGRPCListenerAddrs_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGRPCListenerAddrs_Reply) XXX_Merge

func (m *GetGRPCListenerAddrs_Reply) XXX_Merge(src proto.Message)

func (*GetGRPCListenerAddrs_Reply) XXX_Size

func (m *GetGRPCListenerAddrs_Reply) XXX_Size() int

func (*GetGRPCListenerAddrs_Reply) XXX_Unmarshal

func (m *GetGRPCListenerAddrs_Reply) XXX_Unmarshal(b []byte) error

type GetGRPCListenerAddrs_Reply_Entry

type GetGRPCListenerAddrs_Reply_Entry struct {
	Proto                string   `protobuf:"bytes,1,opt,name=proto,proto3" json:"proto,omitempty"`
	Maddr                string   `protobuf:"bytes,2,opt,name=maddr,proto3" json:"maddr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGRPCListenerAddrs_Reply_Entry) Descriptor

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

func (*GetGRPCListenerAddrs_Reply_Entry) GetMaddr

func (*GetGRPCListenerAddrs_Reply_Entry) GetProto

func (*GetGRPCListenerAddrs_Reply_Entry) ProtoMessage

func (*GetGRPCListenerAddrs_Reply_Entry) ProtoMessage()

func (*GetGRPCListenerAddrs_Reply_Entry) Reset

func (*GetGRPCListenerAddrs_Reply_Entry) String

func (*GetGRPCListenerAddrs_Reply_Entry) XXX_DiscardUnknown

func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_DiscardUnknown()

func (*GetGRPCListenerAddrs_Reply_Entry) XXX_Marshal

func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGRPCListenerAddrs_Reply_Entry) XXX_Merge

func (*GetGRPCListenerAddrs_Reply_Entry) XXX_Size

func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Size() int

func (*GetGRPCListenerAddrs_Reply_Entry) XXX_Unmarshal

func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Unmarshal(b []byte) error

type GetGRPCListenerAddrs_Request

type GetGRPCListenerAddrs_Request struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGRPCListenerAddrs_Request) Descriptor

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

func (*GetGRPCListenerAddrs_Request) ProtoMessage

func (*GetGRPCListenerAddrs_Request) ProtoMessage()

func (*GetGRPCListenerAddrs_Request) Reset

func (m *GetGRPCListenerAddrs_Request) Reset()

func (*GetGRPCListenerAddrs_Request) String

func (*GetGRPCListenerAddrs_Request) XXX_DiscardUnknown

func (m *GetGRPCListenerAddrs_Request) XXX_DiscardUnknown()

func (*GetGRPCListenerAddrs_Request) XXX_Marshal

func (m *GetGRPCListenerAddrs_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGRPCListenerAddrs_Request) XXX_Merge

func (m *GetGRPCListenerAddrs_Request) XXX_Merge(src proto.Message)

func (*GetGRPCListenerAddrs_Request) XXX_Size

func (m *GetGRPCListenerAddrs_Request) XXX_Size() int

func (*GetGRPCListenerAddrs_Request) XXX_Unmarshal

func (m *GetGRPCListenerAddrs_Request) XXX_Unmarshal(b []byte) error

type ImportAccount added in v2.208.0

type ImportAccount struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportAccount) Descriptor added in v2.208.0

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

func (*ImportAccount) ProtoMessage added in v2.208.0

func (*ImportAccount) ProtoMessage()

func (*ImportAccount) Reset added in v2.208.0

func (m *ImportAccount) Reset()

func (*ImportAccount) String added in v2.208.0

func (m *ImportAccount) String() string

func (*ImportAccount) XXX_DiscardUnknown added in v2.208.0

func (m *ImportAccount) XXX_DiscardUnknown()

func (*ImportAccount) XXX_Marshal added in v2.208.0

func (m *ImportAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportAccount) XXX_Merge added in v2.208.0

func (m *ImportAccount) XXX_Merge(src proto.Message)

func (*ImportAccount) XXX_Size added in v2.208.0

func (m *ImportAccount) XXX_Size() int

func (*ImportAccount) XXX_Unmarshal added in v2.208.0

func (m *ImportAccount) XXX_Unmarshal(b []byte) error

type ImportAccount_Reply added in v2.208.0

type ImportAccount_Reply struct {
	AccountMetadata      *AccountMetadata `protobuf:"bytes,1,opt,name=account_metadata,json=accountMetadata,proto3" json:"account_metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ImportAccount_Reply) Descriptor added in v2.208.0

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

func (*ImportAccount_Reply) GetAccountMetadata added in v2.208.0

func (m *ImportAccount_Reply) GetAccountMetadata() *AccountMetadata

func (*ImportAccount_Reply) ProtoMessage added in v2.208.0

func (*ImportAccount_Reply) ProtoMessage()

func (*ImportAccount_Reply) Reset added in v2.208.0

func (m *ImportAccount_Reply) Reset()

func (*ImportAccount_Reply) String added in v2.208.0

func (m *ImportAccount_Reply) String() string

func (*ImportAccount_Reply) XXX_DiscardUnknown added in v2.208.0

func (m *ImportAccount_Reply) XXX_DiscardUnknown()

func (*ImportAccount_Reply) XXX_Marshal added in v2.208.0

func (m *ImportAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportAccount_Reply) XXX_Merge added in v2.208.0

func (m *ImportAccount_Reply) XXX_Merge(src proto.Message)

func (*ImportAccount_Reply) XXX_Size added in v2.208.0

func (m *ImportAccount_Reply) XXX_Size() int

func (*ImportAccount_Reply) XXX_Unmarshal added in v2.208.0

func (m *ImportAccount_Reply) XXX_Unmarshal(b []byte) error

type ImportAccount_Request added in v2.208.0

type ImportAccount_Request struct {
	AccountID            string   `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountName          string   `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	BackupPath           string   `protobuf:"bytes,3,opt,name=backup_path,json=backupPath,proto3" json:"backup_path,omitempty"`
	Args                 []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	LoggerFilters        string   `protobuf:"bytes,5,opt,name=logger_filters,json=loggerFilters,proto3" json:"logger_filters,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportAccount_Request) Descriptor added in v2.208.0

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

func (*ImportAccount_Request) GetAccountID added in v2.208.0

func (m *ImportAccount_Request) GetAccountID() string

func (*ImportAccount_Request) GetAccountName added in v2.208.0

func (m *ImportAccount_Request) GetAccountName() string

func (*ImportAccount_Request) GetArgs added in v2.208.0

func (m *ImportAccount_Request) GetArgs() []string

func (*ImportAccount_Request) GetBackupPath added in v2.208.0

func (m *ImportAccount_Request) GetBackupPath() string

func (*ImportAccount_Request) GetLoggerFilters added in v2.208.0

func (m *ImportAccount_Request) GetLoggerFilters() string

func (*ImportAccount_Request) ProtoMessage added in v2.208.0

func (*ImportAccount_Request) ProtoMessage()

func (*ImportAccount_Request) Reset added in v2.208.0

func (m *ImportAccount_Request) Reset()

func (*ImportAccount_Request) String added in v2.208.0

func (m *ImportAccount_Request) String() string

func (*ImportAccount_Request) XXX_DiscardUnknown added in v2.208.0

func (m *ImportAccount_Request) XXX_DiscardUnknown()

func (*ImportAccount_Request) XXX_Marshal added in v2.208.0

func (m *ImportAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportAccount_Request) XXX_Merge added in v2.208.0

func (m *ImportAccount_Request) XXX_Merge(src proto.Message)

func (*ImportAccount_Request) XXX_Size added in v2.208.0

func (m *ImportAccount_Request) XXX_Size() int

func (*ImportAccount_Request) XXX_Unmarshal added in v2.208.0

func (m *ImportAccount_Request) XXX_Unmarshal(b []byte) error

type ListAccounts added in v2.208.0

type ListAccounts struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccounts) Descriptor added in v2.208.0

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

func (*ListAccounts) ProtoMessage added in v2.208.0

func (*ListAccounts) ProtoMessage()

func (*ListAccounts) Reset added in v2.208.0

func (m *ListAccounts) Reset()

func (*ListAccounts) String added in v2.208.0

func (m *ListAccounts) String() string

func (*ListAccounts) XXX_DiscardUnknown added in v2.208.0

func (m *ListAccounts) XXX_DiscardUnknown()

func (*ListAccounts) XXX_Marshal added in v2.208.0

func (m *ListAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAccounts) XXX_Merge added in v2.208.0

func (m *ListAccounts) XXX_Merge(src proto.Message)

func (*ListAccounts) XXX_Size added in v2.208.0

func (m *ListAccounts) XXX_Size() int

func (*ListAccounts) XXX_Unmarshal added in v2.208.0

func (m *ListAccounts) XXX_Unmarshal(b []byte) error

type ListAccounts_Reply added in v2.208.0

type ListAccounts_Reply struct {
	Accounts             []*AccountMetadata `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ListAccounts_Reply) Descriptor added in v2.208.0

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

func (*ListAccounts_Reply) GetAccounts added in v2.208.0

func (m *ListAccounts_Reply) GetAccounts() []*AccountMetadata

func (*ListAccounts_Reply) ProtoMessage added in v2.208.0

func (*ListAccounts_Reply) ProtoMessage()

func (*ListAccounts_Reply) Reset added in v2.208.0

func (m *ListAccounts_Reply) Reset()

func (*ListAccounts_Reply) String added in v2.208.0

func (m *ListAccounts_Reply) String() string

func (*ListAccounts_Reply) XXX_DiscardUnknown added in v2.208.0

func (m *ListAccounts_Reply) XXX_DiscardUnknown()

func (*ListAccounts_Reply) XXX_Marshal added in v2.208.0

func (m *ListAccounts_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAccounts_Reply) XXX_Merge added in v2.208.0

func (m *ListAccounts_Reply) XXX_Merge(src proto.Message)

func (*ListAccounts_Reply) XXX_Size added in v2.208.0

func (m *ListAccounts_Reply) XXX_Size() int

func (*ListAccounts_Reply) XXX_Unmarshal added in v2.208.0

func (m *ListAccounts_Reply) XXX_Unmarshal(b []byte) error

type ListAccounts_Request added in v2.208.0

type ListAccounts_Request struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccounts_Request) Descriptor added in v2.208.0

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

func (*ListAccounts_Request) ProtoMessage added in v2.208.0

func (*ListAccounts_Request) ProtoMessage()

func (*ListAccounts_Request) Reset added in v2.208.0

func (m *ListAccounts_Request) Reset()

func (*ListAccounts_Request) String added in v2.208.0

func (m *ListAccounts_Request) String() string

func (*ListAccounts_Request) XXX_DiscardUnknown added in v2.208.0

func (m *ListAccounts_Request) XXX_DiscardUnknown()

func (*ListAccounts_Request) XXX_Marshal added in v2.208.0

func (m *ListAccounts_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAccounts_Request) XXX_Merge added in v2.208.0

func (m *ListAccounts_Request) XXX_Merge(src proto.Message)

func (*ListAccounts_Request) XXX_Size added in v2.208.0

func (m *ListAccounts_Request) XXX_Size() int

func (*ListAccounts_Request) XXX_Unmarshal added in v2.208.0

func (m *ListAccounts_Request) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Values               []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Metadata) Descriptor

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

func (*Metadata) GetKey

func (m *Metadata) GetKey() string

func (*Metadata) GetValues

func (m *Metadata) GetValues() []string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type MethodDesc

type MethodDesc struct {
	// Name is the method name only, without the service name or package name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// IsClientStream indicates whether the RPC is a client streaming RPC.
	IsClientStream bool `protobuf:"varint,2,opt,name=is_client_stream,json=isClientStream,proto3" json:"is_client_stream,omitempty"`
	// IsServerStream indicates whether the RPC is a server streaming RPC.
	IsServerStream       bool     `protobuf:"varint,3,opt,name=is_server_stream,json=isServerStream,proto3" json:"is_server_stream,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MethodDesc) Descriptor

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

func (*MethodDesc) GetIsClientStream

func (m *MethodDesc) GetIsClientStream() bool

func (*MethodDesc) GetIsServerStream

func (m *MethodDesc) GetIsServerStream() bool

func (*MethodDesc) GetName

func (m *MethodDesc) GetName() string

func (*MethodDesc) ProtoMessage

func (*MethodDesc) ProtoMessage()

func (*MethodDesc) Reset

func (m *MethodDesc) Reset()

func (*MethodDesc) String

func (m *MethodDesc) String() string

func (*MethodDesc) XXX_DiscardUnknown

func (m *MethodDesc) XXX_DiscardUnknown()

func (*MethodDesc) XXX_Marshal

func (m *MethodDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MethodDesc) XXX_Merge

func (m *MethodDesc) XXX_Merge(src proto.Message)

func (*MethodDesc) XXX_Size

func (m *MethodDesc) XXX_Size() int

func (*MethodDesc) XXX_Unmarshal

func (m *MethodDesc) XXX_Unmarshal(b []byte) error

type OpenAccount

type OpenAccount struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OpenAccount) Descriptor

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

func (*OpenAccount) ProtoMessage

func (*OpenAccount) ProtoMessage()

func (*OpenAccount) Reset

func (m *OpenAccount) Reset()

func (*OpenAccount) String

func (m *OpenAccount) String() string

func (*OpenAccount) XXX_DiscardUnknown

func (m *OpenAccount) XXX_DiscardUnknown()

func (*OpenAccount) XXX_Marshal

func (m *OpenAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAccount) XXX_Merge

func (m *OpenAccount) XXX_Merge(src proto.Message)

func (*OpenAccount) XXX_Size

func (m *OpenAccount) XXX_Size() int

func (*OpenAccount) XXX_Unmarshal

func (m *OpenAccount) XXX_Unmarshal(b []byte) error

type OpenAccount_Reply

type OpenAccount_Reply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OpenAccount_Reply) Descriptor

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

func (*OpenAccount_Reply) ProtoMessage

func (*OpenAccount_Reply) ProtoMessage()

func (*OpenAccount_Reply) Reset

func (m *OpenAccount_Reply) Reset()

func (*OpenAccount_Reply) String

func (m *OpenAccount_Reply) String() string

func (*OpenAccount_Reply) XXX_DiscardUnknown

func (m *OpenAccount_Reply) XXX_DiscardUnknown()

func (*OpenAccount_Reply) XXX_Marshal

func (m *OpenAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAccount_Reply) XXX_Merge

func (m *OpenAccount_Reply) XXX_Merge(src proto.Message)

func (*OpenAccount_Reply) XXX_Size

func (m *OpenAccount_Reply) XXX_Size() int

func (*OpenAccount_Reply) XXX_Unmarshal

func (m *OpenAccount_Reply) XXX_Unmarshal(b []byte) error

type OpenAccount_Request

type OpenAccount_Request struct {
	Args                 []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	AccountID            string   `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	LoggerFilters        string   `protobuf:"bytes,3,opt,name=logger_filters,json=loggerFilters,proto3" json:"logger_filters,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OpenAccount_Request) Descriptor

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

func (*OpenAccount_Request) GetAccountID added in v2.208.0

func (m *OpenAccount_Request) GetAccountID() string

func (*OpenAccount_Request) GetArgs

func (m *OpenAccount_Request) GetArgs() []string

func (*OpenAccount_Request) GetLoggerFilters

func (m *OpenAccount_Request) GetLoggerFilters() string

func (*OpenAccount_Request) ProtoMessage

func (*OpenAccount_Request) ProtoMessage()

func (*OpenAccount_Request) Reset

func (m *OpenAccount_Request) Reset()

func (*OpenAccount_Request) String

func (m *OpenAccount_Request) String() string

func (*OpenAccount_Request) XXX_DiscardUnknown

func (m *OpenAccount_Request) XXX_DiscardUnknown()

func (*OpenAccount_Request) XXX_Marshal

func (m *OpenAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAccount_Request) XXX_Merge

func (m *OpenAccount_Request) XXX_Merge(src proto.Message)

func (*OpenAccount_Request) XXX_Size

func (m *OpenAccount_Request) XXX_Size() int

func (*OpenAccount_Request) XXX_Unmarshal

func (m *OpenAccount_Request) XXX_Unmarshal(b []byte) error

type Options

type Options struct {
	RootDirectory       string
	LifecycleManager    *lifecycle.Manager
	NotificationManager notification.Manager
	Logger              *zap.Logger
}

type Service

type Service interface {
	AccountServiceServer

	// WakeUp should be used for background task or similar task
	WakeUp(ctx context.Context) error

	// Close the service
	Close() error
}

func NewService

func NewService(opts *Options) (Service, error)

type UnimplementedAccountServiceServer

type UnimplementedAccountServiceServer struct {
}

UnimplementedAccountServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountServiceServer) ClientInvokeUnary

func (*UnimplementedAccountServiceServer) ClientStreamClose

func (*UnimplementedAccountServiceServer) ClientStreamRecv

func (*UnimplementedAccountServiceServer) ClientStreamSend

func (*UnimplementedAccountServiceServer) CloseAccount

func (*UnimplementedAccountServiceServer) CreateAccount added in v2.208.0

func (*UnimplementedAccountServiceServer) CreateClientStream

func (*UnimplementedAccountServiceServer) DeleteAccount added in v2.208.0

func (*UnimplementedAccountServiceServer) GetGRPCListenerAddrs

func (*UnimplementedAccountServiceServer) ImportAccount added in v2.208.0

func (*UnimplementedAccountServiceServer) ListAccounts added in v2.208.0

func (*UnimplementedAccountServiceServer) OpenAccount

Jump to

Keyboard shortcuts

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