Class ProxyInfo (0.3.0)

public final class ProxyInfo extends GeneratedMessage implements ProxyInfoOrBuilder

Proxy information.

Protobuf type google.backstory.ProxyInfo

Implements

ProxyInfoOrBuilder

Static Fields

ANONYMOUS_FIELD_NUMBER

public static final int ANONYMOUS_FIELD_NUMBER
Field Value
Type Description
int

ANONYMOUS_VPN_FIELD_NUMBER

public static final int ANONYMOUS_VPN_FIELD_NUMBER
Field Value
Type Description
int

HOSTING_PROVIDER_FIELD_NUMBER

public static final int HOSTING_PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

PROXY_OVER_VPN_FIELD_NUMBER

public static final int PROXY_OVER_VPN_FIELD_NUMBER
Field Value
Type Description
int

PUBLIC_PROXY_FIELD_NUMBER

public static final int PUBLIC_PROXY_FIELD_NUMBER
Field Value
Type Description
int

RELAY_PROXY_FIELD_NUMBER

public static final int RELAY_PROXY_FIELD_NUMBER
Field Value
Type Description
int

RESIDENTIAL_PROXY_FIELD_NUMBER

public static final int RESIDENTIAL_PROXY_FIELD_NUMBER
Field Value
Type Description
int

SMART_DNS_PROXY_FIELD_NUMBER

public static final int SMART_DNS_PROXY_FIELD_NUMBER
Field Value
Type Description
int

TOR_EXIT_NODE_FIELD_NUMBER

public static final int TOR_EXIT_NODE_FIELD_NUMBER
Field Value
Type Description
int

VPN_DATACENTER_FIELD_NUMBER

public static final int VPN_DATACENTER_FIELD_NUMBER
Field Value
Type Description
int

VPN_SERVICE_NAME_FIELD_NUMBER

public static final int VPN_SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProxyInfo getDefaultInstance()
Returns
Type Description
ProxyInfo

getDescriptor()

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

newBuilder()

public static ProxyInfo.Builder newBuilder()
Returns
Type Description
ProxyInfo.Builder

newBuilder(ProxyInfo prototype)

public static ProxyInfo.Builder newBuilder(ProxyInfo prototype)
Parameter
Name Description
prototype ProxyInfo
Returns
Type Description
ProxyInfo.Builder

parseDelimitedFrom(InputStream input)

public static ProxyInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProxyInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProxyInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProxyInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProxyInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProxyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProxyInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProxyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProxyInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProxyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProxyInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProxyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProxyInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProxyInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProxyInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProxyInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProxyInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProxyInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProxyInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProxyInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProxyInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProxyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProxyInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProxyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProxyInfo> parser()
Returns
Type Description
Parser<ProxyInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getHostingProvider()

public boolean getHostingProvider()

Whether the IP address is a hosting provider.

bool hosting_provider = 6;

Returns
Type Description
boolean

The hostingProvider.

getParserForType()

public Parser<ProxyInfo> getParserForType()
Returns
Type Description
Parser<ProxyInfo>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProxyInfo.Builder newBuilderForType()
Returns
Type Description
ProxyInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ProxyInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProxyInfo.Builder
Overrides

toBuilder()

public ProxyInfo.Builder toBuilder()
Returns
Type Description
ProxyInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException