Documentation ¶
Index ¶
- Variables
- type APIUsageNotifyResponse
- func (*APIUsageNotifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIUsageNotifyResponse) GetMsg() string
- func (x *APIUsageNotifyResponse) GetStatus() APIUsageNotifyResponse_Status
- func (*APIUsageNotifyResponse) ProtoMessage()
- func (x *APIUsageNotifyResponse) ProtoReflect() protoreflect.Message
- func (x *APIUsageNotifyResponse) Reset()
- func (x *APIUsageNotifyResponse) String() string
- type APIUsageNotifyResponse_Status
- func (APIUsageNotifyResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x APIUsageNotifyResponse_Status) Enum() *APIUsageNotifyResponse_Status
- func (APIUsageNotifyResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x APIUsageNotifyResponse_Status) Number() protoreflect.EnumNumber
- func (x APIUsageNotifyResponse_Status) String() string
- func (APIUsageNotifyResponse_Status) Type() protoreflect.EnumType
- type ListAPIUsagesRequest
- func (*ListAPIUsagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAPIUsagesRequest) GetApiId() string
- func (x *ListAPIUsagesRequest) GetCaller() string
- func (x *ListAPIUsagesRequest) GetCreateTimeFrom() int64
- func (x *ListAPIUsagesRequest) GetCreateTimeTo() int64
- func (x *ListAPIUsagesRequest) GetIsClient() bool
- func (x *ListAPIUsagesRequest) GetPaginator() *paginator.Paginator
- func (x *ListAPIUsagesRequest) GetPartyId() string
- func (x *ListAPIUsagesRequest) GetStatus() api_usage.APIUsage_Status
- func (x *ListAPIUsagesRequest) GetType() api_usage.APIUsage_Type
- func (*ListAPIUsagesRequest) ProtoMessage()
- func (x *ListAPIUsagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAPIUsagesRequest) Reset()
- func (x *ListAPIUsagesRequest) String() string
- type ListAPIUsagesResponse
- func (*ListAPIUsagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAPIUsagesResponse) GetData() []*api_usage.APIUsage
- func (x *ListAPIUsagesResponse) GetTotal() int64
- func (*ListAPIUsagesResponse) ProtoMessage()
- func (x *ListAPIUsagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAPIUsagesResponse) Reset()
- func (x *ListAPIUsagesResponse) String() string
- type UpsertAPIUsageReceiverRequest
- func (*UpsertAPIUsageReceiverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertAPIUsageReceiverRequest) GetDisabled() bool
- func (x *UpsertAPIUsageReceiverRequest) GetToken() string
- func (x *UpsertAPIUsageReceiverRequest) GetUrl() string
- func (*UpsertAPIUsageReceiverRequest) ProtoMessage()
- func (x *UpsertAPIUsageReceiverRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertAPIUsageReceiverRequest) Reset()
- func (x *UpsertAPIUsageReceiverRequest) String() string
- type UpsertAPIUsageReceiverResponse
- func (*UpsertAPIUsageReceiverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertAPIUsageReceiverResponse) GetMsg() string
- func (x *UpsertAPIUsageReceiverResponse) GetStatus() UpsertAPIUsageReceiverResponse_Status
- func (*UpsertAPIUsageReceiverResponse) ProtoMessage()
- func (x *UpsertAPIUsageReceiverResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertAPIUsageReceiverResponse) Reset()
- func (x *UpsertAPIUsageReceiverResponse) String() string
- type UpsertAPIUsageReceiverResponse_Status
- func (UpsertAPIUsageReceiverResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x UpsertAPIUsageReceiverResponse_Status) Enum() *UpsertAPIUsageReceiverResponse_Status
- func (UpsertAPIUsageReceiverResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpsertAPIUsageReceiverResponse_Status) Number() protoreflect.EnumNumber
- func (x UpsertAPIUsageReceiverResponse_Status) String() string
- func (UpsertAPIUsageReceiverResponse_Status) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UpsertAPIUsageReceiverResponse_Status_name = map[int32]string{ 0: "UNKNOWN_STATUS", 1: "SUCCESS", 2: "FAILED", } UpsertAPIUsageReceiverResponse_Status_value = map[string]int32{ "UNKNOWN_STATUS": 0, "SUCCESS": 1, "FAILED": 2, } )
Enum value maps for UpsertAPIUsageReceiverResponse_Status.
View Source
var ( APIUsageNotifyResponse_Status_name = map[int32]string{ 0: "UNKNOWN_STATUS", 1: "SUCCESS", 2: "FAILED", } APIUsageNotifyResponse_Status_value = map[string]int32{ "UNKNOWN_STATUS": 0, "SUCCESS": 1, "FAILED": 2, } )
Enum value maps for APIUsageNotifyResponse_Status.
View Source
var File_mpc_virtual_service_platform_apiusage_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type APIUsageNotifyResponse ¶
type APIUsageNotifyResponse struct { Status APIUsageNotifyResponse_Status `` /* 128-byte string literal not displayed */ // 异常时返回原因 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*APIUsageNotifyResponse) Descriptor
deprecated
func (*APIUsageNotifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIUsageNotifyResponse.ProtoReflect.Descriptor instead.
func (*APIUsageNotifyResponse) GetMsg ¶
func (x *APIUsageNotifyResponse) GetMsg() string
func (*APIUsageNotifyResponse) GetStatus ¶
func (x *APIUsageNotifyResponse) GetStatus() APIUsageNotifyResponse_Status
func (*APIUsageNotifyResponse) ProtoMessage ¶
func (*APIUsageNotifyResponse) ProtoMessage()
func (*APIUsageNotifyResponse) ProtoReflect ¶
func (x *APIUsageNotifyResponse) ProtoReflect() protoreflect.Message
func (*APIUsageNotifyResponse) Reset ¶
func (x *APIUsageNotifyResponse) Reset()
func (*APIUsageNotifyResponse) String ¶
func (x *APIUsageNotifyResponse) String() string
type APIUsageNotifyResponse_Status ¶
type APIUsageNotifyResponse_Status int32
const ( APIUsageNotifyResponse_UNKNOWN_STATUS APIUsageNotifyResponse_Status = 0 APIUsageNotifyResponse_SUCCESS APIUsageNotifyResponse_Status = 1 APIUsageNotifyResponse_FAILED APIUsageNotifyResponse_Status = 2 )
func (APIUsageNotifyResponse_Status) Descriptor ¶
func (APIUsageNotifyResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (APIUsageNotifyResponse_Status) Enum ¶
func (x APIUsageNotifyResponse_Status) Enum() *APIUsageNotifyResponse_Status
func (APIUsageNotifyResponse_Status) EnumDescriptor
deprecated
func (APIUsageNotifyResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use APIUsageNotifyResponse_Status.Descriptor instead.
func (APIUsageNotifyResponse_Status) Number ¶
func (x APIUsageNotifyResponse_Status) Number() protoreflect.EnumNumber
func (APIUsageNotifyResponse_Status) String ¶
func (x APIUsageNotifyResponse_Status) String() string
func (APIUsageNotifyResponse_Status) Type ¶
func (APIUsageNotifyResponse_Status) Type() protoreflect.EnumType
type ListAPIUsagesRequest ¶
type ListAPIUsagesRequest struct { Paginator *paginator.Paginator `protobuf:"bytes,1,opt,name=paginator,proto3" json:"paginator,omitempty"` Type api_usage.APIUsage_Type `protobuf:"varint,2,opt,name=type,proto3,enum=sudo.protobuf.api_usage.APIUsage_Type" json:"type,omitempty"` Status api_usage.APIUsage_Status `protobuf:"varint,3,opt,name=status,proto3,enum=sudo.protobuf.api_usage.APIUsage_Status" json:"status,omitempty"` CreateTimeFrom int64 `protobuf:"varint,4,opt,name=create_time_from,json=createTimeFrom,proto3" json:"create_time_from,omitempty"` CreateTimeTo int64 `protobuf:"varint,5,opt,name=create_time_to,json=createTimeTo,proto3" json:"create_time_to,omitempty"` PartyId string `protobuf:"bytes,6,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` Caller string `protobuf:"bytes,7,opt,name=caller,proto3" json:"caller,omitempty"` ApiId string `protobuf:"bytes,8,opt,name=api_id,json=apiId,proto3" json:"api_id,omitempty"` IsClient bool `protobuf:"varint,9,opt,name=is_client,json=isClient,proto3" json:"is_client,omitempty"` // contains filtered or unexported fields }
func (*ListAPIUsagesRequest) Descriptor
deprecated
func (*ListAPIUsagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAPIUsagesRequest.ProtoReflect.Descriptor instead.
func (*ListAPIUsagesRequest) GetApiId ¶
func (x *ListAPIUsagesRequest) GetApiId() string
func (*ListAPIUsagesRequest) GetCaller ¶
func (x *ListAPIUsagesRequest) GetCaller() string
func (*ListAPIUsagesRequest) GetCreateTimeFrom ¶
func (x *ListAPIUsagesRequest) GetCreateTimeFrom() int64
func (*ListAPIUsagesRequest) GetCreateTimeTo ¶
func (x *ListAPIUsagesRequest) GetCreateTimeTo() int64
func (*ListAPIUsagesRequest) GetIsClient ¶
func (x *ListAPIUsagesRequest) GetIsClient() bool
func (*ListAPIUsagesRequest) GetPaginator ¶
func (x *ListAPIUsagesRequest) GetPaginator() *paginator.Paginator
func (*ListAPIUsagesRequest) GetPartyId ¶
func (x *ListAPIUsagesRequest) GetPartyId() string
func (*ListAPIUsagesRequest) GetStatus ¶
func (x *ListAPIUsagesRequest) GetStatus() api_usage.APIUsage_Status
func (*ListAPIUsagesRequest) GetType ¶
func (x *ListAPIUsagesRequest) GetType() api_usage.APIUsage_Type
func (*ListAPIUsagesRequest) ProtoMessage ¶
func (*ListAPIUsagesRequest) ProtoMessage()
func (*ListAPIUsagesRequest) ProtoReflect ¶
func (x *ListAPIUsagesRequest) ProtoReflect() protoreflect.Message
func (*ListAPIUsagesRequest) Reset ¶
func (x *ListAPIUsagesRequest) Reset()
func (*ListAPIUsagesRequest) String ¶
func (x *ListAPIUsagesRequest) String() string
type ListAPIUsagesResponse ¶
type ListAPIUsagesResponse struct { Data []*api_usage.APIUsage `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 (*ListAPIUsagesResponse) Descriptor
deprecated
func (*ListAPIUsagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAPIUsagesResponse.ProtoReflect.Descriptor instead.
func (*ListAPIUsagesResponse) GetData ¶
func (x *ListAPIUsagesResponse) GetData() []*api_usage.APIUsage
func (*ListAPIUsagesResponse) GetTotal ¶
func (x *ListAPIUsagesResponse) GetTotal() int64
func (*ListAPIUsagesResponse) ProtoMessage ¶
func (*ListAPIUsagesResponse) ProtoMessage()
func (*ListAPIUsagesResponse) ProtoReflect ¶
func (x *ListAPIUsagesResponse) ProtoReflect() protoreflect.Message
func (*ListAPIUsagesResponse) Reset ¶
func (x *ListAPIUsagesResponse) Reset()
func (*ListAPIUsagesResponse) String ¶
func (x *ListAPIUsagesResponse) String() string
type UpsertAPIUsageReceiverRequest ¶
type UpsertAPIUsageReceiverRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
func (*UpsertAPIUsageReceiverRequest) Descriptor
deprecated
func (*UpsertAPIUsageReceiverRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertAPIUsageReceiverRequest.ProtoReflect.Descriptor instead.
func (*UpsertAPIUsageReceiverRequest) GetDisabled ¶
func (x *UpsertAPIUsageReceiverRequest) GetDisabled() bool
func (*UpsertAPIUsageReceiverRequest) GetToken ¶
func (x *UpsertAPIUsageReceiverRequest) GetToken() string
func (*UpsertAPIUsageReceiverRequest) GetUrl ¶
func (x *UpsertAPIUsageReceiverRequest) GetUrl() string
func (*UpsertAPIUsageReceiverRequest) ProtoMessage ¶
func (*UpsertAPIUsageReceiverRequest) ProtoMessage()
func (*UpsertAPIUsageReceiverRequest) ProtoReflect ¶
func (x *UpsertAPIUsageReceiverRequest) ProtoReflect() protoreflect.Message
func (*UpsertAPIUsageReceiverRequest) Reset ¶
func (x *UpsertAPIUsageReceiverRequest) Reset()
func (*UpsertAPIUsageReceiverRequest) String ¶
func (x *UpsertAPIUsageReceiverRequest) String() string
type UpsertAPIUsageReceiverResponse ¶
type UpsertAPIUsageReceiverResponse struct { Status UpsertAPIUsageReceiverResponse_Status `` /* 136-byte string literal not displayed */ // 异常时返回原因 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*UpsertAPIUsageReceiverResponse) Descriptor
deprecated
func (*UpsertAPIUsageReceiverResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertAPIUsageReceiverResponse.ProtoReflect.Descriptor instead.
func (*UpsertAPIUsageReceiverResponse) GetMsg ¶
func (x *UpsertAPIUsageReceiverResponse) GetMsg() string
func (*UpsertAPIUsageReceiverResponse) GetStatus ¶
func (x *UpsertAPIUsageReceiverResponse) GetStatus() UpsertAPIUsageReceiverResponse_Status
func (*UpsertAPIUsageReceiverResponse) ProtoMessage ¶
func (*UpsertAPIUsageReceiverResponse) ProtoMessage()
func (*UpsertAPIUsageReceiverResponse) ProtoReflect ¶
func (x *UpsertAPIUsageReceiverResponse) ProtoReflect() protoreflect.Message
func (*UpsertAPIUsageReceiverResponse) Reset ¶
func (x *UpsertAPIUsageReceiverResponse) Reset()
func (*UpsertAPIUsageReceiverResponse) String ¶
func (x *UpsertAPIUsageReceiverResponse) String() string
type UpsertAPIUsageReceiverResponse_Status ¶
type UpsertAPIUsageReceiverResponse_Status int32
const ( UpsertAPIUsageReceiverResponse_UNKNOWN_STATUS UpsertAPIUsageReceiverResponse_Status = 0 UpsertAPIUsageReceiverResponse_SUCCESS UpsertAPIUsageReceiverResponse_Status = 1 UpsertAPIUsageReceiverResponse_FAILED UpsertAPIUsageReceiverResponse_Status = 2 )
func (UpsertAPIUsageReceiverResponse_Status) Descriptor ¶
func (UpsertAPIUsageReceiverResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (UpsertAPIUsageReceiverResponse_Status) EnumDescriptor
deprecated
func (UpsertAPIUsageReceiverResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpsertAPIUsageReceiverResponse_Status.Descriptor instead.
func (UpsertAPIUsageReceiverResponse_Status) Number ¶
func (x UpsertAPIUsageReceiverResponse_Status) Number() protoreflect.EnumNumber
func (UpsertAPIUsageReceiverResponse_Status) String ¶
func (x UpsertAPIUsageReceiverResponse_Status) String() string
func (UpsertAPIUsageReceiverResponse_Status) Type ¶
func (UpsertAPIUsageReceiverResponse_Status) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.