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

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

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

package dev.crashteam.crm;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private UpdateUserContactInfoRequest(
      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: {
            java.lang.String s = input.readStringRequireUtf8();

            userId_ = s;
            break;
          }
          case 82: {
            dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.Builder subBuilder = null;
            if (payloadCase_ == 10) {
              subBuilder = ((dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_).toBuilder();
            }
            payload_ =
                input.readMessage(dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_);
              payload_ = subBuilder.buildPartial();
            }
            payloadCase_ = 10;
            break;
          }
          case 90: {
            dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.Builder subBuilder = null;
            if (payloadCase_ == 11) {
              subBuilder = ((dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_).toBuilder();
            }
            payload_ =
                input.readMessage(dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_);
              payload_ = subBuilder.buildPartial();
            }
            payloadCase_ = 11;
            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_UpdateUserContactInfoRequest_descriptor;
  }

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

  public interface InitialUpdateContactInfoPayloadOrBuilder extends
      // @@protoc_insertion_point(interface_extends:crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string email = 1;
     * @return The email.
     */
    java.lang.String getEmail();
    /**
     * string email = 1;
     * @return The bytes for email.
     */
    com.google.protobuf.ByteString
        getEmailBytes();

    /**
     * int64 phone_number = 2;
     * @return The phoneNumber.
     */
    long getPhoneNumber();

    /**
     * optional string inn = 3;
     * @return Whether the inn field is set.
     */
    boolean hasInn();
    /**
     * optional string inn = 3;
     * @return The inn.
     */
    java.lang.String getInn();
    /**
     * optional string inn = 3;
     * @return The bytes for inn.
     */
    com.google.protobuf.ByteString
        getInnBytes();
  }
  /**
   * Protobuf type {@code crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload}
   */
  public static final class InitialUpdateContactInfoPayload extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload)
      InitialUpdateContactInfoPayloadOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use InitialUpdateContactInfoPayload.newBuilder() to construct.
    private InitialUpdateContactInfoPayload(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private InitialUpdateContactInfoPayload() {
      email_ = "";
      inn_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private InitialUpdateContactInfoPayload(
        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 10: {
              java.lang.String s = input.readStringRequireUtf8();

              email_ = s;
              break;
            }
            case 16: {

              phoneNumber_ = input.readInt64();
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              inn_ = 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_UpdateUserContactInfoRequest_InitialUpdateContactInfoPayload_descriptor;
    }

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

    private int bitField0_;
    public static final int EMAIL_FIELD_NUMBER = 1;
    private volatile java.lang.Object email_;
    /**
     * string email = 1;
     * @return The email.
     */
    @java.lang.Override
    public java.lang.String getEmail() {
      java.lang.Object ref = email_;
      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();
        email_ = s;
        return s;
      }
    }
    /**
     * string email = 1;
     * @return The bytes for email.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getEmailBytes() {
      java.lang.Object ref = email_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        email_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PHONE_NUMBER_FIELD_NUMBER = 2;
    private long phoneNumber_;
    /**
     * int64 phone_number = 2;
     * @return The phoneNumber.
     */
    @java.lang.Override
    public long getPhoneNumber() {
      return phoneNumber_;
    }

    public static final int INN_FIELD_NUMBER = 3;
    private volatile java.lang.Object inn_;
    /**
     * optional string inn = 3;
     * @return Whether the inn field is set.
     */
    @java.lang.Override
    public boolean hasInn() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional string inn = 3;
     * @return The inn.
     */
    @java.lang.Override
    public java.lang.String getInn() {
      java.lang.Object ref = inn_;
      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();
        inn_ = s;
        return s;
      }
    }
    /**
     * optional string inn = 3;
     * @return The bytes for inn.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getInnBytes() {
      java.lang.Object ref = inn_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        inn_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_);
      }
      if (phoneNumber_ != 0L) {
        output.writeInt64(2, phoneNumber_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inn_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, email_);
      }
      if (phoneNumber_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, phoneNumber_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inn_);
      }
      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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload)) {
        return super.equals(obj);
      }
      dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload other = (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) obj;

      if (!getEmail()
          .equals(other.getEmail())) return false;
      if (getPhoneNumber()
          != other.getPhoneNumber()) return false;
      if (hasInn() != other.hasInn()) return false;
      if (hasInn()) {
        if (!getInn()
            .equals(other.getInn())) 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) + EMAIL_FIELD_NUMBER;
      hash = (53 * hash) + getEmail().hashCode();
      hash = (37 * hash) + PHONE_NUMBER_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getPhoneNumber());
      if (hasInn()) {
        hash = (37 * hash) + INN_FIELD_NUMBER;
        hash = (53 * hash) + getInn().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload)
        dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayloadOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return dev.crashteam.crm.CrmProto.internal_static_crm_UpdateUserContactInfoRequest_InitialUpdateContactInfoPayload_descriptor;
      }

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

      // Construct using dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.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();
        email_ = "";

        phoneNumber_ = 0L;

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

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

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

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

      @java.lang.Override
      public dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload buildPartial() {
        dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload result = new dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.email_ = email_;
        result.phoneNumber_ = phoneNumber_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.inn_ = inn_;
        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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) {
          return mergeFrom((dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload other) {
        if (other == dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.getDefaultInstance()) return this;
        if (!other.getEmail().isEmpty()) {
          email_ = other.email_;
          onChanged();
        }
        if (other.getPhoneNumber() != 0L) {
          setPhoneNumber(other.getPhoneNumber());
        }
        if (other.hasInn()) {
          bitField0_ |= 0x00000001;
          inn_ = other.inn_;
          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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object email_ = "";
      /**
       * string email = 1;
       * @return The email.
       */
      public java.lang.String getEmail() {
        java.lang.Object ref = email_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          email_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string email = 1;
       * @return The bytes for email.
       */
      public com.google.protobuf.ByteString
          getEmailBytes() {
        java.lang.Object ref = email_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          email_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string email = 1;
       * @param value The email to set.
       * @return This builder for chaining.
       */
      public Builder setEmail(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        email_ = value;
        onChanged();
        return this;
      }
      /**
       * string email = 1;
       * @return This builder for chaining.
       */
      public Builder clearEmail() {
        
        email_ = getDefaultInstance().getEmail();
        onChanged();
        return this;
      }
      /**
       * string email = 1;
       * @param value The bytes for email to set.
       * @return This builder for chaining.
       */
      public Builder setEmailBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        email_ = value;
        onChanged();
        return this;
      }

      private long phoneNumber_ ;
      /**
       * int64 phone_number = 2;
       * @return The phoneNumber.
       */
      @java.lang.Override
      public long getPhoneNumber() {
        return phoneNumber_;
      }
      /**
       * int64 phone_number = 2;
       * @param value The phoneNumber to set.
       * @return This builder for chaining.
       */
      public Builder setPhoneNumber(long value) {
        
        phoneNumber_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 phone_number = 2;
       * @return This builder for chaining.
       */
      public Builder clearPhoneNumber() {
        
        phoneNumber_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object inn_ = "";
      /**
       * optional string inn = 3;
       * @return Whether the inn field is set.
       */
      public boolean hasInn() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * optional string inn = 3;
       * @return The inn.
       */
      public java.lang.String getInn() {
        java.lang.Object ref = inn_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          inn_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string inn = 3;
       * @return The bytes for inn.
       */
      public com.google.protobuf.ByteString
          getInnBytes() {
        java.lang.Object ref = inn_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          inn_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string inn = 3;
       * @param value The inn to set.
       * @return This builder for chaining.
       */
      public Builder setInn(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        inn_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string inn = 3;
       * @return This builder for chaining.
       */
      public Builder clearInn() {
        bitField0_ = (bitField0_ & ~0x00000001);
        inn_ = getDefaultInstance().getInn();
        onChanged();
        return this;
      }
      /**
       * optional string inn = 3;
       * @param value The bytes for inn to set.
       * @return This builder for chaining.
       */
      public Builder setInnBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        bitField0_ |= 0x00000001;
        inn_ = 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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload)
    }

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

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

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public InitialUpdateContactInfoPayload parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new InitialUpdateContactInfoPayload(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.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ApproveUpdateContactInfoPayloadOrBuilder extends
      // @@protoc_insertion_point(interface_extends:crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string approve_code = 1;
     * @return The approveCode.
     */
    java.lang.String getApproveCode();
    /**
     * string approve_code = 1;
     * @return The bytes for approveCode.
     */
    com.google.protobuf.ByteString
        getApproveCodeBytes();
  }
  /**
   * Protobuf type {@code crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload}
   */
  public static final class ApproveUpdateContactInfoPayload extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload)
      ApproveUpdateContactInfoPayloadOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ApproveUpdateContactInfoPayload.newBuilder() to construct.
    private ApproveUpdateContactInfoPayload(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ApproveUpdateContactInfoPayload() {
      approveCode_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ApproveUpdateContactInfoPayload(
        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: {
              java.lang.String s = input.readStringRequireUtf8();

              approveCode_ = 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_UpdateUserContactInfoRequest_ApproveUpdateContactInfoPayload_descriptor;
    }

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

    public static final int APPROVE_CODE_FIELD_NUMBER = 1;
    private volatile java.lang.Object approveCode_;
    /**
     * string approve_code = 1;
     * @return The approveCode.
     */
    @java.lang.Override
    public java.lang.String getApproveCode() {
      java.lang.Object ref = approveCode_;
      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();
        approveCode_ = s;
        return s;
      }
    }
    /**
     * string approve_code = 1;
     * @return The bytes for approveCode.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getApproveCodeBytes() {
      java.lang.Object ref = approveCode_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        approveCode_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(approveCode_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, approveCode_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(approveCode_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, approveCode_);
      }
      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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload)) {
        return super.equals(obj);
      }
      dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload other = (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) obj;

      if (!getApproveCode()
          .equals(other.getApproveCode())) 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) + APPROVE_CODE_FIELD_NUMBER;
      hash = (53 * hash) + getApproveCode().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload 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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload)
        dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayloadOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return dev.crashteam.crm.CrmProto.internal_static_crm_UpdateUserContactInfoRequest_ApproveUpdateContactInfoPayload_descriptor;
      }

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

      // Construct using dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.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();
        approveCode_ = "";

        return this;
      }

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

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

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

      @java.lang.Override
      public dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload buildPartial() {
        dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload result = new dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload(this);
        result.approveCode_ = approveCode_;
        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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) {
          return mergeFrom((dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload other) {
        if (other == dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.getDefaultInstance()) return this;
        if (!other.getApproveCode().isEmpty()) {
          approveCode_ = other.approveCode_;
          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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object approveCode_ = "";
      /**
       * string approve_code = 1;
       * @return The approveCode.
       */
      public java.lang.String getApproveCode() {
        java.lang.Object ref = approveCode_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          approveCode_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string approve_code = 1;
       * @return The bytes for approveCode.
       */
      public com.google.protobuf.ByteString
          getApproveCodeBytes() {
        java.lang.Object ref = approveCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          approveCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string approve_code = 1;
       * @param value The approveCode to set.
       * @return This builder for chaining.
       */
      public Builder setApproveCode(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        approveCode_ = value;
        onChanged();
        return this;
      }
      /**
       * string approve_code = 1;
       * @return This builder for chaining.
       */
      public Builder clearApproveCode() {
        
        approveCode_ = getDefaultInstance().getApproveCode();
        onChanged();
        return this;
      }
      /**
       * string approve_code = 1;
       * @param value The bytes for approveCode to set.
       * @return This builder for chaining.
       */
      public Builder setApproveCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        approveCode_ = 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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload)
    }

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

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

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ApproveUpdateContactInfoPayload parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ApproveUpdateContactInfoPayload(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.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private int payloadCase_ = 0;
  private java.lang.Object payload_;
  public enum PayloadCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    INITIAL_UPDATE_CONTACT_INFO_PAYLOAD(10),
    APPROVE_UPDATE_CONTACT_INFO_PAYLOAD(11),
    PAYLOAD_NOT_SET(0);
    private final int value;
    private PayloadCase(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 PayloadCase valueOf(int value) {
      return forNumber(value);
    }

    public static PayloadCase forNumber(int value) {
      switch (value) {
        case 10: return INITIAL_UPDATE_CONTACT_INFO_PAYLOAD;
        case 11: return APPROVE_UPDATE_CONTACT_INFO_PAYLOAD;
        case 0: return PAYLOAD_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public PayloadCase
  getPayloadCase() {
    return PayloadCase.forNumber(
        payloadCase_);
  }

  public static final int USER_ID_FIELD_NUMBER = 1;
  private volatile java.lang.Object userId_;
  /**
   * string user_id = 1;
   * @return The userId.
   */
  @java.lang.Override
  public java.lang.String getUserId() {
    java.lang.Object ref = userId_;
    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();
      userId_ = s;
      return s;
    }
  }
  /**
   * string user_id = 1;
   * @return The bytes for userId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUserIdBytes() {
    java.lang.Object ref = userId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      userId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INITIAL_UPDATE_CONTACT_INFO_PAYLOAD_FIELD_NUMBER = 10;
  /**
   * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
   * @return Whether the initialUpdateContactInfoPayload field is set.
   */
  @java.lang.Override
  public boolean hasInitialUpdateContactInfoPayload() {
    return payloadCase_ == 10;
  }
  /**
   * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
   * @return The initialUpdateContactInfoPayload.
   */
  @java.lang.Override
  public dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload getInitialUpdateContactInfoPayload() {
    if (payloadCase_ == 10) {
       return (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_;
    }
    return dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.getDefaultInstance();
  }
  /**
   * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
   */
  @java.lang.Override
  public dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayloadOrBuilder getInitialUpdateContactInfoPayloadOrBuilder() {
    if (payloadCase_ == 10) {
       return (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_;
    }
    return dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.getDefaultInstance();
  }

  public static final int APPROVE_UPDATE_CONTACT_INFO_PAYLOAD_FIELD_NUMBER = 11;
  /**
   * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
   * @return Whether the approveUpdateContactInfoPayload field is set.
   */
  @java.lang.Override
  public boolean hasApproveUpdateContactInfoPayload() {
    return payloadCase_ == 11;
  }
  /**
   * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
   * @return The approveUpdateContactInfoPayload.
   */
  @java.lang.Override
  public dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload getApproveUpdateContactInfoPayload() {
    if (payloadCase_ == 11) {
       return (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_;
    }
    return dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.getDefaultInstance();
  }
  /**
   * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
   */
  @java.lang.Override
  public dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayloadOrBuilder getApproveUpdateContactInfoPayloadOrBuilder() {
    if (payloadCase_ == 11) {
       return (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_;
    }
    return dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userId_);
    }
    if (payloadCase_ == 10) {
      output.writeMessage(10, (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_);
    }
    if (payloadCase_ == 11) {
      output.writeMessage(11, (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userId_);
    }
    if (payloadCase_ == 10) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(10, (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_);
    }
    if (payloadCase_ == 11) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(11, (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_);
    }
    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.UpdateUserContactInfoRequest)) {
      return super.equals(obj);
    }
    dev.crashteam.crm.UpdateUserContactInfoRequest other = (dev.crashteam.crm.UpdateUserContactInfoRequest) obj;

    if (!getUserId()
        .equals(other.getUserId())) return false;
    if (!getPayloadCase().equals(other.getPayloadCase())) return false;
    switch (payloadCase_) {
      case 10:
        if (!getInitialUpdateContactInfoPayload()
            .equals(other.getInitialUpdateContactInfoPayload())) return false;
        break;
      case 11:
        if (!getApproveUpdateContactInfoPayload()
            .equals(other.getApproveUpdateContactInfoPayload())) 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();
    hash = (37 * hash) + USER_ID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId().hashCode();
    switch (payloadCase_) {
      case 10:
        hash = (37 * hash) + INITIAL_UPDATE_CONTACT_INFO_PAYLOAD_FIELD_NUMBER;
        hash = (53 * hash) + getInitialUpdateContactInfoPayload().hashCode();
        break;
      case 11:
        hash = (37 * hash) + APPROVE_UPDATE_CONTACT_INFO_PAYLOAD_FIELD_NUMBER;
        hash = (53 * hash) + getApproveUpdateContactInfoPayload().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static dev.crashteam.crm.UpdateUserContactInfoRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static dev.crashteam.crm.UpdateUserContactInfoRequest 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.UpdateUserContactInfoRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static dev.crashteam.crm.UpdateUserContactInfoRequest 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.UpdateUserContactInfoRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static dev.crashteam.crm.UpdateUserContactInfoRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static dev.crashteam.crm.UpdateUserContactInfoRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static dev.crashteam.crm.UpdateUserContactInfoRequest 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.UpdateUserContactInfoRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static dev.crashteam.crm.UpdateUserContactInfoRequest 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.UpdateUserContactInfoRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static dev.crashteam.crm.UpdateUserContactInfoRequest 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.UpdateUserContactInfoRequest 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.UpdateUserContactInfoRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:crm.UpdateUserContactInfoRequest)
      dev.crashteam.crm.UpdateUserContactInfoRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return dev.crashteam.crm.CrmProto.internal_static_crm_UpdateUserContactInfoRequest_descriptor;
    }

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

    // Construct using dev.crashteam.crm.UpdateUserContactInfoRequest.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();
      userId_ = "";

      payloadCase_ = 0;
      payload_ = null;
      return this;
    }

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

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

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

    @java.lang.Override
    public dev.crashteam.crm.UpdateUserContactInfoRequest buildPartial() {
      dev.crashteam.crm.UpdateUserContactInfoRequest result = new dev.crashteam.crm.UpdateUserContactInfoRequest(this);
      result.userId_ = userId_;
      if (payloadCase_ == 10) {
        if (initialUpdateContactInfoPayloadBuilder_ == null) {
          result.payload_ = payload_;
        } else {
          result.payload_ = initialUpdateContactInfoPayloadBuilder_.build();
        }
      }
      if (payloadCase_ == 11) {
        if (approveUpdateContactInfoPayloadBuilder_ == null) {
          result.payload_ = payload_;
        } else {
          result.payload_ = approveUpdateContactInfoPayloadBuilder_.build();
        }
      }
      result.payloadCase_ = payloadCase_;
      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.UpdateUserContactInfoRequest) {
        return mergeFrom((dev.crashteam.crm.UpdateUserContactInfoRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(dev.crashteam.crm.UpdateUserContactInfoRequest other) {
      if (other == dev.crashteam.crm.UpdateUserContactInfoRequest.getDefaultInstance()) return this;
      if (!other.getUserId().isEmpty()) {
        userId_ = other.userId_;
        onChanged();
      }
      switch (other.getPayloadCase()) {
        case INITIAL_UPDATE_CONTACT_INFO_PAYLOAD: {
          mergeInitialUpdateContactInfoPayload(other.getInitialUpdateContactInfoPayload());
          break;
        }
        case APPROVE_UPDATE_CONTACT_INFO_PAYLOAD: {
          mergeApproveUpdateContactInfoPayload(other.getApproveUpdateContactInfoPayload());
          break;
        }
        case PAYLOAD_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.UpdateUserContactInfoRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (dev.crashteam.crm.UpdateUserContactInfoRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int payloadCase_ = 0;
    private java.lang.Object payload_;
    public PayloadCase
        getPayloadCase() {
      return PayloadCase.forNumber(
          payloadCase_);
    }

    public Builder clearPayload() {
      payloadCase_ = 0;
      payload_ = null;
      onChanged();
      return this;
    }


    private java.lang.Object userId_ = "";
    /**
     * string user_id = 1;
     * @return The userId.
     */
    public java.lang.String getUserId() {
      java.lang.Object ref = userId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        userId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string user_id = 1;
     * @return The bytes for userId.
     */
    public com.google.protobuf.ByteString
        getUserIdBytes() {
      java.lang.Object ref = userId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        userId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string user_id = 1;
     * @param value The userId to set.
     * @return This builder for chaining.
     */
    public Builder setUserId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      userId_ = value;
      onChanged();
      return this;
    }
    /**
     * string user_id = 1;
     * @return This builder for chaining.
     */
    public Builder clearUserId() {
      
      userId_ = getDefaultInstance().getUserId();
      onChanged();
      return this;
    }
    /**
     * string user_id = 1;
     * @param value The bytes for userId to set.
     * @return This builder for chaining.
     */
    public Builder setUserIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      userId_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload, dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.Builder, dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayloadOrBuilder> initialUpdateContactInfoPayloadBuilder_;
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     * @return Whether the initialUpdateContactInfoPayload field is set.
     */
    @java.lang.Override
    public boolean hasInitialUpdateContactInfoPayload() {
      return payloadCase_ == 10;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     * @return The initialUpdateContactInfoPayload.
     */
    @java.lang.Override
    public dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload getInitialUpdateContactInfoPayload() {
      if (initialUpdateContactInfoPayloadBuilder_ == null) {
        if (payloadCase_ == 10) {
          return (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_;
        }
        return dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.getDefaultInstance();
      } else {
        if (payloadCase_ == 10) {
          return initialUpdateContactInfoPayloadBuilder_.getMessage();
        }
        return dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.getDefaultInstance();
      }
    }
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     */
    public Builder setInitialUpdateContactInfoPayload(dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload value) {
      if (initialUpdateContactInfoPayloadBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        payload_ = value;
        onChanged();
      } else {
        initialUpdateContactInfoPayloadBuilder_.setMessage(value);
      }
      payloadCase_ = 10;
      return this;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     */
    public Builder setInitialUpdateContactInfoPayload(
        dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.Builder builderForValue) {
      if (initialUpdateContactInfoPayloadBuilder_ == null) {
        payload_ = builderForValue.build();
        onChanged();
      } else {
        initialUpdateContactInfoPayloadBuilder_.setMessage(builderForValue.build());
      }
      payloadCase_ = 10;
      return this;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     */
    public Builder mergeInitialUpdateContactInfoPayload(dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload value) {
      if (initialUpdateContactInfoPayloadBuilder_ == null) {
        if (payloadCase_ == 10 &&
            payload_ != dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.getDefaultInstance()) {
          payload_ = dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.newBuilder((dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_)
              .mergeFrom(value).buildPartial();
        } else {
          payload_ = value;
        }
        onChanged();
      } else {
        if (payloadCase_ == 10) {
          initialUpdateContactInfoPayloadBuilder_.mergeFrom(value);
        }
        initialUpdateContactInfoPayloadBuilder_.setMessage(value);
      }
      payloadCase_ = 10;
      return this;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     */
    public Builder clearInitialUpdateContactInfoPayload() {
      if (initialUpdateContactInfoPayloadBuilder_ == null) {
        if (payloadCase_ == 10) {
          payloadCase_ = 0;
          payload_ = null;
          onChanged();
        }
      } else {
        if (payloadCase_ == 10) {
          payloadCase_ = 0;
          payload_ = null;
        }
        initialUpdateContactInfoPayloadBuilder_.clear();
      }
      return this;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     */
    public dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.Builder getInitialUpdateContactInfoPayloadBuilder() {
      return getInitialUpdateContactInfoPayloadFieldBuilder().getBuilder();
    }
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     */
    @java.lang.Override
    public dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayloadOrBuilder getInitialUpdateContactInfoPayloadOrBuilder() {
      if ((payloadCase_ == 10) && (initialUpdateContactInfoPayloadBuilder_ != null)) {
        return initialUpdateContactInfoPayloadBuilder_.getMessageOrBuilder();
      } else {
        if (payloadCase_ == 10) {
          return (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_;
        }
        return dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.getDefaultInstance();
      }
    }
    /**
     * .crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload initial_update_contact_info_payload = 10;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload, dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.Builder, dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayloadOrBuilder> 
        getInitialUpdateContactInfoPayloadFieldBuilder() {
      if (initialUpdateContactInfoPayloadBuilder_ == null) {
        if (!(payloadCase_ == 10)) {
          payload_ = dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.getDefaultInstance();
        }
        initialUpdateContactInfoPayloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload, dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload.Builder, dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayloadOrBuilder>(
                (dev.crashteam.crm.UpdateUserContactInfoRequest.InitialUpdateContactInfoPayload) payload_,
                getParentForChildren(),
                isClean());
        payload_ = null;
      }
      payloadCase_ = 10;
      onChanged();;
      return initialUpdateContactInfoPayloadBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload, dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.Builder, dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayloadOrBuilder> approveUpdateContactInfoPayloadBuilder_;
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     * @return Whether the approveUpdateContactInfoPayload field is set.
     */
    @java.lang.Override
    public boolean hasApproveUpdateContactInfoPayload() {
      return payloadCase_ == 11;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     * @return The approveUpdateContactInfoPayload.
     */
    @java.lang.Override
    public dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload getApproveUpdateContactInfoPayload() {
      if (approveUpdateContactInfoPayloadBuilder_ == null) {
        if (payloadCase_ == 11) {
          return (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_;
        }
        return dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.getDefaultInstance();
      } else {
        if (payloadCase_ == 11) {
          return approveUpdateContactInfoPayloadBuilder_.getMessage();
        }
        return dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.getDefaultInstance();
      }
    }
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     */
    public Builder setApproveUpdateContactInfoPayload(dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload value) {
      if (approveUpdateContactInfoPayloadBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        payload_ = value;
        onChanged();
      } else {
        approveUpdateContactInfoPayloadBuilder_.setMessage(value);
      }
      payloadCase_ = 11;
      return this;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     */
    public Builder setApproveUpdateContactInfoPayload(
        dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.Builder builderForValue) {
      if (approveUpdateContactInfoPayloadBuilder_ == null) {
        payload_ = builderForValue.build();
        onChanged();
      } else {
        approveUpdateContactInfoPayloadBuilder_.setMessage(builderForValue.build());
      }
      payloadCase_ = 11;
      return this;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     */
    public Builder mergeApproveUpdateContactInfoPayload(dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload value) {
      if (approveUpdateContactInfoPayloadBuilder_ == null) {
        if (payloadCase_ == 11 &&
            payload_ != dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.getDefaultInstance()) {
          payload_ = dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.newBuilder((dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_)
              .mergeFrom(value).buildPartial();
        } else {
          payload_ = value;
        }
        onChanged();
      } else {
        if (payloadCase_ == 11) {
          approveUpdateContactInfoPayloadBuilder_.mergeFrom(value);
        }
        approveUpdateContactInfoPayloadBuilder_.setMessage(value);
      }
      payloadCase_ = 11;
      return this;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     */
    public Builder clearApproveUpdateContactInfoPayload() {
      if (approveUpdateContactInfoPayloadBuilder_ == null) {
        if (payloadCase_ == 11) {
          payloadCase_ = 0;
          payload_ = null;
          onChanged();
        }
      } else {
        if (payloadCase_ == 11) {
          payloadCase_ = 0;
          payload_ = null;
        }
        approveUpdateContactInfoPayloadBuilder_.clear();
      }
      return this;
    }
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     */
    public dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.Builder getApproveUpdateContactInfoPayloadBuilder() {
      return getApproveUpdateContactInfoPayloadFieldBuilder().getBuilder();
    }
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     */
    @java.lang.Override
    public dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayloadOrBuilder getApproveUpdateContactInfoPayloadOrBuilder() {
      if ((payloadCase_ == 11) && (approveUpdateContactInfoPayloadBuilder_ != null)) {
        return approveUpdateContactInfoPayloadBuilder_.getMessageOrBuilder();
      } else {
        if (payloadCase_ == 11) {
          return (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_;
        }
        return dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.getDefaultInstance();
      }
    }
    /**
     * .crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload approve_update_contact_info_payload = 11;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload, dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.Builder, dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayloadOrBuilder> 
        getApproveUpdateContactInfoPayloadFieldBuilder() {
      if (approveUpdateContactInfoPayloadBuilder_ == null) {
        if (!(payloadCase_ == 11)) {
          payload_ = dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.getDefaultInstance();
        }
        approveUpdateContactInfoPayloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload, dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload.Builder, dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayloadOrBuilder>(
                (dev.crashteam.crm.UpdateUserContactInfoRequest.ApproveUpdateContactInfoPayload) payload_,
                getParentForChildren(),
                isClean());
        payload_ = null;
      }
      payloadCase_ = 11;
      onChanged();;
      return approveUpdateContactInfoPayloadBuilder_;
    }
    @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.UpdateUserContactInfoRequest)
  }

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

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

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public UpdateUserContactInfoRequest parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new UpdateUserContactInfoRequest(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.UpdateUserContactInfoRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy