Class CredentialsAuthResponse.Builder

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

public static final class CredentialsAuthResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<CredentialsAuthResponse.Builder> implements CredentialsAuthResponseOrBuilder
Streaming response message for credentials-based authentication.
Each message contains either a single authentication result or an end marker.
Protobuf type soulfire.v1.CredentialsAuthResponse
  • 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<CredentialsAuthResponse.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<CredentialsAuthResponse.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<CredentialsAuthResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public CredentialsAuthResponse.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<CredentialsAuthResponse.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<CredentialsAuthResponse.Builder>
    • mergeFrom

      public CredentialsAuthResponse.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<CredentialsAuthResponse.Builder>
      Throws:
      IOException
    • getDataCase

      public CredentialsAuthResponse.DataCase getDataCase()
      Specified by:
      getDataCase in interface CredentialsAuthResponseOrBuilder
    • clearData

      public CredentialsAuthResponse.Builder clearData()
    • hasOneSuccess

      public boolean hasOneSuccess()
      A single successful authentication result. Multiple of these will be
      streamed as each account authentication completes, allowing the client
      to process results incrementally.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
      Specified by:
      hasOneSuccess in interface CredentialsAuthResponseOrBuilder
      Returns:
      Whether the oneSuccess field is set.
    • getOneSuccess

      public CredentialsAuthOneSuccess getOneSuccess()
      A single successful authentication result. Multiple of these will be
      streamed as each account authentication completes, allowing the client
      to process results incrementally.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
      Specified by:
      getOneSuccess in interface CredentialsAuthResponseOrBuilder
      Returns:
      The oneSuccess.
    • setOneSuccess

      A single successful authentication result. Multiple of these will be
      streamed as each account authentication completes, allowing the client
      to process results incrementally.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • setOneSuccess

      A single successful authentication result. Multiple of these will be
      streamed as each account authentication completes, allowing the client
      to process results incrementally.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • mergeOneSuccess

      A single successful authentication result. Multiple of these will be
      streamed as each account authentication completes, allowing the client
      to process results incrementally.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • clearOneSuccess

      public CredentialsAuthResponse.Builder clearOneSuccess()
      A single successful authentication result. Multiple of these will be
      streamed as each account authentication completes, allowing the client
      to process results incrementally.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • getOneSuccessBuilder

      public CredentialsAuthOneSuccess.Builder getOneSuccessBuilder()
      A single successful authentication result. Multiple of these will be
      streamed as each account authentication completes, allowing the client
      to process results incrementally.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • getOneSuccessOrBuilder

      public CredentialsAuthOneSuccessOrBuilder getOneSuccessOrBuilder()
      A single successful authentication result. Multiple of these will be
      streamed as each account authentication completes, allowing the client
      to process results incrementally.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
      Specified by:
      getOneSuccessOrBuilder in interface CredentialsAuthResponseOrBuilder
    • hasOneFailure

      public boolean hasOneFailure()
      A single failed authentication result. Streamed as each failed
      authentication completes. Errors are logged server-side
      (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
      Specified by:
      hasOneFailure in interface CredentialsAuthResponseOrBuilder
      Returns:
      Whether the oneFailure field is set.
    • getOneFailure

      public CredentialsAuthOneFailure getOneFailure()
      A single failed authentication result. Streamed as each failed
      authentication completes. Errors are logged server-side
      (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
      Specified by:
      getOneFailure in interface CredentialsAuthResponseOrBuilder
      Returns:
      The oneFailure.
    • setOneFailure

      A single failed authentication result. Streamed as each failed
      authentication completes. Errors are logged server-side
      (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • setOneFailure

      A single failed authentication result. Streamed as each failed
      authentication completes. Errors are logged server-side
      (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • mergeOneFailure

      A single failed authentication result. Streamed as each failed
      authentication completes. Errors are logged server-side
      (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • clearOneFailure

      public CredentialsAuthResponse.Builder clearOneFailure()
      A single failed authentication result. Streamed as each failed
      authentication completes. Errors are logged server-side
      (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • getOneFailureBuilder

      public CredentialsAuthOneFailure.Builder getOneFailureBuilder()
      A single failed authentication result. Streamed as each failed
      authentication completes. Errors are logged server-side
      (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • getOneFailureOrBuilder

      public CredentialsAuthOneFailureOrBuilder getOneFailureOrBuilder()
      A single failed authentication result. Streamed as each failed
      authentication completes. Errors are logged server-side
      (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
      Specified by:
      getOneFailureOrBuilder in interface CredentialsAuthResponseOrBuilder
    • hasEnd

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

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

      End-of-stream marker indicating all authentications are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.CredentialsAuthEnd end = 4;
    • setEnd

      End-of-stream marker indicating all authentications are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.CredentialsAuthEnd end = 4;
    • mergeEnd

      End-of-stream marker indicating all authentications are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.CredentialsAuthEnd end = 4;
    • clearEnd

      End-of-stream marker indicating all authentications are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.CredentialsAuthEnd end = 4;
    • getEndBuilder

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

      public CredentialsAuthEndOrBuilder getEndOrBuilder()
      End-of-stream marker indicating all authentications are complete.
      This is always the last message in the stream before it closes.
      
      .soulfire.v1.CredentialsAuthEnd end = 4;
      Specified by:
      getEndOrBuilder in interface CredentialsAuthResponseOrBuilder