829 lines
27 KiB
Go
829 lines
27 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.6
|
|
// source: service_httpdns_app.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type CreateHTTPDNSAppRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
|
|
IsOn bool `protobuf:"varint,5,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
SignEnabled bool `protobuf:"varint,6,opt,name=signEnabled,proto3" json:"signEnabled,omitempty"`
|
|
UserId int64 `protobuf:"varint,7,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
ClusterIdsJSON []byte `protobuf:"bytes,8,opt,name=clusterIdsJSON,proto3" json:"clusterIdsJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) Reset() {
|
|
*x = CreateHTTPDNSAppRequest{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHTTPDNSAppRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateHTTPDNSAppRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateHTTPDNSAppRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) GetAppId() string {
|
|
if x != nil {
|
|
return x.AppId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) GetSignEnabled() bool {
|
|
if x != nil {
|
|
return x.SignEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppRequest) GetClusterIdsJSON() []byte {
|
|
if x != nil {
|
|
return x.ClusterIdsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateHTTPDNSAppResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppDbId int64 `protobuf:"varint,1,opt,name=appDbId,proto3" json:"appDbId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppResponse) Reset() {
|
|
*x = CreateHTTPDNSAppResponse{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHTTPDNSAppResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateHTTPDNSAppResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateHTTPDNSAppResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateHTTPDNSAppResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateHTTPDNSAppResponse) GetAppDbId() int64 {
|
|
if x != nil {
|
|
return x.AppDbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpdateHTTPDNSAppRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppDbId int64 `protobuf:"varint,1,opt,name=appDbId,proto3" json:"appDbId,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
IsOn bool `protobuf:"varint,5,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
UserId int64 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
ClusterIdsJSON []byte `protobuf:"bytes,7,opt,name=clusterIdsJSON,proto3" json:"clusterIdsJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppRequest) Reset() {
|
|
*x = UpdateHTTPDNSAppRequest{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateHTTPDNSAppRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateHTTPDNSAppRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateHTTPDNSAppRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateHTTPDNSAppRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppRequest) GetAppDbId() int64 {
|
|
if x != nil {
|
|
return x.AppDbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppRequest) GetClusterIdsJSON() []byte {
|
|
if x != nil {
|
|
return x.ClusterIdsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteHTTPDNSAppRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppDbId int64 `protobuf:"varint,1,opt,name=appDbId,proto3" json:"appDbId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteHTTPDNSAppRequest) Reset() {
|
|
*x = DeleteHTTPDNSAppRequest{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteHTTPDNSAppRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteHTTPDNSAppRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteHTTPDNSAppRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteHTTPDNSAppRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteHTTPDNSAppRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DeleteHTTPDNSAppRequest) GetAppDbId() int64 {
|
|
if x != nil {
|
|
return x.AppDbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindHTTPDNSAppRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppDbId int64 `protobuf:"varint,1,opt,name=appDbId,proto3" json:"appDbId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindHTTPDNSAppRequest) Reset() {
|
|
*x = FindHTTPDNSAppRequest{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindHTTPDNSAppRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindHTTPDNSAppRequest) ProtoMessage() {}
|
|
|
|
func (x *FindHTTPDNSAppRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindHTTPDNSAppRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindHTTPDNSAppRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *FindHTTPDNSAppRequest) GetAppDbId() int64 {
|
|
if x != nil {
|
|
return x.AppDbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindHTTPDNSAppResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
App *HTTPDNSApp `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindHTTPDNSAppResponse) Reset() {
|
|
*x = FindHTTPDNSAppResponse{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindHTTPDNSAppResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindHTTPDNSAppResponse) ProtoMessage() {}
|
|
|
|
func (x *FindHTTPDNSAppResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindHTTPDNSAppResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindHTTPDNSAppResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *FindHTTPDNSAppResponse) GetApp() *HTTPDNSApp {
|
|
if x != nil {
|
|
return x.App
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListHTTPDNSAppsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListHTTPDNSAppsRequest) Reset() {
|
|
*x = ListHTTPDNSAppsRequest{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHTTPDNSAppsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHTTPDNSAppsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListHTTPDNSAppsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListHTTPDNSAppsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListHTTPDNSAppsRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ListHTTPDNSAppsRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListHTTPDNSAppsRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListHTTPDNSAppsRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListHTTPDNSAppsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Apps []*HTTPDNSApp `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListHTTPDNSAppsResponse) Reset() {
|
|
*x = ListHTTPDNSAppsResponse{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHTTPDNSAppsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHTTPDNSAppsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListHTTPDNSAppsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListHTTPDNSAppsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListHTTPDNSAppsResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ListHTTPDNSAppsResponse) GetApps() []*HTTPDNSApp {
|
|
if x != nil {
|
|
return x.Apps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FindAllHTTPDNSAppsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllHTTPDNSAppsRequest) Reset() {
|
|
*x = FindAllHTTPDNSAppsRequest{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllHTTPDNSAppsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllHTTPDNSAppsRequest) ProtoMessage() {}
|
|
|
|
func (x *FindAllHTTPDNSAppsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllHTTPDNSAppsRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindAllHTTPDNSAppsRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type FindAllHTTPDNSAppsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Apps []*HTTPDNSApp `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllHTTPDNSAppsResponse) Reset() {
|
|
*x = FindAllHTTPDNSAppsResponse{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllHTTPDNSAppsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllHTTPDNSAppsResponse) ProtoMessage() {}
|
|
|
|
func (x *FindAllHTTPDNSAppsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllHTTPDNSAppsResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindAllHTTPDNSAppsResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *FindAllHTTPDNSAppsResponse) GetApps() []*HTTPDNSApp {
|
|
if x != nil {
|
|
return x.Apps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateHTTPDNSAppSignEnabledRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppDbId int64 `protobuf:"varint,1,opt,name=appDbId,proto3" json:"appDbId,omitempty"`
|
|
SignEnabled bool `protobuf:"varint,2,opt,name=signEnabled,proto3" json:"signEnabled,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppSignEnabledRequest) Reset() {
|
|
*x = UpdateHTTPDNSAppSignEnabledRequest{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppSignEnabledRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateHTTPDNSAppSignEnabledRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateHTTPDNSAppSignEnabledRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateHTTPDNSAppSignEnabledRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateHTTPDNSAppSignEnabledRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppSignEnabledRequest) GetAppDbId() int64 {
|
|
if x != nil {
|
|
return x.AppDbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSAppSignEnabledRequest) GetSignEnabled() bool {
|
|
if x != nil {
|
|
return x.SignEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ResetHTTPDNSAppSignSecretRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppDbId int64 `protobuf:"varint,1,opt,name=appDbId,proto3" json:"appDbId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretRequest) Reset() {
|
|
*x = ResetHTTPDNSAppSignSecretRequest{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResetHTTPDNSAppSignSecretRequest) ProtoMessage() {}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResetHTTPDNSAppSignSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResetHTTPDNSAppSignSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretRequest) GetAppDbId() int64 {
|
|
if x != nil {
|
|
return x.AppDbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ResetHTTPDNSAppSignSecretResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SignSecret string `protobuf:"bytes,1,opt,name=signSecret,proto3" json:"signSecret,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretResponse) Reset() {
|
|
*x = ResetHTTPDNSAppSignSecretResponse{}
|
|
mi := &file_service_httpdns_app_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResetHTTPDNSAppSignSecretResponse) ProtoMessage() {}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_app_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResetHTTPDNSAppSignSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResetHTTPDNSAppSignSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_app_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretResponse) GetSignSecret() string {
|
|
if x != nil {
|
|
return x.SignSecret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResetHTTPDNSAppSignSecretResponse) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_service_httpdns_app_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_httpdns_app_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x19service_httpdns_app.proto\x12\x02pb\x1a\x1emodels/model_httpdns_app.proto\x1a\x19models/rpc_messages.proto\"\xc5\x01\n" +
|
|
"\x17CreateHTTPDNSAppRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05appId\x18\x02 \x01(\tR\x05appId\x12\x12\n" +
|
|
"\x04isOn\x18\x05 \x01(\bR\x04isOn\x12 \n" +
|
|
"\vsignEnabled\x18\x06 \x01(\bR\vsignEnabled\x12\x16\n" +
|
|
"\x06userId\x18\a \x01(\x03R\x06userId\x12&\n" +
|
|
"\x0eclusterIdsJSON\x18\b \x01(\fR\x0eclusterIdsJSONJ\x04\b\x03\x10\x04J\x04\b\x04\x10\x05\"4\n" +
|
|
"\x18CreateHTTPDNSAppResponse\x12\x18\n" +
|
|
"\aappDbId\x18\x01 \x01(\x03R\aappDbId\"\xa7\x01\n" +
|
|
"\x17UpdateHTTPDNSAppRequest\x12\x18\n" +
|
|
"\aappDbId\x18\x01 \x01(\x03R\aappDbId\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04isOn\x18\x05 \x01(\bR\x04isOn\x12\x16\n" +
|
|
"\x06userId\x18\x06 \x01(\x03R\x06userId\x12&\n" +
|
|
"\x0eclusterIdsJSON\x18\a \x01(\fR\x0eclusterIdsJSONJ\x04\b\x03\x10\x04J\x04\b\x04\x10\x05\"3\n" +
|
|
"\x17DeleteHTTPDNSAppRequest\x12\x18\n" +
|
|
"\aappDbId\x18\x01 \x01(\x03R\aappDbId\"1\n" +
|
|
"\x15FindHTTPDNSAppRequest\x12\x18\n" +
|
|
"\aappDbId\x18\x01 \x01(\x03R\aappDbId\":\n" +
|
|
"\x16FindHTTPDNSAppResponse\x12 \n" +
|
|
"\x03app\x18\x01 \x01(\v2\x0e.pb.HTTPDNSAppR\x03app\"^\n" +
|
|
"\x16ListHTTPDNSAppsRequest\x12\x16\n" +
|
|
"\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x03R\x04size\x12\x18\n" +
|
|
"\akeyword\x18\x03 \x01(\tR\akeyword\"=\n" +
|
|
"\x17ListHTTPDNSAppsResponse\x12\"\n" +
|
|
"\x04apps\x18\x01 \x03(\v2\x0e.pb.HTTPDNSAppR\x04apps\"\x1b\n" +
|
|
"\x19FindAllHTTPDNSAppsRequest\"@\n" +
|
|
"\x1aFindAllHTTPDNSAppsResponse\x12\"\n" +
|
|
"\x04apps\x18\x01 \x03(\v2\x0e.pb.HTTPDNSAppR\x04apps\"`\n" +
|
|
"\"UpdateHTTPDNSAppSignEnabledRequest\x12\x18\n" +
|
|
"\aappDbId\x18\x01 \x01(\x03R\aappDbId\x12 \n" +
|
|
"\vsignEnabled\x18\x02 \x01(\bR\vsignEnabled\"<\n" +
|
|
" ResetHTTPDNSAppSignSecretRequest\x12\x18\n" +
|
|
"\aappDbId\x18\x01 \x01(\x03R\aappDbId\"a\n" +
|
|
"!ResetHTTPDNSAppSignSecretResponse\x12\x1e\n" +
|
|
"\n" +
|
|
"signSecret\x18\x01 \x01(\tR\n" +
|
|
"signSecret\x12\x1c\n" +
|
|
"\tupdatedAt\x18\x02 \x01(\x03R\tupdatedAt2\x8f\x05\n" +
|
|
"\x11HTTPDNSAppService\x12M\n" +
|
|
"\x10createHTTPDNSApp\x12\x1b.pb.CreateHTTPDNSAppRequest\x1a\x1c.pb.CreateHTTPDNSAppResponse\x12?\n" +
|
|
"\x10updateHTTPDNSApp\x12\x1b.pb.UpdateHTTPDNSAppRequest\x1a\x0e.pb.RPCSuccess\x12?\n" +
|
|
"\x10deleteHTTPDNSApp\x12\x1b.pb.DeleteHTTPDNSAppRequest\x1a\x0e.pb.RPCSuccess\x12G\n" +
|
|
"\x0efindHTTPDNSApp\x12\x19.pb.FindHTTPDNSAppRequest\x1a\x1a.pb.FindHTTPDNSAppResponse\x12J\n" +
|
|
"\x0flistHTTPDNSApps\x12\x1a.pb.ListHTTPDNSAppsRequest\x1a\x1b.pb.ListHTTPDNSAppsResponse\x12S\n" +
|
|
"\x12findAllHTTPDNSApps\x12\x1d.pb.FindAllHTTPDNSAppsRequest\x1a\x1e.pb.FindAllHTTPDNSAppsResponse\x12U\n" +
|
|
"\x1bupdateHTTPDNSAppSignEnabled\x12&.pb.UpdateHTTPDNSAppSignEnabledRequest\x1a\x0e.pb.RPCSuccess\x12h\n" +
|
|
"\x19resetHTTPDNSAppSignSecret\x12$.pb.ResetHTTPDNSAppSignSecretRequest\x1a%.pb.ResetHTTPDNSAppSignSecretResponseB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_httpdns_app_proto_rawDescOnce sync.Once
|
|
file_service_httpdns_app_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_httpdns_app_proto_rawDescGZIP() []byte {
|
|
file_service_httpdns_app_proto_rawDescOnce.Do(func() {
|
|
file_service_httpdns_app_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_httpdns_app_proto_rawDesc), len(file_service_httpdns_app_proto_rawDesc)))
|
|
})
|
|
return file_service_httpdns_app_proto_rawDescData
|
|
}
|
|
|
|
var file_service_httpdns_app_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
var file_service_httpdns_app_proto_goTypes = []any{
|
|
(*CreateHTTPDNSAppRequest)(nil), // 0: pb.CreateHTTPDNSAppRequest
|
|
(*CreateHTTPDNSAppResponse)(nil), // 1: pb.CreateHTTPDNSAppResponse
|
|
(*UpdateHTTPDNSAppRequest)(nil), // 2: pb.UpdateHTTPDNSAppRequest
|
|
(*DeleteHTTPDNSAppRequest)(nil), // 3: pb.DeleteHTTPDNSAppRequest
|
|
(*FindHTTPDNSAppRequest)(nil), // 4: pb.FindHTTPDNSAppRequest
|
|
(*FindHTTPDNSAppResponse)(nil), // 5: pb.FindHTTPDNSAppResponse
|
|
(*ListHTTPDNSAppsRequest)(nil), // 6: pb.ListHTTPDNSAppsRequest
|
|
(*ListHTTPDNSAppsResponse)(nil), // 7: pb.ListHTTPDNSAppsResponse
|
|
(*FindAllHTTPDNSAppsRequest)(nil), // 8: pb.FindAllHTTPDNSAppsRequest
|
|
(*FindAllHTTPDNSAppsResponse)(nil), // 9: pb.FindAllHTTPDNSAppsResponse
|
|
(*UpdateHTTPDNSAppSignEnabledRequest)(nil), // 10: pb.UpdateHTTPDNSAppSignEnabledRequest
|
|
(*ResetHTTPDNSAppSignSecretRequest)(nil), // 11: pb.ResetHTTPDNSAppSignSecretRequest
|
|
(*ResetHTTPDNSAppSignSecretResponse)(nil), // 12: pb.ResetHTTPDNSAppSignSecretResponse
|
|
(*HTTPDNSApp)(nil), // 13: pb.HTTPDNSApp
|
|
(*RPCSuccess)(nil), // 14: pb.RPCSuccess
|
|
}
|
|
var file_service_httpdns_app_proto_depIdxs = []int32{
|
|
13, // 0: pb.FindHTTPDNSAppResponse.app:type_name -> pb.HTTPDNSApp
|
|
13, // 1: pb.ListHTTPDNSAppsResponse.apps:type_name -> pb.HTTPDNSApp
|
|
13, // 2: pb.FindAllHTTPDNSAppsResponse.apps:type_name -> pb.HTTPDNSApp
|
|
0, // 3: pb.HTTPDNSAppService.createHTTPDNSApp:input_type -> pb.CreateHTTPDNSAppRequest
|
|
2, // 4: pb.HTTPDNSAppService.updateHTTPDNSApp:input_type -> pb.UpdateHTTPDNSAppRequest
|
|
3, // 5: pb.HTTPDNSAppService.deleteHTTPDNSApp:input_type -> pb.DeleteHTTPDNSAppRequest
|
|
4, // 6: pb.HTTPDNSAppService.findHTTPDNSApp:input_type -> pb.FindHTTPDNSAppRequest
|
|
6, // 7: pb.HTTPDNSAppService.listHTTPDNSApps:input_type -> pb.ListHTTPDNSAppsRequest
|
|
8, // 8: pb.HTTPDNSAppService.findAllHTTPDNSApps:input_type -> pb.FindAllHTTPDNSAppsRequest
|
|
10, // 9: pb.HTTPDNSAppService.updateHTTPDNSAppSignEnabled:input_type -> pb.UpdateHTTPDNSAppSignEnabledRequest
|
|
11, // 10: pb.HTTPDNSAppService.resetHTTPDNSAppSignSecret:input_type -> pb.ResetHTTPDNSAppSignSecretRequest
|
|
1, // 11: pb.HTTPDNSAppService.createHTTPDNSApp:output_type -> pb.CreateHTTPDNSAppResponse
|
|
14, // 12: pb.HTTPDNSAppService.updateHTTPDNSApp:output_type -> pb.RPCSuccess
|
|
14, // 13: pb.HTTPDNSAppService.deleteHTTPDNSApp:output_type -> pb.RPCSuccess
|
|
5, // 14: pb.HTTPDNSAppService.findHTTPDNSApp:output_type -> pb.FindHTTPDNSAppResponse
|
|
7, // 15: pb.HTTPDNSAppService.listHTTPDNSApps:output_type -> pb.ListHTTPDNSAppsResponse
|
|
9, // 16: pb.HTTPDNSAppService.findAllHTTPDNSApps:output_type -> pb.FindAllHTTPDNSAppsResponse
|
|
14, // 17: pb.HTTPDNSAppService.updateHTTPDNSAppSignEnabled:output_type -> pb.RPCSuccess
|
|
12, // 18: pb.HTTPDNSAppService.resetHTTPDNSAppSignSecret:output_type -> pb.ResetHTTPDNSAppSignSecretResponse
|
|
11, // [11:19] is the sub-list for method output_type
|
|
3, // [3:11] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_httpdns_app_proto_init() }
|
|
func file_service_httpdns_app_proto_init() {
|
|
if File_service_httpdns_app_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_httpdns_app_proto_init()
|
|
file_models_rpc_messages_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_httpdns_app_proto_rawDesc), len(file_service_httpdns_app_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 13,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_httpdns_app_proto_goTypes,
|
|
DependencyIndexes: file_service_httpdns_app_proto_depIdxs,
|
|
MessageInfos: file_service_httpdns_app_proto_msgTypes,
|
|
}.Build()
|
|
File_service_httpdns_app_proto = out.File
|
|
file_service_httpdns_app_proto_goTypes = nil
|
|
file_service_httpdns_app_proto_depIdxs = nil
|
|
}
|