online_service

package
v0.0.0-...-568411c Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sudo_mpc_virtual_service_platform_online_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateServiceRequest

type CreateServiceRequest struct {
	Service *ServiceParam `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// 请求会转发到的中心节点ID
	// 若非空,则覆盖grpc metadata中设置的to-tusita
	ToTusita string `protobuf:"bytes,2,opt,name=to_tusita,json=toTusita,proto3" json:"to_tusita,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServiceRequest) Descriptor deprecated

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

Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest) GetService

func (x *CreateServiceRequest) GetService() *ServiceParam

func (*CreateServiceRequest) GetToTusita

func (x *CreateServiceRequest) GetToTusita() string

func (*CreateServiceRequest) ProtoMessage

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) ProtoReflect

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

func (*CreateServiceRequest) Reset

func (x *CreateServiceRequest) Reset()

func (*CreateServiceRequest) String

func (x *CreateServiceRequest) String() string

type CreateServiceResponse

type CreateServiceResponse struct {
	Data *Service `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServiceResponse) Descriptor deprecated

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

Deprecated: Use CreateServiceResponse.ProtoReflect.Descriptor instead.

func (*CreateServiceResponse) GetData

func (x *CreateServiceResponse) GetData() *Service

func (*CreateServiceResponse) ProtoMessage

func (*CreateServiceResponse) ProtoMessage()

func (*CreateServiceResponse) ProtoReflect

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

func (*CreateServiceResponse) Reset

func (x *CreateServiceResponse) Reset()

func (*CreateServiceResponse) String

func (x *CreateServiceResponse) String() string

type DeleteServiceRequest

type DeleteServiceRequest struct {
	ServiceId uint64 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// 请求会转发到的中心节点ID
	// 若非空,则覆盖grpc metadata中设置的to-tusita
	ToTusita string `protobuf:"bytes,2,opt,name=to_tusita,json=toTusita,proto3" json:"to_tusita,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteServiceRequest) Descriptor deprecated

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

Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetServiceId

func (x *DeleteServiceRequest) GetServiceId() uint64

func (*DeleteServiceRequest) GetToTusita

func (x *DeleteServiceRequest) GetToTusita() string

func (*DeleteServiceRequest) ProtoMessage

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) ProtoReflect

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

func (*DeleteServiceRequest) Reset

func (x *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) String

func (x *DeleteServiceRequest) String() string

type FeatureValues

type FeatureValues struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*FeatureValues) Descriptor deprecated

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

Deprecated: Use FeatureValues.ProtoReflect.Descriptor instead.

func (*FeatureValues) GetValues

func (x *FeatureValues) GetValues() []string

func (*FeatureValues) ProtoMessage

func (*FeatureValues) ProtoMessage()

func (*FeatureValues) ProtoReflect

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

func (*FeatureValues) Reset

func (x *FeatureValues) Reset()

func (*FeatureValues) String

func (x *FeatureValues) String() string

type GetOnlineBlockFromModelRequest

type GetOnlineBlockFromModelRequest struct {

	// 在线任务 id
	TaskId       uint64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	MajorVersion uint64 `protobuf:"varint,2,opt,name=major_version,json=majorVersion,proto3" json:"major_version,omitempty"`
	MinorVersion uint64 `protobuf:"varint,3,opt,name=minor_version,json=minorVersion,proto3" json:"minor_version,omitempty"`
	// 请求会转发到的中心节点ID
	// 若非空,则覆盖grpc metadata中设置的to-tusita
	ToTusita string `protobuf:"bytes,4,opt,name=to_tusita,json=toTusita,proto3" json:"to_tusita,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOnlineBlockFromModelRequest) Descriptor deprecated

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

Deprecated: Use GetOnlineBlockFromModelRequest.ProtoReflect.Descriptor instead.

func (*GetOnlineBlockFromModelRequest) GetMajorVersion

func (x *GetOnlineBlockFromModelRequest) GetMajorVersion() uint64

func (*GetOnlineBlockFromModelRequest) GetMinorVersion

func (x *GetOnlineBlockFromModelRequest) GetMinorVersion() uint64

func (*GetOnlineBlockFromModelRequest) GetTaskId

func (x *GetOnlineBlockFromModelRequest) GetTaskId() uint64

func (*GetOnlineBlockFromModelRequest) GetToTusita

func (x *GetOnlineBlockFromModelRequest) GetToTusita() string

func (*GetOnlineBlockFromModelRequest) ProtoMessage

func (*GetOnlineBlockFromModelRequest) ProtoMessage()

func (*GetOnlineBlockFromModelRequest) ProtoReflect

func (*GetOnlineBlockFromModelRequest) Reset

func (x *GetOnlineBlockFromModelRequest) Reset()

func (*GetOnlineBlockFromModelRequest) String

type GetOnlineBlockFromModelResponse

type GetOnlineBlockFromModelResponse struct {
	Data *OnlineBlockTemplate `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOnlineBlockFromModelResponse) Descriptor deprecated

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

Deprecated: Use GetOnlineBlockFromModelResponse.ProtoReflect.Descriptor instead.

func (*GetOnlineBlockFromModelResponse) GetData

func (*GetOnlineBlockFromModelResponse) ProtoMessage

func (*GetOnlineBlockFromModelResponse) ProtoMessage()

func (*GetOnlineBlockFromModelResponse) ProtoReflect

func (*GetOnlineBlockFromModelResponse) Reset

func (*GetOnlineBlockFromModelResponse) String

type GetServiceRequest

type GetServiceRequest struct {
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// 请求会转发到的中心节点ID
	// 若非空,则覆盖grpc metadata中设置的to-tusita
	ToTusita string `protobuf:"bytes,2,opt,name=to_tusita,json=toTusita,proto3" json:"to_tusita,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceRequest) Descriptor deprecated

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

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetServiceId

func (x *GetServiceRequest) GetServiceId() string

func (*GetServiceRequest) GetToTusita

func (x *GetServiceRequest) GetToTusita() string

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect

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

func (*GetServiceRequest) Reset

func (x *GetServiceRequest) Reset()

func (*GetServiceRequest) String

func (x *GetServiceRequest) String() string

type GetServiceResponse

type GetServiceResponse struct {
	Data *ServiceResp `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceResponse) Descriptor deprecated

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

Deprecated: Use GetServiceResponse.ProtoReflect.Descriptor instead.

func (*GetServiceResponse) GetData

func (x *GetServiceResponse) GetData() *ServiceResp

func (*GetServiceResponse) ProtoMessage

func (*GetServiceResponse) ProtoMessage()

func (*GetServiceResponse) ProtoReflect

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

func (*GetServiceResponse) Reset

func (x *GetServiceResponse) Reset()

func (*GetServiceResponse) String

func (x *GetServiceResponse) String() string

type GetServiceUsageRequest

type GetServiceUsageRequest struct {
	Pager        *paginator.Paginator `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	ServiceIdStr string               `protobuf:"bytes,2,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"`
	IsClient     bool                 `protobuf:"varint,3,opt,name=is_client,json=isClient,proto3" json:"is_client,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceUsageRequest) Descriptor deprecated

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

Deprecated: Use GetServiceUsageRequest.ProtoReflect.Descriptor instead.

func (*GetServiceUsageRequest) GetIsClient

func (x *GetServiceUsageRequest) GetIsClient() bool

func (*GetServiceUsageRequest) GetPager

func (*GetServiceUsageRequest) GetServiceIdStr

func (x *GetServiceUsageRequest) GetServiceIdStr() string

func (*GetServiceUsageRequest) ProtoMessage

func (*GetServiceUsageRequest) ProtoMessage()

func (*GetServiceUsageRequest) ProtoReflect

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

func (*GetServiceUsageRequest) Reset

func (x *GetServiceUsageRequest) Reset()

func (*GetServiceUsageRequest) String

func (x *GetServiceUsageRequest) String() string

type GetServiceUsageResponse

type GetServiceUsageResponse struct {
	Data  []*PredictServiceUsageModel `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 (*GetServiceUsageResponse) Descriptor deprecated

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

Deprecated: Use GetServiceUsageResponse.ProtoReflect.Descriptor instead.

func (*GetServiceUsageResponse) GetData

func (*GetServiceUsageResponse) GetTotal

func (x *GetServiceUsageResponse) GetTotal() int64

func (*GetServiceUsageResponse) ProtoMessage

func (*GetServiceUsageResponse) ProtoMessage()

func (*GetServiceUsageResponse) ProtoReflect

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

func (*GetServiceUsageResponse) Reset

func (x *GetServiceUsageResponse) Reset()

func (*GetServiceUsageResponse) String

func (x *GetServiceUsageResponse) String() string

type GetServicesRequest

type GetServicesRequest struct {
	Filter *ServiceFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	Tab    string         `protobuf:"bytes,2,opt,name=tab,proto3" json:"tab,omitempty"`
	// 请求会转发到的中心节点ID
	// 若非空,则覆盖grpc metadata中设置的to-tusita
	ToTusita string `protobuf:"bytes,3,opt,name=to_tusita,json=toTusita,proto3" json:"to_tusita,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServicesRequest) Descriptor deprecated

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

Deprecated: Use GetServicesRequest.ProtoReflect.Descriptor instead.

func (*GetServicesRequest) GetFilter

func (x *GetServicesRequest) GetFilter() *ServiceFilter

func (*GetServicesRequest) GetTab

func (x *GetServicesRequest) GetTab() string

func (*GetServicesRequest) GetToTusita

func (x *GetServicesRequest) GetToTusita() string

func (*GetServicesRequest) ProtoMessage

func (*GetServicesRequest) ProtoMessage()

func (*GetServicesRequest) ProtoReflect

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

func (*GetServicesRequest) Reset

func (x *GetServicesRequest) Reset()

func (*GetServicesRequest) String

func (x *GetServicesRequest) String() string

type GetServicesResponse

type GetServicesResponse struct {
	Data  []*Service `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Total uint64     `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServicesResponse) Descriptor deprecated

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

Deprecated: Use GetServicesResponse.ProtoReflect.Descriptor instead.

func (*GetServicesResponse) GetData

func (x *GetServicesResponse) GetData() []*Service

func (*GetServicesResponse) GetTotal

func (x *GetServicesResponse) GetTotal() uint64

func (*GetServicesResponse) ProtoMessage

func (*GetServicesResponse) ProtoMessage()

func (*GetServicesResponse) ProtoReflect

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

func (*GetServicesResponse) Reset

func (x *GetServicesResponse) Reset()

func (*GetServicesResponse) String

func (x *GetServicesResponse) String() string

type OnlineBlockTemplate

type OnlineBlockTemplate struct {
	PartyInfos    []*protobuf.PartyInfo     `protobuf:"bytes,1,rep,name=party_infos,json=partyInfos,proto3" json:"party_infos,omitempty"`
	Operators     []*OnlineOperatorTemplate `protobuf:"bytes,2,rep,name=operators,proto3" json:"operators,omitempty"`
	ClientPartyId string                    `protobuf:"bytes,3,opt,name=client_party_id,json=clientPartyId,proto3" json:"client_party_id,omitempty"`
	// contains filtered or unexported fields
}

OnlineBlockTemplate 几乎就是OnlineBlock的子集,furnace可以根据它 来生成需要的OnlineBlock来发给operator(例如填充url,数据路径等)。 包一层的原因是为了对前端/用户友好, 以及尽量解耦paas之间的联调和furnace/operator的联调

func (*OnlineBlockTemplate) Descriptor deprecated

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

Deprecated: Use OnlineBlockTemplate.ProtoReflect.Descriptor instead.

func (*OnlineBlockTemplate) GetClientPartyId

func (x *OnlineBlockTemplate) GetClientPartyId() string

func (*OnlineBlockTemplate) GetOperators

func (x *OnlineBlockTemplate) GetOperators() []*OnlineOperatorTemplate

func (*OnlineBlockTemplate) GetPartyInfos

func (x *OnlineBlockTemplate) GetPartyInfos() []*protobuf.PartyInfo

func (*OnlineBlockTemplate) ProtoMessage

func (*OnlineBlockTemplate) ProtoMessage()

func (*OnlineBlockTemplate) ProtoReflect

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

func (*OnlineBlockTemplate) Reset

func (x *OnlineBlockTemplate) Reset()

func (*OnlineBlockTemplate) String

func (x *OnlineBlockTemplate) String() string

type OnlineInput

type OnlineInput struct {
	Type        string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	VtableId    uint64 `protobuf:"varint,2,opt,name=vtable_id,json=vtableId,proto3" json:"vtable_id,omitempty"`
	KeyColumn   string `protobuf:"bytes,3,opt,name=key_column,json=keyColumn,proto3" json:"key_column,omitempty"`
	BucketCount uint64 `protobuf:"varint,4,opt,name=bucket_count,json=bucketCount,proto3" json:"bucket_count,omitempty"`
	// Deprecated: 模型服务保护ID时,分区数暂未使用
	//
	// Deprecated: Do not use.
	PartitionCount uint64 `protobuf:"varint,5,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineInput) Descriptor deprecated

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

Deprecated: Use OnlineInput.ProtoReflect.Descriptor instead.

func (*OnlineInput) GetBucketCount

func (x *OnlineInput) GetBucketCount() uint64

func (*OnlineInput) GetKeyColumn

func (x *OnlineInput) GetKeyColumn() string

func (*OnlineInput) GetPartitionCount deprecated

func (x *OnlineInput) GetPartitionCount() uint64

Deprecated: Do not use.

func (*OnlineInput) GetType

func (x *OnlineInput) GetType() string

func (*OnlineInput) GetVtableId

func (x *OnlineInput) GetVtableId() uint64

func (*OnlineInput) ProtoMessage

func (*OnlineInput) ProtoMessage()

func (*OnlineInput) ProtoReflect

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

func (*OnlineInput) Reset

func (x *OnlineInput) Reset()

func (*OnlineInput) String

func (x *OnlineInput) String() string

type OnlineOperatorTemplate

type OnlineOperatorTemplate struct {
	Name         string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	StageType    enums.Stage_Type     `protobuf:"varint,2,opt,name=stage_type,json=stageType,proto3,enum=sudo.protobuf.enums.Stage_Type" json:"stage_type,omitempty"`
	StageTypeStr string               `protobuf:"bytes,3,opt,name=stage_type_str,json=stageTypeStr,proto3" json:"stage_type_str,omitempty"`
	Participants []*OnlineParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineOperatorTemplate) Descriptor deprecated

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

Deprecated: Use OnlineOperatorTemplate.ProtoReflect.Descriptor instead.

func (*OnlineOperatorTemplate) GetName

func (x *OnlineOperatorTemplate) GetName() string

func (*OnlineOperatorTemplate) GetParticipants

func (x *OnlineOperatorTemplate) GetParticipants() []*OnlineParticipant

func (*OnlineOperatorTemplate) GetStageType

func (x *OnlineOperatorTemplate) GetStageType() enums.Stage_Type

func (*OnlineOperatorTemplate) GetStageTypeStr

func (x *OnlineOperatorTemplate) GetStageTypeStr() string

func (*OnlineOperatorTemplate) ProtoMessage

func (*OnlineOperatorTemplate) ProtoMessage()

func (*OnlineOperatorTemplate) ProtoReflect

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

func (*OnlineOperatorTemplate) Reset

func (x *OnlineOperatorTemplate) Reset()

func (*OnlineOperatorTemplate) String

func (x *OnlineOperatorTemplate) String() string

type OnlineParticipant

type OnlineParticipant struct {
	PartyId        string                                    `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	PreloadInputs  map[string]*infra_adapter.FurnaceProperty `` /* 188-byte string literal not displayed */
	UpstreamInputs map[string]*protobuf.OnlineParamKey       `` /* 191-byte string literal not displayed */
	OnlineInputs   map[string]*OnlineInput                   `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OnlineParticipant) Descriptor deprecated

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

Deprecated: Use OnlineParticipant.ProtoReflect.Descriptor instead.

func (*OnlineParticipant) GetOnlineInputs

func (x *OnlineParticipant) GetOnlineInputs() map[string]*OnlineInput

func (*OnlineParticipant) GetPartyId

func (x *OnlineParticipant) GetPartyId() string

func (*OnlineParticipant) GetPreloadInputs

func (x *OnlineParticipant) GetPreloadInputs() map[string]*infra_adapter.FurnaceProperty

func (*OnlineParticipant) GetUpstreamInputs

func (x *OnlineParticipant) GetUpstreamInputs() map[string]*protobuf.OnlineParamKey

func (*OnlineParticipant) ProtoMessage

func (*OnlineParticipant) ProtoMessage()

func (*OnlineParticipant) ProtoReflect

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

func (*OnlineParticipant) Reset

func (x *OnlineParticipant) Reset()

func (*OnlineParticipant) String

func (x *OnlineParticipant) String() string

type PredictRequest

type PredictRequest struct {
	SubPath        string           `protobuf:"bytes,1,opt,name=sub_path,json=subPath,proto3" json:"sub_path,omitempty"`
	Ids            []string         `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	FeatureColumns []string         `protobuf:"bytes,3,rep,name=feature_columns,json=featureColumns,proto3" json:"feature_columns,omitempty"`
	Features       []*FeatureValues `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"`
	// contains filtered or unexported fields
}

func (*PredictRequest) Descriptor deprecated

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

Deprecated: Use PredictRequest.ProtoReflect.Descriptor instead.

func (*PredictRequest) GetFeatureColumns

func (x *PredictRequest) GetFeatureColumns() []string

func (*PredictRequest) GetFeatures

func (x *PredictRequest) GetFeatures() []*FeatureValues

func (*PredictRequest) GetIds

func (x *PredictRequest) GetIds() []string

func (*PredictRequest) GetSubPath

func (x *PredictRequest) GetSubPath() string

func (*PredictRequest) ProtoMessage

func (*PredictRequest) ProtoMessage()

func (*PredictRequest) ProtoReflect

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

func (*PredictRequest) Reset

func (x *PredictRequest) Reset()

func (*PredictRequest) String

func (x *PredictRequest) String() string

type PredictResponse

type PredictResponse struct {
	Responses []*PredictSingleResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*PredictResponse) Descriptor deprecated

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

Deprecated: Use PredictResponse.ProtoReflect.Descriptor instead.

func (*PredictResponse) GetResponses

func (x *PredictResponse) GetResponses() []*PredictSingleResponse

func (*PredictResponse) ProtoMessage

func (*PredictResponse) ProtoMessage()

func (*PredictResponse) ProtoReflect

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

func (*PredictResponse) Reset

func (x *PredictResponse) Reset()

func (*PredictResponse) String

func (x *PredictResponse) String() string

type PredictServiceUsageModel

type PredictServiceUsageModel 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"`
	IsClient     bool   `protobuf:"varint,7,opt,name=is_client,json=isClient,proto3" json:"is_client,omitempty"`
	Succeeded    bool   `protobuf:"varint,8,opt,name=succeeded,proto3" json:"succeeded,omitempty"`
	Message      string `protobuf:"bytes,9,opt,name=message,proto3" json:"message,omitempty"`
	CreatedTs    int64  `protobuf:"varint,10,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"`
	// contains filtered or unexported fields
}

func (*PredictServiceUsageModel) Descriptor deprecated

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

Deprecated: Use PredictServiceUsageModel.ProtoReflect.Descriptor instead.

func (*PredictServiceUsageModel) GetApiRequest

func (x *PredictServiceUsageModel) GetApiRequest() string

func (*PredictServiceUsageModel) GetApiResponse

func (x *PredictServiceUsageModel) GetApiResponse() string

func (*PredictServiceUsageModel) GetCreatedTs

func (x *PredictServiceUsageModel) GetCreatedTs() int64

func (*PredictServiceUsageModel) GetIsClient

func (x *PredictServiceUsageModel) GetIsClient() bool

func (*PredictServiceUsageModel) GetMessage

func (x *PredictServiceUsageModel) GetMessage() string

func (*PredictServiceUsageModel) GetRequestCount

func (x *PredictServiceUsageModel) GetRequestCount() uint64

func (*PredictServiceUsageModel) GetRequestId

func (x *PredictServiceUsageModel) GetRequestId() string

func (*PredictServiceUsageModel) GetServiceId

func (x *PredictServiceUsageModel) GetServiceId() uint64

func (*PredictServiceUsageModel) GetSucceeded

func (x *PredictServiceUsageModel) GetSucceeded() bool

func (*PredictServiceUsageModel) GetUsageCount

func (x *PredictServiceUsageModel) GetUsageCount() uint64

func (*PredictServiceUsageModel) ProtoMessage

func (*PredictServiceUsageModel) ProtoMessage()

func (*PredictServiceUsageModel) ProtoReflect

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

func (*PredictServiceUsageModel) Reset

func (x *PredictServiceUsageModel) Reset()

func (*PredictServiceUsageModel) String

func (x *PredictServiceUsageModel) String() string

type PredictSingleResponse

type PredictSingleResponse struct {
	Response map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PredictSingleResponse) Descriptor deprecated

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

Deprecated: Use PredictSingleResponse.ProtoReflect.Descriptor instead.

func (*PredictSingleResponse) GetResponse

func (x *PredictSingleResponse) GetResponse() map[string]string

func (*PredictSingleResponse) ProtoMessage

func (*PredictSingleResponse) ProtoMessage()

func (*PredictSingleResponse) ProtoReflect

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

func (*PredictSingleResponse) Reset

func (x *PredictSingleResponse) Reset()

func (*PredictSingleResponse) String

func (x *PredictSingleResponse) String() string

type PredictTaskInfo

type PredictTaskInfo struct {
	TaskId       uint64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	BeHidden     bool   `protobuf:"varint,3,opt,name=be_hidden,json=beHidden,proto3" json:"be_hidden,omitempty"`
	MajorVersion uint64 `protobuf:"varint,4,opt,name=major_version,json=majorVersion,proto3" json:"major_version,omitempty"`
	MinorVersion uint64 `protobuf:"varint,5,opt,name=minor_version,json=minorVersion,proto3" json:"minor_version,omitempty"`
	// contains filtered or unexported fields
}

func (*PredictTaskInfo) Descriptor deprecated

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

Deprecated: Use PredictTaskInfo.ProtoReflect.Descriptor instead.

func (*PredictTaskInfo) GetBeHidden

func (x *PredictTaskInfo) GetBeHidden() bool

func (*PredictTaskInfo) GetMajorVersion

func (x *PredictTaskInfo) GetMajorVersion() uint64

func (*PredictTaskInfo) GetMinorVersion

func (x *PredictTaskInfo) GetMinorVersion() uint64

func (*PredictTaskInfo) GetName

func (x *PredictTaskInfo) GetName() string

func (*PredictTaskInfo) GetTaskId

func (x *PredictTaskInfo) GetTaskId() uint64

func (*PredictTaskInfo) ProtoMessage

func (*PredictTaskInfo) ProtoMessage()

func (*PredictTaskInfo) ProtoReflect

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

func (*PredictTaskInfo) Reset

func (x *PredictTaskInfo) Reset()

func (*PredictTaskInfo) String

func (x *PredictTaskInfo) String() string

type ReviewInfo

type ReviewInfo struct {
	ReviewerName string        `protobuf:"bytes,1,opt,name=reviewer_name,json=reviewerName,proto3" json:"reviewer_name,omitempty"`
	Base         *apl.Reviewer `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*ReviewInfo) Descriptor deprecated

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

Deprecated: Use ReviewInfo.ProtoReflect.Descriptor instead.

func (*ReviewInfo) GetBase

func (x *ReviewInfo) GetBase() *apl.Reviewer

func (*ReviewInfo) GetReviewerName

func (x *ReviewInfo) GetReviewerName() string

func (*ReviewInfo) ProtoMessage

func (*ReviewInfo) ProtoMessage()

func (*ReviewInfo) ProtoReflect

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

func (*ReviewInfo) Reset

func (x *ReviewInfo) Reset()

func (*ReviewInfo) String

func (x *ReviewInfo) String() string

type Service

type Service struct {
	Base        *ServiceModel        `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Status      string               `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	ServiceType string               `protobuf:"bytes,3,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	ApiPath     string               `protobuf:"bytes,4,opt,name=api_path,json=apiPath,proto3" json:"api_path,omitempty"`
	OnlineBlock *OnlineBlockTemplate `protobuf:"bytes,5,opt,name=online_block,json=onlineBlock,proto3" json:"online_block,omitempty"`
	ProjectName string               `protobuf:"bytes,6,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	UserName    string               `protobuf:"bytes,7,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	TaskInfo    *PredictTaskInfo     `protobuf:"bytes,8,opt,name=task_info,json=taskInfo,proto3" json:"task_info,omitempty"`
	Reviewers   []*ReviewInfo        `protobuf:"bytes,9,rep,name=reviewers,proto3" json:"reviewers,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetApiPath

func (x *Service) GetApiPath() string

func (*Service) GetBase

func (x *Service) GetBase() *ServiceModel

func (*Service) GetOnlineBlock

func (x *Service) GetOnlineBlock() *OnlineBlockTemplate

func (*Service) GetProjectName

func (x *Service) GetProjectName() string

func (*Service) GetReviewers

func (x *Service) GetReviewers() []*ReviewInfo

func (*Service) GetServiceType

func (x *Service) GetServiceType() string

func (*Service) GetStatus

func (x *Service) GetStatus() string

func (*Service) GetTaskInfo

func (x *Service) GetTaskInfo() *PredictTaskInfo

func (*Service) GetUserName

func (x *Service) GetUserName() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceFilter

type ServiceFilter struct {
	Pager      *paginator.Paginator `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	ServiceIds []uint64             `protobuf:"varint,2,rep,packed,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"`
	// 暂时未使用
	// repeated uint64 project_ids = 3;
	OwnerPartyId       string `protobuf:"bytes,4,opt,name=owner_party_id,json=ownerPartyId,proto3" json:"owner_party_id,omitempty"`
	OwnerUserId        uint64 `protobuf:"varint,5,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
	ServiceType        string `protobuf:"bytes,6,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	ExceptOwnerPartyId string `protobuf:"bytes,7,opt,name=except_owner_party_id,json=exceptOwnerPartyId,proto3" json:"except_owner_party_id,omitempty"`
	FuzzyText          string `protobuf:"bytes,8,opt,name=fuzzy_text,json=fuzzyText,proto3" json:"fuzzy_text,omitempty"`
	Status             string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
	IncludeSoftDeleted bool   `protobuf:"varint,10,opt,name=include_soft_deleted,json=includeSoftDeleted,proto3" json:"include_soft_deleted,omitempty"`
	WithReviwers       bool   `protobuf:"varint,11,opt,name=with_reviwers,json=withReviwers,proto3" json:"with_reviwers,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceFilter) Descriptor deprecated

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

Deprecated: Use ServiceFilter.ProtoReflect.Descriptor instead.

func (*ServiceFilter) GetExceptOwnerPartyId

func (x *ServiceFilter) GetExceptOwnerPartyId() string

func (*ServiceFilter) GetFuzzyText

func (x *ServiceFilter) GetFuzzyText() string

func (*ServiceFilter) GetIncludeSoftDeleted

func (x *ServiceFilter) GetIncludeSoftDeleted() bool

func (*ServiceFilter) GetOwnerPartyId

func (x *ServiceFilter) GetOwnerPartyId() string

func (*ServiceFilter) GetOwnerUserId

func (x *ServiceFilter) GetOwnerUserId() uint64

func (*ServiceFilter) GetPager

func (x *ServiceFilter) GetPager() *paginator.Paginator

func (*ServiceFilter) GetServiceIds

func (x *ServiceFilter) GetServiceIds() []uint64

func (*ServiceFilter) GetServiceType

func (x *ServiceFilter) GetServiceType() string

func (*ServiceFilter) GetStatus

func (x *ServiceFilter) GetStatus() string

func (*ServiceFilter) GetWithReviwers

func (x *ServiceFilter) GetWithReviwers() bool

func (*ServiceFilter) ProtoMessage

func (*ServiceFilter) ProtoMessage()

func (*ServiceFilter) ProtoReflect

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

func (*ServiceFilter) Reset

func (x *ServiceFilter) Reset()

func (*ServiceFilter) String

func (x *ServiceFilter) String() string

type ServiceModel

type ServiceModel 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"`
	ProjectId     uint64 `protobuf:"varint,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	OwnerPartyId  string `protobuf:"bytes,8,opt,name=owner_party_id,json=ownerPartyId,proto3" json:"owner_party_id,omitempty"`
	OwnerUserId   uint64 `protobuf:"varint,9,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
	ClientPartyId string `protobuf:"bytes,10,opt,name=client_party_id,json=clientPartyId,proto3" json:"client_party_id,omitempty"`
	Path          string `protobuf:"bytes,11,opt,name=path,proto3" json:"path,omitempty"`
	Token         string `protobuf:"bytes,12,opt,name=token,proto3" json:"token,omitempty"`
	Message       string `protobuf:"bytes,13,opt,name=message,proto3" json:"message,omitempty"`
	// predict task ID
	TaskId           uint64                     `protobuf:"varint,14,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	ProtectId        bool                       `protobuf:"varint,15,opt,name=protect_id,json=protectId,proto3" json:"protect_id,omitempty"`
	TerminatePartyId string                     `protobuf:"bytes,16,opt,name=terminate_party_id,json=terminatePartyId,proto3" json:"terminate_party_id,omitempty"`
	AplId            uint64                     `protobuf:"varint,17,opt,name=apl_id,json=aplId,proto3" json:"apl_id,omitempty"`
	TripletsBitInfo  enums.TripletsBitInfo_Type `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServiceModel) Descriptor deprecated

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

Deprecated: Use ServiceModel.ProtoReflect.Descriptor instead.

func (*ServiceModel) GetAplId

func (x *ServiceModel) GetAplId() uint64

func (*ServiceModel) GetClientPartyId

func (x *ServiceModel) GetClientPartyId() string

func (*ServiceModel) GetCreatedTs

func (x *ServiceModel) GetCreatedTs() int64

func (*ServiceModel) GetDescription

func (x *ServiceModel) GetDescription() string

func (*ServiceModel) GetId

func (x *ServiceModel) GetId() uint64

func (*ServiceModel) GetMessage

func (x *ServiceModel) GetMessage() string

func (*ServiceModel) GetName

func (x *ServiceModel) GetName() string

func (*ServiceModel) GetOwnerPartyId

func (x *ServiceModel) GetOwnerPartyId() string

func (*ServiceModel) GetOwnerUserId

func (x *ServiceModel) GetOwnerUserId() uint64

func (*ServiceModel) GetPath

func (x *ServiceModel) GetPath() string

func (*ServiceModel) GetProjectId

func (x *ServiceModel) GetProjectId() uint64

func (*ServiceModel) GetProtectId

func (x *ServiceModel) GetProtectId() bool

func (*ServiceModel) GetServiceId

func (x *ServiceModel) GetServiceId() uint64

func (*ServiceModel) GetTaskId

func (x *ServiceModel) GetTaskId() uint64

func (*ServiceModel) GetTerminatePartyId

func (x *ServiceModel) GetTerminatePartyId() string

func (*ServiceModel) GetToken

func (x *ServiceModel) GetToken() string

func (*ServiceModel) GetTripletsBitInfo

func (x *ServiceModel) GetTripletsBitInfo() enums.TripletsBitInfo_Type

func (*ServiceModel) GetUpdatedTs

func (x *ServiceModel) GetUpdatedTs() int64

func (*ServiceModel) ProtoMessage

func (*ServiceModel) ProtoMessage()

func (*ServiceModel) ProtoReflect

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

func (*ServiceModel) Reset

func (x *ServiceModel) Reset()

func (*ServiceModel) String

func (x *ServiceModel) String() string

type ServiceParam

type ServiceParam struct {
	ServiceId       uint64                     `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	Name            string                     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description     string                     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	ServiceType     enums.Service_Type         `` /* 133-byte string literal not displayed */
	ProjectId       uint64                     `protobuf:"varint,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Path            string                     `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	Token           string                     `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"`
	ProtectId       bool                       `protobuf:"varint,8,opt,name=protect_id,json=protectId,proto3" json:"protect_id,omitempty"`
	TaskId          uint64                     `protobuf:"varint,9,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	MajorVersion    uint64                     `protobuf:"varint,10,opt,name=major_version,json=majorVersion,proto3" json:"major_version,omitempty"`
	MinorVersion    uint64                     `protobuf:"varint,11,opt,name=minor_version,json=minorVersion,proto3" json:"minor_version,omitempty"`
	TripletsBitInfo enums.TripletsBitInfo_Type `` /* 156-byte string literal not displayed */
	OnlineBlock     *OnlineBlockTemplate       `protobuf:"bytes,13,opt,name=online_block,json=onlineBlock,proto3" json:"online_block,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceParam) Descriptor deprecated

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

Deprecated: Use ServiceParam.ProtoReflect.Descriptor instead.

func (*ServiceParam) GetDescription

func (x *ServiceParam) GetDescription() string

func (*ServiceParam) GetMajorVersion

func (x *ServiceParam) GetMajorVersion() uint64

func (*ServiceParam) GetMinorVersion

func (x *ServiceParam) GetMinorVersion() uint64

func (*ServiceParam) GetName

func (x *ServiceParam) GetName() string

func (*ServiceParam) GetOnlineBlock

func (x *ServiceParam) GetOnlineBlock() *OnlineBlockTemplate

func (*ServiceParam) GetPath

func (x *ServiceParam) GetPath() string

func (*ServiceParam) GetProjectId

func (x *ServiceParam) GetProjectId() uint64

func (*ServiceParam) GetProtectId

func (x *ServiceParam) GetProtectId() bool

func (*ServiceParam) GetServiceId

func (x *ServiceParam) GetServiceId() uint64

func (*ServiceParam) GetServiceType

func (x *ServiceParam) GetServiceType() enums.Service_Type

func (*ServiceParam) GetTaskId

func (x *ServiceParam) GetTaskId() uint64

func (*ServiceParam) GetToken

func (x *ServiceParam) GetToken() string

func (*ServiceParam) GetTripletsBitInfo

func (x *ServiceParam) GetTripletsBitInfo() enums.TripletsBitInfo_Type

func (*ServiceParam) ProtoMessage

func (*ServiceParam) ProtoMessage()

func (*ServiceParam) ProtoReflect

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

func (*ServiceParam) Reset

func (x *ServiceParam) Reset()

func (*ServiceParam) String

func (x *ServiceParam) String() string

type ServiceResp

type ServiceResp struct {
	Service *Service        `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	Config  *structpb.Value `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceResp) Descriptor deprecated

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

Deprecated: Use ServiceResp.ProtoReflect.Descriptor instead.

func (*ServiceResp) GetConfig

func (x *ServiceResp) GetConfig() *structpb.Value

func (*ServiceResp) GetService

func (x *ServiceResp) GetService() *Service

func (*ServiceResp) ProtoMessage

func (*ServiceResp) ProtoMessage()

func (*ServiceResp) ProtoReflect

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

func (*ServiceResp) Reset

func (x *ServiceResp) Reset()

func (*ServiceResp) String

func (x *ServiceResp) String() string

type ServiceTakeActionParam

type ServiceTakeActionParam struct {
	ServiceId uint64               `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	Action    enums.Service_Action `protobuf:"varint,2,opt,name=action,proto3,enum=sudo.protobuf.enums.Service_Action" json:"action,omitempty"`
	Msg       string               `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceTakeActionParam) Descriptor deprecated

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

Deprecated: Use ServiceTakeActionParam.ProtoReflect.Descriptor instead.

func (*ServiceTakeActionParam) GetAction

func (*ServiceTakeActionParam) GetMsg

func (x *ServiceTakeActionParam) GetMsg() string

func (*ServiceTakeActionParam) GetServiceId

func (x *ServiceTakeActionParam) GetServiceId() uint64

func (*ServiceTakeActionParam) ProtoMessage

func (*ServiceTakeActionParam) ProtoMessage()

func (*ServiceTakeActionParam) ProtoReflect

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

func (*ServiceTakeActionParam) Reset

func (x *ServiceTakeActionParam) Reset()

func (*ServiceTakeActionParam) String

func (x *ServiceTakeActionParam) String() string

type ServiceTakeActionRequest

type ServiceTakeActionRequest struct {
	Param        *ServiceTakeActionParam `protobuf:"bytes,1,opt,name=param,proto3" json:"param,omitempty"`
	ServiceIdStr string                  `protobuf:"bytes,2,opt,name=service_id_str,json=serviceIdStr,proto3" json:"service_id_str,omitempty"`
	// 请求会转发到的中心节点ID
	// 若非空,则覆盖grpc metadata中设置的to-tusita
	ToTusita string `protobuf:"bytes,3,opt,name=to_tusita,json=toTusita,proto3" json:"to_tusita,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceTakeActionRequest) Descriptor deprecated

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

Deprecated: Use ServiceTakeActionRequest.ProtoReflect.Descriptor instead.

func (*ServiceTakeActionRequest) GetParam

func (*ServiceTakeActionRequest) GetServiceIdStr

func (x *ServiceTakeActionRequest) GetServiceIdStr() string

func (*ServiceTakeActionRequest) GetToTusita

func (x *ServiceTakeActionRequest) GetToTusita() string

func (*ServiceTakeActionRequest) ProtoMessage

func (*ServiceTakeActionRequest) ProtoMessage()

func (*ServiceTakeActionRequest) ProtoReflect

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

func (*ServiceTakeActionRequest) Reset

func (x *ServiceTakeActionRequest) Reset()

func (*ServiceTakeActionRequest) String

func (x *ServiceTakeActionRequest) String() string

type ServiceTakeActionResponse

type ServiceTakeActionResponse struct {
	Data *Service `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceTakeActionResponse) Descriptor deprecated

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

Deprecated: Use ServiceTakeActionResponse.ProtoReflect.Descriptor instead.

func (*ServiceTakeActionResponse) GetData

func (x *ServiceTakeActionResponse) GetData() *Service

func (*ServiceTakeActionResponse) ProtoMessage

func (*ServiceTakeActionResponse) ProtoMessage()

func (*ServiceTakeActionResponse) ProtoReflect

func (*ServiceTakeActionResponse) Reset

func (x *ServiceTakeActionResponse) Reset()

func (*ServiceTakeActionResponse) String

func (x *ServiceTakeActionResponse) String() string

type UpdateServiceRequest

type UpdateServiceRequest struct {
	Service *ServiceParam `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// 请求会转发到的中心节点ID
	// 若非空,则覆盖grpc metadata中设置的to-tusita
	ToTusita string `protobuf:"bytes,2,opt,name=to_tusita,json=toTusita,proto3" json:"to_tusita,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateServiceRequest) Descriptor deprecated

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

Deprecated: Use UpdateServiceRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceRequest) GetService

func (x *UpdateServiceRequest) GetService() *ServiceParam

func (*UpdateServiceRequest) GetToTusita

func (x *UpdateServiceRequest) GetToTusita() string

func (*UpdateServiceRequest) ProtoMessage

func (*UpdateServiceRequest) ProtoMessage()

func (*UpdateServiceRequest) ProtoReflect

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

func (*UpdateServiceRequest) Reset

func (x *UpdateServiceRequest) Reset()

func (*UpdateServiceRequest) String

func (x *UpdateServiceRequest) String() string

Jump to

Keyboard shortcuts

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