Class ProxyCheckResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ProxyCheckResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<ProxyCheckResponse.Builder>
com.soulfiremc.grpc.generated.ProxyCheckResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ProxyCheckResponseOrBuilder, Cloneable
Enclosing class:
ProxyCheckResponse

public static final class ProxyCheckResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProxyCheckResponse.Builder> implements ProxyCheckResponseOrBuilder
Response message for proxy checking, sent as a stream.
Each message contains either a single proxy check result or an end marker.
Protobuf type soulfire.v1.ProxyCheckResponse
  • 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.Builder<ProxyCheckResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ProxyCheckResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ProxyCheckResponse.Builder>
    • getDefaultInstanceForType

      public ProxyCheckResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ProxyCheckResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ProxyCheckResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ProxyCheckResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProxyCheckResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ProxyCheckResponse.Builder>
    • mergeFrom

      public ProxyCheckResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProxyCheckResponse.Builder>
      Throws:
      IOException
    • getDataCase

      public ProxyCheckResponse.DataCase getDataCase()
      Specified by:
      getDataCase in interface ProxyCheckResponseOrBuilder
    • clearData

      public ProxyCheckResponse.Builder clearData()
    • hasSingle

      public boolean hasSingle()
      A single proxy check result. Multiple of these will be streamed
      as each proxy check completes, allowing the client to process
      results incrementally rather than waiting for all checks to finish.
      
      .soulfire.v1.ProxyCheckResponseSingle single = 4;
      Specified by:
      hasSingle in interface ProxyCheckResponseOrBuilder
      Returns:
      Whether the single field is set.
    • getSingle

      public ProxyCheckResponseSingle getSingle()
      A single proxy check result. Multiple of these will be streamed
      as each proxy check completes, allowing the client to process
      results incrementally rather than waiting for all checks to finish.
      
      .soulfire.v1.ProxyCheckResponseSingle single = 4;
      Specified by:
      getSingle in interface ProxyCheckResponseOrBuilder
      Returns:
      The single.
    • setSingle

      A single proxy check result. Multiple of these will be streamed
      as each proxy check completes, allowing the client to process
      results incrementally rather than waiting for all checks to finish.
      
      .soulfire.v1.ProxyCheckResponseSingle single = 4;
    • setSingle

      A single proxy check result. Multiple of these will be streamed
      as each proxy check completes, allowing the client to process
      results incrementally rather than waiting for all checks to finish.
      
      .soulfire.v1.ProxyCheckResponseSingle single = 4;
    • mergeSingle

      A single proxy check result. Multiple of these will be streamed
      as each proxy check completes, allowing the client to process
      results incrementally rather than waiting for all checks to finish.
      
      .soulfire.v1.ProxyCheckResponseSingle single = 4;
    • clearSingle

      public ProxyCheckResponse.Builder clearSingle()
      A single proxy check result. Multiple of these will be streamed
      as each proxy check completes, allowing the client to process
      results incrementally rather than waiting for all checks to finish.
      
      .soulfire.v1.ProxyCheckResponseSingle single = 4;
    • getSingleBuilder

      public ProxyCheckResponseSingle.Builder getSingleBuilder()
      A single proxy check result. Multiple of these will be streamed
      as each proxy check completes, allowing the client to process
      results incrementally rather than waiting for all checks to finish.
      
      .soulfire.v1.ProxyCheckResponseSingle single = 4;
    • getSingleOrBuilder

      public ProxyCheckResponseSingleOrBuilder getSingleOrBuilder()
      A single proxy check result. Multiple of these will be streamed
      as each proxy check completes, allowing the client to process
      results incrementally rather than waiting for all checks to finish.
      
      .soulfire.v1.ProxyCheckResponseSingle single = 4;
      Specified by:
      getSingleOrBuilder in interface ProxyCheckResponseOrBuilder
    • hasEnd

      public boolean hasEnd()
      End-of-stream marker indicating all proxy checks are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.ProxyCheckEnd end = 5;
      Specified by:
      hasEnd in interface ProxyCheckResponseOrBuilder
      Returns:
      Whether the end field is set.
    • getEnd

      public ProxyCheckEnd getEnd()
      End-of-stream marker indicating all proxy checks are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.ProxyCheckEnd end = 5;
      Specified by:
      getEnd in interface ProxyCheckResponseOrBuilder
      Returns:
      The end.
    • setEnd

      End-of-stream marker indicating all proxy checks are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.ProxyCheckEnd end = 5;
    • setEnd

      public ProxyCheckResponse.Builder setEnd(ProxyCheckEnd.Builder builderForValue)
      End-of-stream marker indicating all proxy checks are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.ProxyCheckEnd end = 5;
    • mergeEnd

      public ProxyCheckResponse.Builder mergeEnd(ProxyCheckEnd value)
      End-of-stream marker indicating all proxy checks are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.ProxyCheckEnd end = 5;
    • clearEnd

      public ProxyCheckResponse.Builder clearEnd()
      End-of-stream marker indicating all proxy checks are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.ProxyCheckEnd end = 5;
    • getEndBuilder

      public ProxyCheckEnd.Builder getEndBuilder()
      End-of-stream marker indicating all proxy checks are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.ProxyCheckEnd end = 5;
    • getEndOrBuilder

      public ProxyCheckEndOrBuilder getEndOrBuilder()
      End-of-stream marker indicating all proxy checks are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.ProxyCheckEnd end = 5;
      Specified by:
      getEndOrBuilder in interface ProxyCheckResponseOrBuilder