v1

package
v0.0.0-...-f9547d3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_service_v1_service_proto protoreflect.FileDescriptor

Functions

func RegisterAPIServiceServer

func RegisterAPIServiceServer(s grpc.ServiceRegistrar, srv APIServiceServer)

Types

type APIServiceClient

APIServiceClient is the client API for APIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAPIServiceClient

func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient

type APIServiceServer

APIServiceServer is the server API for APIService service. All implementations must embed UnimplementedAPIServiceServer for forward compatibility

type Account

type Account struct {
	Name                 string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Password             string               `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	PasswordConfirmation string               `protobuf:"bytes,3,opt,name=password_confirmation,json=passwordConfirmation,proto3" json:"password_confirmation,omitempty"`
	Properties           *_struct.Struct      `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	VerifiedAt           *timestamp.Timestamp `protobuf:"bytes,7,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
	SuspendedAt          *timestamp.Timestamp `protobuf:"bytes,8,opt,name=suspended_at,json=suspendedAt,proto3" json:"suspended_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetCreatedAt

func (x *Account) GetCreatedAt() *timestamp.Timestamp

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) GetPassword

func (x *Account) GetPassword() string

func (*Account) GetPasswordConfirmation

func (x *Account) GetPasswordConfirmation() string

func (*Account) GetProperties

func (x *Account) GetProperties() *_struct.Struct

func (*Account) GetSuspendedAt

func (x *Account) GetSuspendedAt() *timestamp.Timestamp

func (*Account) GetUpdatedAt

func (x *Account) GetUpdatedAt() *timestamp.Timestamp

func (*Account) GetVerifiedAt

func (x *Account) GetVerifiedAt() *timestamp.Timestamp

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 CreateAccountRequest

type CreateAccountRequest struct {
	Name                 string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Password             string          `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	PasswordConfirmation string          `protobuf:"bytes,3,opt,name=password_confirmation,json=passwordConfirmation,proto3" json:"password_confirmation,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetName

func (x *CreateAccountRequest) GetName() string

func (*CreateAccountRequest) GetPassword

func (x *CreateAccountRequest) GetPassword() string

func (*CreateAccountRequest) GetPasswordConfirmation

func (x *CreateAccountRequest) GetPasswordConfirmation() string

func (*CreateAccountRequest) GetProperties

func (x *CreateAccountRequest) GetProperties() *_struct.Struct

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 DeleteAccountRequest

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

func (*DeleteAccountRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetId

func (x *DeleteAccountRequest) GetId() string

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

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

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

type DeleteAccountResponse

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

func (*DeleteAccountResponse) Descriptor deprecated

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

Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccountResponse) ProtoMessage

func (*DeleteAccountResponse) ProtoMessage()

func (*DeleteAccountResponse) ProtoReflect

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

func (*DeleteAccountResponse) Reset

func (x *DeleteAccountResponse) Reset()

func (*DeleteAccountResponse) String

func (x *DeleteAccountResponse) String() string

type GetAccountByNameRequest

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

func (*GetAccountByNameRequest) Descriptor deprecated

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

Deprecated: Use GetAccountByNameRequest.ProtoReflect.Descriptor instead.

func (*GetAccountByNameRequest) GetName

func (x *GetAccountByNameRequest) GetName() string

func (*GetAccountByNameRequest) ProtoMessage

func (*GetAccountByNameRequest) ProtoMessage()

func (*GetAccountByNameRequest) ProtoReflect

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

func (*GetAccountByNameRequest) Reset

func (x *GetAccountByNameRequest) Reset()

func (*GetAccountByNameRequest) String

func (x *GetAccountByNameRequest) String() string

type GetAccountByNameResponse

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

func (*GetAccountByNameResponse) Descriptor deprecated

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

Deprecated: Use GetAccountByNameResponse.ProtoReflect.Descriptor instead.

func (*GetAccountByNameResponse) GetAccount

func (x *GetAccountByNameResponse) GetAccount() *Account

func (*GetAccountByNameResponse) ProtoMessage

func (*GetAccountByNameResponse) ProtoMessage()

func (*GetAccountByNameResponse) ProtoReflect

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

func (*GetAccountByNameResponse) Reset

func (x *GetAccountByNameResponse) Reset()

func (*GetAccountByNameResponse) String

func (x *GetAccountByNameResponse) String() string

type GetAccountRequest

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

func (*GetAccountRequest) Descriptor deprecated

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetId

func (x *GetAccountRequest) GetId() 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 SuspendAccountRequest

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

func (*SuspendAccountRequest) Descriptor deprecated

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

Deprecated: Use SuspendAccountRequest.ProtoReflect.Descriptor instead.

func (*SuspendAccountRequest) GetId

func (x *SuspendAccountRequest) GetId() string

func (*SuspendAccountRequest) ProtoMessage

func (*SuspendAccountRequest) ProtoMessage()

func (*SuspendAccountRequest) ProtoReflect

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

func (*SuspendAccountRequest) Reset

func (x *SuspendAccountRequest) Reset()

func (*SuspendAccountRequest) String

func (x *SuspendAccountRequest) String() string

type SuspendAccountResponse

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

func (*SuspendAccountResponse) Descriptor deprecated

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

Deprecated: Use SuspendAccountResponse.ProtoReflect.Descriptor instead.

func (*SuspendAccountResponse) GetAccount

func (x *SuspendAccountResponse) GetAccount() *Account

func (*SuspendAccountResponse) ProtoMessage

func (*SuspendAccountResponse) ProtoMessage()

func (*SuspendAccountResponse) ProtoReflect

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

func (*SuspendAccountResponse) Reset

func (x *SuspendAccountResponse) Reset()

func (*SuspendAccountResponse) String

func (x *SuspendAccountResponse) String() string

type UndeleteAccountRequest

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

func (*UndeleteAccountRequest) Descriptor deprecated

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

Deprecated: Use UndeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*UndeleteAccountRequest) GetId

func (x *UndeleteAccountRequest) GetId() string

func (*UndeleteAccountRequest) ProtoMessage

func (*UndeleteAccountRequest) ProtoMessage()

func (*UndeleteAccountRequest) ProtoReflect

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

func (*UndeleteAccountRequest) Reset

func (x *UndeleteAccountRequest) Reset()

func (*UndeleteAccountRequest) String

func (x *UndeleteAccountRequest) String() string

type UndeleteAccountResponse

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

func (*UndeleteAccountResponse) Descriptor deprecated

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

Deprecated: Use UndeleteAccountResponse.ProtoReflect.Descriptor instead.

func (*UndeleteAccountResponse) GetAccount

func (x *UndeleteAccountResponse) GetAccount() *Account

func (*UndeleteAccountResponse) ProtoMessage

func (*UndeleteAccountResponse) ProtoMessage()

func (*UndeleteAccountResponse) ProtoReflect

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

func (*UndeleteAccountResponse) Reset

func (x *UndeleteAccountResponse) Reset()

func (*UndeleteAccountResponse) String

func (x *UndeleteAccountResponse) String() string

type UnimplementedAPIServiceServer

type UnimplementedAPIServiceServer struct {
}

UnimplementedAPIServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAPIServiceServer) CreateAccount

func (UnimplementedAPIServiceServer) DeleteAccount

func (UnimplementedAPIServiceServer) GetAccount

func (UnimplementedAPIServiceServer) GetAccountByName

func (UnimplementedAPIServiceServer) SuspendAccount

func (UnimplementedAPIServiceServer) UndeleteAccount

func (UnimplementedAPIServiceServer) UnsuspendAccount

func (UnimplementedAPIServiceServer) UpdateAccount

func (UnimplementedAPIServiceServer) VerifyAccount

type UnsafeAPIServiceServer

type UnsafeAPIServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAPIServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIServiceServer will result in compilation errors.

type UnsuspendAccountRequest

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

func (*UnsuspendAccountRequest) Descriptor deprecated

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

Deprecated: Use UnsuspendAccountRequest.ProtoReflect.Descriptor instead.

func (*UnsuspendAccountRequest) GetId

func (x *UnsuspendAccountRequest) GetId() string

func (*UnsuspendAccountRequest) ProtoMessage

func (*UnsuspendAccountRequest) ProtoMessage()

func (*UnsuspendAccountRequest) ProtoReflect

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

func (*UnsuspendAccountRequest) Reset

func (x *UnsuspendAccountRequest) Reset()

func (*UnsuspendAccountRequest) String

func (x *UnsuspendAccountRequest) String() string

type UnsuspendAccountResponse

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

func (*UnsuspendAccountResponse) Descriptor deprecated

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

Deprecated: Use UnsuspendAccountResponse.ProtoReflect.Descriptor instead.

func (*UnsuspendAccountResponse) GetAccount

func (x *UnsuspendAccountResponse) GetAccount() *Account

func (*UnsuspendAccountResponse) ProtoMessage

func (*UnsuspendAccountResponse) ProtoMessage()

func (*UnsuspendAccountResponse) ProtoReflect

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

func (*UnsuspendAccountResponse) Reset

func (x *UnsuspendAccountResponse) Reset()

func (*UnsuspendAccountResponse) String

func (x *UnsuspendAccountResponse) String() string

type UpdateAccountRequest

type UpdateAccountRequest struct {
	Name       string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccountRequest) Descriptor deprecated

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

Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountRequest) GetName

func (x *UpdateAccountRequest) GetName() string

func (*UpdateAccountRequest) GetProperties

func (x *UpdateAccountRequest) GetProperties() *_struct.Struct

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) ProtoReflect

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

func (*UpdateAccountRequest) Reset

func (x *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) String

func (x *UpdateAccountRequest) String() string

type UpdateAccountResponse

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

func (*UpdateAccountResponse) Descriptor deprecated

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

Deprecated: Use UpdateAccountResponse.ProtoReflect.Descriptor instead.

func (*UpdateAccountResponse) GetAccount

func (x *UpdateAccountResponse) GetAccount() *Account

func (*UpdateAccountResponse) ProtoMessage

func (*UpdateAccountResponse) ProtoMessage()

func (*UpdateAccountResponse) ProtoReflect

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

func (*UpdateAccountResponse) Reset

func (x *UpdateAccountResponse) Reset()

func (*UpdateAccountResponse) String

func (x *UpdateAccountResponse) String() string

type VerifyAccountRequest

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

func (*VerifyAccountRequest) Descriptor deprecated

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

Deprecated: Use VerifyAccountRequest.ProtoReflect.Descriptor instead.

func (*VerifyAccountRequest) GetId

func (x *VerifyAccountRequest) GetId() string

func (*VerifyAccountRequest) ProtoMessage

func (*VerifyAccountRequest) ProtoMessage()

func (*VerifyAccountRequest) ProtoReflect

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

func (*VerifyAccountRequest) Reset

func (x *VerifyAccountRequest) Reset()

func (*VerifyAccountRequest) String

func (x *VerifyAccountRequest) String() string

type VerifyAccountResponse

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

func (*VerifyAccountResponse) Descriptor deprecated

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

Deprecated: Use VerifyAccountResponse.ProtoReflect.Descriptor instead.

func (*VerifyAccountResponse) GetAccount

func (x *VerifyAccountResponse) GetAccount() *Account

func (*VerifyAccountResponse) ProtoMessage

func (*VerifyAccountResponse) ProtoMessage()

func (*VerifyAccountResponse) ProtoReflect

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

func (*VerifyAccountResponse) Reset

func (x *VerifyAccountResponse) Reset()

func (*VerifyAccountResponse) String

func (x *VerifyAccountResponse) String() string

Jump to

Keyboard shortcuts

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