account

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package account is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountState_name = map[int32]string{
		0: "ACCOUNT_STATE_UNSPECIFIED",
		1: "BLOCKED",
		2: "ACTIVE",
		3: "INACTIVE",
		4: "DELETED",
	}
	AccountState_value = map[string]int32{
		"ACCOUNT_STATE_UNSPECIFIED": 0,
		"BLOCKED":                   1,
		"ACTIVE":                    2,
		"INACTIVE":                  3,
		"DELETED":                   4,
	}
)

Enum value maps for AccountState.

View Source
var (
	AccountView_name = map[int32]string{
		0: "FULL_VIEW",
		1: "LIST_VIEW",
		2: "SEARCH_VIEW",
		3: "BASIC_VIEW",
	}
	AccountView_value = map[string]int32{
		"FULL_VIEW":   0,
		"LIST_VIEW":   1,
		"SEARCH_VIEW": 2,
		"BASIC_VIEW":  3,
	}
)

Enum value maps for AccountView.

View Source
var (
	UpdateOperation_name = map[int32]string{
		0: "UPDATE_OPERATION_INSPECIFIED",
		1: "UNDELETE",
		2: "DELETE",
		3: "UNBLOCK",
		4: "BLOCK",
		5: "CHANGE_GROUP",
		6: "ADMIN_ACTIVATE",
	}
	UpdateOperation_value = map[string]int32{
		"UPDATE_OPERATION_INSPECIFIED": 0,
		"UNDELETE":                     1,
		"DELETE":                       2,
		"UNBLOCK":                      3,
		"BLOCK":                        4,
		"CHANGE_GROUP":                 5,
		"ADMIN_ACTIVATE":               6,
	}
)

Enum value maps for UpdateOperation.

View Source
var (
	Account_Gender_name = map[int32]string{
		0: "GENDER_UNSPECIFIED",
		1: "MALE",
		2: "FEMALE",
	}
	Account_Gender_value = map[string]int32{
		"GENDER_UNSPECIFIED": 0,
		"MALE":               1,
		"FEMALE":             2,
	}
)

Enum value maps for Account_Gender.

View Source
var File_account_proto protoreflect.FileDescriptor

Functions

func RegisterAccountAPIHandler

func RegisterAccountAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAccountAPIHandler registers the http handlers for service AccountAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAccountAPIHandlerClient

func RegisterAccountAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountAPIClient) error

RegisterAccountAPIHandlerClient registers the http handlers for service AccountAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AccountAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AccountAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AccountAPIClient" to call the correct interceptors.

func RegisterAccountAPIHandlerFromEndpoint

func RegisterAccountAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAccountAPIHandlerFromEndpoint is same as RegisterAccountAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAccountAPIHandlerServer

func RegisterAccountAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountAPIServer) error

RegisterAccountAPIHandlerServer registers the http handlers for service AccountAPI to "mux". UnaryRPC :call AccountAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterAccountAPIServer

func RegisterAccountAPIServer(s *grpc.Server, srv AccountAPIServer)

Types

type Account

type Account struct {
	AccountId      string         `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	ExternalId     string         `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	Email          string         `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Phone          string         `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	DeviceToken    string         `protobuf:"bytes,5,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"`
	Names          string         `protobuf:"bytes,6,opt,name=names,proto3" json:"names,omitempty"`
	BirthDate      string         `protobuf:"bytes,7,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
	Gender         Account_Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=gidyon.apis.Account_Gender" json:"gender,omitempty"`
	Nationality    string         `protobuf:"bytes,9,opt,name=nationality,proto3" json:"nationality,omitempty"`
	ProfileUrl     string         `protobuf:"bytes,11,opt,name=profile_url,json=profileUrl,proto3" json:"profile_url,omitempty"`
	Group          string         `protobuf:"bytes,13,opt,name=group,proto3" json:"group,omitempty"`
	LinkedAccounts string         `protobuf:"bytes,14,opt,name=linked_accounts,json=linkedAccounts,proto3" json:"linked_accounts,omitempty"`
	State          AccountState   `protobuf:"varint,15,opt,name=state,proto3,enum=gidyon.apis.AccountState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountId

func (x *Account) GetAccountId() string

func (*Account) GetBirthDate

func (x *Account) GetBirthDate() string

func (*Account) GetDeviceToken

func (x *Account) GetDeviceToken() string

func (*Account) GetEmail

func (x *Account) GetEmail() string

func (*Account) GetExternalId added in v0.6.0

func (x *Account) GetExternalId() string

func (*Account) GetGender

func (x *Account) GetGender() Account_Gender

func (*Account) GetGroup

func (x *Account) GetGroup() string

func (*Account) GetLinkedAccounts

func (x *Account) GetLinkedAccounts() string

func (*Account) GetNames

func (x *Account) GetNames() string

func (*Account) GetNationality

func (x *Account) GetNationality() string

func (*Account) GetPhone

func (x *Account) GetPhone() string

func (*Account) GetProfileUrl

func (x *Account) GetProfileUrl() string

func (*Account) GetState

func (x *Account) GetState() AccountState

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 AccountAPIClient

type AccountAPIClient interface {
	// Signs in a user into their account
	SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// Signs in a user using third parties like Google, Facebook, Twitter etc
	SignInExternal(ctx context.Context, in *SignInExternalRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// Fetch new JWT using refresh token and updates session
	RefreshSession(ctx context.Context, in *RefreshSessionRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// Creates an account for a new user
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error)
	// Activates an account to being active
	ActivateAccount(ctx context.Context, in *ActivateAccountRequest, opts ...grpc.CallOption) (*ActivateAccountResponse, error)
	// Updates a user account
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Request to change private account information
	RequestChangePrivateAccount(ctx context.Context, in *RequestChangePrivateAccountRequest, opts ...grpc.CallOption) (*RequestChangePrivateAccountResponse, error)
	// Updates a user private account information
	UpdatePrivateAccount(ctx context.Context, in *UpdatePrivateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Deletes a user account
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Retrieves a user account
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error)
	//  Retrieves multiple user accounts
	BatchGetAccounts(ctx context.Context, in *BatchGetAccountsRequest, opts ...grpc.CallOption) (*BatchGetAccountsResponse, error)
	//  Retrieves deeply linked accounts
	GetLinkedAccounts(ctx context.Context, in *GetLinkedAccountsRequest, opts ...grpc.CallOption) (*GetLinkedAccountsResponse, error)
	// Checks if an account exists
	ExistAccount(ctx context.Context, in *ExistAccountRequest, opts ...grpc.CallOption) (*ExistAccountResponse, error)
	// Updates account
	AdminUpdateAccount(ctx context.Context, in *AdminUpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Fetches collection of accounts
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*Accounts, error)
	// Searches accounts and linked accounts
	SearchAccounts(ctx context.Context, in *SearchAccountsRequest, opts ...grpc.CallOption) (*Accounts, error)
}

AccountAPIClient is the client API for AccountAPI service.

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

func NewAccountAPIClient

func NewAccountAPIClient(cc grpc.ClientConnInterface) AccountAPIClient

type AccountAPIServer

type AccountAPIServer interface {
	// Signs in a user into their account
	SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
	// Signs in a user using third parties like Google, Facebook, Twitter etc
	SignInExternal(context.Context, *SignInExternalRequest) (*SignInResponse, error)
	// Fetch new JWT using refresh token and updates session
	RefreshSession(context.Context, *RefreshSessionRequest) (*SignInResponse, error)
	// Creates an account for a new user
	CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
	// Activates an account to being active
	ActivateAccount(context.Context, *ActivateAccountRequest) (*ActivateAccountResponse, error)
	// Updates a user account
	UpdateAccount(context.Context, *UpdateAccountRequest) (*empty.Empty, error)
	// Request to change private account information
	RequestChangePrivateAccount(context.Context, *RequestChangePrivateAccountRequest) (*RequestChangePrivateAccountResponse, error)
	// Updates a user private account information
	UpdatePrivateAccount(context.Context, *UpdatePrivateAccountRequest) (*empty.Empty, error)
	// Deletes a user account
	DeleteAccount(context.Context, *DeleteAccountRequest) (*empty.Empty, error)
	// Retrieves a user account
	GetAccount(context.Context, *GetAccountRequest) (*Account, error)
	//  Retrieves multiple user accounts
	BatchGetAccounts(context.Context, *BatchGetAccountsRequest) (*BatchGetAccountsResponse, error)
	//  Retrieves deeply linked accounts
	GetLinkedAccounts(context.Context, *GetLinkedAccountsRequest) (*GetLinkedAccountsResponse, error)
	// Checks if an account exists
	ExistAccount(context.Context, *ExistAccountRequest) (*ExistAccountResponse, error)
	// Updates account
	AdminUpdateAccount(context.Context, *AdminUpdateAccountRequest) (*empty.Empty, error)
	// Fetches collection of accounts
	ListAccounts(context.Context, *ListAccountsRequest) (*Accounts, error)
	// Searches accounts and linked accounts
	SearchAccounts(context.Context, *SearchAccountsRequest) (*Accounts, error)
}

AccountAPIServer is the server API for AccountAPI service.

type AccountState

type AccountState int32

AccountState

const (
	AccountState_ACCOUNT_STATE_UNSPECIFIED AccountState = 0
	AccountState_BLOCKED                   AccountState = 1
	AccountState_ACTIVE                    AccountState = 2
	AccountState_INACTIVE                  AccountState = 3
	AccountState_DELETED                   AccountState = 4
)

func (AccountState) Descriptor

func (AccountState) Enum

func (x AccountState) Enum() *AccountState

func (AccountState) EnumDescriptor deprecated

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

Deprecated: Use AccountState.Descriptor instead.

func (AccountState) Number

func (AccountState) String

func (x AccountState) String() string

func (AccountState) Type

type AccountView

type AccountView int32

AccountView

const (
	AccountView_FULL_VIEW   AccountView = 0
	AccountView_LIST_VIEW   AccountView = 1 // account_id, email, first name and last name
	AccountView_SEARCH_VIEW AccountView = 2 // account_id, email, first name and last name
	AccountView_BASIC_VIEW  AccountView = 3 // account_id, email, first name and last name
)

func (AccountView) Descriptor

func (AccountView) Enum

func (x AccountView) Enum() *AccountView

func (AccountView) EnumDescriptor deprecated

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

Deprecated: Use AccountView.Descriptor instead.

func (AccountView) Number

func (x AccountView) Number() protoreflect.EnumNumber

func (AccountView) String

func (x AccountView) String() string

func (AccountView) Type

type Account_Gender

type Account_Gender int32

Gender

const (
	Account_GENDER_UNSPECIFIED Account_Gender = 0
	Account_MALE               Account_Gender = 1
	Account_FEMALE             Account_Gender = 2
)

func (Account_Gender) Descriptor

func (Account_Gender) Enum

func (x Account_Gender) Enum() *Account_Gender

func (Account_Gender) EnumDescriptor deprecated

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

Deprecated: Use Account_Gender.Descriptor instead.

func (Account_Gender) Number

func (Account_Gender) String

func (x Account_Gender) String() string

func (Account_Gender) Type

type Accounts

type Accounts struct {
	NextPageToken string     `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Accounts      []*Account `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*Accounts) Descriptor deprecated

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

Deprecated: Use Accounts.ProtoReflect.Descriptor instead.

func (*Accounts) GetAccounts

func (x *Accounts) GetAccounts() []*Account

func (*Accounts) GetNextPageToken

func (x *Accounts) GetNextPageToken() string

func (*Accounts) ProtoMessage

func (*Accounts) ProtoMessage()

func (*Accounts) ProtoReflect

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

func (*Accounts) Reset

func (x *Accounts) Reset()

func (*Accounts) String

func (x *Accounts) String() string

type ActivateAccountRequest

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

func (*ActivateAccountRequest) Descriptor deprecated

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

Deprecated: Use ActivateAccountRequest.ProtoReflect.Descriptor instead.

func (*ActivateAccountRequest) GetAccountId

func (x *ActivateAccountRequest) GetAccountId() string

func (*ActivateAccountRequest) GetToken

func (x *ActivateAccountRequest) GetToken() string

func (*ActivateAccountRequest) ProtoMessage

func (*ActivateAccountRequest) ProtoMessage()

func (*ActivateAccountRequest) ProtoReflect

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

func (*ActivateAccountRequest) Reset

func (x *ActivateAccountRequest) Reset()

func (*ActivateAccountRequest) String

func (x *ActivateAccountRequest) String() string

type ActivateAccountResponse

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

func (*ActivateAccountResponse) Descriptor deprecated

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

Deprecated: Use ActivateAccountResponse.ProtoReflect.Descriptor instead.

func (*ActivateAccountResponse) ProtoMessage

func (*ActivateAccountResponse) ProtoMessage()

func (*ActivateAccountResponse) ProtoReflect

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

func (*ActivateAccountResponse) Reset

func (x *ActivateAccountResponse) Reset()

func (*ActivateAccountResponse) String

func (x *ActivateAccountResponse) String() string

type AdminUpdateAccountRequest

type AdminUpdateAccountRequest struct {
	AccountId       string          `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AdminId         string          `protobuf:"bytes,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
	UpdateOperation UpdateOperation `` /* 140-byte string literal not displayed */
	Reason          string          `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	Payload         []string        `protobuf:"bytes,5,rep,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminUpdateAccountRequest) Descriptor deprecated

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

Deprecated: Use AdminUpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*AdminUpdateAccountRequest) GetAccountId

func (x *AdminUpdateAccountRequest) GetAccountId() string

func (*AdminUpdateAccountRequest) GetAdminId

func (x *AdminUpdateAccountRequest) GetAdminId() string

func (*AdminUpdateAccountRequest) GetPayload

func (x *AdminUpdateAccountRequest) GetPayload() []string

func (*AdminUpdateAccountRequest) GetReason

func (x *AdminUpdateAccountRequest) GetReason() string

func (*AdminUpdateAccountRequest) GetUpdateOperation

func (x *AdminUpdateAccountRequest) GetUpdateOperation() UpdateOperation

func (*AdminUpdateAccountRequest) ProtoMessage

func (*AdminUpdateAccountRequest) ProtoMessage()

func (*AdminUpdateAccountRequest) ProtoReflect

func (*AdminUpdateAccountRequest) Reset

func (x *AdminUpdateAccountRequest) Reset()

func (*AdminUpdateAccountRequest) String

func (x *AdminUpdateAccountRequest) String() string

type BatchGetAccountsRequest

type BatchGetAccountsRequest struct {
	AccountIds []string `protobuf:"bytes,1,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetAccountsRequest) Descriptor deprecated

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

Deprecated: Use BatchGetAccountsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetAccountsRequest) GetAccountIds

func (x *BatchGetAccountsRequest) GetAccountIds() []string

func (*BatchGetAccountsRequest) ProtoMessage

func (*BatchGetAccountsRequest) ProtoMessage()

func (*BatchGetAccountsRequest) ProtoReflect

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

func (*BatchGetAccountsRequest) Reset

func (x *BatchGetAccountsRequest) Reset()

func (*BatchGetAccountsRequest) String

func (x *BatchGetAccountsRequest) String() string

type BatchGetAccountsResponse

type BatchGetAccountsResponse struct {
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetAccountsResponse) Descriptor deprecated

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

Deprecated: Use BatchGetAccountsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetAccountsResponse) GetAccounts

func (x *BatchGetAccountsResponse) GetAccounts() []*Account

func (*BatchGetAccountsResponse) ProtoMessage

func (*BatchGetAccountsResponse) ProtoMessage()

func (*BatchGetAccountsResponse) ProtoReflect

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

func (*BatchGetAccountsResponse) Reset

func (x *BatchGetAccountsResponse) Reset()

func (*BatchGetAccountsResponse) String

func (x *BatchGetAccountsResponse) String() string

type CreateAccountRequest

type CreateAccountRequest struct {
	Account        *Account        `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	PrivateAccount *PrivateAccount `protobuf:"bytes,2,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"`
	UpdateOnly     bool            `protobuf:"varint,3,opt,name=update_only,json=updateOnly,proto3" json:"update_only,omitempty"`
	ByAdmin        bool            `protobuf:"varint,4,opt,name=by_admin,json=byAdmin,proto3" json:"by_admin,omitempty"`
	AdminId        string          `protobuf:"bytes,5,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
	Notify         bool            `protobuf:"varint,6,opt,name=notify,proto3" json:"notify,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetAccount

func (x *CreateAccountRequest) GetAccount() *Account

func (*CreateAccountRequest) GetAdminId

func (x *CreateAccountRequest) GetAdminId() string

func (*CreateAccountRequest) GetByAdmin

func (x *CreateAccountRequest) GetByAdmin() bool

func (*CreateAccountRequest) GetNotify

func (x *CreateAccountRequest) GetNotify() bool

func (*CreateAccountRequest) GetPrivateAccount

func (x *CreateAccountRequest) GetPrivateAccount() *PrivateAccount

func (*CreateAccountRequest) GetUpdateOnly

func (x *CreateAccountRequest) GetUpdateOnly() bool

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

func (*CreateAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetAccountId

func (x *CreateAccountResponse) GetAccountId() string

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 Criteria

type Criteria struct {
	Filter               bool     `protobuf:"varint,1,opt,name=filter,proto3" json:"filter,omitempty"`
	ShowActiveAccounts   bool     `protobuf:"varint,2,opt,name=show_active_accounts,json=showActiveAccounts,proto3" json:"show_active_accounts,omitempty"`
	ShowInactiveAccounts bool     `protobuf:"varint,3,opt,name=show_inactive_accounts,json=showInactiveAccounts,proto3" json:"show_inactive_accounts,omitempty"`
	ShowBlockedAccounts  bool     `protobuf:"varint,4,opt,name=show_blocked_accounts,json=showBlockedAccounts,proto3" json:"show_blocked_accounts,omitempty"`
	ShowMales            bool     `protobuf:"varint,5,opt,name=show_males,json=showMales,proto3" json:"show_males,omitempty"`
	ShowFemales          bool     `protobuf:"varint,6,opt,name=show_females,json=showFemales,proto3" json:"show_females,omitempty"`
	FilterCreationDate   bool     `protobuf:"varint,7,opt,name=filter_creation_date,json=filterCreationDate,proto3" json:"filter_creation_date,omitempty"`
	CreatedFrom          int64    `protobuf:"varint,8,opt,name=created_from,json=createdFrom,proto3" json:"created_from,omitempty"`
	CreatedUntil         int64    `protobuf:"varint,9,opt,name=created_until,json=createdUntil,proto3" json:"created_until,omitempty"`
	FilterAccountGroups  bool     `protobuf:"varint,10,opt,name=filter_account_groups,json=filterAccountGroups,proto3" json:"filter_account_groups,omitempty"`
	Groups               []string `protobuf:"bytes,11,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*Criteria) Descriptor deprecated

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

Deprecated: Use Criteria.ProtoReflect.Descriptor instead.

func (*Criteria) GetCreatedFrom

func (x *Criteria) GetCreatedFrom() int64

func (*Criteria) GetCreatedUntil

func (x *Criteria) GetCreatedUntil() int64

func (*Criteria) GetFilter

func (x *Criteria) GetFilter() bool

func (*Criteria) GetFilterAccountGroups

func (x *Criteria) GetFilterAccountGroups() bool

func (*Criteria) GetFilterCreationDate

func (x *Criteria) GetFilterCreationDate() bool

func (*Criteria) GetGroups

func (x *Criteria) GetGroups() []string

func (*Criteria) GetShowActiveAccounts

func (x *Criteria) GetShowActiveAccounts() bool

func (*Criteria) GetShowBlockedAccounts

func (x *Criteria) GetShowBlockedAccounts() bool

func (*Criteria) GetShowFemales

func (x *Criteria) GetShowFemales() bool

func (*Criteria) GetShowInactiveAccounts

func (x *Criteria) GetShowInactiveAccounts() bool

func (*Criteria) GetShowMales

func (x *Criteria) GetShowMales() bool

func (*Criteria) ProtoMessage

func (*Criteria) ProtoMessage()

func (*Criteria) ProtoReflect

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

func (*Criteria) Reset

func (x *Criteria) Reset()

func (*Criteria) String

func (x *Criteria) String() string

type DeleteAccountRequest

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

func (*DeleteAccountRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetAccountId

func (x *DeleteAccountRequest) GetAccountId() 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 ExistAccountRequest

type ExistAccountRequest struct {
	Email      string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Phone      string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistAccountRequest) Descriptor deprecated

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

Deprecated: Use ExistAccountRequest.ProtoReflect.Descriptor instead.

func (*ExistAccountRequest) GetEmail

func (x *ExistAccountRequest) GetEmail() string

func (*ExistAccountRequest) GetExternalId added in v0.6.0

func (x *ExistAccountRequest) GetExternalId() string

func (*ExistAccountRequest) GetPhone

func (x *ExistAccountRequest) GetPhone() string

func (*ExistAccountRequest) ProtoMessage

func (*ExistAccountRequest) ProtoMessage()

func (*ExistAccountRequest) ProtoReflect

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

func (*ExistAccountRequest) Reset

func (x *ExistAccountRequest) Reset()

func (*ExistAccountRequest) String

func (x *ExistAccountRequest) String() string

type ExistAccountResponse

type ExistAccountResponse struct {
	Exists    bool   `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistAccountResponse) Descriptor deprecated

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

Deprecated: Use ExistAccountResponse.ProtoReflect.Descriptor instead.

func (*ExistAccountResponse) GetAccountId

func (x *ExistAccountResponse) GetAccountId() string

func (*ExistAccountResponse) GetExists

func (x *ExistAccountResponse) GetExists() bool

func (*ExistAccountResponse) ProtoMessage

func (*ExistAccountResponse) ProtoMessage()

func (*ExistAccountResponse) ProtoReflect

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

func (*ExistAccountResponse) Reset

func (x *ExistAccountResponse) Reset()

func (*ExistAccountResponse) String

func (x *ExistAccountResponse) String() string

type GetAccountRequest

type GetAccountRequest struct {
	AccountId  string      `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	View       AccountView `protobuf:"varint,2,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"`
	Priviledge bool        `protobuf:"varint,3,opt,name=priviledge,proto3" json:"priviledge,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) GetPriviledge

func (x *GetAccountRequest) GetPriviledge() bool

func (*GetAccountRequest) GetView

func (x *GetAccountRequest) GetView() AccountView

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 GetLinkedAccountsRequest

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

func (*GetLinkedAccountsRequest) Descriptor deprecated

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

Deprecated: Use GetLinkedAccountsRequest.ProtoReflect.Descriptor instead.

func (*GetLinkedAccountsRequest) GetAccountId

func (x *GetLinkedAccountsRequest) GetAccountId() string

func (*GetLinkedAccountsRequest) ProtoMessage

func (*GetLinkedAccountsRequest) ProtoMessage()

func (*GetLinkedAccountsRequest) ProtoReflect

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

func (*GetLinkedAccountsRequest) Reset

func (x *GetLinkedAccountsRequest) Reset()

func (*GetLinkedAccountsRequest) String

func (x *GetLinkedAccountsRequest) String() string

type GetLinkedAccountsResponse

type GetLinkedAccountsResponse struct {
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkedAccountsResponse) Descriptor deprecated

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

Deprecated: Use GetLinkedAccountsResponse.ProtoReflect.Descriptor instead.

func (*GetLinkedAccountsResponse) GetAccounts

func (x *GetLinkedAccountsResponse) GetAccounts() []*Account

func (*GetLinkedAccountsResponse) ProtoMessage

func (*GetLinkedAccountsResponse) ProtoMessage()

func (*GetLinkedAccountsResponse) ProtoReflect

func (*GetLinkedAccountsResponse) Reset

func (x *GetLinkedAccountsResponse) Reset()

func (*GetLinkedAccountsResponse) String

func (x *GetLinkedAccountsResponse) String() string

type ListAccountsRequest

type ListAccountsRequest struct {
	PageToken    string      `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize     int32       `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	ListCriteria *Criteria   `protobuf:"bytes,3,opt,name=list_criteria,json=listCriteria,proto3" json:"list_criteria,omitempty"`
	View         AccountView `protobuf:"varint,4,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"`
	Priviledge   bool        `protobuf:"varint,5,opt,name=priviledge,proto3" json:"priviledge,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAccountsRequest) Descriptor deprecated

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

Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountsRequest) GetListCriteria

func (x *ListAccountsRequest) GetListCriteria() *Criteria

func (*ListAccountsRequest) GetPageSize

func (x *ListAccountsRequest) GetPageSize() int32

func (*ListAccountsRequest) GetPageToken

func (x *ListAccountsRequest) GetPageToken() string

func (*ListAccountsRequest) GetPriviledge

func (x *ListAccountsRequest) GetPriviledge() bool

func (*ListAccountsRequest) GetView

func (x *ListAccountsRequest) GetView() AccountView

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) ProtoReflect

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

func (*ListAccountsRequest) Reset

func (x *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String

func (x *ListAccountsRequest) String() string

type PrivateAccount

type PrivateAccount struct {
	Password         string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	ConfirmPassword  string `protobuf:"bytes,2,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"`
	SecurityQuestion string `protobuf:"bytes,3,opt,name=security_question,json=securityQuestion,proto3" json:"security_question,omitempty"`
	SecurityAnswer   string `protobuf:"bytes,4,opt,name=security_answer,json=securityAnswer,proto3" json:"security_answer,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateAccount) Descriptor deprecated

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

Deprecated: Use PrivateAccount.ProtoReflect.Descriptor instead.

func (*PrivateAccount) GetConfirmPassword

func (x *PrivateAccount) GetConfirmPassword() string

func (*PrivateAccount) GetPassword

func (x *PrivateAccount) GetPassword() string

func (*PrivateAccount) GetSecurityAnswer

func (x *PrivateAccount) GetSecurityAnswer() string

func (*PrivateAccount) GetSecurityQuestion

func (x *PrivateAccount) GetSecurityQuestion() string

func (*PrivateAccount) ProtoMessage

func (*PrivateAccount) ProtoMessage()

func (*PrivateAccount) ProtoReflect

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

func (*PrivateAccount) Reset

func (x *PrivateAccount) Reset()

func (*PrivateAccount) String

func (x *PrivateAccount) String() string

type RefreshSessionRequest

type RefreshSessionRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	AccountId    string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountGroup string `protobuf:"bytes,3,opt,name=account_group,json=accountGroup,proto3" json:"account_group,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshSessionRequest) Descriptor deprecated

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

Deprecated: Use RefreshSessionRequest.ProtoReflect.Descriptor instead.

func (*RefreshSessionRequest) GetAccountGroup

func (x *RefreshSessionRequest) GetAccountGroup() string

func (*RefreshSessionRequest) GetAccountId

func (x *RefreshSessionRequest) GetAccountId() string

func (*RefreshSessionRequest) GetRefreshToken

func (x *RefreshSessionRequest) GetRefreshToken() string

func (*RefreshSessionRequest) ProtoMessage

func (*RefreshSessionRequest) ProtoMessage()

func (*RefreshSessionRequest) ProtoReflect

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

func (*RefreshSessionRequest) Reset

func (x *RefreshSessionRequest) Reset()

func (*RefreshSessionRequest) String

func (x *RefreshSessionRequest) String() string

type RequestChangePrivateAccountRequest

type RequestChangePrivateAccountRequest struct {
	Payload     string               `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	FallbackUrl string               `protobuf:"bytes,2,opt,name=fallback_url,json=fallbackUrl,proto3" json:"fallback_url,omitempty"`
	SendMethod  messaging.SendMethod `protobuf:"varint,3,opt,name=send_method,json=sendMethod,proto3,enum=gidyon.apis.SendMethod" json:"send_method,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestChangePrivateAccountRequest) Descriptor deprecated

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

Deprecated: Use RequestChangePrivateAccountRequest.ProtoReflect.Descriptor instead.

func (*RequestChangePrivateAccountRequest) GetFallbackUrl

func (x *RequestChangePrivateAccountRequest) GetFallbackUrl() string

func (*RequestChangePrivateAccountRequest) GetPayload

func (*RequestChangePrivateAccountRequest) GetSendMethod

func (*RequestChangePrivateAccountRequest) ProtoMessage

func (*RequestChangePrivateAccountRequest) ProtoMessage()

func (*RequestChangePrivateAccountRequest) ProtoReflect

func (*RequestChangePrivateAccountRequest) Reset

func (*RequestChangePrivateAccountRequest) String

type RequestChangePrivateAccountResponse

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

func (*RequestChangePrivateAccountResponse) Descriptor deprecated

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

Deprecated: Use RequestChangePrivateAccountResponse.ProtoReflect.Descriptor instead.

func (*RequestChangePrivateAccountResponse) GetResponseMessage

func (x *RequestChangePrivateAccountResponse) GetResponseMessage() string

func (*RequestChangePrivateAccountResponse) ProtoMessage

func (*RequestChangePrivateAccountResponse) ProtoMessage()

func (*RequestChangePrivateAccountResponse) ProtoReflect

func (*RequestChangePrivateAccountResponse) Reset

func (*RequestChangePrivateAccountResponse) String

type SearchAccountsRequest

type SearchAccountsRequest struct {
	Query                string      `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	PageToken            string      `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize             int32       `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	SearchLinkedAccounts bool        `protobuf:"varint,4,opt,name=search_linked_accounts,json=searchLinkedAccounts,proto3" json:"search_linked_accounts,omitempty"`
	SearchCriteria       *Criteria   `protobuf:"bytes,5,opt,name=search_criteria,json=searchCriteria,proto3" json:"search_criteria,omitempty"`
	View                 AccountView `protobuf:"varint,6,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchAccountsRequest) Descriptor deprecated

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

Deprecated: Use SearchAccountsRequest.ProtoReflect.Descriptor instead.

func (*SearchAccountsRequest) GetPageSize

func (x *SearchAccountsRequest) GetPageSize() int32

func (*SearchAccountsRequest) GetPageToken

func (x *SearchAccountsRequest) GetPageToken() string

func (*SearchAccountsRequest) GetQuery

func (x *SearchAccountsRequest) GetQuery() string

func (*SearchAccountsRequest) GetSearchCriteria

func (x *SearchAccountsRequest) GetSearchCriteria() *Criteria

func (*SearchAccountsRequest) GetSearchLinkedAccounts

func (x *SearchAccountsRequest) GetSearchLinkedAccounts() bool

func (*SearchAccountsRequest) GetView

func (x *SearchAccountsRequest) GetView() AccountView

func (*SearchAccountsRequest) ProtoMessage

func (*SearchAccountsRequest) ProtoMessage()

func (*SearchAccountsRequest) ProtoReflect

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

func (*SearchAccountsRequest) Reset

func (x *SearchAccountsRequest) Reset()

func (*SearchAccountsRequest) String

func (x *SearchAccountsRequest) String() string

type SignInExternalRequest

type SignInExternalRequest struct {
	Account   *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	AuthToken string   `protobuf:"bytes,2,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInExternalRequest) Descriptor deprecated

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

Deprecated: Use SignInExternalRequest.ProtoReflect.Descriptor instead.

func (*SignInExternalRequest) GetAccount

func (x *SignInExternalRequest) GetAccount() *Account

func (*SignInExternalRequest) GetAuthToken

func (x *SignInExternalRequest) GetAuthToken() string

func (*SignInExternalRequest) ProtoMessage

func (*SignInExternalRequest) ProtoMessage()

func (*SignInExternalRequest) ProtoReflect

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

func (*SignInExternalRequest) Reset

func (x *SignInExternalRequest) Reset()

func (*SignInExternalRequest) String

func (x *SignInExternalRequest) String() string

type SignInRequest

type SignInRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Group    string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInRequest) Descriptor deprecated

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

Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.

func (*SignInRequest) GetGroup

func (x *SignInRequest) GetGroup() string

func (*SignInRequest) GetPassword

func (x *SignInRequest) GetPassword() string

func (*SignInRequest) GetUsername

func (x *SignInRequest) GetUsername() string

func (*SignInRequest) ProtoMessage

func (*SignInRequest) ProtoMessage()

func (*SignInRequest) ProtoReflect

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

func (*SignInRequest) Reset

func (x *SignInRequest) Reset()

func (*SignInRequest) String

func (x *SignInRequest) String() string

type SignInResponse

type SignInResponse struct {
	SessionId    string       `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	AccountId    string       `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Token        string       `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	RefreshToken string       `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	Group        string       `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
	State        AccountState `protobuf:"varint,6,opt,name=state,proto3,enum=gidyon.apis.AccountState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInResponse) Descriptor deprecated

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

Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.

func (*SignInResponse) GetAccountId

func (x *SignInResponse) GetAccountId() string

func (*SignInResponse) GetGroup

func (x *SignInResponse) GetGroup() string

func (*SignInResponse) GetRefreshToken

func (x *SignInResponse) GetRefreshToken() string

func (*SignInResponse) GetSessionId

func (x *SignInResponse) GetSessionId() string

func (*SignInResponse) GetState

func (x *SignInResponse) GetState() AccountState

func (*SignInResponse) GetToken

func (x *SignInResponse) GetToken() string

func (*SignInResponse) ProtoMessage

func (*SignInResponse) ProtoMessage()

func (*SignInResponse) ProtoReflect

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

func (*SignInResponse) Reset

func (x *SignInResponse) Reset()

func (*SignInResponse) String

func (x *SignInResponse) String() string

type UnimplementedAccountAPIServer

type UnimplementedAccountAPIServer struct {
}

UnimplementedAccountAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountAPIServer) ActivateAccount

func (*UnimplementedAccountAPIServer) AdminUpdateAccount

func (*UnimplementedAccountAPIServer) BatchGetAccounts

func (*UnimplementedAccountAPIServer) CreateAccount

func (*UnimplementedAccountAPIServer) DeleteAccount

func (*UnimplementedAccountAPIServer) ExistAccount

func (*UnimplementedAccountAPIServer) GetAccount

func (*UnimplementedAccountAPIServer) GetLinkedAccounts

func (*UnimplementedAccountAPIServer) ListAccounts

func (*UnimplementedAccountAPIServer) RefreshSession

func (*UnimplementedAccountAPIServer) SearchAccounts

func (*UnimplementedAccountAPIServer) SignIn

func (*UnimplementedAccountAPIServer) SignInExternal

func (*UnimplementedAccountAPIServer) UpdateAccount

func (*UnimplementedAccountAPIServer) UpdatePrivateAccount

type UpdateAccountRequest

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

func (*UpdateAccountRequest) Descriptor deprecated

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

Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountRequest) GetAccount

func (x *UpdateAccountRequest) GetAccount() *Account

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 UpdateOperation

type UpdateOperation int32

UpdateOperation

const (
	UpdateOperation_UPDATE_OPERATION_INSPECIFIED UpdateOperation = 0
	UpdateOperation_UNDELETE                     UpdateOperation = 1
	UpdateOperation_DELETE                       UpdateOperation = 2
	UpdateOperation_UNBLOCK                      UpdateOperation = 3
	UpdateOperation_BLOCK                        UpdateOperation = 4
	UpdateOperation_CHANGE_GROUP                 UpdateOperation = 5
	UpdateOperation_ADMIN_ACTIVATE               UpdateOperation = 6
)

func (UpdateOperation) Descriptor

func (UpdateOperation) Enum

func (x UpdateOperation) Enum() *UpdateOperation

func (UpdateOperation) EnumDescriptor deprecated

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

Deprecated: Use UpdateOperation.Descriptor instead.

func (UpdateOperation) Number

func (UpdateOperation) String

func (x UpdateOperation) String() string

func (UpdateOperation) Type

type UpdatePrivateAccountRequest

type UpdatePrivateAccountRequest struct {
	AccountId      string          `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	PrivateAccount *PrivateAccount `protobuf:"bytes,2,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"`
	ChangeToken    string          `protobuf:"bytes,3,opt,name=change_token,json=changeToken,proto3" json:"change_token,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePrivateAccountRequest) Descriptor deprecated

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

Deprecated: Use UpdatePrivateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdatePrivateAccountRequest) GetAccountId

func (x *UpdatePrivateAccountRequest) GetAccountId() string

func (*UpdatePrivateAccountRequest) GetChangeToken

func (x *UpdatePrivateAccountRequest) GetChangeToken() string

func (*UpdatePrivateAccountRequest) GetPrivateAccount

func (x *UpdatePrivateAccountRequest) GetPrivateAccount() *PrivateAccount

func (*UpdatePrivateAccountRequest) ProtoMessage

func (*UpdatePrivateAccountRequest) ProtoMessage()

func (*UpdatePrivateAccountRequest) ProtoReflect

func (*UpdatePrivateAccountRequest) Reset

func (x *UpdatePrivateAccountRequest) Reset()

func (*UpdatePrivateAccountRequest) String

func (x *UpdatePrivateAccountRequest) String() string

Jump to

Keyboard shortcuts

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