Class ProxyCheckResponseSingle

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.ProxyCheckResponseSingle
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ProxyCheckResponseSingleOrBuilder, Serializable

@Generated public final class ProxyCheckResponseSingle extends com.google.protobuf.GeneratedMessage implements ProxyCheckResponseSingleOrBuilder
Result of checking a single proxy's validity and performance.
Protobuf type soulfire.v1.ProxyCheckResponseSingle
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasProxy

      public 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;
      Specified by:
      hasProxy in interface ProxyCheckResponseSingleOrBuilder
      Returns:
      Whether the proxy field is set.
    • getProxy

      public 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;
      Specified by:
      getProxy in interface ProxyCheckResponseSingleOrBuilder
      Returns:
      The proxy.
    • getProxyOrBuilder

      public 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;
      Specified by:
      getProxyOrBuilder in interface ProxyCheckResponseSingleOrBuilder
    • getValid

      public 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;
      Specified by:
      getValid in interface ProxyCheckResponseSingleOrBuilder
      Returns:
      The valid.
    • getLatency

      public 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;
      Specified by:
      getLatency in interface ProxyCheckResponseSingleOrBuilder
      Returns:
      The latency.
    • getRealIp

      public 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;
      Specified by:
      getRealIp in interface ProxyCheckResponseSingleOrBuilder
      Returns:
      The realIp.
    • getRealIpBytes

      public 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;
      Specified by:
      getRealIpBytes in interface ProxyCheckResponseSingleOrBuilder
      Returns:
      The bytes for realIp.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProxyCheckResponseSingle parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProxyCheckResponseSingle parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProxyCheckResponseSingle parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ProxyCheckResponseSingle.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ProxyCheckResponseSingle.Builder newBuilder()
    • newBuilder

      public static ProxyCheckResponseSingle.Builder newBuilder(ProxyCheckResponseSingle prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ProxyCheckResponseSingle.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ProxyCheckResponseSingle getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ProxyCheckResponseSingle> parser()
    • getParserForType

      public com.google.protobuf.Parser<ProxyCheckResponseSingle> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ProxyCheckResponseSingle getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder