mirror of
https://github.com/AdguardTeam/AdGuardDNS.git
synced 2025-02-20 11:23:36 +08:00
2442 lines
87 KiB
Go
2442 lines
87 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.35.2
|
|
// protoc v5.28.3
|
|
// source: dns.proto
|
|
|
|
package backendpb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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 DeviceType int32
|
|
|
|
const (
|
|
DeviceType_INVALID DeviceType = 0
|
|
DeviceType_WINDOWS DeviceType = 1
|
|
DeviceType_ANDROID DeviceType = 2
|
|
DeviceType_MAC DeviceType = 3
|
|
DeviceType_IOS DeviceType = 4
|
|
DeviceType_LINUX DeviceType = 5
|
|
DeviceType_ROUTER DeviceType = 6
|
|
DeviceType_SMART_TV DeviceType = 7
|
|
DeviceType_GAME_CONSOLE DeviceType = 8
|
|
DeviceType_OTHER DeviceType = 9
|
|
)
|
|
|
|
// Enum value maps for DeviceType.
|
|
var (
|
|
DeviceType_name = map[int32]string{
|
|
0: "INVALID",
|
|
1: "WINDOWS",
|
|
2: "ANDROID",
|
|
3: "MAC",
|
|
4: "IOS",
|
|
5: "LINUX",
|
|
6: "ROUTER",
|
|
7: "SMART_TV",
|
|
8: "GAME_CONSOLE",
|
|
9: "OTHER",
|
|
}
|
|
DeviceType_value = map[string]int32{
|
|
"INVALID": 0,
|
|
"WINDOWS": 1,
|
|
"ANDROID": 2,
|
|
"MAC": 3,
|
|
"IOS": 4,
|
|
"LINUX": 5,
|
|
"ROUTER": 6,
|
|
"SMART_TV": 7,
|
|
"GAME_CONSOLE": 8,
|
|
"OTHER": 9,
|
|
}
|
|
)
|
|
|
|
func (x DeviceType) Enum() *DeviceType {
|
|
p := new(DeviceType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DeviceType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DeviceType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_dns_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (DeviceType) Type() protoreflect.EnumType {
|
|
return &file_dns_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x DeviceType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DeviceType.Descriptor instead.
|
|
func (DeviceType) EnumDescriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type RateLimitSettingsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RateLimitSettingsRequest) Reset() {
|
|
*x = RateLimitSettingsRequest{}
|
|
mi := &file_dns_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimitSettingsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimitSettingsRequest) ProtoMessage() {}
|
|
|
|
func (x *RateLimitSettingsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 RateLimitSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RateLimitSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type RateLimitSettingsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AllowedSubnets []*CidrRange `protobuf:"bytes,1,rep,name=allowed_subnets,json=allowedSubnets,proto3" json:"allowed_subnets,omitempty"`
|
|
}
|
|
|
|
func (x *RateLimitSettingsResponse) Reset() {
|
|
*x = RateLimitSettingsResponse{}
|
|
mi := &file_dns_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimitSettingsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimitSettingsResponse) ProtoMessage() {}
|
|
|
|
func (x *RateLimitSettingsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 RateLimitSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*RateLimitSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *RateLimitSettingsResponse) GetAllowedSubnets() []*CidrRange {
|
|
if x != nil {
|
|
return x.AllowedSubnets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DNSProfilesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SyncTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=sync_time,json=syncTime,proto3" json:"sync_time,omitempty"`
|
|
}
|
|
|
|
func (x *DNSProfilesRequest) Reset() {
|
|
*x = DNSProfilesRequest{}
|
|
mi := &file_dns_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DNSProfilesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DNSProfilesRequest) ProtoMessage() {}
|
|
|
|
func (x *DNSProfilesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 DNSProfilesRequest.ProtoReflect.Descriptor instead.
|
|
func (*DNSProfilesRequest) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DNSProfilesRequest) GetSyncTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.SyncTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DNSProfile struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DnsId string `protobuf:"bytes,1,opt,name=dns_id,json=dnsId,proto3" json:"dns_id,omitempty"`
|
|
FilteringEnabled bool `protobuf:"varint,2,opt,name=filtering_enabled,json=filteringEnabled,proto3" json:"filtering_enabled,omitempty"`
|
|
QueryLogEnabled bool `protobuf:"varint,3,opt,name=query_log_enabled,json=queryLogEnabled,proto3" json:"query_log_enabled,omitempty"`
|
|
Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
SafeBrowsing *SafeBrowsingSettings `protobuf:"bytes,5,opt,name=safe_browsing,json=safeBrowsing,proto3" json:"safe_browsing,omitempty"`
|
|
Parental *ParentalSettings `protobuf:"bytes,6,opt,name=parental,proto3" json:"parental,omitempty"`
|
|
RuleLists *RuleListsSettings `protobuf:"bytes,7,opt,name=rule_lists,json=ruleLists,proto3" json:"rule_lists,omitempty"`
|
|
Devices []*DeviceSettings `protobuf:"bytes,8,rep,name=devices,proto3" json:"devices,omitempty"`
|
|
CustomRules []string `protobuf:"bytes,9,rep,name=custom_rules,json=customRules,proto3" json:"custom_rules,omitempty"`
|
|
FilteredResponseTtl *durationpb.Duration `protobuf:"bytes,10,opt,name=filtered_response_ttl,json=filteredResponseTtl,proto3" json:"filtered_response_ttl,omitempty"`
|
|
BlockPrivateRelay bool `protobuf:"varint,11,opt,name=block_private_relay,json=blockPrivateRelay,proto3" json:"block_private_relay,omitempty"`
|
|
BlockFirefoxCanary bool `protobuf:"varint,12,opt,name=block_firefox_canary,json=blockFirefoxCanary,proto3" json:"block_firefox_canary,omitempty"`
|
|
// Types that are assignable to BlockingMode:
|
|
//
|
|
// *DNSProfile_BlockingModeCustomIp
|
|
// *DNSProfile_BlockingModeNxdomain
|
|
// *DNSProfile_BlockingModeNullIp
|
|
// *DNSProfile_BlockingModeRefused
|
|
BlockingMode isDNSProfile_BlockingMode `protobuf_oneof:"blocking_mode"`
|
|
IpLogEnabled bool `protobuf:"varint,17,opt,name=ip_log_enabled,json=ipLogEnabled,proto3" json:"ip_log_enabled,omitempty"`
|
|
Access *AccessSettings `protobuf:"bytes,18,opt,name=access,proto3" json:"access,omitempty"`
|
|
AutoDevicesEnabled bool `protobuf:"varint,19,opt,name=auto_devices_enabled,json=autoDevicesEnabled,proto3" json:"auto_devices_enabled,omitempty"`
|
|
RateLimit *RateLimitSettings `protobuf:"bytes,20,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"`
|
|
BlockChromePrefetch bool `protobuf:"varint,21,opt,name=block_chrome_prefetch,json=blockChromePrefetch,proto3" json:"block_chrome_prefetch,omitempty"`
|
|
}
|
|
|
|
func (x *DNSProfile) Reset() {
|
|
*x = DNSProfile{}
|
|
mi := &file_dns_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DNSProfile) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DNSProfile) ProtoMessage() {}
|
|
|
|
func (x *DNSProfile) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 DNSProfile.ProtoReflect.Descriptor instead.
|
|
func (*DNSProfile) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DNSProfile) GetDnsId() string {
|
|
if x != nil {
|
|
return x.DnsId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DNSProfile) GetFilteringEnabled() bool {
|
|
if x != nil {
|
|
return x.FilteringEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DNSProfile) GetQueryLogEnabled() bool {
|
|
if x != nil {
|
|
return x.QueryLogEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DNSProfile) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DNSProfile) GetSafeBrowsing() *SafeBrowsingSettings {
|
|
if x != nil {
|
|
return x.SafeBrowsing
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetParental() *ParentalSettings {
|
|
if x != nil {
|
|
return x.Parental
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetRuleLists() *RuleListsSettings {
|
|
if x != nil {
|
|
return x.RuleLists
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetDevices() []*DeviceSettings {
|
|
if x != nil {
|
|
return x.Devices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetCustomRules() []string {
|
|
if x != nil {
|
|
return x.CustomRules
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetFilteredResponseTtl() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.FilteredResponseTtl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetBlockPrivateRelay() bool {
|
|
if x != nil {
|
|
return x.BlockPrivateRelay
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DNSProfile) GetBlockFirefoxCanary() bool {
|
|
if x != nil {
|
|
return x.BlockFirefoxCanary
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *DNSProfile) GetBlockingMode() isDNSProfile_BlockingMode {
|
|
if m != nil {
|
|
return m.BlockingMode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetBlockingModeCustomIp() *BlockingModeCustomIP {
|
|
if x, ok := x.GetBlockingMode().(*DNSProfile_BlockingModeCustomIp); ok {
|
|
return x.BlockingModeCustomIp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetBlockingModeNxdomain() *BlockingModeNXDOMAIN {
|
|
if x, ok := x.GetBlockingMode().(*DNSProfile_BlockingModeNxdomain); ok {
|
|
return x.BlockingModeNxdomain
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetBlockingModeNullIp() *BlockingModeNullIP {
|
|
if x, ok := x.GetBlockingMode().(*DNSProfile_BlockingModeNullIp); ok {
|
|
return x.BlockingModeNullIp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetBlockingModeRefused() *BlockingModeREFUSED {
|
|
if x, ok := x.GetBlockingMode().(*DNSProfile_BlockingModeRefused); ok {
|
|
return x.BlockingModeRefused
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetIpLogEnabled() bool {
|
|
if x != nil {
|
|
return x.IpLogEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DNSProfile) GetAccess() *AccessSettings {
|
|
if x != nil {
|
|
return x.Access
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetAutoDevicesEnabled() bool {
|
|
if x != nil {
|
|
return x.AutoDevicesEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DNSProfile) GetRateLimit() *RateLimitSettings {
|
|
if x != nil {
|
|
return x.RateLimit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DNSProfile) GetBlockChromePrefetch() bool {
|
|
if x != nil {
|
|
return x.BlockChromePrefetch
|
|
}
|
|
return false
|
|
}
|
|
|
|
type isDNSProfile_BlockingMode interface {
|
|
isDNSProfile_BlockingMode()
|
|
}
|
|
|
|
type DNSProfile_BlockingModeCustomIp struct {
|
|
BlockingModeCustomIp *BlockingModeCustomIP `protobuf:"bytes,13,opt,name=blocking_mode_custom_ip,json=blockingModeCustomIp,proto3,oneof"`
|
|
}
|
|
|
|
type DNSProfile_BlockingModeNxdomain struct {
|
|
BlockingModeNxdomain *BlockingModeNXDOMAIN `protobuf:"bytes,14,opt,name=blocking_mode_nxdomain,json=blockingModeNxdomain,proto3,oneof"`
|
|
}
|
|
|
|
type DNSProfile_BlockingModeNullIp struct {
|
|
BlockingModeNullIp *BlockingModeNullIP `protobuf:"bytes,15,opt,name=blocking_mode_null_ip,json=blockingModeNullIp,proto3,oneof"`
|
|
}
|
|
|
|
type DNSProfile_BlockingModeRefused struct {
|
|
BlockingModeRefused *BlockingModeREFUSED `protobuf:"bytes,16,opt,name=blocking_mode_refused,json=blockingModeRefused,proto3,oneof"`
|
|
}
|
|
|
|
func (*DNSProfile_BlockingModeCustomIp) isDNSProfile_BlockingMode() {}
|
|
|
|
func (*DNSProfile_BlockingModeNxdomain) isDNSProfile_BlockingMode() {}
|
|
|
|
func (*DNSProfile_BlockingModeNullIp) isDNSProfile_BlockingMode() {}
|
|
|
|
func (*DNSProfile_BlockingModeRefused) isDNSProfile_BlockingMode() {}
|
|
|
|
type SafeBrowsingSettings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
BlockDangerousDomains bool `protobuf:"varint,2,opt,name=block_dangerous_domains,json=blockDangerousDomains,proto3" json:"block_dangerous_domains,omitempty"`
|
|
BlockNrd bool `protobuf:"varint,3,opt,name=block_nrd,json=blockNrd,proto3" json:"block_nrd,omitempty"`
|
|
}
|
|
|
|
func (x *SafeBrowsingSettings) Reset() {
|
|
*x = SafeBrowsingSettings{}
|
|
mi := &file_dns_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SafeBrowsingSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SafeBrowsingSettings) ProtoMessage() {}
|
|
|
|
func (x *SafeBrowsingSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 SafeBrowsingSettings.ProtoReflect.Descriptor instead.
|
|
func (*SafeBrowsingSettings) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SafeBrowsingSettings) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SafeBrowsingSettings) GetBlockDangerousDomains() bool {
|
|
if x != nil {
|
|
return x.BlockDangerousDomains
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SafeBrowsingSettings) GetBlockNrd() bool {
|
|
if x != nil {
|
|
return x.BlockNrd
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeviceSettings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
FilteringEnabled bool `protobuf:"varint,3,opt,name=filtering_enabled,json=filteringEnabled,proto3" json:"filtering_enabled,omitempty"`
|
|
LinkedIp []byte `protobuf:"bytes,4,opt,name=linked_ip,json=linkedIp,proto3" json:"linked_ip,omitempty"`
|
|
DedicatedIps [][]byte `protobuf:"bytes,5,rep,name=dedicated_ips,json=dedicatedIps,proto3" json:"dedicated_ips,omitempty"`
|
|
Authentication *AuthenticationSettings `protobuf:"bytes,6,opt,name=authentication,proto3" json:"authentication,omitempty"`
|
|
// Value in lower case. Will be empty for "ordinary" devices and non-empty for "automatically" created devices.
|
|
HumanIdLower string `protobuf:"bytes,7,opt,name=human_id_lower,json=humanIdLower,proto3" json:"human_id_lower,omitempty"`
|
|
}
|
|
|
|
func (x *DeviceSettings) Reset() {
|
|
*x = DeviceSettings{}
|
|
mi := &file_dns_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeviceSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeviceSettings) ProtoMessage() {}
|
|
|
|
func (x *DeviceSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 DeviceSettings.ProtoReflect.Descriptor instead.
|
|
func (*DeviceSettings) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DeviceSettings) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeviceSettings) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeviceSettings) GetFilteringEnabled() bool {
|
|
if x != nil {
|
|
return x.FilteringEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeviceSettings) GetLinkedIp() []byte {
|
|
if x != nil {
|
|
return x.LinkedIp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeviceSettings) GetDedicatedIps() [][]byte {
|
|
if x != nil {
|
|
return x.DedicatedIps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeviceSettings) GetAuthentication() *AuthenticationSettings {
|
|
if x != nil {
|
|
return x.Authentication
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeviceSettings) GetHumanIdLower() string {
|
|
if x != nil {
|
|
return x.HumanIdLower
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ParentalSettings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
BlockAdult bool `protobuf:"varint,2,opt,name=block_adult,json=blockAdult,proto3" json:"block_adult,omitempty"`
|
|
GeneralSafeSearch bool `protobuf:"varint,3,opt,name=general_safe_search,json=generalSafeSearch,proto3" json:"general_safe_search,omitempty"`
|
|
YoutubeSafeSearch bool `protobuf:"varint,4,opt,name=youtube_safe_search,json=youtubeSafeSearch,proto3" json:"youtube_safe_search,omitempty"`
|
|
BlockedServices []string `protobuf:"bytes,5,rep,name=blocked_services,json=blockedServices,proto3" json:"blocked_services,omitempty"`
|
|
Schedule *ScheduleSettings `protobuf:"bytes,6,opt,name=schedule,proto3" json:"schedule,omitempty"`
|
|
}
|
|
|
|
func (x *ParentalSettings) Reset() {
|
|
*x = ParentalSettings{}
|
|
mi := &file_dns_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParentalSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParentalSettings) ProtoMessage() {}
|
|
|
|
func (x *ParentalSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 ParentalSettings.ProtoReflect.Descriptor instead.
|
|
func (*ParentalSettings) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ParentalSettings) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ParentalSettings) GetBlockAdult() bool {
|
|
if x != nil {
|
|
return x.BlockAdult
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ParentalSettings) GetGeneralSafeSearch() bool {
|
|
if x != nil {
|
|
return x.GeneralSafeSearch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ParentalSettings) GetYoutubeSafeSearch() bool {
|
|
if x != nil {
|
|
return x.YoutubeSafeSearch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ParentalSettings) GetBlockedServices() []string {
|
|
if x != nil {
|
|
return x.BlockedServices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ParentalSettings) GetSchedule() *ScheduleSettings {
|
|
if x != nil {
|
|
return x.Schedule
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ScheduleSettings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tmz string `protobuf:"bytes,1,opt,name=tmz,proto3" json:"tmz,omitempty"`
|
|
WeeklyRange *WeeklyRange `protobuf:"bytes,2,opt,name=weeklyRange,proto3" json:"weeklyRange,omitempty"`
|
|
}
|
|
|
|
func (x *ScheduleSettings) Reset() {
|
|
*x = ScheduleSettings{}
|
|
mi := &file_dns_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScheduleSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScheduleSettings) ProtoMessage() {}
|
|
|
|
func (x *ScheduleSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 ScheduleSettings.ProtoReflect.Descriptor instead.
|
|
func (*ScheduleSettings) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ScheduleSettings) GetTmz() string {
|
|
if x != nil {
|
|
return x.Tmz
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScheduleSettings) GetWeeklyRange() *WeeklyRange {
|
|
if x != nil {
|
|
return x.WeeklyRange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WeeklyRange struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mon *DayRange `protobuf:"bytes,1,opt,name=mon,proto3" json:"mon,omitempty"`
|
|
Tue *DayRange `protobuf:"bytes,2,opt,name=tue,proto3" json:"tue,omitempty"`
|
|
Wed *DayRange `protobuf:"bytes,3,opt,name=wed,proto3" json:"wed,omitempty"`
|
|
Thu *DayRange `protobuf:"bytes,4,opt,name=thu,proto3" json:"thu,omitempty"`
|
|
Fri *DayRange `protobuf:"bytes,5,opt,name=fri,proto3" json:"fri,omitempty"`
|
|
Sat *DayRange `protobuf:"bytes,6,opt,name=sat,proto3" json:"sat,omitempty"`
|
|
Sun *DayRange `protobuf:"bytes,7,opt,name=sun,proto3" json:"sun,omitempty"`
|
|
}
|
|
|
|
func (x *WeeklyRange) Reset() {
|
|
*x = WeeklyRange{}
|
|
mi := &file_dns_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WeeklyRange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WeeklyRange) ProtoMessage() {}
|
|
|
|
func (x *WeeklyRange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 WeeklyRange.ProtoReflect.Descriptor instead.
|
|
func (*WeeklyRange) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *WeeklyRange) GetMon() *DayRange {
|
|
if x != nil {
|
|
return x.Mon
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WeeklyRange) GetTue() *DayRange {
|
|
if x != nil {
|
|
return x.Tue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WeeklyRange) GetWed() *DayRange {
|
|
if x != nil {
|
|
return x.Wed
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WeeklyRange) GetThu() *DayRange {
|
|
if x != nil {
|
|
return x.Thu
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WeeklyRange) GetFri() *DayRange {
|
|
if x != nil {
|
|
return x.Fri
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WeeklyRange) GetSat() *DayRange {
|
|
if x != nil {
|
|
return x.Sat
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WeeklyRange) GetSun() *DayRange {
|
|
if x != nil {
|
|
return x.Sun
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DayRange struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Start *durationpb.Duration `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
|
|
End *durationpb.Duration `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
|
|
}
|
|
|
|
func (x *DayRange) Reset() {
|
|
*x = DayRange{}
|
|
mi := &file_dns_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DayRange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DayRange) ProtoMessage() {}
|
|
|
|
func (x *DayRange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 DayRange.ProtoReflect.Descriptor instead.
|
|
func (*DayRange) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *DayRange) GetStart() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DayRange) GetEnd() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RuleListsSettings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
|
|
}
|
|
|
|
func (x *RuleListsSettings) Reset() {
|
|
*x = RuleListsSettings{}
|
|
mi := &file_dns_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RuleListsSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RuleListsSettings) ProtoMessage() {}
|
|
|
|
func (x *RuleListsSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 RuleListsSettings.ProtoReflect.Descriptor instead.
|
|
func (*RuleListsSettings) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *RuleListsSettings) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RuleListsSettings) GetIds() []string {
|
|
if x != nil {
|
|
return x.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlockingModeCustomIP struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ipv4 []byte `protobuf:"bytes,1,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
|
|
Ipv6 []byte `protobuf:"bytes,2,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
|
|
}
|
|
|
|
func (x *BlockingModeCustomIP) Reset() {
|
|
*x = BlockingModeCustomIP{}
|
|
mi := &file_dns_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BlockingModeCustomIP) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockingModeCustomIP) ProtoMessage() {}
|
|
|
|
func (x *BlockingModeCustomIP) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 BlockingModeCustomIP.ProtoReflect.Descriptor instead.
|
|
func (*BlockingModeCustomIP) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *BlockingModeCustomIP) GetIpv4() []byte {
|
|
if x != nil {
|
|
return x.Ipv4
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlockingModeCustomIP) GetIpv6() []byte {
|
|
if x != nil {
|
|
return x.Ipv6
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlockingModeNXDOMAIN struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *BlockingModeNXDOMAIN) Reset() {
|
|
*x = BlockingModeNXDOMAIN{}
|
|
mi := &file_dns_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BlockingModeNXDOMAIN) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockingModeNXDOMAIN) ProtoMessage() {}
|
|
|
|
func (x *BlockingModeNXDOMAIN) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_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 BlockingModeNXDOMAIN.ProtoReflect.Descriptor instead.
|
|
func (*BlockingModeNXDOMAIN) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
type BlockingModeNullIP struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *BlockingModeNullIP) Reset() {
|
|
*x = BlockingModeNullIP{}
|
|
mi := &file_dns_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BlockingModeNullIP) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockingModeNullIP) ProtoMessage() {}
|
|
|
|
func (x *BlockingModeNullIP) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[13]
|
|
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 BlockingModeNullIP.ProtoReflect.Descriptor instead.
|
|
func (*BlockingModeNullIP) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
type BlockingModeREFUSED struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *BlockingModeREFUSED) Reset() {
|
|
*x = BlockingModeREFUSED{}
|
|
mi := &file_dns_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BlockingModeREFUSED) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockingModeREFUSED) ProtoMessage() {}
|
|
|
|
func (x *BlockingModeREFUSED) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[14]
|
|
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 BlockingModeREFUSED.ProtoReflect.Descriptor instead.
|
|
func (*BlockingModeREFUSED) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
type DeviceBillingStat struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LastActivityTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_activity_time,json=lastActivityTime,proto3" json:"last_activity_time,omitempty"`
|
|
DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
|
|
ClientCountry string `protobuf:"bytes,3,opt,name=client_country,json=clientCountry,proto3" json:"client_country,omitempty"`
|
|
// Protocol type. Possible values see here: https://bit.adguard.com/projects/DNS/repos/dns-server/browse#ql-properties
|
|
Proto uint32 `protobuf:"varint,4,opt,name=proto,proto3" json:"proto,omitempty"`
|
|
Asn uint32 `protobuf:"varint,5,opt,name=asn,proto3" json:"asn,omitempty"`
|
|
Queries uint32 `protobuf:"varint,6,opt,name=queries,proto3" json:"queries,omitempty"`
|
|
}
|
|
|
|
func (x *DeviceBillingStat) Reset() {
|
|
*x = DeviceBillingStat{}
|
|
mi := &file_dns_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeviceBillingStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeviceBillingStat) ProtoMessage() {}
|
|
|
|
func (x *DeviceBillingStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[15]
|
|
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 DeviceBillingStat.ProtoReflect.Descriptor instead.
|
|
func (*DeviceBillingStat) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *DeviceBillingStat) GetLastActivityTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastActivityTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeviceBillingStat) GetDeviceId() string {
|
|
if x != nil {
|
|
return x.DeviceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeviceBillingStat) GetClientCountry() string {
|
|
if x != nil {
|
|
return x.ClientCountry
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeviceBillingStat) GetProto() uint32 {
|
|
if x != nil {
|
|
return x.Proto
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeviceBillingStat) GetAsn() uint32 {
|
|
if x != nil {
|
|
return x.Asn
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeviceBillingStat) GetQueries() uint32 {
|
|
if x != nil {
|
|
return x.Queries
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AccessSettings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AllowlistCidr []*CidrRange `protobuf:"bytes,1,rep,name=allowlist_cidr,json=allowlistCidr,proto3" json:"allowlist_cidr,omitempty"`
|
|
BlocklistCidr []*CidrRange `protobuf:"bytes,2,rep,name=blocklist_cidr,json=blocklistCidr,proto3" json:"blocklist_cidr,omitempty"`
|
|
AllowlistAsn []uint32 `protobuf:"varint,3,rep,packed,name=allowlist_asn,json=allowlistAsn,proto3" json:"allowlist_asn,omitempty"`
|
|
BlocklistAsn []uint32 `protobuf:"varint,4,rep,packed,name=blocklist_asn,json=blocklistAsn,proto3" json:"blocklist_asn,omitempty"`
|
|
BlocklistDomainRules []string `protobuf:"bytes,5,rep,name=blocklist_domain_rules,json=blocklistDomainRules,proto3" json:"blocklist_domain_rules,omitempty"`
|
|
Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
}
|
|
|
|
func (x *AccessSettings) Reset() {
|
|
*x = AccessSettings{}
|
|
mi := &file_dns_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessSettings) ProtoMessage() {}
|
|
|
|
func (x *AccessSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[16]
|
|
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 AccessSettings.ProtoReflect.Descriptor instead.
|
|
func (*AccessSettings) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *AccessSettings) GetAllowlistCidr() []*CidrRange {
|
|
if x != nil {
|
|
return x.AllowlistCidr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccessSettings) GetBlocklistCidr() []*CidrRange {
|
|
if x != nil {
|
|
return x.BlocklistCidr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccessSettings) GetAllowlistAsn() []uint32 {
|
|
if x != nil {
|
|
return x.AllowlistAsn
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccessSettings) GetBlocklistAsn() []uint32 {
|
|
if x != nil {
|
|
return x.BlocklistAsn
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccessSettings) GetBlocklistDomainRules() []string {
|
|
if x != nil {
|
|
return x.BlocklistDomainRules
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccessSettings) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CidrRange struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
Prefix uint32 `protobuf:"varint,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
}
|
|
|
|
func (x *CidrRange) Reset() {
|
|
*x = CidrRange{}
|
|
mi := &file_dns_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CidrRange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CidrRange) ProtoMessage() {}
|
|
|
|
func (x *CidrRange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[17]
|
|
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 CidrRange.ProtoReflect.Descriptor instead.
|
|
func (*CidrRange) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *CidrRange) GetAddress() []byte {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CidrRange) GetPrefix() uint32 {
|
|
if x != nil {
|
|
return x.Prefix
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AuthenticationSettings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DohAuthOnly bool `protobuf:"varint,1,opt,name=doh_auth_only,json=dohAuthOnly,proto3" json:"doh_auth_only,omitempty"`
|
|
// Types that are assignable to DohPasswordHash:
|
|
//
|
|
// *AuthenticationSettings_PasswordHashBcrypt
|
|
DohPasswordHash isAuthenticationSettings_DohPasswordHash `protobuf_oneof:"doh_password_hash"`
|
|
}
|
|
|
|
func (x *AuthenticationSettings) Reset() {
|
|
*x = AuthenticationSettings{}
|
|
mi := &file_dns_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthenticationSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthenticationSettings) ProtoMessage() {}
|
|
|
|
func (x *AuthenticationSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[18]
|
|
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 AuthenticationSettings.ProtoReflect.Descriptor instead.
|
|
func (*AuthenticationSettings) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *AuthenticationSettings) GetDohAuthOnly() bool {
|
|
if x != nil {
|
|
return x.DohAuthOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *AuthenticationSettings) GetDohPasswordHash() isAuthenticationSettings_DohPasswordHash {
|
|
if m != nil {
|
|
return m.DohPasswordHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AuthenticationSettings) GetPasswordHashBcrypt() []byte {
|
|
if x, ok := x.GetDohPasswordHash().(*AuthenticationSettings_PasswordHashBcrypt); ok {
|
|
return x.PasswordHashBcrypt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isAuthenticationSettings_DohPasswordHash interface {
|
|
isAuthenticationSettings_DohPasswordHash()
|
|
}
|
|
|
|
type AuthenticationSettings_PasswordHashBcrypt struct {
|
|
PasswordHashBcrypt []byte `protobuf:"bytes,2,opt,name=password_hash_bcrypt,json=passwordHashBcrypt,proto3,oneof"`
|
|
}
|
|
|
|
func (*AuthenticationSettings_PasswordHashBcrypt) isAuthenticationSettings_DohPasswordHash() {}
|
|
|
|
type CreateDeviceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DnsId string `protobuf:"bytes,1,opt,name=dns_id,json=dnsId,proto3" json:"dns_id,omitempty"`
|
|
HumanId string `protobuf:"bytes,2,opt,name=human_id,json=humanId,proto3" json:"human_id,omitempty"`
|
|
DeviceType DeviceType `protobuf:"varint,3,opt,name=device_type,json=deviceType,proto3,enum=DeviceType" json:"device_type,omitempty"`
|
|
}
|
|
|
|
func (x *CreateDeviceRequest) Reset() {
|
|
*x = CreateDeviceRequest{}
|
|
mi := &file_dns_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateDeviceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateDeviceRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateDeviceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[19]
|
|
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 CreateDeviceRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateDeviceRequest) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *CreateDeviceRequest) GetDnsId() string {
|
|
if x != nil {
|
|
return x.DnsId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateDeviceRequest) GetHumanId() string {
|
|
if x != nil {
|
|
return x.HumanId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateDeviceRequest) GetDeviceType() DeviceType {
|
|
if x != nil {
|
|
return x.DeviceType
|
|
}
|
|
return DeviceType_INVALID
|
|
}
|
|
|
|
type CreateDeviceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Device *DeviceSettings `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
|
|
}
|
|
|
|
func (x *CreateDeviceResponse) Reset() {
|
|
*x = CreateDeviceResponse{}
|
|
mi := &file_dns_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateDeviceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateDeviceResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateDeviceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[20]
|
|
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 CreateDeviceResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateDeviceResponse) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *CreateDeviceResponse) GetDevice() *DeviceSettings {
|
|
if x != nil {
|
|
return x.Device
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RateLimitedError struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
RetryDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=retry_delay,json=retryDelay,proto3" json:"retry_delay,omitempty"`
|
|
}
|
|
|
|
func (x *RateLimitedError) Reset() {
|
|
*x = RateLimitedError{}
|
|
mi := &file_dns_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimitedError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimitedError) ProtoMessage() {}
|
|
|
|
func (x *RateLimitedError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[21]
|
|
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 RateLimitedError.ProtoReflect.Descriptor instead.
|
|
func (*RateLimitedError) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *RateLimitedError) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimitedError) GetRetryDelay() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.RetryDelay
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeviceQuotaExceededError struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *DeviceQuotaExceededError) Reset() {
|
|
*x = DeviceQuotaExceededError{}
|
|
mi := &file_dns_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeviceQuotaExceededError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeviceQuotaExceededError) ProtoMessage() {}
|
|
|
|
func (x *DeviceQuotaExceededError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[22]
|
|
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 DeviceQuotaExceededError.ProtoReflect.Descriptor instead.
|
|
func (*DeviceQuotaExceededError) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *DeviceQuotaExceededError) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BadRequestError struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *BadRequestError) Reset() {
|
|
*x = BadRequestError{}
|
|
mi := &file_dns_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BadRequestError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BadRequestError) ProtoMessage() {}
|
|
|
|
func (x *BadRequestError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[23]
|
|
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 BadRequestError.ProtoReflect.Descriptor instead.
|
|
func (*BadRequestError) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *BadRequestError) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AuthenticationFailedError struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *AuthenticationFailedError) Reset() {
|
|
*x = AuthenticationFailedError{}
|
|
mi := &file_dns_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthenticationFailedError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthenticationFailedError) ProtoMessage() {}
|
|
|
|
func (x *AuthenticationFailedError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[24]
|
|
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 AuthenticationFailedError.ProtoReflect.Descriptor instead.
|
|
func (*AuthenticationFailedError) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *AuthenticationFailedError) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RateLimitSettings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Rps uint32 `protobuf:"varint,2,opt,name=rps,proto3" json:"rps,omitempty"`
|
|
ClientCidr []*CidrRange `protobuf:"bytes,3,rep,name=client_cidr,json=clientCidr,proto3" json:"client_cidr,omitempty"`
|
|
}
|
|
|
|
func (x *RateLimitSettings) Reset() {
|
|
*x = RateLimitSettings{}
|
|
mi := &file_dns_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimitSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimitSettings) ProtoMessage() {}
|
|
|
|
func (x *RateLimitSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[25]
|
|
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 RateLimitSettings.ProtoReflect.Descriptor instead.
|
|
func (*RateLimitSettings) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *RateLimitSettings) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RateLimitSettings) GetRps() uint32 {
|
|
if x != nil {
|
|
return x.Rps
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RateLimitSettings) GetClientCidr() []*CidrRange {
|
|
if x != nil {
|
|
return x.ClientCidr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoteKVGetRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
}
|
|
|
|
func (x *RemoteKVGetRequest) Reset() {
|
|
*x = RemoteKVGetRequest{}
|
|
mi := &file_dns_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoteKVGetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoteKVGetRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoteKVGetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[26]
|
|
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 RemoteKVGetRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoteKVGetRequest) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *RemoteKVGetRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoteKVGetResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Value:
|
|
//
|
|
// *RemoteKVGetResponse_Data
|
|
// *RemoteKVGetResponse_Empty
|
|
Value isRemoteKVGetResponse_Value `protobuf_oneof:"value"`
|
|
}
|
|
|
|
func (x *RemoteKVGetResponse) Reset() {
|
|
*x = RemoteKVGetResponse{}
|
|
mi := &file_dns_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoteKVGetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoteKVGetResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoteKVGetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[27]
|
|
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 RemoteKVGetResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoteKVGetResponse) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (m *RemoteKVGetResponse) GetValue() isRemoteKVGetResponse_Value {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RemoteKVGetResponse) GetData() []byte {
|
|
if x, ok := x.GetValue().(*RemoteKVGetResponse_Data); ok {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RemoteKVGetResponse) GetEmpty() *emptypb.Empty {
|
|
if x, ok := x.GetValue().(*RemoteKVGetResponse_Empty); ok {
|
|
return x.Empty
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isRemoteKVGetResponse_Value interface {
|
|
isRemoteKVGetResponse_Value()
|
|
}
|
|
|
|
type RemoteKVGetResponse_Data struct {
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
|
|
}
|
|
|
|
type RemoteKVGetResponse_Empty struct {
|
|
Empty *emptypb.Empty `protobuf:"bytes,2,opt,name=empty,proto3,oneof"`
|
|
}
|
|
|
|
func (*RemoteKVGetResponse_Data) isRemoteKVGetResponse_Value() {}
|
|
|
|
func (*RemoteKVGetResponse_Empty) isRemoteKVGetResponse_Value() {}
|
|
|
|
type RemoteKVSetRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
}
|
|
|
|
func (x *RemoteKVSetRequest) Reset() {
|
|
*x = RemoteKVSetRequest{}
|
|
mi := &file_dns_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoteKVSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoteKVSetRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoteKVSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[28]
|
|
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 RemoteKVSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoteKVSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *RemoteKVSetRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoteKVSetRequest) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RemoteKVSetRequest) GetTtl() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoteKVSetResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RemoteKVSetResponse) Reset() {
|
|
*x = RemoteKVSetResponse{}
|
|
mi := &file_dns_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoteKVSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoteKVSetResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoteKVSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dns_proto_msgTypes[29]
|
|
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 RemoteKVSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoteKVSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_dns_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
var File_dns_proto protoreflect.FileDescriptor
|
|
|
|
var file_dns_proto_rawDesc = []byte{
|
|
0x0a, 0x09, 0x64, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
|
|
0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x61, 0x74,
|
|
0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x19, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d,
|
|
0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x33, 0x0a, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x73, 0x75,
|
|
0x62, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x69,
|
|
0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64,
|
|
0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x22, 0x4d, 0x0a, 0x12, 0x44, 0x4e, 0x53, 0x50, 0x72,
|
|
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a,
|
|
0x09, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x73, 0x79,
|
|
0x6e, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xe1, 0x08, 0x0a, 0x0a, 0x44, 0x4e, 0x53, 0x50, 0x72,
|
|
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x64, 0x6e, 0x73, 0x5f, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x6e, 0x73, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11,
|
|
0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x69,
|
|
0x6e, 0x67, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x71, 0x75, 0x65,
|
|
0x72, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x45, 0x6e,
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12,
|
|
0x3a, 0x0a, 0x0d, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x69, 0x6e, 0x67,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x53, 0x61, 0x66, 0x65, 0x42, 0x72, 0x6f,
|
|
0x77, 0x73, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x0c, 0x73,
|
|
0x61, 0x66, 0x65, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x2d, 0x0a, 0x08, 0x70,
|
|
0x61, 0x72, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
|
0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
|
|
0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x31, 0x0a, 0x0a, 0x72, 0x75,
|
|
0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12,
|
|
0x2e, 0x52, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
|
|
0x67, 0x73, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x29, 0x0a,
|
|
0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f,
|
|
0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52,
|
|
0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74,
|
|
0x6f, 0x6d, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b,
|
|
0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x15, 0x66,
|
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x5f, 0x74, 0x74, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x74, 0x6c, 0x12, 0x2e, 0x0a, 0x13, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61,
|
|
0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72,
|
|
0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78, 0x5f, 0x63, 0x61, 0x6e, 0x61,
|
|
0x72, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x46,
|
|
0x69, 0x72, 0x65, 0x66, 0x6f, 0x78, 0x43, 0x61, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x4e, 0x0a, 0x17,
|
|
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x75,
|
|
0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x69, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e,
|
|
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x43, 0x75, 0x73, 0x74,
|
|
0x6f, 0x6d, 0x49, 0x50, 0x48, 0x00, 0x52, 0x14, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67,
|
|
0x4d, 0x6f, 0x64, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x70, 0x12, 0x4d, 0x0a, 0x16,
|
|
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x78,
|
|
0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x42,
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x4e, 0x58, 0x44, 0x4f, 0x4d,
|
|
0x41, 0x49, 0x4e, 0x48, 0x00, 0x52, 0x14, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d,
|
|
0x6f, 0x64, 0x65, 0x4e, 0x78, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x48, 0x0a, 0x15, 0x62,
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x75, 0x6c,
|
|
0x6c, 0x5f, 0x69, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x42, 0x6c, 0x6f,
|
|
0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x49, 0x50, 0x48,
|
|
0x00, 0x52, 0x12, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x4e,
|
|
0x75, 0x6c, 0x6c, 0x49, 0x70, 0x12, 0x4a, 0x0a, 0x15, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e,
|
|
0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x75, 0x73, 0x65, 0x64, 0x18, 0x10,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d,
|
|
0x6f, 0x64, 0x65, 0x52, 0x45, 0x46, 0x55, 0x53, 0x45, 0x44, 0x48, 0x00, 0x52, 0x13, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x66, 0x75, 0x73, 0x65,
|
|
0x64, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x70, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x6e, 0x61, 0x62,
|
|
0x6c, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x70, 0x4c, 0x6f, 0x67,
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73,
|
|
0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
0x12, 0x30, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
|
|
0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
|
|
0x61, 0x75, 0x74, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
|
0x65, 0x64, 0x12, 0x31, 0x0a, 0x0a, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
|
0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d,
|
|
0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x09, 0x72, 0x61, 0x74, 0x65,
|
|
0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x63,
|
|
0x68, 0x72, 0x6f, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x74, 0x63, 0x68, 0x18, 0x15,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x72, 0x6f, 0x6d,
|
|
0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x74, 0x63, 0x68, 0x42, 0x0f, 0x0a, 0x0d, 0x62, 0x6c, 0x6f,
|
|
0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x14, 0x53,
|
|
0x61, 0x66, 0x65, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69,
|
|
0x6e, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x36, 0x0a,
|
|
0x17, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x6f, 0x75, 0x73,
|
|
0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15,
|
|
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x6f, 0x75, 0x73, 0x44, 0x6f,
|
|
0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e,
|
|
0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e,
|
|
0x72, 0x64, 0x22, 0x8a, 0x02, 0x0a, 0x0e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74,
|
|
0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x66, 0x69, 0x6c,
|
|
0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x45,
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64,
|
|
0x5f, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6c, 0x69, 0x6e, 0x6b, 0x65,
|
|
0x64, 0x49, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64,
|
|
0x5f, 0x69, 0x70, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x64, 0x65, 0x64, 0x69,
|
|
0x63, 0x61, 0x74, 0x65, 0x64, 0x49, 0x70, 0x73, 0x12, 0x3f, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68,
|
|
0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x17, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x65,
|
|
0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x68, 0x75, 0x6d,
|
|
0x61, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0c, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x49, 0x64, 0x4c, 0x6f, 0x77, 0x65, 0x72, 0x22,
|
|
0x87, 0x02, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74,
|
|
0x69, 0x6e, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x61, 0x64, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x64, 0x75, 0x6c, 0x74, 0x12,
|
|
0x2e, 0x0a, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x5f,
|
|
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x67, 0x65,
|
|
0x6e, 0x65, 0x72, 0x61, 0x6c, 0x53, 0x61, 0x66, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12,
|
|
0x2e, 0x0a, 0x13, 0x79, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x5f,
|
|
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x79, 0x6f,
|
|
0x75, 0x74, 0x75, 0x62, 0x65, 0x53, 0x61, 0x66, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12,
|
|
0x29, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
|
|
0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
|
|
0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x08, 0x73, 0x63,
|
|
0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x53,
|
|
0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52,
|
|
0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x22, 0x54, 0x0a, 0x10, 0x53, 0x63, 0x68,
|
|
0x65, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x10, 0x0a,
|
|
0x03, 0x74, 0x6d, 0x7a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x6d, 0x7a, 0x12,
|
|
0x2e, 0x0a, 0x0b, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x52, 0x61, 0x6e,
|
|
0x67, 0x65, 0x52, 0x0b, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x22,
|
|
0xd8, 0x01, 0x0a, 0x0b, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12,
|
|
0x1b, 0x0a, 0x03, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44,
|
|
0x61, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x03, 0x6d, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x03,
|
|
0x74, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x61, 0x79, 0x52,
|
|
0x61, 0x6e, 0x67, 0x65, 0x52, 0x03, 0x74, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x03, 0x77, 0x65, 0x64,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x61, 0x79, 0x52, 0x61, 0x6e, 0x67,
|
|
0x65, 0x52, 0x03, 0x77, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x03, 0x74, 0x68, 0x75, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x61, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x03,
|
|
0x74, 0x68, 0x75, 0x12, 0x1b, 0x0a, 0x03, 0x66, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x09, 0x2e, 0x44, 0x61, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x03, 0x66, 0x72, 0x69,
|
|
0x12, 0x1b, 0x0a, 0x03, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e,
|
|
0x44, 0x61, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x03, 0x73, 0x61, 0x74, 0x12, 0x1b, 0x0a,
|
|
0x03, 0x73, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x61, 0x79,
|
|
0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x03, 0x73, 0x75, 0x6e, 0x22, 0x68, 0x0a, 0x08, 0x44, 0x61,
|
|
0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x2b, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
0x03, 0x65, 0x6e, 0x64, 0x22, 0x3f, 0x0a, 0x11, 0x52, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74,
|
|
0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61,
|
|
0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62,
|
|
0x6c, 0x65, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
|
|
0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x3e, 0x0a, 0x14, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e,
|
|
0x67, 0x4d, 0x6f, 0x64, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x50, 0x12, 0x12, 0x0a,
|
|
0x04, 0x69, 0x70, 0x76, 0x34, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x69, 0x70, 0x76,
|
|
0x34, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x70, 0x76, 0x36, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x04, 0x69, 0x70, 0x76, 0x36, 0x22, 0x16, 0x0a, 0x14, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e,
|
|
0x67, 0x4d, 0x6f, 0x64, 0x65, 0x4e, 0x58, 0x44, 0x4f, 0x4d, 0x41, 0x49, 0x4e, 0x22, 0x14, 0x0a,
|
|
0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6c,
|
|
0x6c, 0x49, 0x50, 0x22, 0x15, 0x0a, 0x13, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x4d,
|
|
0x6f, 0x64, 0x65, 0x52, 0x45, 0x46, 0x55, 0x53, 0x45, 0x44, 0x22, 0xe3, 0x01, 0x0a, 0x11, 0x44,
|
|
0x65, 0x76, 0x69, 0x63, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74,
|
|
0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
|
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x63,
|
|
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65,
|
|
0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64,
|
|
0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e,
|
|
0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x14,
|
|
0x0a, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x03, 0x61, 0x73, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65,
|
|
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73,
|
|
0x22, 0x90, 0x02, 0x0a, 0x0e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69,
|
|
0x6e, 0x67, 0x73, 0x12, 0x31, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74,
|
|
0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x69,
|
|
0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69,
|
|
0x73, 0x74, 0x43, 0x69, 0x64, 0x72, 0x12, 0x31, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x6c,
|
|
0x69, 0x73, 0x74, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a,
|
|
0x2e, 0x43, 0x69, 0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x62, 0x6c, 0x6f, 0x63,
|
|
0x6b, 0x6c, 0x69, 0x73, 0x74, 0x43, 0x69, 0x64, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c,
|
|
0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x73, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d,
|
|
0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x6e, 0x12, 0x23,
|
|
0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x73, 0x6e, 0x18,
|
|
0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74,
|
|
0x41, 0x73, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74,
|
|
0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20,
|
|
0x03, 0x28, 0x09, 0x52, 0x14, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x44, 0x6f,
|
|
0x6d, 0x61, 0x69, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61,
|
|
0x62, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62,
|
|
0x6c, 0x65, 0x64, 0x22, 0x3d, 0x0a, 0x09, 0x43, 0x69, 0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65,
|
|
0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72,
|
|
0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66,
|
|
0x69, 0x78, 0x22, 0x85, 0x01, 0x0a, 0x16, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x22, 0x0a,
|
|
0x0d, 0x64, 0x6f, 0x68, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x6f, 0x68, 0x41, 0x75, 0x74, 0x68, 0x4f, 0x6e, 0x6c,
|
|
0x79, 0x12, 0x32, 0x0a, 0x14, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x68, 0x61,
|
|
0x73, 0x68, 0x5f, 0x62, 0x63, 0x72, 0x79, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48,
|
|
0x00, 0x52, 0x12, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x48, 0x61, 0x73, 0x68, 0x42,
|
|
0x63, 0x72, 0x79, 0x70, 0x74, 0x42, 0x13, 0x0a, 0x11, 0x64, 0x6f, 0x68, 0x5f, 0x70, 0x61, 0x73,
|
|
0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x22, 0x75, 0x0a, 0x13, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x15, 0x0a, 0x06, 0x64, 0x6e, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x64, 0x6e, 0x73, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x75, 0x6d, 0x61,
|
|
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x75, 0x6d, 0x61,
|
|
0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63,
|
|
0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70,
|
|
0x65, 0x22, 0x3f, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x64, 0x65, 0x76,
|
|
0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x65, 0x76, 0x69,
|
|
0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69,
|
|
0x63, 0x65, 0x22, 0x68, 0x0a, 0x10, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65,
|
|
0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x12, 0x3a, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x22, 0x34, 0x0a, 0x18,
|
|
0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x45, 0x78, 0x63, 0x65, 0x65,
|
|
0x64, 0x65, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
|
|
0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
0x67, 0x65, 0x22, 0x2b, 0x0a, 0x0f, 0x42, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
|
|
0x35, 0x0a, 0x19, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07,
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x6c, 0x0a, 0x11, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69,
|
|
0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65,
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e,
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0d, 0x52, 0x03, 0x72, 0x70, 0x73, 0x12, 0x2b, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e,
|
|
0x74, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43,
|
|
0x69, 0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
|
0x43, 0x69, 0x64, 0x72, 0x22, 0x26, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56,
|
|
0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x64, 0x0a, 0x13,
|
|
0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x05, 0x65, 0x6d, 0x70,
|
|
0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x22, 0x67, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56, 0x53, 0x65,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61,
|
|
0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2b,
|
|
0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0x15, 0x0a, 0x13, 0x52,
|
|
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x2a, 0x87, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70,
|
|
0x65, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0b,
|
|
0x0a, 0x07, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x53, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x41,
|
|
0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41, 0x43, 0x10,
|
|
0x03, 0x12, 0x07, 0x0a, 0x03, 0x49, 0x4f, 0x53, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x49,
|
|
0x4e, 0x55, 0x58, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x10,
|
|
0x06, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4d, 0x41, 0x52, 0x54, 0x5f, 0x54, 0x56, 0x10, 0x07, 0x12,
|
|
0x10, 0x0a, 0x0c, 0x47, 0x41, 0x4d, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x4f, 0x4c, 0x45, 0x10,
|
|
0x08, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x09, 0x32, 0xd0, 0x01, 0x0a,
|
|
0x0a, 0x44, 0x4e, 0x53, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x0e, 0x67,
|
|
0x65, 0x74, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x13, 0x2e,
|
|
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x30,
|
|
0x01, 0x12, 0x46, 0x0a, 0x16, 0x73, 0x61, 0x76, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
|
|
0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12, 0x2e, 0x44, 0x65,
|
|
0x76, 0x69, 0x63, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x1a,
|
|
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x28, 0x01, 0x12, 0x44, 0x0a, 0x15, 0x63, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x42, 0x79, 0x48, 0x75, 0x6d, 0x61, 0x6e,
|
|
0x49, 0x64, 0x12, 0x14, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63,
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,
|
|
0x61, 0x0a, 0x10, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76,
|
|
0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69,
|
|
0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x19, 0x2e, 0x52, 0x61,
|
|
0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d,
|
|
0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x32, 0x75, 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56, 0x53, 0x65,
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x67, 0x65, 0x74, 0x12, 0x13, 0x2e, 0x52,
|
|
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x14, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56, 0x47, 0x65, 0x74, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x73, 0x65, 0x74, 0x12, 0x13,
|
|
0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4b, 0x56, 0x53, 0x65,
|
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x3d, 0x0a, 0x21, 0x63, 0x6f, 0x6d,
|
|
0x2e, 0x61, 0x64, 0x67, 0x75, 0x61, 0x72, 0x64, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
|
|
0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x42, 0x10,
|
|
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x50, 0x01, 0xa2, 0x02, 0x03, 0x44, 0x4e, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_dns_proto_rawDescOnce sync.Once
|
|
file_dns_proto_rawDescData = file_dns_proto_rawDesc
|
|
)
|
|
|
|
func file_dns_proto_rawDescGZIP() []byte {
|
|
file_dns_proto_rawDescOnce.Do(func() {
|
|
file_dns_proto_rawDescData = protoimpl.X.CompressGZIP(file_dns_proto_rawDescData)
|
|
})
|
|
return file_dns_proto_rawDescData
|
|
}
|
|
|
|
var file_dns_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_dns_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
|
|
var file_dns_proto_goTypes = []any{
|
|
(DeviceType)(0), // 0: DeviceType
|
|
(*RateLimitSettingsRequest)(nil), // 1: RateLimitSettingsRequest
|
|
(*RateLimitSettingsResponse)(nil), // 2: RateLimitSettingsResponse
|
|
(*DNSProfilesRequest)(nil), // 3: DNSProfilesRequest
|
|
(*DNSProfile)(nil), // 4: DNSProfile
|
|
(*SafeBrowsingSettings)(nil), // 5: SafeBrowsingSettings
|
|
(*DeviceSettings)(nil), // 6: DeviceSettings
|
|
(*ParentalSettings)(nil), // 7: ParentalSettings
|
|
(*ScheduleSettings)(nil), // 8: ScheduleSettings
|
|
(*WeeklyRange)(nil), // 9: WeeklyRange
|
|
(*DayRange)(nil), // 10: DayRange
|
|
(*RuleListsSettings)(nil), // 11: RuleListsSettings
|
|
(*BlockingModeCustomIP)(nil), // 12: BlockingModeCustomIP
|
|
(*BlockingModeNXDOMAIN)(nil), // 13: BlockingModeNXDOMAIN
|
|
(*BlockingModeNullIP)(nil), // 14: BlockingModeNullIP
|
|
(*BlockingModeREFUSED)(nil), // 15: BlockingModeREFUSED
|
|
(*DeviceBillingStat)(nil), // 16: DeviceBillingStat
|
|
(*AccessSettings)(nil), // 17: AccessSettings
|
|
(*CidrRange)(nil), // 18: CidrRange
|
|
(*AuthenticationSettings)(nil), // 19: AuthenticationSettings
|
|
(*CreateDeviceRequest)(nil), // 20: CreateDeviceRequest
|
|
(*CreateDeviceResponse)(nil), // 21: CreateDeviceResponse
|
|
(*RateLimitedError)(nil), // 22: RateLimitedError
|
|
(*DeviceQuotaExceededError)(nil), // 23: DeviceQuotaExceededError
|
|
(*BadRequestError)(nil), // 24: BadRequestError
|
|
(*AuthenticationFailedError)(nil), // 25: AuthenticationFailedError
|
|
(*RateLimitSettings)(nil), // 26: RateLimitSettings
|
|
(*RemoteKVGetRequest)(nil), // 27: RemoteKVGetRequest
|
|
(*RemoteKVGetResponse)(nil), // 28: RemoteKVGetResponse
|
|
(*RemoteKVSetRequest)(nil), // 29: RemoteKVSetRequest
|
|
(*RemoteKVSetResponse)(nil), // 30: RemoteKVSetResponse
|
|
(*timestamppb.Timestamp)(nil), // 31: google.protobuf.Timestamp
|
|
(*durationpb.Duration)(nil), // 32: google.protobuf.Duration
|
|
(*emptypb.Empty)(nil), // 33: google.protobuf.Empty
|
|
}
|
|
var file_dns_proto_depIdxs = []int32{
|
|
18, // 0: RateLimitSettingsResponse.allowed_subnets:type_name -> CidrRange
|
|
31, // 1: DNSProfilesRequest.sync_time:type_name -> google.protobuf.Timestamp
|
|
5, // 2: DNSProfile.safe_browsing:type_name -> SafeBrowsingSettings
|
|
7, // 3: DNSProfile.parental:type_name -> ParentalSettings
|
|
11, // 4: DNSProfile.rule_lists:type_name -> RuleListsSettings
|
|
6, // 5: DNSProfile.devices:type_name -> DeviceSettings
|
|
32, // 6: DNSProfile.filtered_response_ttl:type_name -> google.protobuf.Duration
|
|
12, // 7: DNSProfile.blocking_mode_custom_ip:type_name -> BlockingModeCustomIP
|
|
13, // 8: DNSProfile.blocking_mode_nxdomain:type_name -> BlockingModeNXDOMAIN
|
|
14, // 9: DNSProfile.blocking_mode_null_ip:type_name -> BlockingModeNullIP
|
|
15, // 10: DNSProfile.blocking_mode_refused:type_name -> BlockingModeREFUSED
|
|
17, // 11: DNSProfile.access:type_name -> AccessSettings
|
|
26, // 12: DNSProfile.rate_limit:type_name -> RateLimitSettings
|
|
19, // 13: DeviceSettings.authentication:type_name -> AuthenticationSettings
|
|
8, // 14: ParentalSettings.schedule:type_name -> ScheduleSettings
|
|
9, // 15: ScheduleSettings.weeklyRange:type_name -> WeeklyRange
|
|
10, // 16: WeeklyRange.mon:type_name -> DayRange
|
|
10, // 17: WeeklyRange.tue:type_name -> DayRange
|
|
10, // 18: WeeklyRange.wed:type_name -> DayRange
|
|
10, // 19: WeeklyRange.thu:type_name -> DayRange
|
|
10, // 20: WeeklyRange.fri:type_name -> DayRange
|
|
10, // 21: WeeklyRange.sat:type_name -> DayRange
|
|
10, // 22: WeeklyRange.sun:type_name -> DayRange
|
|
32, // 23: DayRange.start:type_name -> google.protobuf.Duration
|
|
32, // 24: DayRange.end:type_name -> google.protobuf.Duration
|
|
31, // 25: DeviceBillingStat.last_activity_time:type_name -> google.protobuf.Timestamp
|
|
18, // 26: AccessSettings.allowlist_cidr:type_name -> CidrRange
|
|
18, // 27: AccessSettings.blocklist_cidr:type_name -> CidrRange
|
|
0, // 28: CreateDeviceRequest.device_type:type_name -> DeviceType
|
|
6, // 29: CreateDeviceResponse.device:type_name -> DeviceSettings
|
|
32, // 30: RateLimitedError.retry_delay:type_name -> google.protobuf.Duration
|
|
18, // 31: RateLimitSettings.client_cidr:type_name -> CidrRange
|
|
33, // 32: RemoteKVGetResponse.empty:type_name -> google.protobuf.Empty
|
|
32, // 33: RemoteKVSetRequest.ttl:type_name -> google.protobuf.Duration
|
|
3, // 34: DNSService.getDNSProfiles:input_type -> DNSProfilesRequest
|
|
16, // 35: DNSService.saveDevicesBillingStat:input_type -> DeviceBillingStat
|
|
20, // 36: DNSService.createDeviceByHumanId:input_type -> CreateDeviceRequest
|
|
1, // 37: RateLimitService.getRateLimitSettings:input_type -> RateLimitSettingsRequest
|
|
27, // 38: RemoteKVService.get:input_type -> RemoteKVGetRequest
|
|
29, // 39: RemoteKVService.set:input_type -> RemoteKVSetRequest
|
|
4, // 40: DNSService.getDNSProfiles:output_type -> DNSProfile
|
|
33, // 41: DNSService.saveDevicesBillingStat:output_type -> google.protobuf.Empty
|
|
21, // 42: DNSService.createDeviceByHumanId:output_type -> CreateDeviceResponse
|
|
2, // 43: RateLimitService.getRateLimitSettings:output_type -> RateLimitSettingsResponse
|
|
28, // 44: RemoteKVService.get:output_type -> RemoteKVGetResponse
|
|
30, // 45: RemoteKVService.set:output_type -> RemoteKVSetResponse
|
|
40, // [40:46] is the sub-list for method output_type
|
|
34, // [34:40] is the sub-list for method input_type
|
|
34, // [34:34] is the sub-list for extension type_name
|
|
34, // [34:34] is the sub-list for extension extendee
|
|
0, // [0:34] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_dns_proto_init() }
|
|
func file_dns_proto_init() {
|
|
if File_dns_proto != nil {
|
|
return
|
|
}
|
|
file_dns_proto_msgTypes[3].OneofWrappers = []any{
|
|
(*DNSProfile_BlockingModeCustomIp)(nil),
|
|
(*DNSProfile_BlockingModeNxdomain)(nil),
|
|
(*DNSProfile_BlockingModeNullIp)(nil),
|
|
(*DNSProfile_BlockingModeRefused)(nil),
|
|
}
|
|
file_dns_proto_msgTypes[18].OneofWrappers = []any{
|
|
(*AuthenticationSettings_PasswordHashBcrypt)(nil),
|
|
}
|
|
file_dns_proto_msgTypes[27].OneofWrappers = []any{
|
|
(*RemoteKVGetResponse_Data)(nil),
|
|
(*RemoteKVGetResponse_Empty)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_dns_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 30,
|
|
NumExtensions: 0,
|
|
NumServices: 3,
|
|
},
|
|
GoTypes: file_dns_proto_goTypes,
|
|
DependencyIndexes: file_dns_proto_depIdxs,
|
|
EnumInfos: file_dns_proto_enumTypes,
|
|
MessageInfos: file_dns_proto_msgTypes,
|
|
}.Build()
|
|
File_dns_proto = out.File
|
|
file_dns_proto_rawDesc = nil
|
|
file_dns_proto_goTypes = nil
|
|
file_dns_proto_depIdxs = nil
|
|
}
|