Documentation ¶
Overview ¶
Package filecachepb contains the protobuf structures for the profile cache.
Index ¶
- Variables
- type Access
- func (*Access) Descriptor() ([]byte, []int)deprecated
- func (x *Access) GetAllowlistAsn() []uint32
- func (x *Access) GetAllowlistCidr() []*CidrRange
- func (x *Access) GetBlocklistAsn() []uint32
- func (x *Access) GetBlocklistCidr() []*CidrRange
- func (x *Access) GetBlocklistDomainRules() []string
- func (*Access) ProtoMessage()
- func (x *Access) ProtoReflect() protoreflect.Message
- func (x *Access) Reset()
- func (x *Access) String() string
- type AuthenticationSettings
- func (*AuthenticationSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticationSettings) GetDohAuthOnly() bool
- func (m *AuthenticationSettings) GetDohPasswordHash() isAuthenticationSettings_DohPasswordHash
- func (x *AuthenticationSettings) GetPasswordHashBcrypt() []byte
- func (*AuthenticationSettings) ProtoMessage()
- func (x *AuthenticationSettings) ProtoReflect() protoreflect.Message
- func (x *AuthenticationSettings) Reset()
- func (x *AuthenticationSettings) String() string
- type AuthenticationSettings_PasswordHashBcrypt
- type BlockingModeCustomIP
- func (*BlockingModeCustomIP) Descriptor() ([]byte, []int)deprecated
- func (x *BlockingModeCustomIP) GetIpv4() [][]byte
- func (x *BlockingModeCustomIP) GetIpv6() [][]byte
- func (*BlockingModeCustomIP) ProtoMessage()
- func (x *BlockingModeCustomIP) ProtoReflect() protoreflect.Message
- func (x *BlockingModeCustomIP) Reset()
- func (x *BlockingModeCustomIP) String() string
- type BlockingModeNXDOMAIN
- type BlockingModeNullIP
- type BlockingModeREFUSED
- type CidrRange
- type DayInterval
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetAuthentication() *AuthenticationSettings
- func (x *Device) GetDedicatedIps() [][]byte
- func (x *Device) GetDeviceId() string
- func (x *Device) GetDeviceName() string
- func (x *Device) GetFilteringEnabled() bool
- func (x *Device) GetHumanIdLower() string
- func (x *Device) GetLinkedIp() []byte
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type FileCache
- func (*FileCache) Descriptor() ([]byte, []int)deprecated
- func (x *FileCache) GetDevices() []*Device
- func (x *FileCache) GetProfiles() []*Profile
- func (x *FileCache) GetSyncTime() *timestamppb.Timestamp
- func (x *FileCache) GetVersion() int32
- func (*FileCache) ProtoMessage()
- func (x *FileCache) ProtoReflect() protoreflect.Message
- func (x *FileCache) Reset()
- func (x *FileCache) String() string
- type FilterConfig
- func (*FilterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfig) GetCustom() *FilterConfig_Custom
- func (x *FilterConfig) GetParental() *FilterConfig_Parental
- func (x *FilterConfig) GetRuleList() *FilterConfig_RuleList
- func (x *FilterConfig) GetSafeBrowsing() *FilterConfig_SafeBrowsing
- func (*FilterConfig) ProtoMessage()
- func (x *FilterConfig) ProtoReflect() protoreflect.Message
- func (x *FilterConfig) Reset()
- func (x *FilterConfig) String() string
- type FilterConfig_Custom
- func (*FilterConfig_Custom) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfig_Custom) GetEnabled() bool
- func (x *FilterConfig_Custom) GetId() string
- func (x *FilterConfig_Custom) GetRules() []string
- func (x *FilterConfig_Custom) GetUpdateTime() *timestamppb.Timestamp
- func (*FilterConfig_Custom) ProtoMessage()
- func (x *FilterConfig_Custom) ProtoReflect() protoreflect.Message
- func (x *FilterConfig_Custom) Reset()
- func (x *FilterConfig_Custom) String() string
- type FilterConfig_Parental
- func (*FilterConfig_Parental) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfig_Parental) GetAdultBlockingEnabled() bool
- func (x *FilterConfig_Parental) GetBlockedServices() []string
- func (x *FilterConfig_Parental) GetEnabled() bool
- func (x *FilterConfig_Parental) GetPauseSchedule() *FilterConfig_Schedule
- func (x *FilterConfig_Parental) GetSafeSearchGeneralEnabled() bool
- func (x *FilterConfig_Parental) GetSafeSearchYoutubeEnabled() bool
- func (*FilterConfig_Parental) ProtoMessage()
- func (x *FilterConfig_Parental) ProtoReflect() protoreflect.Message
- func (x *FilterConfig_Parental) Reset()
- func (x *FilterConfig_Parental) String() string
- type FilterConfig_RuleList
- func (*FilterConfig_RuleList) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfig_RuleList) GetEnabled() bool
- func (x *FilterConfig_RuleList) GetIds() []string
- func (*FilterConfig_RuleList) ProtoMessage()
- func (x *FilterConfig_RuleList) ProtoReflect() protoreflect.Message
- func (x *FilterConfig_RuleList) Reset()
- func (x *FilterConfig_RuleList) String() string
- type FilterConfig_SafeBrowsing
- func (*FilterConfig_SafeBrowsing) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfig_SafeBrowsing) GetDangerousDomainsEnabled() bool
- func (x *FilterConfig_SafeBrowsing) GetEnabled() bool
- func (x *FilterConfig_SafeBrowsing) GetNewlyRegisteredDomainsEnabled() bool
- func (*FilterConfig_SafeBrowsing) ProtoMessage()
- func (x *FilterConfig_SafeBrowsing) ProtoReflect() protoreflect.Message
- func (x *FilterConfig_SafeBrowsing) Reset()
- func (x *FilterConfig_SafeBrowsing) String() string
- type FilterConfig_Schedule
- func (*FilterConfig_Schedule) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfig_Schedule) GetTimeZone() string
- func (x *FilterConfig_Schedule) GetWeek() *FilterConfig_WeeklySchedule
- func (*FilterConfig_Schedule) ProtoMessage()
- func (x *FilterConfig_Schedule) ProtoReflect() protoreflect.Message
- func (x *FilterConfig_Schedule) Reset()
- func (x *FilterConfig_Schedule) String() string
- type FilterConfig_WeeklySchedule
- func (*FilterConfig_WeeklySchedule) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfig_WeeklySchedule) GetFri() *DayInterval
- func (x *FilterConfig_WeeklySchedule) GetMon() *DayInterval
- func (x *FilterConfig_WeeklySchedule) GetSat() *DayInterval
- func (x *FilterConfig_WeeklySchedule) GetSun() *DayInterval
- func (x *FilterConfig_WeeklySchedule) GetThu() *DayInterval
- func (x *FilterConfig_WeeklySchedule) GetTue() *DayInterval
- func (x *FilterConfig_WeeklySchedule) GetWed() *DayInterval
- func (*FilterConfig_WeeklySchedule) ProtoMessage()
- func (x *FilterConfig_WeeklySchedule) ProtoReflect() protoreflect.Message
- func (x *FilterConfig_WeeklySchedule) Reset()
- func (x *FilterConfig_WeeklySchedule) String() string
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAccess() *Access
- func (x *Profile) GetAutoDevicesEnabled() bool
- func (x *Profile) GetBlockChromePrefetch() bool
- func (x *Profile) GetBlockFirefoxCanary() bool
- func (x *Profile) GetBlockPrivateRelay() bool
- func (m *Profile) GetBlockingMode() isProfile_BlockingMode
- func (x *Profile) GetBlockingModeCustomIp() *BlockingModeCustomIP
- func (x *Profile) GetBlockingModeNullIp() *BlockingModeNullIP
- func (x *Profile) GetBlockingModeNxdomain() *BlockingModeNXDOMAIN
- func (x *Profile) GetBlockingModeRefused() *BlockingModeREFUSED
- func (x *Profile) GetDeleted() bool
- func (x *Profile) GetDeviceIds() []string
- func (x *Profile) GetFilterConfig() *FilterConfig
- func (x *Profile) GetFilteredResponseTtl() *durationpb.Duration
- func (x *Profile) GetFilteringEnabled() bool
- func (x *Profile) GetIpLogEnabled() bool
- func (x *Profile) GetProfileId() string
- func (x *Profile) GetQueryLogEnabled() bool
- func (x *Profile) GetRatelimiter() *Ratelimiter
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type Profile_BlockingModeCustomIp
- type Profile_BlockingModeNullIp
- type Profile_BlockingModeNxdomain
- type Profile_BlockingModeRefused
- type Ratelimiter
- func (*Ratelimiter) Descriptor() ([]byte, []int)deprecated
- func (x *Ratelimiter) GetClientCidr() []*CidrRange
- func (x *Ratelimiter) GetEnabled() bool
- func (x *Ratelimiter) GetRps() uint32
- func (*Ratelimiter) ProtoMessage()
- func (x *Ratelimiter) ProtoReflect() protoreflect.Message
- func (x *Ratelimiter) Reset()
- func (x *Ratelimiter) String() string
- type Storage
Constants ¶
This section is empty.
Variables ¶
var File_filecache_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Access ¶
type Access struct { AllowlistAsn []uint32 `protobuf:"varint,4,rep,packed,name=allowlist_asn,json=allowlistAsn,proto3" json:"allowlist_asn,omitempty"` AllowlistCidr []*CidrRange `protobuf:"bytes,1,rep,name=allowlist_cidr,json=allowlistCidr,proto3" json:"allowlist_cidr,omitempty"` BlocklistAsn []uint32 `protobuf:"varint,5,rep,packed,name=blocklist_asn,json=blocklistAsn,proto3" json:"blocklist_asn,omitempty"` BlocklistCidr []*CidrRange `protobuf:"bytes,2,rep,name=blocklist_cidr,json=blocklistCidr,proto3" json:"blocklist_cidr,omitempty"` BlocklistDomainRules []string `protobuf:"bytes,3,rep,name=blocklist_domain_rules,json=blocklistDomainRules,proto3" json:"blocklist_domain_rules,omitempty"` // contains filtered or unexported fields }
func (*Access) Descriptor
deprecated
func (*Access) GetAllowlistAsn ¶
func (*Access) GetAllowlistCidr ¶
func (*Access) GetBlocklistAsn ¶
func (*Access) GetBlocklistCidr ¶
func (*Access) GetBlocklistDomainRules ¶
func (*Access) ProtoMessage ¶
func (*Access) ProtoMessage()
func (*Access) ProtoReflect ¶
func (x *Access) ProtoReflect() protoreflect.Message
type AuthenticationSettings ¶
type AuthenticationSettings struct { 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"` // contains filtered or unexported fields }
func (*AuthenticationSettings) Descriptor
deprecated
func (*AuthenticationSettings) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticationSettings.ProtoReflect.Descriptor instead.
func (*AuthenticationSettings) GetDohAuthOnly ¶
func (x *AuthenticationSettings) GetDohAuthOnly() bool
func (*AuthenticationSettings) GetDohPasswordHash ¶
func (m *AuthenticationSettings) GetDohPasswordHash() isAuthenticationSettings_DohPasswordHash
func (*AuthenticationSettings) GetPasswordHashBcrypt ¶
func (x *AuthenticationSettings) GetPasswordHashBcrypt() []byte
func (*AuthenticationSettings) ProtoMessage ¶
func (*AuthenticationSettings) ProtoMessage()
func (*AuthenticationSettings) ProtoReflect ¶
func (x *AuthenticationSettings) ProtoReflect() protoreflect.Message
func (*AuthenticationSettings) Reset ¶
func (x *AuthenticationSettings) Reset()
func (*AuthenticationSettings) String ¶
func (x *AuthenticationSettings) String() string
type AuthenticationSettings_PasswordHashBcrypt ¶
type AuthenticationSettings_PasswordHashBcrypt struct {
PasswordHashBcrypt []byte `protobuf:"bytes,2,opt,name=password_hash_bcrypt,json=passwordHashBcrypt,proto3,oneof"`
}
type BlockingModeCustomIP ¶
type BlockingModeCustomIP struct { Ipv4 [][]byte `protobuf:"bytes,1,rep,name=ipv4,proto3" json:"ipv4,omitempty"` Ipv6 [][]byte `protobuf:"bytes,2,rep,name=ipv6,proto3" json:"ipv6,omitempty"` // contains filtered or unexported fields }
func (*BlockingModeCustomIP) Descriptor
deprecated
func (*BlockingModeCustomIP) Descriptor() ([]byte, []int)
Deprecated: Use BlockingModeCustomIP.ProtoReflect.Descriptor instead.
func (*BlockingModeCustomIP) GetIpv4 ¶
func (x *BlockingModeCustomIP) GetIpv4() [][]byte
func (*BlockingModeCustomIP) GetIpv6 ¶
func (x *BlockingModeCustomIP) GetIpv6() [][]byte
func (*BlockingModeCustomIP) ProtoMessage ¶
func (*BlockingModeCustomIP) ProtoMessage()
func (*BlockingModeCustomIP) ProtoReflect ¶
func (x *BlockingModeCustomIP) ProtoReflect() protoreflect.Message
func (*BlockingModeCustomIP) Reset ¶
func (x *BlockingModeCustomIP) Reset()
func (*BlockingModeCustomIP) String ¶
func (x *BlockingModeCustomIP) String() string
type BlockingModeNXDOMAIN ¶
type BlockingModeNXDOMAIN struct {
// contains filtered or unexported fields
}
func (*BlockingModeNXDOMAIN) Descriptor
deprecated
func (*BlockingModeNXDOMAIN) Descriptor() ([]byte, []int)
Deprecated: Use BlockingModeNXDOMAIN.ProtoReflect.Descriptor instead.
func (*BlockingModeNXDOMAIN) ProtoMessage ¶
func (*BlockingModeNXDOMAIN) ProtoMessage()
func (*BlockingModeNXDOMAIN) ProtoReflect ¶
func (x *BlockingModeNXDOMAIN) ProtoReflect() protoreflect.Message
func (*BlockingModeNXDOMAIN) Reset ¶
func (x *BlockingModeNXDOMAIN) Reset()
func (*BlockingModeNXDOMAIN) String ¶
func (x *BlockingModeNXDOMAIN) String() string
type BlockingModeNullIP ¶
type BlockingModeNullIP struct {
// contains filtered or unexported fields
}
func (*BlockingModeNullIP) Descriptor
deprecated
func (*BlockingModeNullIP) Descriptor() ([]byte, []int)
Deprecated: Use BlockingModeNullIP.ProtoReflect.Descriptor instead.
func (*BlockingModeNullIP) ProtoMessage ¶
func (*BlockingModeNullIP) ProtoMessage()
func (*BlockingModeNullIP) ProtoReflect ¶
func (x *BlockingModeNullIP) ProtoReflect() protoreflect.Message
func (*BlockingModeNullIP) Reset ¶
func (x *BlockingModeNullIP) Reset()
func (*BlockingModeNullIP) String ¶
func (x *BlockingModeNullIP) String() string
type BlockingModeREFUSED ¶
type BlockingModeREFUSED struct {
// contains filtered or unexported fields
}
func (*BlockingModeREFUSED) Descriptor
deprecated
func (*BlockingModeREFUSED) Descriptor() ([]byte, []int)
Deprecated: Use BlockingModeREFUSED.ProtoReflect.Descriptor instead.
func (*BlockingModeREFUSED) ProtoMessage ¶
func (*BlockingModeREFUSED) ProtoMessage()
func (*BlockingModeREFUSED) ProtoReflect ¶
func (x *BlockingModeREFUSED) ProtoReflect() protoreflect.Message
func (*BlockingModeREFUSED) Reset ¶
func (x *BlockingModeREFUSED) Reset()
func (*BlockingModeREFUSED) String ¶
func (x *BlockingModeREFUSED) String() string
type CidrRange ¶
type CidrRange struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Prefix uint32 `protobuf:"varint,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*CidrRange) Descriptor
deprecated
func (*CidrRange) GetAddress ¶
func (*CidrRange) ProtoMessage ¶
func (*CidrRange) ProtoMessage()
func (*CidrRange) ProtoReflect ¶
func (x *CidrRange) ProtoReflect() protoreflect.Message
type DayInterval ¶
type DayInterval struct { Start uint32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*DayInterval) Descriptor
deprecated
func (*DayInterval) Descriptor() ([]byte, []int)
Deprecated: Use DayInterval.ProtoReflect.Descriptor instead.
func (*DayInterval) GetEnd ¶
func (x *DayInterval) GetEnd() uint32
func (*DayInterval) GetStart ¶
func (x *DayInterval) GetStart() uint32
func (*DayInterval) ProtoMessage ¶
func (*DayInterval) ProtoMessage()
func (*DayInterval) ProtoReflect ¶
func (x *DayInterval) ProtoReflect() protoreflect.Message
func (*DayInterval) Reset ¶
func (x *DayInterval) Reset()
func (*DayInterval) String ¶
func (x *DayInterval) String() string
type Device ¶
type Device struct { Authentication *AuthenticationSettings `protobuf:"bytes,6,opt,name=authentication,proto3" json:"authentication,omitempty"` DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` HumanIdLower string `protobuf:"bytes,7,opt,name=human_id_lower,json=humanIdLower,proto3" json:"human_id_lower,omitempty"` LinkedIp []byte `protobuf:"bytes,2,opt,name=linked_ip,json=linkedIp,proto3" json:"linked_ip,omitempty"` DedicatedIps [][]byte `protobuf:"bytes,4,rep,name=dedicated_ips,json=dedicatedIps,proto3" json:"dedicated_ips,omitempty"` FilteringEnabled bool `protobuf:"varint,5,opt,name=filtering_enabled,json=filteringEnabled,proto3" json:"filtering_enabled,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
func (*Device) GetAuthentication ¶
func (x *Device) GetAuthentication() *AuthenticationSettings
func (*Device) GetDedicatedIps ¶
func (*Device) GetDeviceId ¶
func (*Device) GetDeviceName ¶
func (*Device) GetFilteringEnabled ¶
func (*Device) GetHumanIdLower ¶
func (*Device) GetLinkedIp ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type FileCache ¶
type FileCache struct { SyncTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=sync_time,json=syncTime,proto3" json:"sync_time,omitempty"` Profiles []*Profile `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"` Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"` Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*FileCache) Descriptor
deprecated
func (*FileCache) GetDevices ¶
func (*FileCache) GetProfiles ¶
func (*FileCache) GetSyncTime ¶
func (x *FileCache) GetSyncTime() *timestamppb.Timestamp
func (*FileCache) GetVersion ¶
func (*FileCache) ProtoMessage ¶
func (*FileCache) ProtoMessage()
func (*FileCache) ProtoReflect ¶
func (x *FileCache) ProtoReflect() protoreflect.Message
type FilterConfig ¶
type FilterConfig struct { Custom *FilterConfig_Custom `protobuf:"bytes,1,opt,name=custom,proto3" json:"custom,omitempty"` Parental *FilterConfig_Parental `protobuf:"bytes,2,opt,name=parental,proto3" json:"parental,omitempty"` RuleList *FilterConfig_RuleList `protobuf:"bytes,3,opt,name=rule_list,json=ruleList,proto3" json:"rule_list,omitempty"` SafeBrowsing *FilterConfig_SafeBrowsing `protobuf:"bytes,4,opt,name=safe_browsing,json=safeBrowsing,proto3" json:"safe_browsing,omitempty"` // contains filtered or unexported fields }
func (*FilterConfig) Descriptor
deprecated
func (*FilterConfig) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig.ProtoReflect.Descriptor instead.
func (*FilterConfig) GetCustom ¶
func (x *FilterConfig) GetCustom() *FilterConfig_Custom
func (*FilterConfig) GetParental ¶
func (x *FilterConfig) GetParental() *FilterConfig_Parental
func (*FilterConfig) GetRuleList ¶
func (x *FilterConfig) GetRuleList() *FilterConfig_RuleList
func (*FilterConfig) GetSafeBrowsing ¶
func (x *FilterConfig) GetSafeBrowsing() *FilterConfig_SafeBrowsing
func (*FilterConfig) ProtoMessage ¶
func (*FilterConfig) ProtoMessage()
func (*FilterConfig) ProtoReflect ¶
func (x *FilterConfig) ProtoReflect() protoreflect.Message
func (*FilterConfig) Reset ¶
func (x *FilterConfig) Reset()
func (*FilterConfig) String ¶
func (x *FilterConfig) String() string
type FilterConfig_Custom ¶
type FilterConfig_Custom struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` Rules []string `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*FilterConfig_Custom) Descriptor
deprecated
func (*FilterConfig_Custom) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig_Custom.ProtoReflect.Descriptor instead.
func (*FilterConfig_Custom) GetEnabled ¶
func (x *FilterConfig_Custom) GetEnabled() bool
func (*FilterConfig_Custom) GetId ¶
func (x *FilterConfig_Custom) GetId() string
func (*FilterConfig_Custom) GetRules ¶
func (x *FilterConfig_Custom) GetRules() []string
func (*FilterConfig_Custom) GetUpdateTime ¶
func (x *FilterConfig_Custom) GetUpdateTime() *timestamppb.Timestamp
func (*FilterConfig_Custom) ProtoMessage ¶
func (*FilterConfig_Custom) ProtoMessage()
func (*FilterConfig_Custom) ProtoReflect ¶
func (x *FilterConfig_Custom) ProtoReflect() protoreflect.Message
func (*FilterConfig_Custom) Reset ¶
func (x *FilterConfig_Custom) Reset()
func (*FilterConfig_Custom) String ¶
func (x *FilterConfig_Custom) String() string
type FilterConfig_Parental ¶
type FilterConfig_Parental struct { PauseSchedule *FilterConfig_Schedule `protobuf:"bytes,1,opt,name=pause_schedule,json=pauseSchedule,proto3" json:"pause_schedule,omitempty"` BlockedServices []string `protobuf:"bytes,2,rep,name=blocked_services,json=blockedServices,proto3" json:"blocked_services,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` AdultBlockingEnabled bool `protobuf:"varint,4,opt,name=adult_blocking_enabled,json=adultBlockingEnabled,proto3" json:"adult_blocking_enabled,omitempty"` SafeSearchGeneralEnabled bool `` /* 138-byte string literal not displayed */ SafeSearchYoutubeEnabled bool `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FilterConfig_Parental) Descriptor
deprecated
func (*FilterConfig_Parental) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig_Parental.ProtoReflect.Descriptor instead.
func (*FilterConfig_Parental) GetAdultBlockingEnabled ¶
func (x *FilterConfig_Parental) GetAdultBlockingEnabled() bool
func (*FilterConfig_Parental) GetBlockedServices ¶
func (x *FilterConfig_Parental) GetBlockedServices() []string
func (*FilterConfig_Parental) GetEnabled ¶
func (x *FilterConfig_Parental) GetEnabled() bool
func (*FilterConfig_Parental) GetPauseSchedule ¶
func (x *FilterConfig_Parental) GetPauseSchedule() *FilterConfig_Schedule
func (*FilterConfig_Parental) GetSafeSearchGeneralEnabled ¶
func (x *FilterConfig_Parental) GetSafeSearchGeneralEnabled() bool
func (*FilterConfig_Parental) GetSafeSearchYoutubeEnabled ¶
func (x *FilterConfig_Parental) GetSafeSearchYoutubeEnabled() bool
func (*FilterConfig_Parental) ProtoMessage ¶
func (*FilterConfig_Parental) ProtoMessage()
func (*FilterConfig_Parental) ProtoReflect ¶
func (x *FilterConfig_Parental) ProtoReflect() protoreflect.Message
func (*FilterConfig_Parental) Reset ¶
func (x *FilterConfig_Parental) Reset()
func (*FilterConfig_Parental) String ¶
func (x *FilterConfig_Parental) String() string
type FilterConfig_RuleList ¶
type FilterConfig_RuleList struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*FilterConfig_RuleList) Descriptor
deprecated
func (*FilterConfig_RuleList) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig_RuleList.ProtoReflect.Descriptor instead.
func (*FilterConfig_RuleList) GetEnabled ¶
func (x *FilterConfig_RuleList) GetEnabled() bool
func (*FilterConfig_RuleList) GetIds ¶
func (x *FilterConfig_RuleList) GetIds() []string
func (*FilterConfig_RuleList) ProtoMessage ¶
func (*FilterConfig_RuleList) ProtoMessage()
func (*FilterConfig_RuleList) ProtoReflect ¶
func (x *FilterConfig_RuleList) ProtoReflect() protoreflect.Message
func (*FilterConfig_RuleList) Reset ¶
func (x *FilterConfig_RuleList) Reset()
func (*FilterConfig_RuleList) String ¶
func (x *FilterConfig_RuleList) String() string
type FilterConfig_SafeBrowsing ¶
type FilterConfig_SafeBrowsing struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` DangerousDomainsEnabled bool `` /* 133-byte string literal not displayed */ NewlyRegisteredDomainsEnabled bool `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FilterConfig_SafeBrowsing) Descriptor
deprecated
func (*FilterConfig_SafeBrowsing) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig_SafeBrowsing.ProtoReflect.Descriptor instead.
func (*FilterConfig_SafeBrowsing) GetDangerousDomainsEnabled ¶
func (x *FilterConfig_SafeBrowsing) GetDangerousDomainsEnabled() bool
func (*FilterConfig_SafeBrowsing) GetEnabled ¶
func (x *FilterConfig_SafeBrowsing) GetEnabled() bool
func (*FilterConfig_SafeBrowsing) GetNewlyRegisteredDomainsEnabled ¶
func (x *FilterConfig_SafeBrowsing) GetNewlyRegisteredDomainsEnabled() bool
func (*FilterConfig_SafeBrowsing) ProtoMessage ¶
func (*FilterConfig_SafeBrowsing) ProtoMessage()
func (*FilterConfig_SafeBrowsing) ProtoReflect ¶
func (x *FilterConfig_SafeBrowsing) ProtoReflect() protoreflect.Message
func (*FilterConfig_SafeBrowsing) Reset ¶
func (x *FilterConfig_SafeBrowsing) Reset()
func (*FilterConfig_SafeBrowsing) String ¶
func (x *FilterConfig_SafeBrowsing) String() string
type FilterConfig_Schedule ¶
type FilterConfig_Schedule struct { Week *FilterConfig_WeeklySchedule `protobuf:"bytes,1,opt,name=week,proto3" json:"week,omitempty"` TimeZone string `protobuf:"bytes,2,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // contains filtered or unexported fields }
func (*FilterConfig_Schedule) Descriptor
deprecated
func (*FilterConfig_Schedule) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig_Schedule.ProtoReflect.Descriptor instead.
func (*FilterConfig_Schedule) GetTimeZone ¶
func (x *FilterConfig_Schedule) GetTimeZone() string
func (*FilterConfig_Schedule) GetWeek ¶
func (x *FilterConfig_Schedule) GetWeek() *FilterConfig_WeeklySchedule
func (*FilterConfig_Schedule) ProtoMessage ¶
func (*FilterConfig_Schedule) ProtoMessage()
func (*FilterConfig_Schedule) ProtoReflect ¶
func (x *FilterConfig_Schedule) ProtoReflect() protoreflect.Message
func (*FilterConfig_Schedule) Reset ¶
func (x *FilterConfig_Schedule) Reset()
func (*FilterConfig_Schedule) String ¶
func (x *FilterConfig_Schedule) String() string
type FilterConfig_WeeklySchedule ¶
type FilterConfig_WeeklySchedule struct { Mon *DayInterval `protobuf:"bytes,1,opt,name=mon,proto3" json:"mon,omitempty"` Tue *DayInterval `protobuf:"bytes,2,opt,name=tue,proto3" json:"tue,omitempty"` Wed *DayInterval `protobuf:"bytes,3,opt,name=wed,proto3" json:"wed,omitempty"` Thu *DayInterval `protobuf:"bytes,4,opt,name=thu,proto3" json:"thu,omitempty"` Fri *DayInterval `protobuf:"bytes,5,opt,name=fri,proto3" json:"fri,omitempty"` Sat *DayInterval `protobuf:"bytes,6,opt,name=sat,proto3" json:"sat,omitempty"` Sun *DayInterval `protobuf:"bytes,7,opt,name=sun,proto3" json:"sun,omitempty"` // contains filtered or unexported fields }
func (*FilterConfig_WeeklySchedule) Descriptor
deprecated
func (*FilterConfig_WeeklySchedule) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig_WeeklySchedule.ProtoReflect.Descriptor instead.
func (*FilterConfig_WeeklySchedule) GetFri ¶
func (x *FilterConfig_WeeklySchedule) GetFri() *DayInterval
func (*FilterConfig_WeeklySchedule) GetMon ¶
func (x *FilterConfig_WeeklySchedule) GetMon() *DayInterval
func (*FilterConfig_WeeklySchedule) GetSat ¶
func (x *FilterConfig_WeeklySchedule) GetSat() *DayInterval
func (*FilterConfig_WeeklySchedule) GetSun ¶
func (x *FilterConfig_WeeklySchedule) GetSun() *DayInterval
func (*FilterConfig_WeeklySchedule) GetThu ¶
func (x *FilterConfig_WeeklySchedule) GetThu() *DayInterval
func (*FilterConfig_WeeklySchedule) GetTue ¶
func (x *FilterConfig_WeeklySchedule) GetTue() *DayInterval
func (*FilterConfig_WeeklySchedule) GetWed ¶
func (x *FilterConfig_WeeklySchedule) GetWed() *DayInterval
func (*FilterConfig_WeeklySchedule) ProtoMessage ¶
func (*FilterConfig_WeeklySchedule) ProtoMessage()
func (*FilterConfig_WeeklySchedule) ProtoReflect ¶
func (x *FilterConfig_WeeklySchedule) ProtoReflect() protoreflect.Message
func (*FilterConfig_WeeklySchedule) Reset ¶
func (x *FilterConfig_WeeklySchedule) Reset()
func (*FilterConfig_WeeklySchedule) String ¶
func (x *FilterConfig_WeeklySchedule) String() string
type Profile ¶
type Profile struct { FilterConfig *FilterConfig `protobuf:"bytes,1,opt,name=filter_config,json=filterConfig,proto3" json:"filter_config,omitempty"` Access *Access `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` // Types that are assignable to BlockingMode: // // *Profile_BlockingModeCustomIp // *Profile_BlockingModeNxdomain // *Profile_BlockingModeNullIp // *Profile_BlockingModeRefused BlockingMode isProfile_BlockingMode `protobuf_oneof:"blocking_mode"` Ratelimiter *Ratelimiter `protobuf:"bytes,7,opt,name=ratelimiter,proto3" json:"ratelimiter,omitempty"` ProfileId string `protobuf:"bytes,8,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` DeviceIds []string `protobuf:"bytes,9,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"` FilteredResponseTtl *durationpb.Duration `protobuf:"bytes,10,opt,name=filtered_response_ttl,json=filteredResponseTtl,proto3" json:"filtered_response_ttl,omitempty"` AutoDevicesEnabled bool `protobuf:"varint,11,opt,name=auto_devices_enabled,json=autoDevicesEnabled,proto3" json:"auto_devices_enabled,omitempty"` BlockChromePrefetch bool `protobuf:"varint,12,opt,name=block_chrome_prefetch,json=blockChromePrefetch,proto3" json:"block_chrome_prefetch,omitempty"` BlockFirefoxCanary bool `protobuf:"varint,13,opt,name=block_firefox_canary,json=blockFirefoxCanary,proto3" json:"block_firefox_canary,omitempty"` BlockPrivateRelay bool `protobuf:"varint,14,opt,name=block_private_relay,json=blockPrivateRelay,proto3" json:"block_private_relay,omitempty"` Deleted bool `protobuf:"varint,15,opt,name=deleted,proto3" json:"deleted,omitempty"` FilteringEnabled bool `protobuf:"varint,16,opt,name=filtering_enabled,json=filteringEnabled,proto3" json:"filtering_enabled,omitempty"` IpLogEnabled bool `protobuf:"varint,17,opt,name=ip_log_enabled,json=ipLogEnabled,proto3" json:"ip_log_enabled,omitempty"` QueryLogEnabled bool `protobuf:"varint,18,opt,name=query_log_enabled,json=queryLogEnabled,proto3" json:"query_log_enabled,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetAutoDevicesEnabled ¶
func (*Profile) GetBlockChromePrefetch ¶
func (*Profile) GetBlockFirefoxCanary ¶
func (*Profile) GetBlockPrivateRelay ¶
func (*Profile) GetBlockingMode ¶
func (m *Profile) GetBlockingMode() isProfile_BlockingMode
func (*Profile) GetBlockingModeCustomIp ¶
func (x *Profile) GetBlockingModeCustomIp() *BlockingModeCustomIP
func (*Profile) GetBlockingModeNullIp ¶
func (x *Profile) GetBlockingModeNullIp() *BlockingModeNullIP
func (*Profile) GetBlockingModeNxdomain ¶
func (x *Profile) GetBlockingModeNxdomain() *BlockingModeNXDOMAIN
func (*Profile) GetBlockingModeRefused ¶
func (x *Profile) GetBlockingModeRefused() *BlockingModeREFUSED
func (*Profile) GetDeleted ¶
func (*Profile) GetDeviceIds ¶
func (*Profile) GetFilterConfig ¶
func (x *Profile) GetFilterConfig() *FilterConfig
func (*Profile) GetFilteredResponseTtl ¶
func (x *Profile) GetFilteredResponseTtl() *durationpb.Duration
func (*Profile) GetFilteringEnabled ¶
func (*Profile) GetIpLogEnabled ¶
func (*Profile) GetProfileId ¶
func (*Profile) GetQueryLogEnabled ¶
func (*Profile) GetRatelimiter ¶
func (x *Profile) GetRatelimiter() *Ratelimiter
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type Profile_BlockingModeCustomIp ¶
type Profile_BlockingModeCustomIp struct {
BlockingModeCustomIp *BlockingModeCustomIP `protobuf:"bytes,3,opt,name=blocking_mode_custom_ip,json=blockingModeCustomIp,proto3,oneof"`
}
type Profile_BlockingModeNullIp ¶
type Profile_BlockingModeNullIp struct {
BlockingModeNullIp *BlockingModeNullIP `protobuf:"bytes,5,opt,name=blocking_mode_null_ip,json=blockingModeNullIp,proto3,oneof"`
}
type Profile_BlockingModeNxdomain ¶
type Profile_BlockingModeNxdomain struct {
BlockingModeNxdomain *BlockingModeNXDOMAIN `protobuf:"bytes,4,opt,name=blocking_mode_nxdomain,json=blockingModeNxdomain,proto3,oneof"`
}
type Profile_BlockingModeRefused ¶
type Profile_BlockingModeRefused struct {
BlockingModeRefused *BlockingModeREFUSED `protobuf:"bytes,6,opt,name=blocking_mode_refused,json=blockingModeRefused,proto3,oneof"`
}
type Ratelimiter ¶
type Ratelimiter struct { ClientCidr []*CidrRange `protobuf:"bytes,1,rep,name=client_cidr,json=clientCidr,proto3" json:"client_cidr,omitempty"` Rps uint32 `protobuf:"varint,2,opt,name=rps,proto3" json:"rps,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*Ratelimiter) Descriptor
deprecated
func (*Ratelimiter) Descriptor() ([]byte, []int)
Deprecated: Use Ratelimiter.ProtoReflect.Descriptor instead.
func (*Ratelimiter) GetClientCidr ¶
func (x *Ratelimiter) GetClientCidr() []*CidrRange
func (*Ratelimiter) GetEnabled ¶
func (x *Ratelimiter) GetEnabled() bool
func (*Ratelimiter) GetRps ¶
func (x *Ratelimiter) GetRps() uint32
func (*Ratelimiter) ProtoMessage ¶
func (*Ratelimiter) ProtoMessage()
func (*Ratelimiter) ProtoReflect ¶
func (x *Ratelimiter) ProtoReflect() protoreflect.Message
func (*Ratelimiter) Reset ¶
func (x *Ratelimiter) Reset()
func (*Ratelimiter) String ¶
func (x *Ratelimiter) String() string
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is the file-cache storage that encodes data using protobuf.
func (*Storage) Load ¶
Load implements the internal.FileCacheStorage interface for *Storage.