Documentation ¶
Index ¶
- Variables
- type APIModeParams
- func (*APIModeParams) Descriptor() ([]byte, []int)deprecated
- func (x *APIModeParams) GetAuthParams() *AuthParams
- func (x *APIModeParams) GetPath() string
- func (x *APIModeParams) GetUrl() string
- func (*APIModeParams) ProtoMessage()
- func (x *APIModeParams) ProtoReflect() protoreflect.Message
- func (x *APIModeParams) Reset()
- func (x *APIModeParams) String() string
- type AuthParams
- func (*AuthParams) Descriptor() ([]byte, []int)deprecated
- func (x *AuthParams) GetAuthMethod() enums1.AuthMethod
- func (x *AuthParams) GetPassword() string
- func (x *AuthParams) GetUsername() string
- func (*AuthParams) ProtoMessage()
- func (x *AuthParams) ProtoReflect() protoreflect.Message
- func (x *AuthParams) Reset()
- func (x *AuthParams) String() string
- type ClientQueryOption
- func (*ClientQueryOption) Descriptor() ([]byte, []int)deprecated
- func (x *ClientQueryOption) GetId() uint64
- func (x *ClientQueryOption) GetPaginator() *paginator.Paginator
- func (x *ClientQueryOption) GetPath() string
- func (x *ClientQueryOption) GetServerPartyId() string
- func (x *ClientQueryOption) GetServiceId() uint64
- func (x *ClientQueryOption) GetStatus() enums.PirService_Status
- func (x *ClientQueryOption) GetStatusIn() []enums.PirService_Status
- func (x *ClientQueryOption) GetToken() string
- func (*ClientQueryOption) ProtoMessage()
- func (x *ClientQueryOption) ProtoReflect() protoreflect.Message
- func (x *ClientQueryOption) Reset()
- func (x *ClientQueryOption) String() string
- type ClientServiceTakeActionRequest
- func (*ClientServiceTakeActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClientServiceTakeActionRequest) GetAction() string
- func (x *ClientServiceTakeActionRequest) GetServiceIdStr() string
- func (x *ClientServiceTakeActionRequest) GetToken() string
- func (*ClientServiceTakeActionRequest) ProtoMessage()
- func (x *ClientServiceTakeActionRequest) ProtoReflect() protoreflect.Message
- func (x *ClientServiceTakeActionRequest) Reset()
- func (x *ClientServiceTakeActionRequest) String() string
- type ClientServiceTakeActionResponse
- func (*ClientServiceTakeActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClientServiceTakeActionResponse) GetData() *PirClient
- func (*ClientServiceTakeActionResponse) ProtoMessage()
- func (x *ClientServiceTakeActionResponse) ProtoReflect() protoreflect.Message
- func (x *ClientServiceTakeActionResponse) Reset()
- func (x *ClientServiceTakeActionResponse) String() string
- type ClientUsageModel
- func (*ClientUsageModel) Descriptor() ([]byte, []int)deprecated
- func (x *ClientUsageModel) GetApiRequest() string
- func (x *ClientUsageModel) GetApiResponse() string
- func (x *ClientUsageModel) GetCreatedTs() int64
- func (x *ClientUsageModel) GetRequestCount() uint64
- func (x *ClientUsageModel) GetRequestId() string
- func (x *ClientUsageModel) GetServiceId() uint64
- func (x *ClientUsageModel) GetSucceeded() bool
- func (x *ClientUsageModel) GetToken() string
- func (x *ClientUsageModel) GetUsageCount() uint64
- func (*ClientUsageModel) ProtoMessage()
- func (x *ClientUsageModel) ProtoReflect() protoreflect.Message
- func (x *ClientUsageModel) Reset()
- func (x *ClientUsageModel) String() string
- type ClientUsageQueryOptions
- func (*ClientUsageQueryOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ClientUsageQueryOptions) GetPaginator() *paginator.Paginator
- func (x *ClientUsageQueryOptions) GetServiceIdStr() string
- func (x *ClientUsageQueryOptions) GetToken() string
- func (*ClientUsageQueryOptions) ProtoMessage()
- func (x *ClientUsageQueryOptions) ProtoReflect() protoreflect.Message
- func (x *ClientUsageQueryOptions) Reset()
- func (x *ClientUsageQueryOptions) String() string
- type CreatePirClientServiceRequest
- func (*CreatePirClientServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePirClientServiceRequest) GetPirClient() *PirClient
- func (x *CreatePirClientServiceRequest) GetServiceIdStr() string
- func (*CreatePirClientServiceRequest) ProtoMessage()
- func (x *CreatePirClientServiceRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePirClientServiceRequest) Reset()
- func (x *CreatePirClientServiceRequest) String() string
- type CreatePirClientServiceResponse
- func (*CreatePirClientServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePirClientServiceResponse) GetData() *PirClientModel
- func (*CreatePirClientServiceResponse) ProtoMessage()
- func (x *CreatePirClientServiceResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePirClientServiceResponse) Reset()
- func (x *CreatePirClientServiceResponse) String() string
- type CreateServerServiceRequest
- func (*CreateServerServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerServiceRequest) GetPirServer() *PirServer
- func (*CreateServerServiceRequest) ProtoMessage()
- func (x *CreateServerServiceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServerServiceRequest) Reset()
- func (x *CreateServerServiceRequest) String() string
- type CreateServerServiceResponse
- func (*CreateServerServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerServiceResponse) GetData() *PirServerModel
- func (*CreateServerServiceResponse) ProtoMessage()
- func (x *CreateServerServiceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateServerServiceResponse) Reset()
- func (x *CreateServerServiceResponse) String() string
- type DataModeParams
- func (*DataModeParams) Descriptor() ([]byte, []int)deprecated
- func (x *DataModeParams) GetApiParams() *APIModeParams
- func (x *DataModeParams) GetMysqlParams() *MysqlModeParams
- func (m *DataModeParams) GetParams() isDataModeParams_Params
- func (x *DataModeParams) GetVtableParams() *VtableModeParams
- func (*DataModeParams) ProtoMessage()
- func (x *DataModeParams) ProtoReflect() protoreflect.Message
- func (x *DataModeParams) Reset()
- func (x *DataModeParams) String() string
- type DataModeParams_ApiParams
- type DataModeParams_MysqlParams
- type DataModeParams_VtableParams
- type DeleteClientServiceRequest
- func (*DeleteClientServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClientServiceRequest) GetId() uint64
- func (x *DeleteClientServiceRequest) GetServiceIdStr() stringdeprecated
- func (x *DeleteClientServiceRequest) GetToken() stringdeprecated
- func (*DeleteClientServiceRequest) ProtoMessage()
- func (x *DeleteClientServiceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClientServiceRequest) Reset()
- func (x *DeleteClientServiceRequest) String() string
- type DeleteServerServiceRequest
- func (*DeleteServerServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServerServiceRequest) GetId() uint64
- func (x *DeleteServerServiceRequest) GetServiceIdStr() stringdeprecated
- func (*DeleteServerServiceRequest) ProtoMessage()
- func (x *DeleteServerServiceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServerServiceRequest) Reset()
- func (x *DeleteServerServiceRequest) String() string
- type GetClientUsagesRequest
- func (*GetClientUsagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientUsagesRequest) GetQuery() *ClientUsageQueryOptions
- func (*GetClientUsagesRequest) ProtoMessage()
- func (x *GetClientUsagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetClientUsagesRequest) Reset()
- func (x *GetClientUsagesRequest) String() string
- type GetClientUsagesResponse
- func (*GetClientUsagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientUsagesResponse) GetData() []*ClientUsageModel
- func (x *GetClientUsagesResponse) GetTotal() int64
- func (*GetClientUsagesResponse) ProtoMessage()
- func (x *GetClientUsagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetClientUsagesResponse) Reset()
- func (x *GetClientUsagesResponse) String() string
- type GetPirClientServicesRequst
- func (*GetPirClientServicesRequst) Descriptor() ([]byte, []int)deprecated
- func (x *GetPirClientServicesRequst) GetQuery() *ClientQueryOption
- func (*GetPirClientServicesRequst) ProtoMessage()
- func (x *GetPirClientServicesRequst) ProtoReflect() protoreflect.Message
- func (x *GetPirClientServicesRequst) Reset()
- func (x *GetPirClientServicesRequst) String() string
- type GetPirClientServicesResponse
- func (*GetPirClientServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPirClientServicesResponse) GetData() []*PirClient
- func (x *GetPirClientServicesResponse) GetTotal() int64
- func (*GetPirClientServicesResponse) ProtoMessage()
- func (x *GetPirClientServicesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPirClientServicesResponse) Reset()
- func (x *GetPirClientServicesResponse) String() string
- type GetServerServicesRequest
- func (*GetServerServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerServicesRequest) GetQuery() *ServerQueryOption
- func (*GetServerServicesRequest) ProtoMessage()
- func (x *GetServerServicesRequest) ProtoReflect() protoreflect.Message
- func (x *GetServerServicesRequest) Reset()
- func (x *GetServerServicesRequest) String() string
- type GetServerServicesResponse
- func (*GetServerServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerServicesResponse) GetData() []*PirServer
- func (x *GetServerServicesResponse) GetTotal() int64
- func (*GetServerServicesResponse) ProtoMessage()
- func (x *GetServerServicesResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerServicesResponse) Reset()
- func (x *GetServerServicesResponse) String() string
- type GetServerUsagesRequest
- func (*GetServerUsagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerUsagesRequest) GetQuery() *ServerUsageQueryOptions
- func (*GetServerUsagesRequest) ProtoMessage()
- func (x *GetServerUsagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetServerUsagesRequest) Reset()
- func (x *GetServerUsagesRequest) String() string
- type GetServerUsagesResponse
- func (*GetServerUsagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerUsagesResponse) GetData() []*ServerUsageModel
- func (x *GetServerUsagesResponse) GetTotal() int64
- func (*GetServerUsagesResponse) ProtoMessage()
- func (x *GetServerUsagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerUsagesResponse) Reset()
- func (x *GetServerUsagesResponse) String() string
- type MysqlModeParams
- func (*MysqlModeParams) Descriptor() ([]byte, []int)deprecated
- func (x *MysqlModeParams) GetOriginData() string
- func (x *MysqlModeParams) GetOutputData() string
- func (*MysqlModeParams) ProtoMessage()
- func (x *MysqlModeParams) ProtoReflect() protoreflect.Message
- func (x *MysqlModeParams) Reset()
- func (x *MysqlModeParams) String() string
- type PirClient
- func (*PirClient) Descriptor() ([]byte, []int)deprecated
- func (x *PirClient) GetCreatedTs() int64
- func (x *PirClient) GetDataMode() enums1.DataMode
- func (x *PirClient) GetDataModeParams() *DataModeParams
- func (x *PirClient) GetDescription() string
- func (x *PirClient) GetFactor3SDetail() bool
- func (x *PirClient) GetId() uint64
- func (x *PirClient) GetIndiscernibilityDegree() uint64
- func (x *PirClient) GetKeyColumns() []string
- func (x *PirClient) GetLabelColumns() []string
- func (x *PirClient) GetMessage() string
- func (x *PirClient) GetName() string
- func (x *PirClient) GetOperatorId() uint64
- func (x *PirClient) GetOwnerUserId() uint64
- func (x *PirClient) GetOwnerUserName() string
- func (x *PirClient) GetPath() string
- func (x *PirClient) GetProgress() float32
- func (x *PirClient) GetServerOpHost() string
- func (x *PirClient) GetServerOpPort() uint32
- func (x *PirClient) GetServerPartyId() string
- func (x *PirClient) GetServerPath() string
- func (x *PirClient) GetServiceId() uint64
- func (x *PirClient) GetStatus() enums.PirService_Status
- func (x *PirClient) GetToken() string
- func (x *PirClient) GetType() enums1.SVCType
- func (x *PirClient) GetUpdatedTs() uint64
- func (*PirClient) ProtoMessage()
- func (x *PirClient) ProtoReflect() protoreflect.Message
- func (x *PirClient) Reset()
- func (x *PirClient) String() string
- type PirClientModel
- func (*PirClientModel) Descriptor() ([]byte, []int)deprecated
- func (x *PirClientModel) GetCreatedTs() int64
- func (x *PirClientModel) GetDataMode() enums1.DataMode
- func (x *PirClientModel) GetDataModeParams() *DataModeParams
- func (x *PirClientModel) GetDescription() string
- func (x *PirClientModel) GetFactor3SDetail() bool
- func (x *PirClientModel) GetId() uint64
- func (x *PirClientModel) GetIndiscernibilityDegree() uint64
- func (x *PirClientModel) GetKeyColumns() string
- func (x *PirClientModel) GetLabelColumns() string
- func (x *PirClientModel) GetMessage() string
- func (x *PirClientModel) GetName() string
- func (x *PirClientModel) GetOperatorId() uint64
- func (x *PirClientModel) GetOwnerUserId() uint64
- func (x *PirClientModel) GetOwnerUserName() string
- func (x *PirClientModel) GetPath() string
- func (x *PirClientModel) GetProgress() float32
- func (x *PirClientModel) GetServerOpHost() string
- func (x *PirClientModel) GetServerOpPort() uint32
- func (x *PirClientModel) GetServerPartyId() string
- func (x *PirClientModel) GetServerPath() string
- func (x *PirClientModel) GetServiceId() uint64
- func (x *PirClientModel) GetStatus() enums.PirService_Status
- func (x *PirClientModel) GetToken() string
- func (x *PirClientModel) GetType() enums1.SVCType
- func (x *PirClientModel) GetUpdatedTs() uint64
- func (*PirClientModel) ProtoMessage()
- func (x *PirClientModel) ProtoReflect() protoreflect.Message
- func (x *PirClientModel) Reset()
- func (x *PirClientModel) String() string
- type PirRequest
- func (*PirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PirRequest) GetDataMode() enums1.DataMode
- func (x *PirRequest) GetKeys() []*PirRequest_KeyColumn
- func (x *PirRequest) GetRequestId() string
- func (x *PirRequest) GetServiceId() uint64
- func (x *PirRequest) GetSubPath() string
- func (x *PirRequest) GetToken() string
- func (*PirRequest) ProtoMessage()
- func (x *PirRequest) ProtoReflect() protoreflect.Message
- func (x *PirRequest) Reset()
- func (x *PirRequest) String() string
- type PirRequest_KeyColumn
- func (*PirRequest_KeyColumn) Descriptor() ([]byte, []int)deprecated
- func (x *PirRequest_KeyColumn) GetValues() []string
- func (*PirRequest_KeyColumn) ProtoMessage()
- func (x *PirRequest_KeyColumn) ProtoReflect() protoreflect.Message
- func (x *PirRequest_KeyColumn) Reset()
- func (x *PirRequest_KeyColumn) String() string
- type PirResponse
- func (*PirResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PirResponse) GetData() []*PirSingleResponse
- func (x *PirResponse) GetKeyColumns() []string
- func (x *PirResponse) GetLabelColumns() []string
- func (x *PirResponse) GetRequestCount() uint64
- func (x *PirResponse) GetRequestId() string
- func (x *PirResponse) GetUsageCount() uint64
- func (*PirResponse) ProtoMessage()
- func (x *PirResponse) ProtoReflect() protoreflect.Message
- func (x *PirResponse) Reset()
- func (x *PirResponse) String() string
- type PirServer
- func (*PirServer) Descriptor() ([]byte, []int)deprecated
- func (x *PirServer) GetBucketCount() uint64
- func (x *PirServer) GetCreatedTs() int64
- func (x *PirServer) GetDataMode() enums1.DataMode
- func (x *PirServer) GetDataModeParams() *DataModeParams
- func (x *PirServer) GetDescription() string
- func (x *PirServer) GetId() uint64
- func (x *PirServer) GetIndiscernibilityDegree() uint64
- func (x *PirServer) GetKeyColumns() []string
- func (x *PirServer) GetLabelColumns() []string
- func (x *PirServer) GetMessage() string
- func (x *PirServer) GetName() string
- func (x *PirServer) GetOpHost() string
- func (x *PirServer) GetOpPort() uint32
- func (x *PirServer) GetOperatorId() uint64
- func (x *PirServer) GetOwnerUserId() uint64
- func (x *PirServer) GetOwnerUserName() string
- func (x *PirServer) GetPath() string
- func (x *PirServer) GetProgress() float32
- func (x *PirServer) GetServiceId() uint64
- func (x *PirServer) GetSkipEncrypt() bool
- func (x *PirServer) GetStatus() enums.PirService_Status
- func (x *PirServer) GetType() enums1.SVCType
- func (x *PirServer) GetUpdatedTs() int64
- func (x *PirServer) GetVtableAdditionalInfo() *PirServerVtableAdditionalInfo
- func (x *PirServer) GetVtableId() uint64deprecated
- func (*PirServer) ProtoMessage()
- func (x *PirServer) ProtoReflect() protoreflect.Message
- func (x *PirServer) Reset()
- func (x *PirServer) String() string
- type PirServerModel
- func (*PirServerModel) Descriptor() ([]byte, []int)deprecated
- func (x *PirServerModel) GetBucketCount() uint64
- func (x *PirServerModel) GetCreatedTs() int64
- func (x *PirServerModel) GetDataMode() enums1.DataMode
- func (x *PirServerModel) GetDataModeParams() *DataModeParams
- func (x *PirServerModel) GetDescription() string
- func (x *PirServerModel) GetId() uint64
- func (x *PirServerModel) GetIndiscernibilityDegree() uint64
- func (x *PirServerModel) GetKeyColumns() string
- func (x *PirServerModel) GetLabelColumns() string
- func (x *PirServerModel) GetMessage() string
- func (x *PirServerModel) GetName() string
- func (x *PirServerModel) GetOpHost() string
- func (x *PirServerModel) GetOpPort() uint32
- func (x *PirServerModel) GetOperatorId() uint64
- func (x *PirServerModel) GetOwnerUserId() uint64
- func (x *PirServerModel) GetOwnerUserName() string
- func (x *PirServerModel) GetPath() string
- func (x *PirServerModel) GetProgress() float32
- func (x *PirServerModel) GetServiceId() uint64
- func (x *PirServerModel) GetSkipEncrypt() bool
- func (x *PirServerModel) GetStatus() enums.PirService_Status
- func (x *PirServerModel) GetType() enums1.SVCType
- func (x *PirServerModel) GetUpdatedTs() int64
- func (x *PirServerModel) GetVtableId() uint64
- func (*PirServerModel) ProtoMessage()
- func (x *PirServerModel) ProtoReflect() protoreflect.Message
- func (x *PirServerModel) Reset()
- func (x *PirServerModel) String() string
- type PirServerVtableAdditionalInfo
- func (*PirServerVtableAdditionalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PirServerVtableAdditionalInfo) GetDataColumn() uint64
- func (x *PirServerVtableAdditionalInfo) GetDataSize() uint64
- func (x *PirServerVtableAdditionalInfo) GetName() string
- func (*PirServerVtableAdditionalInfo) ProtoMessage()
- func (x *PirServerVtableAdditionalInfo) ProtoReflect() protoreflect.Message
- func (x *PirServerVtableAdditionalInfo) Reset()
- func (x *PirServerVtableAdditionalInfo) String() string
- type PirSingleResponse
- func (*PirSingleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PirSingleResponse) GetCode() PirSingleResponse_Status
- func (x *PirSingleResponse) GetInfo() []string
- func (x *PirSingleResponse) GetKeys() []string
- func (*PirSingleResponse) ProtoMessage()
- func (x *PirSingleResponse) ProtoReflect() protoreflect.Message
- func (x *PirSingleResponse) Reset()
- func (x *PirSingleResponse) String() string
- type PirSingleResponse_Status
- func (PirSingleResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x PirSingleResponse_Status) Enum() *PirSingleResponse_Status
- func (PirSingleResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x PirSingleResponse_Status) Number() protoreflect.EnumNumber
- func (x PirSingleResponse_Status) String() string
- func (PirSingleResponse_Status) Type() protoreflect.EnumType
- type ServerQueryOption
- func (*ServerQueryOption) Descriptor() ([]byte, []int)deprecated
- func (x *ServerQueryOption) GetId() uint64
- func (x *ServerQueryOption) GetPaginator() *paginator.Paginator
- func (x *ServerQueryOption) GetServiceId() uint64
- func (x *ServerQueryOption) GetStatus() enums.PirService_Status
- func (*ServerQueryOption) ProtoMessage()
- func (x *ServerQueryOption) ProtoReflect() protoreflect.Message
- func (x *ServerQueryOption) Reset()
- func (x *ServerQueryOption) String() string
- type ServerServiceTakeActionRequest
- func (*ServerServiceTakeActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServerServiceTakeActionRequest) GetAction() string
- func (x *ServerServiceTakeActionRequest) GetServiceIdStr() string
- func (*ServerServiceTakeActionRequest) ProtoMessage()
- func (x *ServerServiceTakeActionRequest) ProtoReflect() protoreflect.Message
- func (x *ServerServiceTakeActionRequest) Reset()
- func (x *ServerServiceTakeActionRequest) String() string
- type ServerServiceTakeActionResponse
- func (*ServerServiceTakeActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerServiceTakeActionResponse) GetData() *PirServer
- func (*ServerServiceTakeActionResponse) ProtoMessage()
- func (x *ServerServiceTakeActionResponse) ProtoReflect() protoreflect.Message
- func (x *ServerServiceTakeActionResponse) Reset()
- func (x *ServerServiceTakeActionResponse) String() string
- type ServerUsageModel
- func (*ServerUsageModel) Descriptor() ([]byte, []int)deprecated
- func (x *ServerUsageModel) GetClientPartyId() string
- func (x *ServerUsageModel) GetCreatedTs() int64
- func (x *ServerUsageModel) GetRequestCount() uint64
- func (x *ServerUsageModel) GetRequestId() string
- func (x *ServerUsageModel) GetServiceId() uint64
- func (x *ServerUsageModel) GetSucceeded() bool
- func (x *ServerUsageModel) GetToken() string
- func (x *ServerUsageModel) GetUsageCount() uint64
- func (*ServerUsageModel) ProtoMessage()
- func (x *ServerUsageModel) ProtoReflect() protoreflect.Message
- func (x *ServerUsageModel) Reset()
- func (x *ServerUsageModel) String() string
- type ServerUsageQueryOptions
- func (*ServerUsageQueryOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ServerUsageQueryOptions) GetClientPartyId() string
- func (x *ServerUsageQueryOptions) GetPaginator() *paginator.Paginator
- func (x *ServerUsageQueryOptions) GetServiceIdStr() string
- func (x *ServerUsageQueryOptions) GetToken() string
- func (*ServerUsageQueryOptions) ProtoMessage()
- func (x *ServerUsageQueryOptions) ProtoReflect() protoreflect.Message
- func (x *ServerUsageQueryOptions) Reset()
- func (x *ServerUsageQueryOptions) String() string
- type UpdatePirClientServiceRequest
- func (*UpdatePirClientServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePirClientServiceRequest) GetOldToken() stringdeprecated
- func (x *UpdatePirClientServiceRequest) GetPirClient() *PirClient
- func (x *UpdatePirClientServiceRequest) GetServiceIdStr() stringdeprecated
- func (*UpdatePirClientServiceRequest) ProtoMessage()
- func (x *UpdatePirClientServiceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePirClientServiceRequest) Reset()
- func (x *UpdatePirClientServiceRequest) String() string
- type UpdateServerDataRequest
- func (*UpdateServerDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerDataRequest) GetDataModeParams() *DataModeParams
- func (x *UpdateServerDataRequest) GetId() uint64
- func (*UpdateServerDataRequest) ProtoMessage()
- func (x *UpdateServerDataRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServerDataRequest) Reset()
- func (x *UpdateServerDataRequest) String() string
- type UpdateServerDataResponse
- func (*UpdateServerDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerDataResponse) GetMsg() string
- func (x *UpdateServerDataResponse) GetStatus() UpdateServerDataResponse_Status
- func (*UpdateServerDataResponse) ProtoMessage()
- func (x *UpdateServerDataResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateServerDataResponse) Reset()
- func (x *UpdateServerDataResponse) String() string
- type UpdateServerDataResponse_Status
- func (UpdateServerDataResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateServerDataResponse_Status) Enum() *UpdateServerDataResponse_Status
- func (UpdateServerDataResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateServerDataResponse_Status) Number() protoreflect.EnumNumber
- func (x UpdateServerDataResponse_Status) String() string
- func (UpdateServerDataResponse_Status) Type() protoreflect.EnumType
- type UpdateServerServiceRequest
- func (*UpdateServerServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerServiceRequest) GetPirServer() *PirServer
- func (x *UpdateServerServiceRequest) GetServiceIdStr() string
- func (*UpdateServerServiceRequest) ProtoMessage()
- func (x *UpdateServerServiceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServerServiceRequest) Reset()
- func (x *UpdateServerServiceRequest) String() string
- type VtableModeParams
Constants ¶
This section is empty.
Variables ¶
var ( PirSingleResponse_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "HIT", 2: "UNHIT", 3: "FAILED", } PirSingleResponse_Status_value = map[string]int32{ "UNKNOWN": 0, "HIT": 1, "UNHIT": 2, "FAILED": 3, } )
Enum value maps for PirSingleResponse_Status.
var ( UpdateServerDataResponse_Status_name = map[int32]string{ 0: "UNKNOWN_STATUS", 1: "SUCCESS", 2: "FAILED", } UpdateServerDataResponse_Status_value = map[string]int32{ "UNKNOWN_STATUS": 0, "SUCCESS": 1, "FAILED": 2, } )
Enum value maps for UpdateServerDataResponse_Status.
var File_sudo_mpc_virtual_service_platform_pir_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type APIModeParams ¶
type APIModeParams struct { // example: http://xxx.com:8080 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // example: /api/xxx Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` AuthParams *AuthParams `protobuf:"bytes,4,opt,name=auth_params,json=authParams,proto3" json:"auth_params,omitempty"` // contains filtered or unexported fields }
func (*APIModeParams) Descriptor
deprecated
func (*APIModeParams) Descriptor() ([]byte, []int)
Deprecated: Use APIModeParams.ProtoReflect.Descriptor instead.
func (*APIModeParams) GetAuthParams ¶
func (x *APIModeParams) GetAuthParams() *AuthParams
func (*APIModeParams) GetPath ¶
func (x *APIModeParams) GetPath() string
func (*APIModeParams) GetUrl ¶
func (x *APIModeParams) GetUrl() string
func (*APIModeParams) ProtoMessage ¶
func (*APIModeParams) ProtoMessage()
func (*APIModeParams) ProtoReflect ¶
func (x *APIModeParams) ProtoReflect() protoreflect.Message
func (*APIModeParams) Reset ¶
func (x *APIModeParams) Reset()
func (*APIModeParams) String ¶
func (x *APIModeParams) String() string
type AuthParams ¶
type AuthParams struct { AuthMethod enums1.AuthMethod `` /* 136-byte string literal not displayed */ Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*AuthParams) Descriptor
deprecated
func (*AuthParams) Descriptor() ([]byte, []int)
Deprecated: Use AuthParams.ProtoReflect.Descriptor instead.
func (*AuthParams) GetAuthMethod ¶
func (x *AuthParams) GetAuthMethod() enums1.AuthMethod
func (*AuthParams) GetPassword ¶
func (x *AuthParams) GetPassword() string
func (*AuthParams) GetUsername ¶
func (x *AuthParams) GetUsername() string
func (*AuthParams) ProtoMessage ¶
func (*AuthParams) ProtoMessage()
func (*AuthParams) ProtoReflect ¶
func (x *AuthParams) ProtoReflect() protoreflect.Message
func (*AuthParams) Reset ¶
func (x *AuthParams) Reset()
func (*AuthParams) String ¶
func (x *AuthParams) String() string
type ClientQueryOption ¶
type ClientQueryOption struct { Paginator *paginator.Paginator `protobuf:"bytes,1,opt,name=paginator,proto3" json:"paginator,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` ServiceId uint64 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Status enums.PirService_Status `protobuf:"varint,4,opt,name=status,proto3,enum=sudo.protobuf.enums.PirService_Status" json:"status,omitempty"` StatusIn []enums.PirService_Status `` /* 136-byte string literal not displayed */ ServerPartyId string `protobuf:"bytes,6,opt,name=server_party_id,json=serverPartyId,proto3" json:"server_party_id,omitempty"` Path string `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` Token string `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ClientQueryOption) Descriptor
deprecated
func (*ClientQueryOption) Descriptor() ([]byte, []int)
Deprecated: Use ClientQueryOption.ProtoReflect.Descriptor instead.
func (*ClientQueryOption) GetId ¶
func (x *ClientQueryOption) GetId() uint64
func (*ClientQueryOption) GetPaginator ¶
func (x *ClientQueryOption) GetPaginator() *paginator.Paginator
func (*ClientQueryOption) GetPath ¶
func (x *ClientQueryOption) GetPath() string
func (*ClientQueryOption) GetServerPartyId ¶
func (x *ClientQueryOption) GetServerPartyId() string
func (*ClientQueryOption) GetServiceId ¶
func (x *ClientQueryOption) GetServiceId() uint64
func (*ClientQueryOption) GetStatus ¶
func (x *ClientQueryOption) GetStatus() enums.PirService_Status
func (*ClientQueryOption) GetStatusIn ¶
func (x *ClientQueryOption) GetStatusIn() []enums.PirService_Status
func (*ClientQueryOption) GetToken ¶
func (x *ClientQueryOption) GetToken() string
func (*ClientQueryOption) ProtoMessage ¶
func (*ClientQueryOption) ProtoMessage()
func (*ClientQueryOption) ProtoReflect ¶
func (x *ClientQueryOption) ProtoReflect() protoreflect.Message
func (*ClientQueryOption) Reset ¶
func (x *ClientQueryOption) Reset()
func (*ClientQueryOption) String ¶
func (x *ClientQueryOption) String() string
type ClientServiceTakeActionRequest ¶
type ClientServiceTakeActionRequest struct { ServiceIdStr string `protobuf:"bytes,1,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` // PirService_Action string Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ClientServiceTakeActionRequest) Descriptor
deprecated
func (*ClientServiceTakeActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClientServiceTakeActionRequest.ProtoReflect.Descriptor instead.
func (*ClientServiceTakeActionRequest) GetAction ¶
func (x *ClientServiceTakeActionRequest) GetAction() string
func (*ClientServiceTakeActionRequest) GetServiceIdStr ¶
func (x *ClientServiceTakeActionRequest) GetServiceIdStr() string
func (*ClientServiceTakeActionRequest) GetToken ¶
func (x *ClientServiceTakeActionRequest) GetToken() string
func (*ClientServiceTakeActionRequest) ProtoMessage ¶
func (*ClientServiceTakeActionRequest) ProtoMessage()
func (*ClientServiceTakeActionRequest) ProtoReflect ¶
func (x *ClientServiceTakeActionRequest) ProtoReflect() protoreflect.Message
func (*ClientServiceTakeActionRequest) Reset ¶
func (x *ClientServiceTakeActionRequest) Reset()
func (*ClientServiceTakeActionRequest) String ¶
func (x *ClientServiceTakeActionRequest) String() string
type ClientServiceTakeActionResponse ¶
type ClientServiceTakeActionResponse struct { Data *PirClient `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ClientServiceTakeActionResponse) Descriptor
deprecated
func (*ClientServiceTakeActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClientServiceTakeActionResponse.ProtoReflect.Descriptor instead.
func (*ClientServiceTakeActionResponse) GetData ¶
func (x *ClientServiceTakeActionResponse) GetData() *PirClient
func (*ClientServiceTakeActionResponse) ProtoMessage ¶
func (*ClientServiceTakeActionResponse) ProtoMessage()
func (*ClientServiceTakeActionResponse) ProtoReflect ¶
func (x *ClientServiceTakeActionResponse) ProtoReflect() protoreflect.Message
func (*ClientServiceTakeActionResponse) Reset ¶
func (x *ClientServiceTakeActionResponse) Reset()
func (*ClientServiceTakeActionResponse) String ¶
func (x *ClientServiceTakeActionResponse) String() string
type ClientUsageModel ¶
type ClientUsageModel struct { ServiceId uint64 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` RequestCount uint64 `protobuf:"varint,3,opt,name=request_count,json=requestCount,proto3" json:"request_count,omitempty"` UsageCount uint64 `protobuf:"varint,4,opt,name=usage_count,json=usageCount,proto3" json:"usage_count,omitempty"` ApiRequest string `protobuf:"bytes,5,opt,name=api_request,json=apiRequest,proto3" json:"api_request,omitempty"` ApiResponse string `protobuf:"bytes,6,opt,name=api_response,json=apiResponse,proto3" json:"api_response,omitempty"` Succeeded bool `protobuf:"varint,7,opt,name=succeeded,proto3" json:"succeeded,omitempty"` Token string `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"` CreatedTs int64 `protobuf:"varint,9,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` // contains filtered or unexported fields }
func (*ClientUsageModel) Descriptor
deprecated
func (*ClientUsageModel) Descriptor() ([]byte, []int)
Deprecated: Use ClientUsageModel.ProtoReflect.Descriptor instead.
func (*ClientUsageModel) GetApiRequest ¶
func (x *ClientUsageModel) GetApiRequest() string
func (*ClientUsageModel) GetApiResponse ¶
func (x *ClientUsageModel) GetApiResponse() string
func (*ClientUsageModel) GetCreatedTs ¶
func (x *ClientUsageModel) GetCreatedTs() int64
func (*ClientUsageModel) GetRequestCount ¶
func (x *ClientUsageModel) GetRequestCount() uint64
func (*ClientUsageModel) GetRequestId ¶
func (x *ClientUsageModel) GetRequestId() string
func (*ClientUsageModel) GetServiceId ¶
func (x *ClientUsageModel) GetServiceId() uint64
func (*ClientUsageModel) GetSucceeded ¶
func (x *ClientUsageModel) GetSucceeded() bool
func (*ClientUsageModel) GetToken ¶
func (x *ClientUsageModel) GetToken() string
func (*ClientUsageModel) GetUsageCount ¶
func (x *ClientUsageModel) GetUsageCount() uint64
func (*ClientUsageModel) ProtoMessage ¶
func (*ClientUsageModel) ProtoMessage()
func (*ClientUsageModel) ProtoReflect ¶
func (x *ClientUsageModel) ProtoReflect() protoreflect.Message
func (*ClientUsageModel) Reset ¶
func (x *ClientUsageModel) Reset()
func (*ClientUsageModel) String ¶
func (x *ClientUsageModel) String() string
type ClientUsageQueryOptions ¶
type ClientUsageQueryOptions struct { Paginator *paginator.Paginator `protobuf:"bytes,1,opt,name=paginator,proto3" json:"paginator,omitempty"` ServiceIdStr string `protobuf:"bytes,3,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` Token string `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ClientUsageQueryOptions) Descriptor
deprecated
func (*ClientUsageQueryOptions) Descriptor() ([]byte, []int)
Deprecated: Use ClientUsageQueryOptions.ProtoReflect.Descriptor instead.
func (*ClientUsageQueryOptions) GetPaginator ¶
func (x *ClientUsageQueryOptions) GetPaginator() *paginator.Paginator
func (*ClientUsageQueryOptions) GetServiceIdStr ¶
func (x *ClientUsageQueryOptions) GetServiceIdStr() string
func (*ClientUsageQueryOptions) GetToken ¶
func (x *ClientUsageQueryOptions) GetToken() string
func (*ClientUsageQueryOptions) ProtoMessage ¶
func (*ClientUsageQueryOptions) ProtoMessage()
func (*ClientUsageQueryOptions) ProtoReflect ¶
func (x *ClientUsageQueryOptions) ProtoReflect() protoreflect.Message
func (*ClientUsageQueryOptions) Reset ¶
func (x *ClientUsageQueryOptions) Reset()
func (*ClientUsageQueryOptions) String ¶
func (x *ClientUsageQueryOptions) String() string
type CreatePirClientServiceRequest ¶
type CreatePirClientServiceRequest struct { PirClient *PirClient `protobuf:"bytes,1,opt,name=pir_client,json=pirClient,proto3" json:"pir_client,omitempty"` ServiceIdStr string `protobuf:"bytes,2,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` // contains filtered or unexported fields }
func (*CreatePirClientServiceRequest) Descriptor
deprecated
func (*CreatePirClientServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePirClientServiceRequest.ProtoReflect.Descriptor instead.
func (*CreatePirClientServiceRequest) GetPirClient ¶
func (x *CreatePirClientServiceRequest) GetPirClient() *PirClient
func (*CreatePirClientServiceRequest) GetServiceIdStr ¶
func (x *CreatePirClientServiceRequest) GetServiceIdStr() string
func (*CreatePirClientServiceRequest) ProtoMessage ¶
func (*CreatePirClientServiceRequest) ProtoMessage()
func (*CreatePirClientServiceRequest) ProtoReflect ¶
func (x *CreatePirClientServiceRequest) ProtoReflect() protoreflect.Message
func (*CreatePirClientServiceRequest) Reset ¶
func (x *CreatePirClientServiceRequest) Reset()
func (*CreatePirClientServiceRequest) String ¶
func (x *CreatePirClientServiceRequest) String() string
type CreatePirClientServiceResponse ¶
type CreatePirClientServiceResponse struct { Data *PirClientModel `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreatePirClientServiceResponse) Descriptor
deprecated
func (*CreatePirClientServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePirClientServiceResponse.ProtoReflect.Descriptor instead.
func (*CreatePirClientServiceResponse) GetData ¶
func (x *CreatePirClientServiceResponse) GetData() *PirClientModel
func (*CreatePirClientServiceResponse) ProtoMessage ¶
func (*CreatePirClientServiceResponse) ProtoMessage()
func (*CreatePirClientServiceResponse) ProtoReflect ¶
func (x *CreatePirClientServiceResponse) ProtoReflect() protoreflect.Message
func (*CreatePirClientServiceResponse) Reset ¶
func (x *CreatePirClientServiceResponse) Reset()
func (*CreatePirClientServiceResponse) String ¶
func (x *CreatePirClientServiceResponse) String() string
type CreateServerServiceRequest ¶
type CreateServerServiceRequest struct { PirServer *PirServer `protobuf:"bytes,1,opt,name=pir_server,json=pirServer,proto3" json:"pir_server,omitempty"` // contains filtered or unexported fields }
func (*CreateServerServiceRequest) Descriptor
deprecated
func (*CreateServerServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerServiceRequest.ProtoReflect.Descriptor instead.
func (*CreateServerServiceRequest) GetPirServer ¶
func (x *CreateServerServiceRequest) GetPirServer() *PirServer
func (*CreateServerServiceRequest) ProtoMessage ¶
func (*CreateServerServiceRequest) ProtoMessage()
func (*CreateServerServiceRequest) ProtoReflect ¶
func (x *CreateServerServiceRequest) ProtoReflect() protoreflect.Message
func (*CreateServerServiceRequest) Reset ¶
func (x *CreateServerServiceRequest) Reset()
func (*CreateServerServiceRequest) String ¶
func (x *CreateServerServiceRequest) String() string
type CreateServerServiceResponse ¶
type CreateServerServiceResponse struct { Data *PirServerModel `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateServerServiceResponse) Descriptor
deprecated
func (*CreateServerServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerServiceResponse.ProtoReflect.Descriptor instead.
func (*CreateServerServiceResponse) GetData ¶
func (x *CreateServerServiceResponse) GetData() *PirServerModel
func (*CreateServerServiceResponse) ProtoMessage ¶
func (*CreateServerServiceResponse) ProtoMessage()
func (*CreateServerServiceResponse) ProtoReflect ¶
func (x *CreateServerServiceResponse) ProtoReflect() protoreflect.Message
func (*CreateServerServiceResponse) Reset ¶
func (x *CreateServerServiceResponse) Reset()
func (*CreateServerServiceResponse) String ¶
func (x *CreateServerServiceResponse) String() string
type DataModeParams ¶
type DataModeParams struct { // Types that are assignable to Params: // *DataModeParams_ApiParams // *DataModeParams_MysqlParams // *DataModeParams_VtableParams Params isDataModeParams_Params `protobuf_oneof:"params"` // contains filtered or unexported fields }
func (*DataModeParams) Descriptor
deprecated
func (*DataModeParams) Descriptor() ([]byte, []int)
Deprecated: Use DataModeParams.ProtoReflect.Descriptor instead.
func (*DataModeParams) GetApiParams ¶
func (x *DataModeParams) GetApiParams() *APIModeParams
func (*DataModeParams) GetMysqlParams ¶
func (x *DataModeParams) GetMysqlParams() *MysqlModeParams
func (*DataModeParams) GetParams ¶
func (m *DataModeParams) GetParams() isDataModeParams_Params
func (*DataModeParams) GetVtableParams ¶
func (x *DataModeParams) GetVtableParams() *VtableModeParams
func (*DataModeParams) ProtoMessage ¶
func (*DataModeParams) ProtoMessage()
func (*DataModeParams) ProtoReflect ¶
func (x *DataModeParams) ProtoReflect() protoreflect.Message
func (*DataModeParams) Reset ¶
func (x *DataModeParams) Reset()
func (*DataModeParams) String ¶
func (x *DataModeParams) String() string
type DataModeParams_ApiParams ¶
type DataModeParams_ApiParams struct { // apimode ApiParams *APIModeParams `protobuf:"bytes,1,opt,name=api_params,json=apiParams,proto3,oneof"` }
type DataModeParams_MysqlParams ¶
type DataModeParams_MysqlParams struct { // mysql mode MysqlParams *MysqlModeParams `protobuf:"bytes,2,opt,name=mysql_params,json=mysqlParams,proto3,oneof"` //mysql mode }
type DataModeParams_VtableParams ¶
type DataModeParams_VtableParams struct { // vtable mode VtableParams *VtableModeParams `protobuf:"bytes,3,opt,name=vtable_params,json=vtableParams,proto3,oneof"` // vtable mode }
type DeleteClientServiceRequest ¶
type DeleteClientServiceRequest struct { // replaced by id // // Deprecated: Do not use. ServiceIdStr string `protobuf:"bytes,1,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` // replaced by id // // Deprecated: Do not use. Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteClientServiceRequest) Descriptor
deprecated
func (*DeleteClientServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClientServiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteClientServiceRequest) GetId ¶
func (x *DeleteClientServiceRequest) GetId() uint64
func (*DeleteClientServiceRequest) GetServiceIdStr
deprecated
func (x *DeleteClientServiceRequest) GetServiceIdStr() string
Deprecated: Do not use.
func (*DeleteClientServiceRequest) GetToken
deprecated
func (x *DeleteClientServiceRequest) GetToken() string
Deprecated: Do not use.
func (*DeleteClientServiceRequest) ProtoMessage ¶
func (*DeleteClientServiceRequest) ProtoMessage()
func (*DeleteClientServiceRequest) ProtoReflect ¶
func (x *DeleteClientServiceRequest) ProtoReflect() protoreflect.Message
func (*DeleteClientServiceRequest) Reset ¶
func (x *DeleteClientServiceRequest) Reset()
func (*DeleteClientServiceRequest) String ¶
func (x *DeleteClientServiceRequest) String() string
type DeleteServerServiceRequest ¶
type DeleteServerServiceRequest struct { // replaced by id // // Deprecated: Do not use. ServiceIdStr string `protobuf:"bytes,1,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteServerServiceRequest) Descriptor
deprecated
func (*DeleteServerServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServerServiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteServerServiceRequest) GetId ¶
func (x *DeleteServerServiceRequest) GetId() uint64
func (*DeleteServerServiceRequest) GetServiceIdStr
deprecated
func (x *DeleteServerServiceRequest) GetServiceIdStr() string
Deprecated: Do not use.
func (*DeleteServerServiceRequest) ProtoMessage ¶
func (*DeleteServerServiceRequest) ProtoMessage()
func (*DeleteServerServiceRequest) ProtoReflect ¶
func (x *DeleteServerServiceRequest) ProtoReflect() protoreflect.Message
func (*DeleteServerServiceRequest) Reset ¶
func (x *DeleteServerServiceRequest) Reset()
func (*DeleteServerServiceRequest) String ¶
func (x *DeleteServerServiceRequest) String() string
type GetClientUsagesRequest ¶
type GetClientUsagesRequest struct { Query *ClientUsageQueryOptions `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*GetClientUsagesRequest) Descriptor
deprecated
func (*GetClientUsagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClientUsagesRequest.ProtoReflect.Descriptor instead.
func (*GetClientUsagesRequest) GetQuery ¶
func (x *GetClientUsagesRequest) GetQuery() *ClientUsageQueryOptions
func (*GetClientUsagesRequest) ProtoMessage ¶
func (*GetClientUsagesRequest) ProtoMessage()
func (*GetClientUsagesRequest) ProtoReflect ¶
func (x *GetClientUsagesRequest) ProtoReflect() protoreflect.Message
func (*GetClientUsagesRequest) Reset ¶
func (x *GetClientUsagesRequest) Reset()
func (*GetClientUsagesRequest) String ¶
func (x *GetClientUsagesRequest) String() string
type GetClientUsagesResponse ¶
type GetClientUsagesResponse struct { Data []*ClientUsageModel `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*GetClientUsagesResponse) Descriptor
deprecated
func (*GetClientUsagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClientUsagesResponse.ProtoReflect.Descriptor instead.
func (*GetClientUsagesResponse) GetData ¶
func (x *GetClientUsagesResponse) GetData() []*ClientUsageModel
func (*GetClientUsagesResponse) GetTotal ¶
func (x *GetClientUsagesResponse) GetTotal() int64
func (*GetClientUsagesResponse) ProtoMessage ¶
func (*GetClientUsagesResponse) ProtoMessage()
func (*GetClientUsagesResponse) ProtoReflect ¶
func (x *GetClientUsagesResponse) ProtoReflect() protoreflect.Message
func (*GetClientUsagesResponse) Reset ¶
func (x *GetClientUsagesResponse) Reset()
func (*GetClientUsagesResponse) String ¶
func (x *GetClientUsagesResponse) String() string
type GetPirClientServicesRequst ¶
type GetPirClientServicesRequst struct { Query *ClientQueryOption `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*GetPirClientServicesRequst) Descriptor
deprecated
func (*GetPirClientServicesRequst) Descriptor() ([]byte, []int)
Deprecated: Use GetPirClientServicesRequst.ProtoReflect.Descriptor instead.
func (*GetPirClientServicesRequst) GetQuery ¶
func (x *GetPirClientServicesRequst) GetQuery() *ClientQueryOption
func (*GetPirClientServicesRequst) ProtoMessage ¶
func (*GetPirClientServicesRequst) ProtoMessage()
func (*GetPirClientServicesRequst) ProtoReflect ¶
func (x *GetPirClientServicesRequst) ProtoReflect() protoreflect.Message
func (*GetPirClientServicesRequst) Reset ¶
func (x *GetPirClientServicesRequst) Reset()
func (*GetPirClientServicesRequst) String ¶
func (x *GetPirClientServicesRequst) String() string
type GetPirClientServicesResponse ¶
type GetPirClientServicesResponse struct { Data []*PirClient `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*GetPirClientServicesResponse) Descriptor
deprecated
func (*GetPirClientServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPirClientServicesResponse.ProtoReflect.Descriptor instead.
func (*GetPirClientServicesResponse) GetData ¶
func (x *GetPirClientServicesResponse) GetData() []*PirClient
func (*GetPirClientServicesResponse) GetTotal ¶
func (x *GetPirClientServicesResponse) GetTotal() int64
func (*GetPirClientServicesResponse) ProtoMessage ¶
func (*GetPirClientServicesResponse) ProtoMessage()
func (*GetPirClientServicesResponse) ProtoReflect ¶
func (x *GetPirClientServicesResponse) ProtoReflect() protoreflect.Message
func (*GetPirClientServicesResponse) Reset ¶
func (x *GetPirClientServicesResponse) Reset()
func (*GetPirClientServicesResponse) String ¶
func (x *GetPirClientServicesResponse) String() string
type GetServerServicesRequest ¶
type GetServerServicesRequest struct { Query *ServerQueryOption `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*GetServerServicesRequest) Descriptor
deprecated
func (*GetServerServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerServicesRequest.ProtoReflect.Descriptor instead.
func (*GetServerServicesRequest) GetQuery ¶
func (x *GetServerServicesRequest) GetQuery() *ServerQueryOption
func (*GetServerServicesRequest) ProtoMessage ¶
func (*GetServerServicesRequest) ProtoMessage()
func (*GetServerServicesRequest) ProtoReflect ¶
func (x *GetServerServicesRequest) ProtoReflect() protoreflect.Message
func (*GetServerServicesRequest) Reset ¶
func (x *GetServerServicesRequest) Reset()
func (*GetServerServicesRequest) String ¶
func (x *GetServerServicesRequest) String() string
type GetServerServicesResponse ¶
type GetServerServicesResponse struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*PirServer `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetServerServicesResponse) Descriptor
deprecated
func (*GetServerServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServerServicesResponse.ProtoReflect.Descriptor instead.
func (*GetServerServicesResponse) GetData ¶
func (x *GetServerServicesResponse) GetData() []*PirServer
func (*GetServerServicesResponse) GetTotal ¶
func (x *GetServerServicesResponse) GetTotal() int64
func (*GetServerServicesResponse) ProtoMessage ¶
func (*GetServerServicesResponse) ProtoMessage()
func (*GetServerServicesResponse) ProtoReflect ¶
func (x *GetServerServicesResponse) ProtoReflect() protoreflect.Message
func (*GetServerServicesResponse) Reset ¶
func (x *GetServerServicesResponse) Reset()
func (*GetServerServicesResponse) String ¶
func (x *GetServerServicesResponse) String() string
type GetServerUsagesRequest ¶
type GetServerUsagesRequest struct { Query *ServerUsageQueryOptions `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*GetServerUsagesRequest) Descriptor
deprecated
func (*GetServerUsagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerUsagesRequest.ProtoReflect.Descriptor instead.
func (*GetServerUsagesRequest) GetQuery ¶
func (x *GetServerUsagesRequest) GetQuery() *ServerUsageQueryOptions
func (*GetServerUsagesRequest) ProtoMessage ¶
func (*GetServerUsagesRequest) ProtoMessage()
func (*GetServerUsagesRequest) ProtoReflect ¶
func (x *GetServerUsagesRequest) ProtoReflect() protoreflect.Message
func (*GetServerUsagesRequest) Reset ¶
func (x *GetServerUsagesRequest) Reset()
func (*GetServerUsagesRequest) String ¶
func (x *GetServerUsagesRequest) String() string
type GetServerUsagesResponse ¶
type GetServerUsagesResponse struct { Data []*ServerUsageModel `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*GetServerUsagesResponse) Descriptor
deprecated
func (*GetServerUsagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServerUsagesResponse.ProtoReflect.Descriptor instead.
func (*GetServerUsagesResponse) GetData ¶
func (x *GetServerUsagesResponse) GetData() []*ServerUsageModel
func (*GetServerUsagesResponse) GetTotal ¶
func (x *GetServerUsagesResponse) GetTotal() int64
func (*GetServerUsagesResponse) ProtoMessage ¶
func (*GetServerUsagesResponse) ProtoMessage()
func (*GetServerUsagesResponse) ProtoReflect ¶
func (x *GetServerUsagesResponse) ProtoReflect() protoreflect.Message
func (*GetServerUsagesResponse) Reset ¶
func (x *GetServerUsagesResponse) Reset()
func (*GetServerUsagesResponse) String ¶
func (x *GetServerUsagesResponse) String() string
type MysqlModeParams ¶
type MysqlModeParams struct { OriginData string `protobuf:"bytes,1,opt,name=origin_data,json=originData,proto3" json:"origin_data,omitempty"` OutputData string `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` // contains filtered or unexported fields }
func (*MysqlModeParams) Descriptor
deprecated
func (*MysqlModeParams) Descriptor() ([]byte, []int)
Deprecated: Use MysqlModeParams.ProtoReflect.Descriptor instead.
func (*MysqlModeParams) GetOriginData ¶
func (x *MysqlModeParams) GetOriginData() string
func (*MysqlModeParams) GetOutputData ¶
func (x *MysqlModeParams) GetOutputData() string
func (*MysqlModeParams) ProtoMessage ¶
func (*MysqlModeParams) ProtoMessage()
func (*MysqlModeParams) ProtoReflect ¶
func (x *MysqlModeParams) ProtoReflect() protoreflect.Message
func (*MysqlModeParams) Reset ¶
func (x *MysqlModeParams) Reset()
func (*MysqlModeParams) String ¶
func (x *MysqlModeParams) String() string
type PirClient ¶
type PirClient struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedTs int64 `protobuf:"varint,2,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs uint64 `protobuf:"varint,3,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` ServiceId uint64 `protobuf:"varint,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Status enums.PirService_Status `protobuf:"varint,7,opt,name=status,proto3,enum=sudo.protobuf.enums.PirService_Status" json:"status,omitempty"` OwnerUserId uint64 `protobuf:"varint,8,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` OwnerUserName string `protobuf:"bytes,9,opt,name=owner_user_name,json=ownerUserName,proto3" json:"owner_user_name,omitempty"` Path string `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"` Token string `protobuf:"bytes,11,opt,name=token,proto3" json:"token,omitempty"` Message string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"` ServerPath string `protobuf:"bytes,13,opt,name=server_path,json=serverPath,proto3" json:"server_path,omitempty"` ServerPartyId string `protobuf:"bytes,14,opt,name=server_party_id,json=serverPartyId,proto3" json:"server_party_id,omitempty"` IndiscernibilityDegree uint64 `` /* 129-byte string literal not displayed */ KeyColumns []string `protobuf:"bytes,16,rep,name=key_columns,json=keyColumns,proto3" json:"key_columns,omitempty"` LabelColumns []string `protobuf:"bytes,17,rep,name=label_columns,json=labelColumns,proto3" json:"label_columns,omitempty"` Progress float32 `protobuf:"fixed32,18,opt,name=progress,proto3" json:"progress,omitempty"` OperatorId uint64 `protobuf:"varint,19,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"` // type :f3s or pir Type enums1.SVCType `protobuf:"varint,20,opt,name=type,proto3,enum=sudo.protobuf.service.enums.SVCType" json:"type,omitempty"` DataMode enums1.DataMode `` /* 129-byte string literal not displayed */ DataModeParams *DataModeParams `protobuf:"bytes,22,opt,name=data_mode_params,json=dataModeParams,proto3" json:"data_mode_params,omitempty"` // true 代表做多次psi,false 代表只做一次psi,仅对三要素有效,默认为false Factor3SDetail bool `protobuf:"varint,23,opt,name=factor3s_detail,json=factor3sDetail,proto3" json:"factor3s_detail,omitempty"` ServerOpHost string `protobuf:"bytes,24,opt,name=server_op_host,json=serverOpHost,proto3" json:"server_op_host,omitempty"` ServerOpPort uint32 `protobuf:"varint,25,opt,name=server_op_port,json=serverOpPort,proto3" json:"server_op_port,omitempty"` // contains filtered or unexported fields }
func (*PirClient) Descriptor
deprecated
func (*PirClient) GetCreatedTs ¶
func (*PirClient) GetDataMode ¶
func (*PirClient) GetDataModeParams ¶
func (x *PirClient) GetDataModeParams() *DataModeParams
func (*PirClient) GetDescription ¶
func (*PirClient) GetFactor3SDetail ¶
func (*PirClient) GetIndiscernibilityDegree ¶
func (*PirClient) GetKeyColumns ¶
func (*PirClient) GetLabelColumns ¶
func (*PirClient) GetMessage ¶
func (*PirClient) GetOperatorId ¶
func (*PirClient) GetOwnerUserId ¶
func (*PirClient) GetOwnerUserName ¶
func (*PirClient) GetProgress ¶
func (*PirClient) GetServerOpHost ¶
func (*PirClient) GetServerOpPort ¶
func (*PirClient) GetServerPartyId ¶
func (*PirClient) GetServerPath ¶
func (*PirClient) GetServiceId ¶
func (*PirClient) GetStatus ¶
func (x *PirClient) GetStatus() enums.PirService_Status
func (*PirClient) GetUpdatedTs ¶
func (*PirClient) ProtoMessage ¶
func (*PirClient) ProtoMessage()
func (*PirClient) ProtoReflect ¶
func (x *PirClient) ProtoReflect() protoreflect.Message
type PirClientModel ¶
type PirClientModel struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedTs int64 `protobuf:"varint,2,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs uint64 `protobuf:"varint,3,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` ServiceId uint64 `protobuf:"varint,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Status enums.PirService_Status `protobuf:"varint,7,opt,name=status,proto3,enum=sudo.protobuf.enums.PirService_Status" json:"status,omitempty"` OwnerUserId uint64 `protobuf:"varint,8,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` OwnerUserName string `protobuf:"bytes,9,opt,name=owner_user_name,json=ownerUserName,proto3" json:"owner_user_name,omitempty"` Path string `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"` Token string `protobuf:"bytes,11,opt,name=token,proto3" json:"token,omitempty"` Message string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"` ServerPath string `protobuf:"bytes,13,opt,name=server_path,json=serverPath,proto3" json:"server_path,omitempty"` ServerPartyId string `protobuf:"bytes,14,opt,name=server_party_id,json=serverPartyId,proto3" json:"server_party_id,omitempty"` IndiscernibilityDegree uint64 `` /* 129-byte string literal not displayed */ KeyColumns string `protobuf:"bytes,16,opt,name=key_columns,json=keyColumns,proto3" json:"key_columns,omitempty"` LabelColumns string `protobuf:"bytes,17,opt,name=label_columns,json=labelColumns,proto3" json:"label_columns,omitempty"` Progress float32 `protobuf:"fixed32,18,opt,name=progress,proto3" json:"progress,omitempty"` OperatorId uint64 `protobuf:"varint,19,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"` // type :f3s or pir Type enums1.SVCType `protobuf:"varint,20,opt,name=type,proto3,enum=sudo.protobuf.service.enums.SVCType" json:"type,omitempty"` DataMode enums1.DataMode `` /* 129-byte string literal not displayed */ DataModeParams *DataModeParams `protobuf:"bytes,22,opt,name=data_mode_params,json=dataModeParams,proto3" json:"data_mode_params,omitempty"` // true 代表做多次psi,false 代表只做一次psi,仅对三要素有效,默认为false Factor3SDetail bool `protobuf:"varint,23,opt,name=factor3s_detail,json=factor3sDetail,proto3" json:"factor3s_detail,omitempty"` ServerOpHost string `protobuf:"bytes,24,opt,name=server_op_host,json=serverOpHost,proto3" json:"server_op_host,omitempty"` ServerOpPort uint32 `protobuf:"varint,25,opt,name=server_op_port,json=serverOpPort,proto3" json:"server_op_port,omitempty"` // contains filtered or unexported fields }
func (*PirClientModel) Descriptor
deprecated
func (*PirClientModel) Descriptor() ([]byte, []int)
Deprecated: Use PirClientModel.ProtoReflect.Descriptor instead.
func (*PirClientModel) GetCreatedTs ¶
func (x *PirClientModel) GetCreatedTs() int64
func (*PirClientModel) GetDataMode ¶
func (x *PirClientModel) GetDataMode() enums1.DataMode
func (*PirClientModel) GetDataModeParams ¶
func (x *PirClientModel) GetDataModeParams() *DataModeParams
func (*PirClientModel) GetDescription ¶
func (x *PirClientModel) GetDescription() string
func (*PirClientModel) GetFactor3SDetail ¶
func (x *PirClientModel) GetFactor3SDetail() bool
func (*PirClientModel) GetId ¶
func (x *PirClientModel) GetId() uint64
func (*PirClientModel) GetIndiscernibilityDegree ¶
func (x *PirClientModel) GetIndiscernibilityDegree() uint64
func (*PirClientModel) GetKeyColumns ¶
func (x *PirClientModel) GetKeyColumns() string
func (*PirClientModel) GetLabelColumns ¶
func (x *PirClientModel) GetLabelColumns() string
func (*PirClientModel) GetMessage ¶
func (x *PirClientModel) GetMessage() string
func (*PirClientModel) GetName ¶
func (x *PirClientModel) GetName() string
func (*PirClientModel) GetOperatorId ¶
func (x *PirClientModel) GetOperatorId() uint64
func (*PirClientModel) GetOwnerUserId ¶
func (x *PirClientModel) GetOwnerUserId() uint64
func (*PirClientModel) GetOwnerUserName ¶
func (x *PirClientModel) GetOwnerUserName() string
func (*PirClientModel) GetPath ¶
func (x *PirClientModel) GetPath() string
func (*PirClientModel) GetProgress ¶
func (x *PirClientModel) GetProgress() float32
func (*PirClientModel) GetServerOpHost ¶
func (x *PirClientModel) GetServerOpHost() string
func (*PirClientModel) GetServerOpPort ¶
func (x *PirClientModel) GetServerOpPort() uint32
func (*PirClientModel) GetServerPartyId ¶
func (x *PirClientModel) GetServerPartyId() string
func (*PirClientModel) GetServerPath ¶
func (x *PirClientModel) GetServerPath() string
func (*PirClientModel) GetServiceId ¶
func (x *PirClientModel) GetServiceId() uint64
func (*PirClientModel) GetStatus ¶
func (x *PirClientModel) GetStatus() enums.PirService_Status
func (*PirClientModel) GetToken ¶
func (x *PirClientModel) GetToken() string
func (*PirClientModel) GetType ¶
func (x *PirClientModel) GetType() enums1.SVCType
func (*PirClientModel) GetUpdatedTs ¶
func (x *PirClientModel) GetUpdatedTs() uint64
func (*PirClientModel) ProtoMessage ¶
func (*PirClientModel) ProtoMessage()
func (*PirClientModel) ProtoReflect ¶
func (x *PirClientModel) ProtoReflect() protoreflect.Message
func (*PirClientModel) Reset ¶
func (x *PirClientModel) Reset()
func (*PirClientModel) String ¶
func (x *PirClientModel) String() string
type PirRequest ¶
type PirRequest struct { ServiceId uint64 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // 匹配列 Keys []*PirRequest_KeyColumn `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` DataMode enums1.DataMode `` /* 128-byte string literal not displayed */ RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` SubPath string `protobuf:"bytes,6,opt,name=sub_path,json=subPath,proto3" json:"sub_path,omitempty"` // contains filtered or unexported fields }
func (*PirRequest) Descriptor
deprecated
func (*PirRequest) Descriptor() ([]byte, []int)
Deprecated: Use PirRequest.ProtoReflect.Descriptor instead.
func (*PirRequest) GetDataMode ¶
func (x *PirRequest) GetDataMode() enums1.DataMode
func (*PirRequest) GetKeys ¶
func (x *PirRequest) GetKeys() []*PirRequest_KeyColumn
func (*PirRequest) GetRequestId ¶
func (x *PirRequest) GetRequestId() string
func (*PirRequest) GetServiceId ¶
func (x *PirRequest) GetServiceId() uint64
func (*PirRequest) GetSubPath ¶
func (x *PirRequest) GetSubPath() string
func (*PirRequest) GetToken ¶
func (x *PirRequest) GetToken() string
func (*PirRequest) ProtoMessage ¶
func (*PirRequest) ProtoMessage()
func (*PirRequest) ProtoReflect ¶
func (x *PirRequest) ProtoReflect() protoreflect.Message
func (*PirRequest) Reset ¶
func (x *PirRequest) Reset()
func (*PirRequest) String ¶
func (x *PirRequest) String() string
type PirRequest_KeyColumn ¶
type PirRequest_KeyColumn struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*PirRequest_KeyColumn) Descriptor
deprecated
func (*PirRequest_KeyColumn) Descriptor() ([]byte, []int)
Deprecated: Use PirRequest_KeyColumn.ProtoReflect.Descriptor instead.
func (*PirRequest_KeyColumn) GetValues ¶
func (x *PirRequest_KeyColumn) GetValues() []string
func (*PirRequest_KeyColumn) ProtoMessage ¶
func (*PirRequest_KeyColumn) ProtoMessage()
func (*PirRequest_KeyColumn) ProtoReflect ¶
func (x *PirRequest_KeyColumn) ProtoReflect() protoreflect.Message
func (*PirRequest_KeyColumn) Reset ¶
func (x *PirRequest_KeyColumn) Reset()
func (*PirRequest_KeyColumn) String ¶
func (x *PirRequest_KeyColumn) String() string
type PirResponse ¶
type PirResponse struct { Data []*PirSingleResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` RequestCount uint64 `protobuf:"varint,2,opt,name=request_count,json=requestCount,proto3" json:"request_count,omitempty"` UsageCount uint64 `protobuf:"varint,3,opt,name=usage_count,json=usageCount,proto3" json:"usage_count,omitempty"` KeyColumns []string `protobuf:"bytes,4,rep,name=key_columns,json=keyColumns,proto3" json:"key_columns,omitempty"` LabelColumns []string `protobuf:"bytes,5,rep,name=label_columns,json=labelColumns,proto3" json:"label_columns,omitempty"` RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*PirResponse) Descriptor
deprecated
func (*PirResponse) Descriptor() ([]byte, []int)
Deprecated: Use PirResponse.ProtoReflect.Descriptor instead.
func (*PirResponse) GetData ¶
func (x *PirResponse) GetData() []*PirSingleResponse
func (*PirResponse) GetKeyColumns ¶
func (x *PirResponse) GetKeyColumns() []string
func (*PirResponse) GetLabelColumns ¶
func (x *PirResponse) GetLabelColumns() []string
func (*PirResponse) GetRequestCount ¶
func (x *PirResponse) GetRequestCount() uint64
func (*PirResponse) GetRequestId ¶
func (x *PirResponse) GetRequestId() string
func (*PirResponse) GetUsageCount ¶
func (x *PirResponse) GetUsageCount() uint64
func (*PirResponse) ProtoMessage ¶
func (*PirResponse) ProtoMessage()
func (*PirResponse) ProtoReflect ¶
func (x *PirResponse) ProtoReflect() protoreflect.Message
func (*PirResponse) Reset ¶
func (x *PirResponse) Reset()
func (*PirResponse) String ¶
func (x *PirResponse) String() string
type PirServer ¶
type PirServer struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedTs int64 `protobuf:"varint,2,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs int64 `protobuf:"varint,3,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` // unique service id ServiceId uint64 `protobuf:"varint,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // service status, see status definition for more details Status enums.PirService_Status `protobuf:"varint,7,opt,name=status,proto3,enum=sudo.protobuf.enums.PirService_Status" json:"status,omitempty"` // the user created this service OwnerUserId uint64 `protobuf:"varint,8,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` OwnerUserName string `protobuf:"bytes,9,opt,name=owner_user_name,json=ownerUserName,proto3" json:"owner_user_name,omitempty"` Path string `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"` // given error message if status failed Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"` // also known as bucket size, usually range from 10 to 100 IndiscernibilityDegree uint64 `` /* 129-byte string literal not displayed */ // not implemented yet. if false, server encrypt all label columns and know usage_count per request SkipEncrypt bool `protobuf:"varint,13,opt,name=skip_encrypt,json=skipEncrypt,proto3" json:"skip_encrypt,omitempty"` // columns as search conditions KeyColumns []string `protobuf:"bytes,14,rep,name=key_columns,json=keyColumns,proto3" json:"key_columns,omitempty"` // columns as search result LabelColumns []string `protobuf:"bytes,15,rep,name=label_columns,json=labelColumns,proto3" json:"label_columns,omitempty"` // input vtable id // // Deprecated: Do not use. VtableId uint64 `protobuf:"varint,16,opt,name=vtable_id,json=vtableId,proto3" json:"vtable_id,omitempty"` // additional information fetched from vtable VtableAdditionalInfo *PirServerVtableAdditionalInfo `protobuf:"bytes,17,opt,name=vtable_additional_info,json=vtableAdditionalInfo,proto3" json:"vtable_additional_info,omitempty"` // bucket_count = total_count / indiscernibility_degree BucketCount uint64 `protobuf:"varint,18,opt,name=bucket_count,json=bucketCount,proto3" json:"bucket_count,omitempty"` // deploy progress, range from 0 to 1 Progress float32 `protobuf:"fixed32,19,opt,name=progress,proto3" json:"progress,omitempty"` OperatorId uint64 `protobuf:"varint,20,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"` Type enums1.SVCType `protobuf:"varint,21,opt,name=type,proto3,enum=sudo.protobuf.service.enums.SVCType" json:"type,omitempty"` DataMode enums1.DataMode `` /* 129-byte string literal not displayed */ DataModeParams *DataModeParams `protobuf:"bytes,23,opt,name=data_mode_params,json=dataModeParams,proto3" json:"data_mode_params,omitempty"` OpHost string `protobuf:"bytes,24,opt,name=op_host,json=opHost,proto3" json:"op_host,omitempty"` OpPort uint32 `protobuf:"varint,25,opt,name=op_port,json=opPort,proto3" json:"op_port,omitempty"` // contains filtered or unexported fields }
func (*PirServer) Descriptor
deprecated
func (*PirServer) GetBucketCount ¶
func (*PirServer) GetCreatedTs ¶
func (*PirServer) GetDataMode ¶
func (*PirServer) GetDataModeParams ¶
func (x *PirServer) GetDataModeParams() *DataModeParams
func (*PirServer) GetDescription ¶
func (*PirServer) GetIndiscernibilityDegree ¶
func (*PirServer) GetKeyColumns ¶
func (*PirServer) GetLabelColumns ¶
func (*PirServer) GetMessage ¶
func (*PirServer) GetOperatorId ¶
func (*PirServer) GetOwnerUserId ¶
func (*PirServer) GetOwnerUserName ¶
func (*PirServer) GetProgress ¶
func (*PirServer) GetServiceId ¶
func (*PirServer) GetSkipEncrypt ¶
func (*PirServer) GetStatus ¶
func (x *PirServer) GetStatus() enums.PirService_Status
func (*PirServer) GetUpdatedTs ¶
func (*PirServer) GetVtableAdditionalInfo ¶
func (x *PirServer) GetVtableAdditionalInfo() *PirServerVtableAdditionalInfo
func (*PirServer) GetVtableId
deprecated
func (*PirServer) ProtoMessage ¶
func (*PirServer) ProtoMessage()
func (*PirServer) ProtoReflect ¶
func (x *PirServer) ProtoReflect() protoreflect.Message
type PirServerModel ¶
type PirServerModel struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedTs int64 `protobuf:"varint,2,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs int64 `protobuf:"varint,3,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` ServiceId uint64 `protobuf:"varint,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Status enums.PirService_Status `protobuf:"varint,7,opt,name=status,proto3,enum=sudo.protobuf.enums.PirService_Status" json:"status,omitempty"` OwnerUserId uint64 `protobuf:"varint,8,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` OwnerUserName string `protobuf:"bytes,9,opt,name=owner_user_name,json=ownerUserName,proto3" json:"owner_user_name,omitempty"` Path string `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"` Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"` IndiscernibilityDegree uint64 `` /* 129-byte string literal not displayed */ SkipEncrypt bool `protobuf:"varint,13,opt,name=skip_encrypt,json=skipEncrypt,proto3" json:"skip_encrypt,omitempty"` KeyColumns string `protobuf:"bytes,14,opt,name=key_columns,json=keyColumns,proto3" json:"key_columns,omitempty"` LabelColumns string `protobuf:"bytes,15,opt,name=label_columns,json=labelColumns,proto3" json:"label_columns,omitempty"` VtableId uint64 `protobuf:"varint,16,opt,name=vtable_id,json=vtableId,proto3" json:"vtable_id,omitempty"` BucketCount uint64 `protobuf:"varint,18,opt,name=bucket_count,json=bucketCount,proto3" json:"bucket_count,omitempty"` Progress float32 `protobuf:"fixed32,19,opt,name=progress,proto3" json:"progress,omitempty"` OperatorId uint64 `protobuf:"varint,20,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"` Type enums1.SVCType `protobuf:"varint,21,opt,name=type,proto3,enum=sudo.protobuf.service.enums.SVCType" json:"type,omitempty"` DataMode enums1.DataMode `` /* 129-byte string literal not displayed */ DataModeParams *DataModeParams `protobuf:"bytes,23,opt,name=data_mode_params,json=dataModeParams,proto3" json:"data_mode_params,omitempty"` OpHost string `protobuf:"bytes,24,opt,name=op_host,json=opHost,proto3" json:"op_host,omitempty"` OpPort uint32 `protobuf:"varint,25,opt,name=op_port,json=opPort,proto3" json:"op_port,omitempty"` // contains filtered or unexported fields }
func (*PirServerModel) Descriptor
deprecated
func (*PirServerModel) Descriptor() ([]byte, []int)
Deprecated: Use PirServerModel.ProtoReflect.Descriptor instead.
func (*PirServerModel) GetBucketCount ¶
func (x *PirServerModel) GetBucketCount() uint64
func (*PirServerModel) GetCreatedTs ¶
func (x *PirServerModel) GetCreatedTs() int64
func (*PirServerModel) GetDataMode ¶
func (x *PirServerModel) GetDataMode() enums1.DataMode
func (*PirServerModel) GetDataModeParams ¶
func (x *PirServerModel) GetDataModeParams() *DataModeParams
func (*PirServerModel) GetDescription ¶
func (x *PirServerModel) GetDescription() string
func (*PirServerModel) GetId ¶
func (x *PirServerModel) GetId() uint64
func (*PirServerModel) GetIndiscernibilityDegree ¶
func (x *PirServerModel) GetIndiscernibilityDegree() uint64
func (*PirServerModel) GetKeyColumns ¶
func (x *PirServerModel) GetKeyColumns() string
func (*PirServerModel) GetLabelColumns ¶
func (x *PirServerModel) GetLabelColumns() string
func (*PirServerModel) GetMessage ¶
func (x *PirServerModel) GetMessage() string
func (*PirServerModel) GetName ¶
func (x *PirServerModel) GetName() string
func (*PirServerModel) GetOpHost ¶
func (x *PirServerModel) GetOpHost() string
func (*PirServerModel) GetOpPort ¶
func (x *PirServerModel) GetOpPort() uint32
func (*PirServerModel) GetOperatorId ¶
func (x *PirServerModel) GetOperatorId() uint64
func (*PirServerModel) GetOwnerUserId ¶
func (x *PirServerModel) GetOwnerUserId() uint64
func (*PirServerModel) GetOwnerUserName ¶
func (x *PirServerModel) GetOwnerUserName() string
func (*PirServerModel) GetPath ¶
func (x *PirServerModel) GetPath() string
func (*PirServerModel) GetProgress ¶
func (x *PirServerModel) GetProgress() float32
func (*PirServerModel) GetServiceId ¶
func (x *PirServerModel) GetServiceId() uint64
func (*PirServerModel) GetSkipEncrypt ¶
func (x *PirServerModel) GetSkipEncrypt() bool
func (*PirServerModel) GetStatus ¶
func (x *PirServerModel) GetStatus() enums.PirService_Status
func (*PirServerModel) GetType ¶
func (x *PirServerModel) GetType() enums1.SVCType
func (*PirServerModel) GetUpdatedTs ¶
func (x *PirServerModel) GetUpdatedTs() int64
func (*PirServerModel) GetVtableId ¶
func (x *PirServerModel) GetVtableId() uint64
func (*PirServerModel) ProtoMessage ¶
func (*PirServerModel) ProtoMessage()
func (*PirServerModel) ProtoReflect ¶
func (x *PirServerModel) ProtoReflect() protoreflect.Message
func (*PirServerModel) Reset ¶
func (x *PirServerModel) Reset()
func (*PirServerModel) String ¶
func (x *PirServerModel) String() string
type PirServerVtableAdditionalInfo ¶
type PirServerVtableAdditionalInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DataSize uint64 `protobuf:"varint,2,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"` DataColumn uint64 `protobuf:"varint,3,opt,name=data_column,json=dataColumn,proto3" json:"data_column,omitempty"` // contains filtered or unexported fields }
func (*PirServerVtableAdditionalInfo) Descriptor
deprecated
func (*PirServerVtableAdditionalInfo) Descriptor() ([]byte, []int)
Deprecated: Use PirServerVtableAdditionalInfo.ProtoReflect.Descriptor instead.
func (*PirServerVtableAdditionalInfo) GetDataColumn ¶
func (x *PirServerVtableAdditionalInfo) GetDataColumn() uint64
func (*PirServerVtableAdditionalInfo) GetDataSize ¶
func (x *PirServerVtableAdditionalInfo) GetDataSize() uint64
func (*PirServerVtableAdditionalInfo) GetName ¶
func (x *PirServerVtableAdditionalInfo) GetName() string
func (*PirServerVtableAdditionalInfo) ProtoMessage ¶
func (*PirServerVtableAdditionalInfo) ProtoMessage()
func (*PirServerVtableAdditionalInfo) ProtoReflect ¶
func (x *PirServerVtableAdditionalInfo) ProtoReflect() protoreflect.Message
func (*PirServerVtableAdditionalInfo) Reset ¶
func (x *PirServerVtableAdditionalInfo) Reset()
func (*PirServerVtableAdditionalInfo) String ¶
func (x *PirServerVtableAdditionalInfo) String() string
type PirSingleResponse ¶
type PirSingleResponse struct { // 匹配列 Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` Code PirSingleResponse_Status `protobuf:"varint,2,opt,name=code,proto3,enum=sudo.protobuf.platform.pir.PirSingleResponse_Status" json:"code,omitempty"` // 命中后的可查列信息 Info []string `protobuf:"bytes,3,rep,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*PirSingleResponse) Descriptor
deprecated
func (*PirSingleResponse) Descriptor() ([]byte, []int)
Deprecated: Use PirSingleResponse.ProtoReflect.Descriptor instead.
func (*PirSingleResponse) GetCode ¶
func (x *PirSingleResponse) GetCode() PirSingleResponse_Status
func (*PirSingleResponse) GetInfo ¶
func (x *PirSingleResponse) GetInfo() []string
func (*PirSingleResponse) GetKeys ¶
func (x *PirSingleResponse) GetKeys() []string
func (*PirSingleResponse) ProtoMessage ¶
func (*PirSingleResponse) ProtoMessage()
func (*PirSingleResponse) ProtoReflect ¶
func (x *PirSingleResponse) ProtoReflect() protoreflect.Message
func (*PirSingleResponse) Reset ¶
func (x *PirSingleResponse) Reset()
func (*PirSingleResponse) String ¶
func (x *PirSingleResponse) String() string
type PirSingleResponse_Status ¶
type PirSingleResponse_Status int32
const ( PirSingleResponse_UNKNOWN PirSingleResponse_Status = 0 PirSingleResponse_HIT PirSingleResponse_Status = 1 PirSingleResponse_UNHIT PirSingleResponse_Status = 2 PirSingleResponse_FAILED PirSingleResponse_Status = 3 )
func (PirSingleResponse_Status) Descriptor ¶
func (PirSingleResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (PirSingleResponse_Status) Enum ¶
func (x PirSingleResponse_Status) Enum() *PirSingleResponse_Status
func (PirSingleResponse_Status) EnumDescriptor
deprecated
func (PirSingleResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use PirSingleResponse_Status.Descriptor instead.
func (PirSingleResponse_Status) Number ¶
func (x PirSingleResponse_Status) Number() protoreflect.EnumNumber
func (PirSingleResponse_Status) String ¶
func (x PirSingleResponse_Status) String() string
func (PirSingleResponse_Status) Type ¶
func (PirSingleResponse_Status) Type() protoreflect.EnumType
type ServerQueryOption ¶
type ServerQueryOption struct { Paginator *paginator.Paginator `protobuf:"bytes,1,opt,name=paginator,proto3" json:"paginator,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` ServiceId uint64 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Status enums.PirService_Status `protobuf:"varint,4,opt,name=status,proto3,enum=sudo.protobuf.enums.PirService_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ServerQueryOption) Descriptor
deprecated
func (*ServerQueryOption) Descriptor() ([]byte, []int)
Deprecated: Use ServerQueryOption.ProtoReflect.Descriptor instead.
func (*ServerQueryOption) GetId ¶
func (x *ServerQueryOption) GetId() uint64
func (*ServerQueryOption) GetPaginator ¶
func (x *ServerQueryOption) GetPaginator() *paginator.Paginator
func (*ServerQueryOption) GetServiceId ¶
func (x *ServerQueryOption) GetServiceId() uint64
func (*ServerQueryOption) GetStatus ¶
func (x *ServerQueryOption) GetStatus() enums.PirService_Status
func (*ServerQueryOption) ProtoMessage ¶
func (*ServerQueryOption) ProtoMessage()
func (*ServerQueryOption) ProtoReflect ¶
func (x *ServerQueryOption) ProtoReflect() protoreflect.Message
func (*ServerQueryOption) Reset ¶
func (x *ServerQueryOption) Reset()
func (*ServerQueryOption) String ¶
func (x *ServerQueryOption) String() string
type ServerServiceTakeActionRequest ¶
type ServerServiceTakeActionRequest struct { ServiceIdStr string `protobuf:"bytes,1,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` // PirService_Action string Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*ServerServiceTakeActionRequest) Descriptor
deprecated
func (*ServerServiceTakeActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerServiceTakeActionRequest.ProtoReflect.Descriptor instead.
func (*ServerServiceTakeActionRequest) GetAction ¶
func (x *ServerServiceTakeActionRequest) GetAction() string
func (*ServerServiceTakeActionRequest) GetServiceIdStr ¶
func (x *ServerServiceTakeActionRequest) GetServiceIdStr() string
func (*ServerServiceTakeActionRequest) ProtoMessage ¶
func (*ServerServiceTakeActionRequest) ProtoMessage()
func (*ServerServiceTakeActionRequest) ProtoReflect ¶
func (x *ServerServiceTakeActionRequest) ProtoReflect() protoreflect.Message
func (*ServerServiceTakeActionRequest) Reset ¶
func (x *ServerServiceTakeActionRequest) Reset()
func (*ServerServiceTakeActionRequest) String ¶
func (x *ServerServiceTakeActionRequest) String() string
type ServerServiceTakeActionResponse ¶
type ServerServiceTakeActionResponse struct { Data *PirServer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ServerServiceTakeActionResponse) Descriptor
deprecated
func (*ServerServiceTakeActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerServiceTakeActionResponse.ProtoReflect.Descriptor instead.
func (*ServerServiceTakeActionResponse) GetData ¶
func (x *ServerServiceTakeActionResponse) GetData() *PirServer
func (*ServerServiceTakeActionResponse) ProtoMessage ¶
func (*ServerServiceTakeActionResponse) ProtoMessage()
func (*ServerServiceTakeActionResponse) ProtoReflect ¶
func (x *ServerServiceTakeActionResponse) ProtoReflect() protoreflect.Message
func (*ServerServiceTakeActionResponse) Reset ¶
func (x *ServerServiceTakeActionResponse) Reset()
func (*ServerServiceTakeActionResponse) String ¶
func (x *ServerServiceTakeActionResponse) String() string
type ServerUsageModel ¶
type ServerUsageModel struct { ServiceId uint64 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` ClientPartyId string `protobuf:"bytes,2,opt,name=client_party_id,json=clientPartyId,proto3" json:"client_party_id,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` RequestCount uint64 `protobuf:"varint,4,opt,name=request_count,json=requestCount,proto3" json:"request_count,omitempty"` UsageCount uint64 `protobuf:"varint,5,opt,name=usage_count,json=usageCount,proto3" json:"usage_count,omitempty"` Token string `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"` Succeeded bool `protobuf:"varint,7,opt,name=succeeded,proto3" json:"succeeded,omitempty"` CreatedTs int64 `protobuf:"varint,8,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` // contains filtered or unexported fields }
func (*ServerUsageModel) Descriptor
deprecated
func (*ServerUsageModel) Descriptor() ([]byte, []int)
Deprecated: Use ServerUsageModel.ProtoReflect.Descriptor instead.
func (*ServerUsageModel) GetClientPartyId ¶
func (x *ServerUsageModel) GetClientPartyId() string
func (*ServerUsageModel) GetCreatedTs ¶
func (x *ServerUsageModel) GetCreatedTs() int64
func (*ServerUsageModel) GetRequestCount ¶
func (x *ServerUsageModel) GetRequestCount() uint64
func (*ServerUsageModel) GetRequestId ¶
func (x *ServerUsageModel) GetRequestId() string
func (*ServerUsageModel) GetServiceId ¶
func (x *ServerUsageModel) GetServiceId() uint64
func (*ServerUsageModel) GetSucceeded ¶
func (x *ServerUsageModel) GetSucceeded() bool
func (*ServerUsageModel) GetToken ¶
func (x *ServerUsageModel) GetToken() string
func (*ServerUsageModel) GetUsageCount ¶
func (x *ServerUsageModel) GetUsageCount() uint64
func (*ServerUsageModel) ProtoMessage ¶
func (*ServerUsageModel) ProtoMessage()
func (*ServerUsageModel) ProtoReflect ¶
func (x *ServerUsageModel) ProtoReflect() protoreflect.Message
func (*ServerUsageModel) Reset ¶
func (x *ServerUsageModel) Reset()
func (*ServerUsageModel) String ¶
func (x *ServerUsageModel) String() string
type ServerUsageQueryOptions ¶
type ServerUsageQueryOptions struct { Paginator *paginator.Paginator `protobuf:"bytes,1,opt,name=paginator,proto3" json:"paginator,omitempty"` ServiceIdStr string `protobuf:"bytes,3,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` ClientPartyId string `protobuf:"bytes,6,opt,name=client_party_id,json=clientPartyId,proto3" json:"client_party_id,omitempty"` Token string `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ServerUsageQueryOptions) Descriptor
deprecated
func (*ServerUsageQueryOptions) Descriptor() ([]byte, []int)
Deprecated: Use ServerUsageQueryOptions.ProtoReflect.Descriptor instead.
func (*ServerUsageQueryOptions) GetClientPartyId ¶
func (x *ServerUsageQueryOptions) GetClientPartyId() string
func (*ServerUsageQueryOptions) GetPaginator ¶
func (x *ServerUsageQueryOptions) GetPaginator() *paginator.Paginator
func (*ServerUsageQueryOptions) GetServiceIdStr ¶
func (x *ServerUsageQueryOptions) GetServiceIdStr() string
func (*ServerUsageQueryOptions) GetToken ¶
func (x *ServerUsageQueryOptions) GetToken() string
func (*ServerUsageQueryOptions) ProtoMessage ¶
func (*ServerUsageQueryOptions) ProtoMessage()
func (*ServerUsageQueryOptions) ProtoReflect ¶
func (x *ServerUsageQueryOptions) ProtoReflect() protoreflect.Message
func (*ServerUsageQueryOptions) Reset ¶
func (x *ServerUsageQueryOptions) Reset()
func (*ServerUsageQueryOptions) String ¶
func (x *ServerUsageQueryOptions) String() string
type UpdatePirClientServiceRequest ¶
type UpdatePirClientServiceRequest struct { PirClient *PirClient `protobuf:"bytes,1,opt,name=pir_client,json=pirClient,proto3" json:"pir_client,omitempty"` // replaced by PirClient.ID // // Deprecated: Do not use. ServiceIdStr string `protobuf:"bytes,2,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` // replaced by PirClient.ID // // Deprecated: Do not use. OldToken string `protobuf:"bytes,3,opt,name=old_token,json=oldToken,proto3" json:"old_token,omitempty"` // contains filtered or unexported fields }
func (*UpdatePirClientServiceRequest) Descriptor
deprecated
func (*UpdatePirClientServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePirClientServiceRequest.ProtoReflect.Descriptor instead.
func (*UpdatePirClientServiceRequest) GetOldToken
deprecated
func (x *UpdatePirClientServiceRequest) GetOldToken() string
Deprecated: Do not use.
func (*UpdatePirClientServiceRequest) GetPirClient ¶
func (x *UpdatePirClientServiceRequest) GetPirClient() *PirClient
func (*UpdatePirClientServiceRequest) GetServiceIdStr
deprecated
func (x *UpdatePirClientServiceRequest) GetServiceIdStr() string
Deprecated: Do not use.
func (*UpdatePirClientServiceRequest) ProtoMessage ¶
func (*UpdatePirClientServiceRequest) ProtoMessage()
func (*UpdatePirClientServiceRequest) ProtoReflect ¶
func (x *UpdatePirClientServiceRequest) ProtoReflect() protoreflect.Message
func (*UpdatePirClientServiceRequest) Reset ¶
func (x *UpdatePirClientServiceRequest) Reset()
func (*UpdatePirClientServiceRequest) String ¶
func (x *UpdatePirClientServiceRequest) String() string
type UpdateServerDataRequest ¶
type UpdateServerDataRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DataModeParams *DataModeParams `protobuf:"bytes,2,opt,name=data_mode_params,json=dataModeParams,proto3" json:"data_mode_params,omitempty"` // contains filtered or unexported fields }
func (*UpdateServerDataRequest) Descriptor
deprecated
func (*UpdateServerDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServerDataRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerDataRequest) GetDataModeParams ¶
func (x *UpdateServerDataRequest) GetDataModeParams() *DataModeParams
func (*UpdateServerDataRequest) GetId ¶
func (x *UpdateServerDataRequest) GetId() uint64
func (*UpdateServerDataRequest) ProtoMessage ¶
func (*UpdateServerDataRequest) ProtoMessage()
func (*UpdateServerDataRequest) ProtoReflect ¶
func (x *UpdateServerDataRequest) ProtoReflect() protoreflect.Message
func (*UpdateServerDataRequest) Reset ¶
func (x *UpdateServerDataRequest) Reset()
func (*UpdateServerDataRequest) String ¶
func (x *UpdateServerDataRequest) String() string
type UpdateServerDataResponse ¶
type UpdateServerDataResponse struct { Status UpdateServerDataResponse_Status `` /* 130-byte string literal not displayed */ // 异常时返回原因 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*UpdateServerDataResponse) Descriptor
deprecated
func (*UpdateServerDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServerDataResponse.ProtoReflect.Descriptor instead.
func (*UpdateServerDataResponse) GetMsg ¶
func (x *UpdateServerDataResponse) GetMsg() string
func (*UpdateServerDataResponse) GetStatus ¶
func (x *UpdateServerDataResponse) GetStatus() UpdateServerDataResponse_Status
func (*UpdateServerDataResponse) ProtoMessage ¶
func (*UpdateServerDataResponse) ProtoMessage()
func (*UpdateServerDataResponse) ProtoReflect ¶
func (x *UpdateServerDataResponse) ProtoReflect() protoreflect.Message
func (*UpdateServerDataResponse) Reset ¶
func (x *UpdateServerDataResponse) Reset()
func (*UpdateServerDataResponse) String ¶
func (x *UpdateServerDataResponse) String() string
type UpdateServerDataResponse_Status ¶
type UpdateServerDataResponse_Status int32
const ( UpdateServerDataResponse_UNKNOWN_STATUS UpdateServerDataResponse_Status = 0 UpdateServerDataResponse_SUCCESS UpdateServerDataResponse_Status = 1 UpdateServerDataResponse_FAILED UpdateServerDataResponse_Status = 2 )
func (UpdateServerDataResponse_Status) Descriptor ¶
func (UpdateServerDataResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (UpdateServerDataResponse_Status) Enum ¶
func (x UpdateServerDataResponse_Status) Enum() *UpdateServerDataResponse_Status
func (UpdateServerDataResponse_Status) EnumDescriptor
deprecated
func (UpdateServerDataResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateServerDataResponse_Status.Descriptor instead.
func (UpdateServerDataResponse_Status) Number ¶
func (x UpdateServerDataResponse_Status) Number() protoreflect.EnumNumber
func (UpdateServerDataResponse_Status) String ¶
func (x UpdateServerDataResponse_Status) String() string
func (UpdateServerDataResponse_Status) Type ¶
func (UpdateServerDataResponse_Status) Type() protoreflect.EnumType
type UpdateServerServiceRequest ¶
type UpdateServerServiceRequest struct { PirServer *PirServer `protobuf:"bytes,1,opt,name=pir_server,json=pirServer,proto3" json:"pir_server,omitempty"` ServiceIdStr string `protobuf:"bytes,2,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"` // contains filtered or unexported fields }
func (*UpdateServerServiceRequest) Descriptor
deprecated
func (*UpdateServerServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServerServiceRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerServiceRequest) GetPirServer ¶
func (x *UpdateServerServiceRequest) GetPirServer() *PirServer
func (*UpdateServerServiceRequest) GetServiceIdStr ¶
func (x *UpdateServerServiceRequest) GetServiceIdStr() string
func (*UpdateServerServiceRequest) ProtoMessage ¶
func (*UpdateServerServiceRequest) ProtoMessage()
func (*UpdateServerServiceRequest) ProtoReflect ¶
func (x *UpdateServerServiceRequest) ProtoReflect() protoreflect.Message
func (*UpdateServerServiceRequest) Reset ¶
func (x *UpdateServerServiceRequest) Reset()
func (*UpdateServerServiceRequest) String ¶
func (x *UpdateServerServiceRequest) String() string
type VtableModeParams ¶
type VtableModeParams struct { VtableId uint64 `protobuf:"varint,1,opt,name=vtable_id,json=vtableId,proto3" json:"vtable_id,omitempty"` // contains filtered or unexported fields }
func (*VtableModeParams) Descriptor
deprecated
func (*VtableModeParams) Descriptor() ([]byte, []int)
Deprecated: Use VtableModeParams.ProtoReflect.Descriptor instead.
func (*VtableModeParams) GetVtableId ¶
func (x *VtableModeParams) GetVtableId() uint64
func (*VtableModeParams) ProtoMessage ¶
func (*VtableModeParams) ProtoMessage()
func (*VtableModeParams) ProtoReflect ¶
func (x *VtableModeParams) ProtoReflect() protoreflect.Message
func (*VtableModeParams) Reset ¶
func (x *VtableModeParams) Reset()
func (*VtableModeParams) String ¶
func (x *VtableModeParams) String() string