Class ProxyInfo.Builder (0.3.0)

public static final class ProxyInfo.Builder extends GeneratedMessage.Builder<ProxyInfo.Builder> implements ProxyInfoOrBuilder

Proxy information.

Protobuf type google.backstory.ProxyInfo

Implements

ProxyInfoOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ProxyInfo build()
Returns
Type Description
ProxyInfo

buildPartial()

public ProxyInfo buildPartial()
Returns
Type Description
ProxyInfo

clear()

public ProxyInfo.Builder clear()
Returns
Type Description
ProxyInfo.Builder
Overrides

clearAnonymous()

public ProxyInfo.Builder clearAnonymous()

Whether the IP address is anonymous.

bool anonymous = 1;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearAnonymousVpn()

public ProxyInfo.Builder clearAnonymousVpn()

Whether the IP address is an anonymous VPN.

bool anonymous_vpn = 2;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearHostingProvider()

public ProxyInfo.Builder clearHostingProvider()

Whether the IP address is a hosting provider.

bool hosting_provider = 6;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearProxyOverVpn()

public ProxyInfo.Builder clearProxyOverVpn()

Whether the IP address is a proxy over VPN.

bool proxy_over_vpn = 10;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearPublicProxy()

public ProxyInfo.Builder clearPublicProxy()

Whether the IP address is a public proxy.

bool public_proxy = 3;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearRelayProxy()

public ProxyInfo.Builder clearRelayProxy()

Whether the IP address is a relay proxy.

bool relay_proxy = 11;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearResidentialProxy()

public ProxyInfo.Builder clearResidentialProxy()

Whether the IP address is a residential proxy.

bool residential_proxy = 8;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearSmartDnsProxy()

public ProxyInfo.Builder clearSmartDnsProxy()

Whether the IP address is a smart DNS proxy.

bool smart_dns_proxy = 5;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearTorExitNode()

public ProxyInfo.Builder clearTorExitNode()

Whether the IP address is a tor exit node.

bool tor_exit_node = 4;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearVpnDatacenter()

public ProxyInfo.Builder clearVpnDatacenter()

Whether the IP address is a VPN datacenter.

bool vpn_datacenter = 7;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

clearVpnServiceName()

public ProxyInfo.Builder clearVpnServiceName()

The name of the VPN service.

string vpn_service_name = 9;

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

getAnonymous()

public boolean getAnonymous()

Whether the IP address is anonymous.

bool anonymous = 1;

Returns
Type Description
boolean

The anonymous.

getAnonymousVpn()

public boolean getAnonymousVpn()

Whether the IP address is an anonymous VPN.

bool anonymous_vpn = 2;

Returns
Type Description
boolean

The anonymousVpn.

getDefaultInstanceForType()

public ProxyInfo getDefaultInstanceForType()
Returns
Type Description
ProxyInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHostingProvider()

public boolean getHostingProvider()

Whether the IP address is a hosting provider.

bool hosting_provider = 6;

Returns
Type Description
boolean

The hostingProvider.

getProxyOverVpn()

public boolean getProxyOverVpn()

Whether the IP address is a proxy over VPN.

bool proxy_over_vpn = 10;

Returns
Type Description
boolean

The proxyOverVpn.

getPublicProxy()

public boolean getPublicProxy()

Whether the IP address is a public proxy.

bool public_proxy = 3;

Returns
Type Description
boolean

The publicProxy.

getRelayProxy()

public boolean getRelayProxy()

Whether the IP address is a relay proxy.

bool relay_proxy = 11;

Returns
Type Description
boolean

The relayProxy.

getResidentialProxy()

public boolean getResidentialProxy()

Whether the IP address is a residential proxy.

bool residential_proxy = 8;

Returns
Type Description
boolean

The residentialProxy.

getSmartDnsProxy()

public boolean getSmartDnsProxy()

Whether the IP address is a smart DNS proxy.

bool smart_dns_proxy = 5;

Returns
Type Description
boolean

The smartDnsProxy.

getTorExitNode()

public boolean getTorExitNode()

Whether the IP address is a tor exit node.

bool tor_exit_node = 4;

Returns
Type Description
boolean

The torExitNode.

getVpnDatacenter()

public boolean getVpnDatacenter()

Whether the IP address is a VPN datacenter.

bool vpn_datacenter = 7;

Returns
Type Description
boolean

The vpnDatacenter.

getVpnServiceName()

public String getVpnServiceName()

The name of the VPN service.

string vpn_service_name = 9;

Returns
Type Description
String

The vpnServiceName.

getVpnServiceNameBytes()

public ByteString getVpnServiceNameBytes()

The name of the VPN service.

string vpn_service_name = 9;

Returns
Type Description
ByteString

The bytes for vpnServiceName.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProxyInfo other)

public ProxyInfo.Builder mergeFrom(ProxyInfo other)
Parameter
Name Description
other ProxyInfo
Returns
Type Description
ProxyInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProxyInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProxyInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProxyInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProxyInfo.Builder
Overrides

setAnonymous(boolean value)

public ProxyInfo.Builder setAnonymous(boolean value)

Whether the IP address is anonymous.

bool anonymous = 1;

Parameter
Name Description
value boolean

The anonymous to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setAnonymousVpn(boolean value)

public ProxyInfo.Builder setAnonymousVpn(boolean value)

Whether the IP address is an anonymous VPN.

bool anonymous_vpn = 2;

Parameter
Name Description
value boolean

The anonymousVpn to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setHostingProvider(boolean value)

public ProxyInfo.Builder setHostingProvider(boolean value)

Whether the IP address is a hosting provider.

bool hosting_provider = 6;

Parameter
Name Description
value boolean

The hostingProvider to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setProxyOverVpn(boolean value)

public ProxyInfo.Builder setProxyOverVpn(boolean value)

Whether the IP address is a proxy over VPN.

bool proxy_over_vpn = 10;

Parameter
Name Description
value boolean

The proxyOverVpn to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setPublicProxy(boolean value)

public ProxyInfo.Builder setPublicProxy(boolean value)

Whether the IP address is a public proxy.

bool public_proxy = 3;

Parameter
Name Description
value boolean

The publicProxy to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setRelayProxy(boolean value)

public ProxyInfo.Builder setRelayProxy(boolean value)

Whether the IP address is a relay proxy.

bool relay_proxy = 11;

Parameter
Name Description
value boolean

The relayProxy to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setResidentialProxy(boolean value)

public ProxyInfo.Builder setResidentialProxy(boolean value)

Whether the IP address is a residential proxy.

bool residential_proxy = 8;

Parameter
Name Description
value boolean

The residentialProxy to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setSmartDnsProxy(boolean value)

public ProxyInfo.Builder setSmartDnsProxy(boolean value)

Whether the IP address is a smart DNS proxy.

bool smart_dns_proxy = 5;

Parameter
Name Description
value boolean

The smartDnsProxy to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setTorExitNode(boolean value)

public ProxyInfo.Builder setTorExitNode(boolean value)

Whether the IP address is a tor exit node.

bool tor_exit_node = 4;

Parameter
Name Description
value boolean

The torExitNode to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setVpnDatacenter(boolean value)

public ProxyInfo.Builder setVpnDatacenter(boolean value)

Whether the IP address is a VPN datacenter.

bool vpn_datacenter = 7;

Parameter
Name Description
value boolean

The vpnDatacenter to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setVpnServiceName(String value)

public ProxyInfo.Builder setVpnServiceName(String value)

The name of the VPN service.

string vpn_service_name = 9;

Parameter
Name Description
value String

The vpnServiceName to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.

setVpnServiceNameBytes(ByteString value)

public ProxyInfo.Builder setVpnServiceNameBytes(ByteString value)

The name of the VPN service.

string vpn_service_name = 9;

Parameter
Name Description
value ByteString

The bytes for vpnServiceName to set.

Returns
Type Description
ProxyInfo.Builder

This builder for chaining.