public static final class ProxyInfo.Builder extends GeneratedMessage.Builder<ProxyInfo.Builder> implements ProxyInfoOrBuilderProxy information.
Protobuf type google.backstory.ProxyInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProxyInfo.BuilderImplements
ProxyInfoOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProxyInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProxyInfo.Builder |
|
setAnonymous(boolean value)
public ProxyInfo.Builder setAnonymous(boolean value)Whether the IP address is anonymous.
bool anonymous = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe 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 |
booleanThe 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 |
booleanThe 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 |
booleanThe 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 |
booleanThe 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 |
booleanThe 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 |
booleanThe 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 |
booleanThe 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 |
booleanThe 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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for vpnServiceName to set. |
| Returns | |
|---|---|
| Type | Description |
ProxyInfo.Builder |
This builder for chaining. |