All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.crashteam.crm.SendUserAuthCodeResponse Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: crm.proto

package dev.crashteam.crm;

/**
 * Protobuf type {@code crm.SendUserAuthCodeResponse}
 */
public final class SendUserAuthCodeResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:crm.SendUserAuthCodeResponse)
    SendUserAuthCodeResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SendUserAuthCodeResponse.newBuilder() to construct.
  private SendUserAuthCodeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private SendUserAuthCodeResponse() {
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new SendUserAuthCodeResponse();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SendUserAuthCodeResponse(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.Builder subBuilder = null;
            if (responseCase_ == 1) {
              subBuilder = ((dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_).toBuilder();
            }
            response_ =
                input.readMessage(dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_);
              response_ = subBuilder.buildPartial();
            }
            responseCase_ = 1;
            break;
          }
          case 18: {
            dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.Builder subBuilder = null;
            if (responseCase_ == 2) {
              subBuilder = ((dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_).toBuilder();
            }
            response_ =
                input.readMessage(dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_);
              response_ = subBuilder.buildPartial();
            }
            responseCase_ = 2;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            dev.crashteam.crm.SendUserAuthCodeResponse.class, dev.crashteam.crm.SendUserAuthCodeResponse.Builder.class);
  }

  public interface SuccessResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:crm.SendUserAuthCodeResponse.SuccessResponse)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code crm.SendUserAuthCodeResponse.SuccessResponse}
   */
  public static final class SuccessResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:crm.SendUserAuthCodeResponse.SuccessResponse)
      SuccessResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SuccessResponse.newBuilder() to construct.
    private SuccessResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private SuccessResponse() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new SuccessResponse();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SuccessResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_SuccessResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_SuccessResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.class, dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.Builder.class);
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse)) {
        return super.equals(obj);
      }
      dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse other = (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) obj;

      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code crm.SendUserAuthCodeResponse.SuccessResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:crm.SendUserAuthCodeResponse.SuccessResponse)
        dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_SuccessResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_SuccessResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.class, dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.Builder.class);
      }

      // Construct using dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_SuccessResponse_descriptor;
      }

      @java.lang.Override
      public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse getDefaultInstanceForType() {
        return dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance();
      }

      @java.lang.Override
      public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse build() {
        dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse buildPartial() {
        dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse result = new dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse(this);
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) {
          return mergeFrom((dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse other) {
        if (other == dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:crm.SendUserAuthCodeResponse.SuccessResponse)
    }

    // @@protoc_insertion_point(class_scope:crm.SendUserAuthCodeResponse.SuccessResponse)
    private static final dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse();
    }

    public static dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public SuccessResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SuccessResponse(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ErrorResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:crm.SendUserAuthCodeResponse.ErrorResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
     * @return The enum numeric value on the wire for errorCode.
     */
    int getErrorCodeValue();
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
     * @return The errorCode.
     */
    dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode getErrorCode();

    /**
     * optional string description = 2;
     * @return Whether the description field is set.
     */
    boolean hasDescription();
    /**
     * optional string description = 2;
     * @return The description.
     */
    java.lang.String getDescription();
    /**
     * optional string description = 2;
     * @return The bytes for description.
     */
    com.google.protobuf.ByteString
        getDescriptionBytes();
  }
  /**
   * Protobuf type {@code crm.SendUserAuthCodeResponse.ErrorResponse}
   */
  public static final class ErrorResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:crm.SendUserAuthCodeResponse.ErrorResponse)
      ErrorResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ErrorResponse.newBuilder() to construct.
    private ErrorResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ErrorResponse() {
      errorCode_ = 0;
      description_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ErrorResponse();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ErrorResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();

              errorCode_ = rawValue;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              description_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_ErrorResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_ErrorResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.class, dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.Builder.class);
    }

    /**
     * Protobuf enum {@code crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode}
     */
    public enum ErrorCode
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * ERROR_CODE_UNKNOWN = 0;
       */
      ERROR_CODE_UNKNOWN(0),
      /**
       * ERROR_CODE_BAD_PARAMS = 1;
       */
      ERROR_CODE_BAD_PARAMS(1),
      /**
       * ERROR_CODE_LIMIT_EXCEEDED = 2;
       */
      ERROR_CODE_LIMIT_EXCEEDED(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * ERROR_CODE_UNKNOWN = 0;
       */
      public static final int ERROR_CODE_UNKNOWN_VALUE = 0;
      /**
       * ERROR_CODE_BAD_PARAMS = 1;
       */
      public static final int ERROR_CODE_BAD_PARAMS_VALUE = 1;
      /**
       * ERROR_CODE_LIMIT_EXCEEDED = 2;
       */
      public static final int ERROR_CODE_LIMIT_EXCEEDED_VALUE = 2;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ErrorCode valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static ErrorCode forNumber(int value) {
        switch (value) {
          case 0: return ERROR_CODE_UNKNOWN;
          case 1: return ERROR_CODE_BAD_PARAMS;
          case 2: return ERROR_CODE_LIMIT_EXCEEDED;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          ErrorCode> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public ErrorCode findValueByNumber(int number) {
                return ErrorCode.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDescriptor().getEnumTypes().get(0);
      }

      private static final ErrorCode[] VALUES = values();

      public static ErrorCode valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private ErrorCode(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode)
    }

    private int bitField0_;
    public static final int ERRORCODE_FIELD_NUMBER = 1;
    private int errorCode_;
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
     * @return The enum numeric value on the wire for errorCode.
     */
    @java.lang.Override public int getErrorCodeValue() {
      return errorCode_;
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
     * @return The errorCode.
     */
    @java.lang.Override public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode getErrorCode() {
      @SuppressWarnings("deprecation")
      dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode result = dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode.valueOf(errorCode_);
      return result == null ? dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode.UNRECOGNIZED : result;
    }

    public static final int DESCRIPTION_FIELD_NUMBER = 2;
    private volatile java.lang.Object description_;
    /**
     * optional string description = 2;
     * @return Whether the description field is set.
     */
    @java.lang.Override
    public boolean hasDescription() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional string description = 2;
     * @return The description.
     */
    @java.lang.Override
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        description_ = s;
        return s;
      }
    }
    /**
     * optional string description = 2;
     * @return The bytes for description.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (errorCode_ != dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode.ERROR_CODE_UNKNOWN.getNumber()) {
        output.writeEnum(1, errorCode_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (errorCode_ != dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode.ERROR_CODE_UNKNOWN.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, errorCode_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse)) {
        return super.equals(obj);
      }
      dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse other = (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) obj;

      if (errorCode_ != other.errorCode_) return false;
      if (hasDescription() != other.hasDescription()) return false;
      if (hasDescription()) {
        if (!getDescription()
            .equals(other.getDescription())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ERRORCODE_FIELD_NUMBER;
      hash = (53 * hash) + errorCode_;
      if (hasDescription()) {
        hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
        hash = (53 * hash) + getDescription().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code crm.SendUserAuthCodeResponse.ErrorResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:crm.SendUserAuthCodeResponse.ErrorResponse)
        dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_ErrorResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_ErrorResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.class, dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.Builder.class);
      }

      // Construct using dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        errorCode_ = 0;

        description_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_ErrorResponse_descriptor;
      }

      @java.lang.Override
      public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse getDefaultInstanceForType() {
        return dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance();
      }

      @java.lang.Override
      public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse build() {
        dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse buildPartial() {
        dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse result = new dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.errorCode_ = errorCode_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.description_ = description_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) {
          return mergeFrom((dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse other) {
        if (other == dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance()) return this;
        if (other.errorCode_ != 0) {
          setErrorCodeValue(other.getErrorCodeValue());
        }
        if (other.hasDescription()) {
          bitField0_ |= 0x00000001;
          description_ = other.description_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int errorCode_ = 0;
      /**
       * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
       * @return The enum numeric value on the wire for errorCode.
       */
      @java.lang.Override public int getErrorCodeValue() {
        return errorCode_;
      }
      /**
       * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
       * @param value The enum numeric value on the wire for errorCode to set.
       * @return This builder for chaining.
       */
      public Builder setErrorCodeValue(int value) {
        
        errorCode_ = value;
        onChanged();
        return this;
      }
      /**
       * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
       * @return The errorCode.
       */
      @java.lang.Override
      public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode getErrorCode() {
        @SuppressWarnings("deprecation")
        dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode result = dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode.valueOf(errorCode_);
        return result == null ? dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode.UNRECOGNIZED : result;
      }
      /**
       * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
       * @param value The errorCode to set.
       * @return This builder for chaining.
       */
      public Builder setErrorCode(dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        errorCode_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .crm.SendUserAuthCodeResponse.ErrorResponse.ErrorCode errorCode = 1;
       * @return This builder for chaining.
       */
      public Builder clearErrorCode() {
        
        errorCode_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object description_ = "";
      /**
       * optional string description = 2;
       * @return Whether the description field is set.
       */
      public boolean hasDescription() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * optional string description = 2;
       * @return The description.
       */
      public java.lang.String getDescription() {
        java.lang.Object ref = description_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          description_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string description = 2;
       * @return The bytes for description.
       */
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        java.lang.Object ref = description_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          description_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string description = 2;
       * @param value The description to set.
       * @return This builder for chaining.
       */
      public Builder setDescription(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        description_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string description = 2;
       * @return This builder for chaining.
       */
      public Builder clearDescription() {
        bitField0_ = (bitField0_ & ~0x00000001);
        description_ = getDefaultInstance().getDescription();
        onChanged();
        return this;
      }
      /**
       * optional string description = 2;
       * @param value The bytes for description to set.
       * @return This builder for chaining.
       */
      public Builder setDescriptionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        bitField0_ |= 0x00000001;
        description_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:crm.SendUserAuthCodeResponse.ErrorResponse)
    }

    // @@protoc_insertion_point(class_scope:crm.SendUserAuthCodeResponse.ErrorResponse)
    private static final dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse();
    }

    public static dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ErrorResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ErrorResponse(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private int responseCase_ = 0;
  private java.lang.Object response_;
  public enum ResponseCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    SUCCESS_RESPONSE(1),
    ERROR_RESPONSE(2),
    RESPONSE_NOT_SET(0);
    private final int value;
    private ResponseCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ResponseCase valueOf(int value) {
      return forNumber(value);
    }

    public static ResponseCase forNumber(int value) {
      switch (value) {
        case 1: return SUCCESS_RESPONSE;
        case 2: return ERROR_RESPONSE;
        case 0: return RESPONSE_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public ResponseCase
  getResponseCase() {
    return ResponseCase.forNumber(
        responseCase_);
  }

  public static final int SUCCESS_RESPONSE_FIELD_NUMBER = 1;
  /**
   * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
   * @return Whether the successResponse field is set.
   */
  @java.lang.Override
  public boolean hasSuccessResponse() {
    return responseCase_ == 1;
  }
  /**
   * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
   * @return The successResponse.
   */
  @java.lang.Override
  public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse getSuccessResponse() {
    if (responseCase_ == 1) {
       return (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_;
    }
    return dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance();
  }
  /**
   * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
   */
  @java.lang.Override
  public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponseOrBuilder getSuccessResponseOrBuilder() {
    if (responseCase_ == 1) {
       return (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_;
    }
    return dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance();
  }

  public static final int ERROR_RESPONSE_FIELD_NUMBER = 2;
  /**
   * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
   * @return Whether the errorResponse field is set.
   */
  @java.lang.Override
  public boolean hasErrorResponse() {
    return responseCase_ == 2;
  }
  /**
   * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
   * @return The errorResponse.
   */
  @java.lang.Override
  public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse getErrorResponse() {
    if (responseCase_ == 2) {
       return (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_;
    }
    return dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance();
  }
  /**
   * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
   */
  @java.lang.Override
  public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponseOrBuilder getErrorResponseOrBuilder() {
    if (responseCase_ == 2) {
       return (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_;
    }
    return dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance();
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (responseCase_ == 1) {
      output.writeMessage(1, (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_);
    }
    if (responseCase_ == 2) {
      output.writeMessage(2, (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_);
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (responseCase_ == 1) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_);
    }
    if (responseCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof dev.crashteam.crm.SendUserAuthCodeResponse)) {
      return super.equals(obj);
    }
    dev.crashteam.crm.SendUserAuthCodeResponse other = (dev.crashteam.crm.SendUserAuthCodeResponse) obj;

    if (!getResponseCase().equals(other.getResponseCase())) return false;
    switch (responseCase_) {
      case 1:
        if (!getSuccessResponse()
            .equals(other.getSuccessResponse())) return false;
        break;
      case 2:
        if (!getErrorResponse()
            .equals(other.getErrorResponse())) return false;
        break;
      case 0:
      default:
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    switch (responseCase_) {
      case 1:
        hash = (37 * hash) + SUCCESS_RESPONSE_FIELD_NUMBER;
        hash = (53 * hash) + getSuccessResponse().hashCode();
        break;
      case 2:
        hash = (37 * hash) + ERROR_RESPONSE_FIELD_NUMBER;
        hash = (53 * hash) + getErrorResponse().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static dev.crashteam.crm.SendUserAuthCodeResponse parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(dev.crashteam.crm.SendUserAuthCodeResponse prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code crm.SendUserAuthCodeResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:crm.SendUserAuthCodeResponse)
      dev.crashteam.crm.SendUserAuthCodeResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              dev.crashteam.crm.SendUserAuthCodeResponse.class, dev.crashteam.crm.SendUserAuthCodeResponse.Builder.class);
    }

    // Construct using dev.crashteam.crm.SendUserAuthCodeResponse.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      responseCase_ = 0;
      response_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return dev.crashteam.crm.CrmProto.internal_static_crm_SendUserAuthCodeResponse_descriptor;
    }

    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse getDefaultInstanceForType() {
      return dev.crashteam.crm.SendUserAuthCodeResponse.getDefaultInstance();
    }

    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse build() {
      dev.crashteam.crm.SendUserAuthCodeResponse result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse buildPartial() {
      dev.crashteam.crm.SendUserAuthCodeResponse result = new dev.crashteam.crm.SendUserAuthCodeResponse(this);
      if (responseCase_ == 1) {
        if (successResponseBuilder_ == null) {
          result.response_ = response_;
        } else {
          result.response_ = successResponseBuilder_.build();
        }
      }
      if (responseCase_ == 2) {
        if (errorResponseBuilder_ == null) {
          result.response_ = response_;
        } else {
          result.response_ = errorResponseBuilder_.build();
        }
      }
      result.responseCase_ = responseCase_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof dev.crashteam.crm.SendUserAuthCodeResponse) {
        return mergeFrom((dev.crashteam.crm.SendUserAuthCodeResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(dev.crashteam.crm.SendUserAuthCodeResponse other) {
      if (other == dev.crashteam.crm.SendUserAuthCodeResponse.getDefaultInstance()) return this;
      switch (other.getResponseCase()) {
        case SUCCESS_RESPONSE: {
          mergeSuccessResponse(other.getSuccessResponse());
          break;
        }
        case ERROR_RESPONSE: {
          mergeErrorResponse(other.getErrorResponse());
          break;
        }
        case RESPONSE_NOT_SET: {
          break;
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      dev.crashteam.crm.SendUserAuthCodeResponse parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (dev.crashteam.crm.SendUserAuthCodeResponse) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int responseCase_ = 0;
    private java.lang.Object response_;
    public ResponseCase
        getResponseCase() {
      return ResponseCase.forNumber(
          responseCase_);
    }

    public Builder clearResponse() {
      responseCase_ = 0;
      response_ = null;
      onChanged();
      return this;
    }


    private com.google.protobuf.SingleFieldBuilderV3<
        dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse, dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.Builder, dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponseOrBuilder> successResponseBuilder_;
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     * @return Whether the successResponse field is set.
     */
    @java.lang.Override
    public boolean hasSuccessResponse() {
      return responseCase_ == 1;
    }
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     * @return The successResponse.
     */
    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse getSuccessResponse() {
      if (successResponseBuilder_ == null) {
        if (responseCase_ == 1) {
          return (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_;
        }
        return dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance();
      } else {
        if (responseCase_ == 1) {
          return successResponseBuilder_.getMessage();
        }
        return dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance();
      }
    }
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     */
    public Builder setSuccessResponse(dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse value) {
      if (successResponseBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        response_ = value;
        onChanged();
      } else {
        successResponseBuilder_.setMessage(value);
      }
      responseCase_ = 1;
      return this;
    }
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     */
    public Builder setSuccessResponse(
        dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.Builder builderForValue) {
      if (successResponseBuilder_ == null) {
        response_ = builderForValue.build();
        onChanged();
      } else {
        successResponseBuilder_.setMessage(builderForValue.build());
      }
      responseCase_ = 1;
      return this;
    }
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     */
    public Builder mergeSuccessResponse(dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse value) {
      if (successResponseBuilder_ == null) {
        if (responseCase_ == 1 &&
            response_ != dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance()) {
          response_ = dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.newBuilder((dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_)
              .mergeFrom(value).buildPartial();
        } else {
          response_ = value;
        }
        onChanged();
      } else {
        if (responseCase_ == 1) {
          successResponseBuilder_.mergeFrom(value);
        }
        successResponseBuilder_.setMessage(value);
      }
      responseCase_ = 1;
      return this;
    }
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     */
    public Builder clearSuccessResponse() {
      if (successResponseBuilder_ == null) {
        if (responseCase_ == 1) {
          responseCase_ = 0;
          response_ = null;
          onChanged();
        }
      } else {
        if (responseCase_ == 1) {
          responseCase_ = 0;
          response_ = null;
        }
        successResponseBuilder_.clear();
      }
      return this;
    }
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     */
    public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.Builder getSuccessResponseBuilder() {
      return getSuccessResponseFieldBuilder().getBuilder();
    }
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     */
    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponseOrBuilder getSuccessResponseOrBuilder() {
      if ((responseCase_ == 1) && (successResponseBuilder_ != null)) {
        return successResponseBuilder_.getMessageOrBuilder();
      } else {
        if (responseCase_ == 1) {
          return (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_;
        }
        return dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance();
      }
    }
    /**
     * .crm.SendUserAuthCodeResponse.SuccessResponse success_response = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse, dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.Builder, dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponseOrBuilder> 
        getSuccessResponseFieldBuilder() {
      if (successResponseBuilder_ == null) {
        if (!(responseCase_ == 1)) {
          response_ = dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.getDefaultInstance();
        }
        successResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse, dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse.Builder, dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponseOrBuilder>(
                (dev.crashteam.crm.SendUserAuthCodeResponse.SuccessResponse) response_,
                getParentForChildren(),
                isClean());
        response_ = null;
      }
      responseCase_ = 1;
      onChanged();;
      return successResponseBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse, dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.Builder, dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponseOrBuilder> errorResponseBuilder_;
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     * @return Whether the errorResponse field is set.
     */
    @java.lang.Override
    public boolean hasErrorResponse() {
      return responseCase_ == 2;
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     * @return The errorResponse.
     */
    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse getErrorResponse() {
      if (errorResponseBuilder_ == null) {
        if (responseCase_ == 2) {
          return (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_;
        }
        return dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance();
      } else {
        if (responseCase_ == 2) {
          return errorResponseBuilder_.getMessage();
        }
        return dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance();
      }
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     */
    public Builder setErrorResponse(dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse value) {
      if (errorResponseBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        response_ = value;
        onChanged();
      } else {
        errorResponseBuilder_.setMessage(value);
      }
      responseCase_ = 2;
      return this;
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     */
    public Builder setErrorResponse(
        dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.Builder builderForValue) {
      if (errorResponseBuilder_ == null) {
        response_ = builderForValue.build();
        onChanged();
      } else {
        errorResponseBuilder_.setMessage(builderForValue.build());
      }
      responseCase_ = 2;
      return this;
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     */
    public Builder mergeErrorResponse(dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse value) {
      if (errorResponseBuilder_ == null) {
        if (responseCase_ == 2 &&
            response_ != dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance()) {
          response_ = dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.newBuilder((dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_)
              .mergeFrom(value).buildPartial();
        } else {
          response_ = value;
        }
        onChanged();
      } else {
        if (responseCase_ == 2) {
          errorResponseBuilder_.mergeFrom(value);
        }
        errorResponseBuilder_.setMessage(value);
      }
      responseCase_ = 2;
      return this;
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     */
    public Builder clearErrorResponse() {
      if (errorResponseBuilder_ == null) {
        if (responseCase_ == 2) {
          responseCase_ = 0;
          response_ = null;
          onChanged();
        }
      } else {
        if (responseCase_ == 2) {
          responseCase_ = 0;
          response_ = null;
        }
        errorResponseBuilder_.clear();
      }
      return this;
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     */
    public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.Builder getErrorResponseBuilder() {
      return getErrorResponseFieldBuilder().getBuilder();
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     */
    @java.lang.Override
    public dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponseOrBuilder getErrorResponseOrBuilder() {
      if ((responseCase_ == 2) && (errorResponseBuilder_ != null)) {
        return errorResponseBuilder_.getMessageOrBuilder();
      } else {
        if (responseCase_ == 2) {
          return (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_;
        }
        return dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance();
      }
    }
    /**
     * .crm.SendUserAuthCodeResponse.ErrorResponse error_response = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse, dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.Builder, dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponseOrBuilder> 
        getErrorResponseFieldBuilder() {
      if (errorResponseBuilder_ == null) {
        if (!(responseCase_ == 2)) {
          response_ = dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.getDefaultInstance();
        }
        errorResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse, dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse.Builder, dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponseOrBuilder>(
                (dev.crashteam.crm.SendUserAuthCodeResponse.ErrorResponse) response_,
                getParentForChildren(),
                isClean());
        response_ = null;
      }
      responseCase_ = 2;
      onChanged();;
      return errorResponseBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:crm.SendUserAuthCodeResponse)
  }

  // @@protoc_insertion_point(class_scope:crm.SendUserAuthCodeResponse)
  private static final dev.crashteam.crm.SendUserAuthCodeResponse DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new dev.crashteam.crm.SendUserAuthCodeResponse();
  }

  public static dev.crashteam.crm.SendUserAuthCodeResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public SendUserAuthCodeResponse parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new SendUserAuthCodeResponse(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public dev.crashteam.crm.SendUserAuthCodeResponse getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy