Class CredentialsAuthRequest.Builder

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

public static final class CredentialsAuthRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CredentialsAuthRequest.Builder> implements CredentialsAuthRequestOrBuilder
Protobuf type soulfire.v1.CredentialsAuthRequest
  • 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<CredentialsAuthRequest.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<CredentialsAuthRequest.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<CredentialsAuthRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CredentialsAuthRequest.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<CredentialsAuthRequest.Builder>
      Throws:
      IOException
    • getInstanceId

      public String getInstanceId()
      string instance_id = 1;
      Specified by:
      getInstanceId in interface CredentialsAuthRequestOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
      string instance_id = 1;
      Specified by:
      getInstanceIdBytes in interface CredentialsAuthRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public CredentialsAuthRequest.Builder setInstanceId(String value)
      string instance_id = 1;
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public CredentialsAuthRequest.Builder clearInstanceId()
      string instance_id = 1;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public CredentialsAuthRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
      string instance_id = 1;
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • getServiceValue

      public int getServiceValue()
      .soulfire.v1.AccountTypeCredentials service = 2;
      Specified by:
      getServiceValue in interface CredentialsAuthRequestOrBuilder
      Returns:
      The enum numeric value on the wire for service.
    • setServiceValue

      public CredentialsAuthRequest.Builder setServiceValue(int value)
      .soulfire.v1.AccountTypeCredentials service = 2;
      Parameters:
      value - The enum numeric value on the wire for service to set.
      Returns:
      This builder for chaining.
    • getService

      public AccountTypeCredentials getService()
      .soulfire.v1.AccountTypeCredentials service = 2;
      Specified by:
      getService in interface CredentialsAuthRequestOrBuilder
      Returns:
      The service.
    • setService

      .soulfire.v1.AccountTypeCredentials service = 2;
      Parameters:
      value - The service to set.
      Returns:
      This builder for chaining.
    • clearService

      public CredentialsAuthRequest.Builder clearService()
      .soulfire.v1.AccountTypeCredentials service = 2;
      Returns:
      This builder for chaining.
    • getPayloadList

      public com.google.protobuf.ProtocolStringList getPayloadList()
      repeated string payload = 3;
      Specified by:
      getPayloadList in interface CredentialsAuthRequestOrBuilder
      Returns:
      A list containing the payload.
    • getPayloadCount

      public int getPayloadCount()
      repeated string payload = 3;
      Specified by:
      getPayloadCount in interface CredentialsAuthRequestOrBuilder
      Returns:
      The count of payload.
    • getPayload

      public String getPayload(int index)
      repeated string payload = 3;
      Specified by:
      getPayload in interface CredentialsAuthRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The payload at the given index.
    • getPayloadBytes

      public com.google.protobuf.ByteString getPayloadBytes(int index)
      repeated string payload = 3;
      Specified by:
      getPayloadBytes in interface CredentialsAuthRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the payload at the given index.
    • setPayload

      public CredentialsAuthRequest.Builder setPayload(int index, String value)
      repeated string payload = 3;
      Parameters:
      index - The index to set the value at.
      value - The payload to set.
      Returns:
      This builder for chaining.
    • addPayload

      public CredentialsAuthRequest.Builder addPayload(String value)
      repeated string payload = 3;
      Parameters:
      value - The payload to add.
      Returns:
      This builder for chaining.
    • addAllPayload

      public CredentialsAuthRequest.Builder addAllPayload(Iterable<String> values)
      repeated string payload = 3;
      Parameters:
      values - The payload to add.
      Returns:
      This builder for chaining.
    • clearPayload

      public CredentialsAuthRequest.Builder clearPayload()
      repeated string payload = 3;
      Returns:
      This builder for chaining.
    • addPayloadBytes

      public CredentialsAuthRequest.Builder addPayloadBytes(com.google.protobuf.ByteString value)
      repeated string payload = 3;
      Parameters:
      value - The bytes of the payload to add.
      Returns:
      This builder for chaining.