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.
The stream sends progress updates (one_success/one_failure) for each
payload being processed, followed by a final full_list with all
successfully authenticated accounts.
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()
    • hasFullList

      public boolean hasFullList()
      Final response containing all successfully authenticated accounts.
      This is the last message in the stream.
      
      .soulfire.v1.CredentialsAuthFullList full_list = 1;
      Specified by:
      hasFullList in interface CredentialsAuthResponseOrBuilder
      Returns:
      Whether the fullList field is set.
    • getFullList

      public CredentialsAuthFullList getFullList()
      Final response containing all successfully authenticated accounts.
      This is the last message in the stream.
      
      .soulfire.v1.CredentialsAuthFullList full_list = 1;
      Specified by:
      getFullList in interface CredentialsAuthResponseOrBuilder
      Returns:
      The fullList.
    • setFullList

      Final response containing all successfully authenticated accounts.
      This is the last message in the stream.
      
      .soulfire.v1.CredentialsAuthFullList full_list = 1;
    • setFullList

      Final response containing all successfully authenticated accounts.
      This is the last message in the stream.
      
      .soulfire.v1.CredentialsAuthFullList full_list = 1;
    • mergeFullList

      Final response containing all successfully authenticated accounts.
      This is the last message in the stream.
      
      .soulfire.v1.CredentialsAuthFullList full_list = 1;
    • clearFullList

      public CredentialsAuthResponse.Builder clearFullList()
      Final response containing all successfully authenticated accounts.
      This is the last message in the stream.
      
      .soulfire.v1.CredentialsAuthFullList full_list = 1;
    • getFullListBuilder

      public CredentialsAuthFullList.Builder getFullListBuilder()
      Final response containing all successfully authenticated accounts.
      This is the last message in the stream.
      
      .soulfire.v1.CredentialsAuthFullList full_list = 1;
    • getFullListOrBuilder

      public CredentialsAuthFullListOrBuilder getFullListOrBuilder()
      Final response containing all successfully authenticated accounts.
      This is the last message in the stream.
      
      .soulfire.v1.CredentialsAuthFullList full_list = 1;
      Specified by:
      getFullListOrBuilder in interface CredentialsAuthResponseOrBuilder
    • hasOneSuccess

      public boolean hasOneSuccess()
      Progress indicator: one account was successfully authenticated.
      Sent for each successful authentication as they complete.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
      Specified by:
      hasOneSuccess in interface CredentialsAuthResponseOrBuilder
      Returns:
      Whether the oneSuccess field is set.
    • getOneSuccess

      public CredentialsAuthOneSuccess getOneSuccess()
      Progress indicator: one account was successfully authenticated.
      Sent for each successful authentication as they complete.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
      Specified by:
      getOneSuccess in interface CredentialsAuthResponseOrBuilder
      Returns:
      The oneSuccess.
    • setOneSuccess

      Progress indicator: one account was successfully authenticated.
      Sent for each successful authentication as they complete.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • setOneSuccess

      Progress indicator: one account was successfully authenticated.
      Sent for each successful authentication as they complete.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • mergeOneSuccess

      Progress indicator: one account was successfully authenticated.
      Sent for each successful authentication as they complete.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • clearOneSuccess

      public CredentialsAuthResponse.Builder clearOneSuccess()
      Progress indicator: one account was successfully authenticated.
      Sent for each successful authentication as they complete.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • getOneSuccessBuilder

      public CredentialsAuthOneSuccess.Builder getOneSuccessBuilder()
      Progress indicator: one account was successfully authenticated.
      Sent for each successful authentication as they complete.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
    • getOneSuccessOrBuilder

      public CredentialsAuthOneSuccessOrBuilder getOneSuccessOrBuilder()
      Progress indicator: one account was successfully authenticated.
      Sent for each successful authentication as they complete.
      
      .soulfire.v1.CredentialsAuthOneSuccess one_success = 2;
      Specified by:
      getOneSuccessOrBuilder in interface CredentialsAuthResponseOrBuilder
    • hasOneFailure

      public boolean hasOneFailure()
      Progress indicator: one account authentication failed.
      Sent for each failed authentication as they complete.
      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()
      Progress indicator: one account authentication failed.
      Sent for each failed authentication as they complete.
      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

      Progress indicator: one account authentication failed.
      Sent for each failed authentication as they complete.
      Errors are logged server-side (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • setOneFailure

      Progress indicator: one account authentication failed.
      Sent for each failed authentication as they complete.
      Errors are logged server-side (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • mergeOneFailure

      Progress indicator: one account authentication failed.
      Sent for each failed authentication as they complete.
      Errors are logged server-side (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • clearOneFailure

      public CredentialsAuthResponse.Builder clearOneFailure()
      Progress indicator: one account authentication failed.
      Sent for each failed authentication as they complete.
      Errors are logged server-side (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • getOneFailureBuilder

      public CredentialsAuthOneFailure.Builder getOneFailureBuilder()
      Progress indicator: one account authentication failed.
      Sent for each failed authentication as they complete.
      Errors are logged server-side (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
    • getOneFailureOrBuilder

      public CredentialsAuthOneFailureOrBuilder getOneFailureOrBuilder()
      Progress indicator: one account authentication failed.
      Sent for each failed authentication as they complete.
      Errors are logged server-side (e.g., invalid credentials, network issues).
      
      .soulfire.v1.CredentialsAuthOneFailure one_failure = 3;
      Specified by:
      getOneFailureOrBuilder in interface CredentialsAuthResponseOrBuilder