Files
waf-platform/EdgeCommon/pkg/rpc/pb/service_httpdns_cluster.pb.go
2026-03-22 17:37:40 +08:00

930 lines
32 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_cluster.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 CreateHTTPDNSClusterRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ServiceDomain string `protobuf:"bytes,2,opt,name=serviceDomain,proto3" json:"serviceDomain,omitempty"`
DefaultTTL int32 `protobuf:"varint,3,opt,name=defaultTTL,proto3" json:"defaultTTL,omitempty"`
FallbackTimeoutMs int32 `protobuf:"varint,4,opt,name=fallbackTimeoutMs,proto3" json:"fallbackTimeoutMs,omitempty"`
InstallDir string `protobuf:"bytes,5,opt,name=installDir,proto3" json:"installDir,omitempty"`
TlsPolicyJSON []byte `protobuf:"bytes,6,opt,name=tlsPolicyJSON,proto3" json:"tlsPolicyJSON,omitempty"`
IsOn bool `protobuf:"varint,7,opt,name=isOn,proto3" json:"isOn,omitempty"`
IsDefault bool `protobuf:"varint,8,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
AutoRemoteStart bool `protobuf:"varint,9,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
AccessLogIsOn bool `protobuf:"varint,10,opt,name=accessLogIsOn,proto3" json:"accessLogIsOn,omitempty"`
TimeZone string `protobuf:"bytes,11,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateHTTPDNSClusterRequest) Reset() {
*x = CreateHTTPDNSClusterRequest{}
mi := &file_service_httpdns_cluster_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateHTTPDNSClusterRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHTTPDNSClusterRequest) ProtoMessage() {}
func (x *CreateHTTPDNSClusterRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 CreateHTTPDNSClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateHTTPDNSClusterRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{0}
}
func (x *CreateHTTPDNSClusterRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateHTTPDNSClusterRequest) GetServiceDomain() string {
if x != nil {
return x.ServiceDomain
}
return ""
}
func (x *CreateHTTPDNSClusterRequest) GetDefaultTTL() int32 {
if x != nil {
return x.DefaultTTL
}
return 0
}
func (x *CreateHTTPDNSClusterRequest) GetFallbackTimeoutMs() int32 {
if x != nil {
return x.FallbackTimeoutMs
}
return 0
}
func (x *CreateHTTPDNSClusterRequest) GetInstallDir() string {
if x != nil {
return x.InstallDir
}
return ""
}
func (x *CreateHTTPDNSClusterRequest) GetTlsPolicyJSON() []byte {
if x != nil {
return x.TlsPolicyJSON
}
return nil
}
func (x *CreateHTTPDNSClusterRequest) GetIsOn() bool {
if x != nil {
return x.IsOn
}
return false
}
func (x *CreateHTTPDNSClusterRequest) GetIsDefault() bool {
if x != nil {
return x.IsDefault
}
return false
}
func (x *CreateHTTPDNSClusterRequest) GetAutoRemoteStart() bool {
if x != nil {
return x.AutoRemoteStart
}
return false
}
func (x *CreateHTTPDNSClusterRequest) GetAccessLogIsOn() bool {
if x != nil {
return x.AccessLogIsOn
}
return false
}
func (x *CreateHTTPDNSClusterRequest) GetTimeZone() string {
if x != nil {
return x.TimeZone
}
return ""
}
type CreateHTTPDNSClusterResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateHTTPDNSClusterResponse) Reset() {
*x = CreateHTTPDNSClusterResponse{}
mi := &file_service_httpdns_cluster_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateHTTPDNSClusterResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHTTPDNSClusterResponse) ProtoMessage() {}
func (x *CreateHTTPDNSClusterResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 CreateHTTPDNSClusterResponse.ProtoReflect.Descriptor instead.
func (*CreateHTTPDNSClusterResponse) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{1}
}
func (x *CreateHTTPDNSClusterResponse) GetClusterId() int64 {
if x != nil {
return x.ClusterId
}
return 0
}
type UpdateHTTPDNSClusterRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
ServiceDomain string `protobuf:"bytes,3,opt,name=serviceDomain,proto3" json:"serviceDomain,omitempty"`
DefaultTTL int32 `protobuf:"varint,4,opt,name=defaultTTL,proto3" json:"defaultTTL,omitempty"`
FallbackTimeoutMs int32 `protobuf:"varint,5,opt,name=fallbackTimeoutMs,proto3" json:"fallbackTimeoutMs,omitempty"`
InstallDir string `protobuf:"bytes,6,opt,name=installDir,proto3" json:"installDir,omitempty"`
TlsPolicyJSON []byte `protobuf:"bytes,7,opt,name=tlsPolicyJSON,proto3" json:"tlsPolicyJSON,omitempty"`
IsOn bool `protobuf:"varint,8,opt,name=isOn,proto3" json:"isOn,omitempty"`
IsDefault bool `protobuf:"varint,9,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
AutoRemoteStart bool `protobuf:"varint,10,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
AccessLogIsOn bool `protobuf:"varint,11,opt,name=accessLogIsOn,proto3" json:"accessLogIsOn,omitempty"`
TimeZone string `protobuf:"bytes,12,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateHTTPDNSClusterRequest) Reset() {
*x = UpdateHTTPDNSClusterRequest{}
mi := &file_service_httpdns_cluster_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateHTTPDNSClusterRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPDNSClusterRequest) ProtoMessage() {}
func (x *UpdateHTTPDNSClusterRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 UpdateHTTPDNSClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateHTTPDNSClusterRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{2}
}
func (x *UpdateHTTPDNSClusterRequest) GetClusterId() int64 {
if x != nil {
return x.ClusterId
}
return 0
}
func (x *UpdateHTTPDNSClusterRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateHTTPDNSClusterRequest) GetServiceDomain() string {
if x != nil {
return x.ServiceDomain
}
return ""
}
func (x *UpdateHTTPDNSClusterRequest) GetDefaultTTL() int32 {
if x != nil {
return x.DefaultTTL
}
return 0
}
func (x *UpdateHTTPDNSClusterRequest) GetFallbackTimeoutMs() int32 {
if x != nil {
return x.FallbackTimeoutMs
}
return 0
}
func (x *UpdateHTTPDNSClusterRequest) GetInstallDir() string {
if x != nil {
return x.InstallDir
}
return ""
}
func (x *UpdateHTTPDNSClusterRequest) GetTlsPolicyJSON() []byte {
if x != nil {
return x.TlsPolicyJSON
}
return nil
}
func (x *UpdateHTTPDNSClusterRequest) GetIsOn() bool {
if x != nil {
return x.IsOn
}
return false
}
func (x *UpdateHTTPDNSClusterRequest) GetIsDefault() bool {
if x != nil {
return x.IsDefault
}
return false
}
func (x *UpdateHTTPDNSClusterRequest) GetAutoRemoteStart() bool {
if x != nil {
return x.AutoRemoteStart
}
return false
}
func (x *UpdateHTTPDNSClusterRequest) GetAccessLogIsOn() bool {
if x != nil {
return x.AccessLogIsOn
}
return false
}
func (x *UpdateHTTPDNSClusterRequest) GetTimeZone() string {
if x != nil {
return x.TimeZone
}
return ""
}
type DeleteHTTPDNSClusterRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteHTTPDNSClusterRequest) Reset() {
*x = DeleteHTTPDNSClusterRequest{}
mi := &file_service_httpdns_cluster_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteHTTPDNSClusterRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteHTTPDNSClusterRequest) ProtoMessage() {}
func (x *DeleteHTTPDNSClusterRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 DeleteHTTPDNSClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteHTTPDNSClusterRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{3}
}
func (x *DeleteHTTPDNSClusterRequest) GetClusterId() int64 {
if x != nil {
return x.ClusterId
}
return 0
}
type FindHTTPDNSClusterRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindHTTPDNSClusterRequest) Reset() {
*x = FindHTTPDNSClusterRequest{}
mi := &file_service_httpdns_cluster_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindHTTPDNSClusterRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindHTTPDNSClusterRequest) ProtoMessage() {}
func (x *FindHTTPDNSClusterRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 FindHTTPDNSClusterRequest.ProtoReflect.Descriptor instead.
func (*FindHTTPDNSClusterRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{4}
}
func (x *FindHTTPDNSClusterRequest) GetClusterId() int64 {
if x != nil {
return x.ClusterId
}
return 0
}
type FindHTTPDNSClusterResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Cluster *HTTPDNSCluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindHTTPDNSClusterResponse) Reset() {
*x = FindHTTPDNSClusterResponse{}
mi := &file_service_httpdns_cluster_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindHTTPDNSClusterResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindHTTPDNSClusterResponse) ProtoMessage() {}
func (x *FindHTTPDNSClusterResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 FindHTTPDNSClusterResponse.ProtoReflect.Descriptor instead.
func (*FindHTTPDNSClusterResponse) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{5}
}
func (x *FindHTTPDNSClusterResponse) GetCluster() *HTTPDNSCluster {
if x != nil {
return x.Cluster
}
return nil
}
type ListHTTPDNSClustersRequest 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 *ListHTTPDNSClustersRequest) Reset() {
*x = ListHTTPDNSClustersRequest{}
mi := &file_service_httpdns_cluster_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListHTTPDNSClustersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListHTTPDNSClustersRequest) ProtoMessage() {}
func (x *ListHTTPDNSClustersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 ListHTTPDNSClustersRequest.ProtoReflect.Descriptor instead.
func (*ListHTTPDNSClustersRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{6}
}
func (x *ListHTTPDNSClustersRequest) GetOffset() int64 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListHTTPDNSClustersRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
func (x *ListHTTPDNSClustersRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
type ListHTTPDNSClustersResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Clusters []*HTTPDNSCluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListHTTPDNSClustersResponse) Reset() {
*x = ListHTTPDNSClustersResponse{}
mi := &file_service_httpdns_cluster_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListHTTPDNSClustersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListHTTPDNSClustersResponse) ProtoMessage() {}
func (x *ListHTTPDNSClustersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 ListHTTPDNSClustersResponse.ProtoReflect.Descriptor instead.
func (*ListHTTPDNSClustersResponse) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{7}
}
func (x *ListHTTPDNSClustersResponse) GetClusters() []*HTTPDNSCluster {
if x != nil {
return x.Clusters
}
return nil
}
type FindAllHTTPDNSClustersRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllHTTPDNSClustersRequest) Reset() {
*x = FindAllHTTPDNSClustersRequest{}
mi := &file_service_httpdns_cluster_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindAllHTTPDNSClustersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllHTTPDNSClustersRequest) ProtoMessage() {}
func (x *FindAllHTTPDNSClustersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 FindAllHTTPDNSClustersRequest.ProtoReflect.Descriptor instead.
func (*FindAllHTTPDNSClustersRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{8}
}
type FindAllHTTPDNSClustersResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Clusters []*HTTPDNSCluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllHTTPDNSClustersResponse) Reset() {
*x = FindAllHTTPDNSClustersResponse{}
mi := &file_service_httpdns_cluster_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindAllHTTPDNSClustersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllHTTPDNSClustersResponse) ProtoMessage() {}
func (x *FindAllHTTPDNSClustersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 FindAllHTTPDNSClustersResponse.ProtoReflect.Descriptor instead.
func (*FindAllHTTPDNSClustersResponse) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{9}
}
func (x *FindAllHTTPDNSClustersResponse) GetClusters() []*HTTPDNSCluster {
if x != nil {
return x.Clusters
}
return nil
}
type UpdateHTTPDNSClusterDefaultRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateHTTPDNSClusterDefaultRequest) Reset() {
*x = UpdateHTTPDNSClusterDefaultRequest{}
mi := &file_service_httpdns_cluster_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateHTTPDNSClusterDefaultRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHTTPDNSClusterDefaultRequest) ProtoMessage() {}
func (x *UpdateHTTPDNSClusterDefaultRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 UpdateHTTPDNSClusterDefaultRequest.ProtoReflect.Descriptor instead.
func (*UpdateHTTPDNSClusterDefaultRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{10}
}
func (x *UpdateHTTPDNSClusterDefaultRequest) GetClusterId() int64 {
if x != nil {
return x.ClusterId
}
return 0
}
type ListHTTPDNSNodesWithClusterIdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListHTTPDNSNodesWithClusterIdRequest) Reset() {
*x = ListHTTPDNSNodesWithClusterIdRequest{}
mi := &file_service_httpdns_cluster_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListHTTPDNSNodesWithClusterIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListHTTPDNSNodesWithClusterIdRequest) ProtoMessage() {}
func (x *ListHTTPDNSNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 ListHTTPDNSNodesWithClusterIdRequest.ProtoReflect.Descriptor instead.
func (*ListHTTPDNSNodesWithClusterIdRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{11}
}
func (x *ListHTTPDNSNodesWithClusterIdRequest) GetClusterId() int64 {
if x != nil {
return x.ClusterId
}
return 0
}
type ListHTTPDNSNodesWithClusterIdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Nodes []*HTTPDNSNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListHTTPDNSNodesWithClusterIdResponse) Reset() {
*x = ListHTTPDNSNodesWithClusterIdResponse{}
mi := &file_service_httpdns_cluster_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListHTTPDNSNodesWithClusterIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListHTTPDNSNodesWithClusterIdResponse) ProtoMessage() {}
func (x *ListHTTPDNSNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_cluster_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 ListHTTPDNSNodesWithClusterIdResponse.ProtoReflect.Descriptor instead.
func (*ListHTTPDNSNodesWithClusterIdResponse) Descriptor() ([]byte, []int) {
return file_service_httpdns_cluster_proto_rawDescGZIP(), []int{12}
}
func (x *ListHTTPDNSNodesWithClusterIdResponse) GetNodes() []*HTTPDNSNode {
if x != nil {
return x.Nodes
}
return nil
}
var File_service_httpdns_cluster_proto protoreflect.FileDescriptor
const file_service_httpdns_cluster_proto_rawDesc = "" +
"\n" +
"\x1dservice_httpdns_cluster.proto\x12\x02pb\x1a\"models/model_httpdns_cluster.proto\x1a\x1fmodels/model_httpdns_node.proto\x1a\x19models/rpc_messages.proto\"\x89\x03\n" +
"\x1bCreateHTTPDNSClusterRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12$\n" +
"\rserviceDomain\x18\x02 \x01(\tR\rserviceDomain\x12\x1e\n" +
"\n" +
"defaultTTL\x18\x03 \x01(\x05R\n" +
"defaultTTL\x12,\n" +
"\x11fallbackTimeoutMs\x18\x04 \x01(\x05R\x11fallbackTimeoutMs\x12\x1e\n" +
"\n" +
"installDir\x18\x05 \x01(\tR\n" +
"installDir\x12$\n" +
"\rtlsPolicyJSON\x18\x06 \x01(\fR\rtlsPolicyJSON\x12\x12\n" +
"\x04isOn\x18\a \x01(\bR\x04isOn\x12\x1c\n" +
"\tisDefault\x18\b \x01(\bR\tisDefault\x12(\n" +
"\x0fautoRemoteStart\x18\t \x01(\bR\x0fautoRemoteStart\x12$\n" +
"\raccessLogIsOn\x18\n" +
" \x01(\bR\raccessLogIsOn\x12\x1a\n" +
"\btimeZone\x18\v \x01(\tR\btimeZone\"<\n" +
"\x1cCreateHTTPDNSClusterResponse\x12\x1c\n" +
"\tclusterId\x18\x01 \x01(\x03R\tclusterId\"\xa7\x03\n" +
"\x1bUpdateHTTPDNSClusterRequest\x12\x1c\n" +
"\tclusterId\x18\x01 \x01(\x03R\tclusterId\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12$\n" +
"\rserviceDomain\x18\x03 \x01(\tR\rserviceDomain\x12\x1e\n" +
"\n" +
"defaultTTL\x18\x04 \x01(\x05R\n" +
"defaultTTL\x12,\n" +
"\x11fallbackTimeoutMs\x18\x05 \x01(\x05R\x11fallbackTimeoutMs\x12\x1e\n" +
"\n" +
"installDir\x18\x06 \x01(\tR\n" +
"installDir\x12$\n" +
"\rtlsPolicyJSON\x18\a \x01(\fR\rtlsPolicyJSON\x12\x12\n" +
"\x04isOn\x18\b \x01(\bR\x04isOn\x12\x1c\n" +
"\tisDefault\x18\t \x01(\bR\tisDefault\x12(\n" +
"\x0fautoRemoteStart\x18\n" +
" \x01(\bR\x0fautoRemoteStart\x12$\n" +
"\raccessLogIsOn\x18\v \x01(\bR\raccessLogIsOn\x12\x1a\n" +
"\btimeZone\x18\f \x01(\tR\btimeZone\";\n" +
"\x1bDeleteHTTPDNSClusterRequest\x12\x1c\n" +
"\tclusterId\x18\x01 \x01(\x03R\tclusterId\"9\n" +
"\x19FindHTTPDNSClusterRequest\x12\x1c\n" +
"\tclusterId\x18\x01 \x01(\x03R\tclusterId\"J\n" +
"\x1aFindHTTPDNSClusterResponse\x12,\n" +
"\acluster\x18\x01 \x01(\v2\x12.pb.HTTPDNSClusterR\acluster\"b\n" +
"\x1aListHTTPDNSClustersRequest\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\"M\n" +
"\x1bListHTTPDNSClustersResponse\x12.\n" +
"\bclusters\x18\x01 \x03(\v2\x12.pb.HTTPDNSClusterR\bclusters\"\x1f\n" +
"\x1dFindAllHTTPDNSClustersRequest\"P\n" +
"\x1eFindAllHTTPDNSClustersResponse\x12.\n" +
"\bclusters\x18\x01 \x03(\v2\x12.pb.HTTPDNSClusterR\bclusters\"B\n" +
"\"UpdateHTTPDNSClusterDefaultRequest\x12\x1c\n" +
"\tclusterId\x18\x01 \x01(\x03R\tclusterId\"D\n" +
"$ListHTTPDNSNodesWithClusterIdRequest\x12\x1c\n" +
"\tclusterId\x18\x01 \x01(\x03R\tclusterId\"N\n" +
"%ListHTTPDNSNodesWithClusterIdResponse\x12%\n" +
"\x05nodes\x18\x01 \x03(\v2\x0f.pb.HTTPDNSNodeR\x05nodes2\xdf\x05\n" +
"\x15HTTPDNSClusterService\x12Y\n" +
"\x14createHTTPDNSCluster\x12\x1f.pb.CreateHTTPDNSClusterRequest\x1a .pb.CreateHTTPDNSClusterResponse\x12G\n" +
"\x14updateHTTPDNSCluster\x12\x1f.pb.UpdateHTTPDNSClusterRequest\x1a\x0e.pb.RPCSuccess\x12G\n" +
"\x14deleteHTTPDNSCluster\x12\x1f.pb.DeleteHTTPDNSClusterRequest\x1a\x0e.pb.RPCSuccess\x12S\n" +
"\x12findHTTPDNSCluster\x12\x1d.pb.FindHTTPDNSClusterRequest\x1a\x1e.pb.FindHTTPDNSClusterResponse\x12V\n" +
"\x13listHTTPDNSClusters\x12\x1e.pb.ListHTTPDNSClustersRequest\x1a\x1f.pb.ListHTTPDNSClustersResponse\x12_\n" +
"\x16findAllHTTPDNSClusters\x12!.pb.FindAllHTTPDNSClustersRequest\x1a\".pb.FindAllHTTPDNSClustersResponse\x12U\n" +
"\x1bupdateHTTPDNSClusterDefault\x12&.pb.UpdateHTTPDNSClusterDefaultRequest\x1a\x0e.pb.RPCSuccess\x12t\n" +
"\x1dlistHTTPDNSNodesWithClusterId\x12(.pb.ListHTTPDNSNodesWithClusterIdRequest\x1a).pb.ListHTTPDNSNodesWithClusterIdResponseB\x06Z\x04./pbb\x06proto3"
var (
file_service_httpdns_cluster_proto_rawDescOnce sync.Once
file_service_httpdns_cluster_proto_rawDescData []byte
)
func file_service_httpdns_cluster_proto_rawDescGZIP() []byte {
file_service_httpdns_cluster_proto_rawDescOnce.Do(func() {
file_service_httpdns_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_httpdns_cluster_proto_rawDesc), len(file_service_httpdns_cluster_proto_rawDesc)))
})
return file_service_httpdns_cluster_proto_rawDescData
}
var file_service_httpdns_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_service_httpdns_cluster_proto_goTypes = []any{
(*CreateHTTPDNSClusterRequest)(nil), // 0: pb.CreateHTTPDNSClusterRequest
(*CreateHTTPDNSClusterResponse)(nil), // 1: pb.CreateHTTPDNSClusterResponse
(*UpdateHTTPDNSClusterRequest)(nil), // 2: pb.UpdateHTTPDNSClusterRequest
(*DeleteHTTPDNSClusterRequest)(nil), // 3: pb.DeleteHTTPDNSClusterRequest
(*FindHTTPDNSClusterRequest)(nil), // 4: pb.FindHTTPDNSClusterRequest
(*FindHTTPDNSClusterResponse)(nil), // 5: pb.FindHTTPDNSClusterResponse
(*ListHTTPDNSClustersRequest)(nil), // 6: pb.ListHTTPDNSClustersRequest
(*ListHTTPDNSClustersResponse)(nil), // 7: pb.ListHTTPDNSClustersResponse
(*FindAllHTTPDNSClustersRequest)(nil), // 8: pb.FindAllHTTPDNSClustersRequest
(*FindAllHTTPDNSClustersResponse)(nil), // 9: pb.FindAllHTTPDNSClustersResponse
(*UpdateHTTPDNSClusterDefaultRequest)(nil), // 10: pb.UpdateHTTPDNSClusterDefaultRequest
(*ListHTTPDNSNodesWithClusterIdRequest)(nil), // 11: pb.ListHTTPDNSNodesWithClusterIdRequest
(*ListHTTPDNSNodesWithClusterIdResponse)(nil), // 12: pb.ListHTTPDNSNodesWithClusterIdResponse
(*HTTPDNSCluster)(nil), // 13: pb.HTTPDNSCluster
(*HTTPDNSNode)(nil), // 14: pb.HTTPDNSNode
(*RPCSuccess)(nil), // 15: pb.RPCSuccess
}
var file_service_httpdns_cluster_proto_depIdxs = []int32{
13, // 0: pb.FindHTTPDNSClusterResponse.cluster:type_name -> pb.HTTPDNSCluster
13, // 1: pb.ListHTTPDNSClustersResponse.clusters:type_name -> pb.HTTPDNSCluster
13, // 2: pb.FindAllHTTPDNSClustersResponse.clusters:type_name -> pb.HTTPDNSCluster
14, // 3: pb.ListHTTPDNSNodesWithClusterIdResponse.nodes:type_name -> pb.HTTPDNSNode
0, // 4: pb.HTTPDNSClusterService.createHTTPDNSCluster:input_type -> pb.CreateHTTPDNSClusterRequest
2, // 5: pb.HTTPDNSClusterService.updateHTTPDNSCluster:input_type -> pb.UpdateHTTPDNSClusterRequest
3, // 6: pb.HTTPDNSClusterService.deleteHTTPDNSCluster:input_type -> pb.DeleteHTTPDNSClusterRequest
4, // 7: pb.HTTPDNSClusterService.findHTTPDNSCluster:input_type -> pb.FindHTTPDNSClusterRequest
6, // 8: pb.HTTPDNSClusterService.listHTTPDNSClusters:input_type -> pb.ListHTTPDNSClustersRequest
8, // 9: pb.HTTPDNSClusterService.findAllHTTPDNSClusters:input_type -> pb.FindAllHTTPDNSClustersRequest
10, // 10: pb.HTTPDNSClusterService.updateHTTPDNSClusterDefault:input_type -> pb.UpdateHTTPDNSClusterDefaultRequest
11, // 11: pb.HTTPDNSClusterService.listHTTPDNSNodesWithClusterId:input_type -> pb.ListHTTPDNSNodesWithClusterIdRequest
1, // 12: pb.HTTPDNSClusterService.createHTTPDNSCluster:output_type -> pb.CreateHTTPDNSClusterResponse
15, // 13: pb.HTTPDNSClusterService.updateHTTPDNSCluster:output_type -> pb.RPCSuccess
15, // 14: pb.HTTPDNSClusterService.deleteHTTPDNSCluster:output_type -> pb.RPCSuccess
5, // 15: pb.HTTPDNSClusterService.findHTTPDNSCluster:output_type -> pb.FindHTTPDNSClusterResponse
7, // 16: pb.HTTPDNSClusterService.listHTTPDNSClusters:output_type -> pb.ListHTTPDNSClustersResponse
9, // 17: pb.HTTPDNSClusterService.findAllHTTPDNSClusters:output_type -> pb.FindAllHTTPDNSClustersResponse
15, // 18: pb.HTTPDNSClusterService.updateHTTPDNSClusterDefault:output_type -> pb.RPCSuccess
12, // 19: pb.HTTPDNSClusterService.listHTTPDNSNodesWithClusterId:output_type -> pb.ListHTTPDNSNodesWithClusterIdResponse
12, // [12:20] is the sub-list for method output_type
4, // [4:12] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
}
func init() { file_service_httpdns_cluster_proto_init() }
func file_service_httpdns_cluster_proto_init() {
if File_service_httpdns_cluster_proto != nil {
return
}
file_models_model_httpdns_cluster_proto_init()
file_models_model_httpdns_node_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_cluster_proto_rawDesc), len(file_service_httpdns_cluster_proto_rawDesc)),
NumEnums: 0,
NumMessages: 13,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_httpdns_cluster_proto_goTypes,
DependencyIndexes: file_service_httpdns_cluster_proto_depIdxs,
MessageInfos: file_service_httpdns_cluster_proto_msgTypes,
}.Build()
File_service_httpdns_cluster_proto = out.File
file_service_httpdns_cluster_proto_goTypes = nil
file_service_httpdns_cluster_proto_depIdxs = nil
}