Interface ProxyCheckResponseSingleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProxyCheckResponseSingle, ProxyCheckResponseSingle.Builder
@Generated
public interface ProxyCheckResponseSingleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe time in milliseconds taken to complete the proxy check.getProxy()The proxy that was checked.The proxy that was checked.The real IP address as seen by the target server (if available).com.google.protobuf.ByteStringThe real IP address as seen by the target server (if available).booleangetValid()Whether the proxy check was successful.booleanhasProxy()The proxy that was checked.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasProxy
boolean hasProxy()The proxy that was checked. This is echoed back from the request to allow correlation when checking multiple proxies.
.soulfire.v1.ProxyProto proxy = 1;- Returns:
- Whether the proxy field is set.
-
getProxy
ProxyProto getProxy()The proxy that was checked. This is echoed back from the request to allow correlation when checking multiple proxies.
.soulfire.v1.ProxyProto proxy = 1;- Returns:
- The proxy.
-
getProxyOrBuilder
ProxyProtoOrBuilder getProxyOrBuilder()The proxy that was checked. This is echoed back from the request to allow correlation when checking multiple proxies.
.soulfire.v1.ProxyProto proxy = 1; -
getValid
boolean getValid()Whether the proxy check was successful. A proxy is considered valid if a connection through it to the Minecraft server was established successfully and a status response packet was received within the 30-second timeout. If false, the proxy failed to connect, timed out, or encountered an error.
bool valid = 2;- Returns:
- The valid.
-
getLatency
int getLatency()The time in milliseconds taken to complete the proxy check. This measures the total time from starting the connection attempt until receiving the server status response (or until failure/timeout). Useful for comparing proxy performance and choosing the fastest proxies.
int32 latency = 3;- Returns:
- The latency.
-
getRealIp
String getRealIp()The real IP address as seen by the target server (if available). This field may be empty if the IP could not be determined. Note: Currently not populated by the implementation.
string real_ip = 4;- Returns:
- The realIp.
-
getRealIpBytes
com.google.protobuf.ByteString getRealIpBytes()The real IP address as seen by the target server (if available). This field may be empty if the IP could not be determined. Note: Currently not populated by the implementation.
string real_ip = 4;- Returns:
- The bytes for realIp.
-