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

com.passkit.grpc.User Maven / Gradle / Ivy

Go to download

SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.

There is a newer version: 1.1.97
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: io/user/user.proto

package com.passkit.grpc;

public final class User {
  private User() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface NewUserResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.NewUserResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string userId = 1;
     * @return The userId.
     */
    java.lang.String getUserId();
    /**
     * string userId = 1;
     * @return The bytes for userId.
     */
    com.google.protobuf.ByteString
        getUserIdBytes();

    /**
     * string companyId = 2;
     * @return The companyId.
     */
    java.lang.String getCompanyId();
    /**
     * string companyId = 2;
     * @return The bytes for companyId.
     */
    com.google.protobuf.ByteString
        getCompanyIdBytes();

    /**
     * string username = 3;
     * @return The username.
     */
    java.lang.String getUsername();
    /**
     * string username = 3;
     * @return The bytes for username.
     */
    com.google.protobuf.ByteString
        getUsernameBytes();

    /**
     * string emailAddress = 4;
     * @return The emailAddress.
     */
    java.lang.String getEmailAddress();
    /**
     * string emailAddress = 4;
     * @return The bytes for emailAddress.
     */
    com.google.protobuf.ByteString
        getEmailAddressBytes();

    /**
     * string secret = 5;
     * @return The secret.
     */
    java.lang.String getSecret();
    /**
     * string secret = 5;
     * @return The bytes for secret.
     */
    com.google.protobuf.ByteString
        getSecretBytes();

    /**
     * string certificate = 6;
     * @return The certificate.
     */
    java.lang.String getCertificate();
    /**
     * string certificate = 6;
     * @return The bytes for certificate.
     */
    com.google.protobuf.ByteString
        getCertificateBytes();

    /**
     * string privateKey = 7;
     * @return The privateKey.
     */
    java.lang.String getPrivateKey();
    /**
     * string privateKey = 7;
     * @return The bytes for privateKey.
     */
    com.google.protobuf.ByteString
        getPrivateKeyBytes();

    /**
     * string javaPrivateKey = 8;
     * @return The javaPrivateKey.
     */
    java.lang.String getJavaPrivateKey();
    /**
     * string javaPrivateKey = 8;
     * @return The bytes for javaPrivateKey.
     */
    com.google.protobuf.ByteString
        getJavaPrivateKeyBytes();
  }
  /**
   * Protobuf type {@code io.NewUserResponse}
   */
  public static final class NewUserResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:io.NewUserResponse)
      NewUserResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use NewUserResponse.newBuilder() to construct.
    private NewUserResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private NewUserResponse() {
      userId_ = "";
      companyId_ = "";
      username_ = "";
      emailAddress_ = "";
      secret_ = "";
      certificate_ = "";
      privateKey_ = "";
      javaPrivateKey_ = "";
    }

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

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

              companyId_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              username_ = s;
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              emailAddress_ = s;
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();

              secret_ = s;
              break;
            }
            case 50: {
              java.lang.String s = input.readStringRequireUtf8();

              certificate_ = s;
              break;
            }
            case 58: {
              java.lang.String s = input.readStringRequireUtf8();

              privateKey_ = s;
              break;
            }
            case 66: {
              java.lang.String s = input.readStringRequireUtf8();

              javaPrivateKey_ = 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 com.passkit.grpc.User.internal_static_io_NewUserResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.passkit.grpc.User.internal_static_io_NewUserResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.passkit.grpc.User.NewUserResponse.class, com.passkit.grpc.User.NewUserResponse.Builder.class);
    }

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

    public static final int USERNAME_FIELD_NUMBER = 3;
    private volatile java.lang.Object username_;
    /**
     * string username = 3;
     * @return The username.
     */
    @java.lang.Override
    public java.lang.String getUsername() {
      java.lang.Object ref = username_;
      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();
        username_ = s;
        return s;
      }
    }
    /**
     * string username = 3;
     * @return The bytes for username.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUsernameBytes() {
      java.lang.Object ref = username_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        username_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int EMAILADDRESS_FIELD_NUMBER = 4;
    private volatile java.lang.Object emailAddress_;
    /**
     * string emailAddress = 4;
     * @return The emailAddress.
     */
    @java.lang.Override
    public java.lang.String getEmailAddress() {
      java.lang.Object ref = emailAddress_;
      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();
        emailAddress_ = s;
        return s;
      }
    }
    /**
     * string emailAddress = 4;
     * @return The bytes for emailAddress.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getEmailAddressBytes() {
      java.lang.Object ref = emailAddress_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        emailAddress_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SECRET_FIELD_NUMBER = 5;
    private volatile java.lang.Object secret_;
    /**
     * string secret = 5;
     * @return The secret.
     */
    @java.lang.Override
    public java.lang.String getSecret() {
      java.lang.Object ref = secret_;
      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();
        secret_ = s;
        return s;
      }
    }
    /**
     * string secret = 5;
     * @return The bytes for secret.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getSecretBytes() {
      java.lang.Object ref = secret_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        secret_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CERTIFICATE_FIELD_NUMBER = 6;
    private volatile java.lang.Object certificate_;
    /**
     * string certificate = 6;
     * @return The certificate.
     */
    @java.lang.Override
    public java.lang.String getCertificate() {
      java.lang.Object ref = certificate_;
      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();
        certificate_ = s;
        return s;
      }
    }
    /**
     * string certificate = 6;
     * @return The bytes for certificate.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getCertificateBytes() {
      java.lang.Object ref = certificate_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        certificate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PRIVATEKEY_FIELD_NUMBER = 7;
    private volatile java.lang.Object privateKey_;
    /**
     * string privateKey = 7;
     * @return The privateKey.
     */
    @java.lang.Override
    public java.lang.String getPrivateKey() {
      java.lang.Object ref = privateKey_;
      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();
        privateKey_ = s;
        return s;
      }
    }
    /**
     * string privateKey = 7;
     * @return The bytes for privateKey.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPrivateKeyBytes() {
      java.lang.Object ref = privateKey_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        privateKey_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int JAVAPRIVATEKEY_FIELD_NUMBER = 8;
    private volatile java.lang.Object javaPrivateKey_;
    /**
     * string javaPrivateKey = 8;
     * @return The javaPrivateKey.
     */
    @java.lang.Override
    public java.lang.String getJavaPrivateKey() {
      java.lang.Object ref = javaPrivateKey_;
      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();
        javaPrivateKey_ = s;
        return s;
      }
    }
    /**
     * string javaPrivateKey = 8;
     * @return The bytes for javaPrivateKey.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getJavaPrivateKeyBytes() {
      java.lang.Object ref = javaPrivateKey_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        javaPrivateKey_ = 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 (!getUserIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userId_);
      }
      if (!getCompanyIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, companyId_);
      }
      if (!getUsernameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, username_);
      }
      if (!getEmailAddressBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, emailAddress_);
      }
      if (!getSecretBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, secret_);
      }
      if (!getCertificateBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, certificate_);
      }
      if (!getPrivateKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, privateKey_);
      }
      if (!getJavaPrivateKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, javaPrivateKey_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getUserIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userId_);
      }
      if (!getCompanyIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, companyId_);
      }
      if (!getUsernameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_);
      }
      if (!getEmailAddressBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, emailAddress_);
      }
      if (!getSecretBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, secret_);
      }
      if (!getCertificateBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, certificate_);
      }
      if (!getPrivateKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, privateKey_);
      }
      if (!getJavaPrivateKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, javaPrivateKey_);
      }
      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 com.passkit.grpc.User.NewUserResponse)) {
        return super.equals(obj);
      }
      com.passkit.grpc.User.NewUserResponse other = (com.passkit.grpc.User.NewUserResponse) obj;

      if (!getUserId()
          .equals(other.getUserId())) return false;
      if (!getCompanyId()
          .equals(other.getCompanyId())) return false;
      if (!getUsername()
          .equals(other.getUsername())) return false;
      if (!getEmailAddress()
          .equals(other.getEmailAddress())) return false;
      if (!getSecret()
          .equals(other.getSecret())) return false;
      if (!getCertificate()
          .equals(other.getCertificate())) return false;
      if (!getPrivateKey()
          .equals(other.getPrivateKey())) return false;
      if (!getJavaPrivateKey()
          .equals(other.getJavaPrivateKey())) 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) + USERID_FIELD_NUMBER;
      hash = (53 * hash) + getUserId().hashCode();
      hash = (37 * hash) + COMPANYID_FIELD_NUMBER;
      hash = (53 * hash) + getCompanyId().hashCode();
      hash = (37 * hash) + USERNAME_FIELD_NUMBER;
      hash = (53 * hash) + getUsername().hashCode();
      hash = (37 * hash) + EMAILADDRESS_FIELD_NUMBER;
      hash = (53 * hash) + getEmailAddress().hashCode();
      hash = (37 * hash) + SECRET_FIELD_NUMBER;
      hash = (53 * hash) + getSecret().hashCode();
      hash = (37 * hash) + CERTIFICATE_FIELD_NUMBER;
      hash = (53 * hash) + getCertificate().hashCode();
      hash = (37 * hash) + PRIVATEKEY_FIELD_NUMBER;
      hash = (53 * hash) + getPrivateKey().hashCode();
      hash = (37 * hash) + JAVAPRIVATEKEY_FIELD_NUMBER;
      hash = (53 * hash) + getJavaPrivateKey().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.passkit.grpc.User.internal_static_io_NewUserResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.passkit.grpc.User.NewUserResponse.class, com.passkit.grpc.User.NewUserResponse.Builder.class);
      }

      // Construct using com.passkit.grpc.User.NewUserResponse.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_ = "";

        companyId_ = "";

        username_ = "";

        emailAddress_ = "";

        secret_ = "";

        certificate_ = "";

        privateKey_ = "";

        javaPrivateKey_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.passkit.grpc.User.internal_static_io_NewUserResponse_descriptor;
      }

      @java.lang.Override
      public com.passkit.grpc.User.NewUserResponse getDefaultInstanceForType() {
        return com.passkit.grpc.User.NewUserResponse.getDefaultInstance();
      }

      @java.lang.Override
      public com.passkit.grpc.User.NewUserResponse build() {
        com.passkit.grpc.User.NewUserResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.passkit.grpc.User.NewUserResponse buildPartial() {
        com.passkit.grpc.User.NewUserResponse result = new com.passkit.grpc.User.NewUserResponse(this);
        result.userId_ = userId_;
        result.companyId_ = companyId_;
        result.username_ = username_;
        result.emailAddress_ = emailAddress_;
        result.secret_ = secret_;
        result.certificate_ = certificate_;
        result.privateKey_ = privateKey_;
        result.javaPrivateKey_ = javaPrivateKey_;
        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 com.passkit.grpc.User.NewUserResponse) {
          return mergeFrom((com.passkit.grpc.User.NewUserResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.passkit.grpc.User.NewUserResponse other) {
        if (other == com.passkit.grpc.User.NewUserResponse.getDefaultInstance()) return this;
        if (!other.getUserId().isEmpty()) {
          userId_ = other.userId_;
          onChanged();
        }
        if (!other.getCompanyId().isEmpty()) {
          companyId_ = other.companyId_;
          onChanged();
        }
        if (!other.getUsername().isEmpty()) {
          username_ = other.username_;
          onChanged();
        }
        if (!other.getEmailAddress().isEmpty()) {
          emailAddress_ = other.emailAddress_;
          onChanged();
        }
        if (!other.getSecret().isEmpty()) {
          secret_ = other.secret_;
          onChanged();
        }
        if (!other.getCertificate().isEmpty()) {
          certificate_ = other.certificate_;
          onChanged();
        }
        if (!other.getPrivateKey().isEmpty()) {
          privateKey_ = other.privateKey_;
          onChanged();
        }
        if (!other.getJavaPrivateKey().isEmpty()) {
          javaPrivateKey_ = other.javaPrivateKey_;
          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 {
        com.passkit.grpc.User.NewUserResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.passkit.grpc.User.NewUserResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object userId_ = "";
      /**
       * string userId = 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 userId = 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 userId = 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 userId = 1;
       * @return This builder for chaining.
       */
      public Builder clearUserId() {
        
        userId_ = getDefaultInstance().getUserId();
        onChanged();
        return this;
      }
      /**
       * string userId = 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 java.lang.Object companyId_ = "";
      /**
       * string companyId = 2;
       * @return The companyId.
       */
      public java.lang.String getCompanyId() {
        java.lang.Object ref = companyId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          companyId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string companyId = 2;
       * @return The bytes for companyId.
       */
      public com.google.protobuf.ByteString
          getCompanyIdBytes() {
        java.lang.Object ref = companyId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          companyId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string companyId = 2;
       * @param value The companyId to set.
       * @return This builder for chaining.
       */
      public Builder setCompanyId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        companyId_ = value;
        onChanged();
        return this;
      }
      /**
       * string companyId = 2;
       * @return This builder for chaining.
       */
      public Builder clearCompanyId() {
        
        companyId_ = getDefaultInstance().getCompanyId();
        onChanged();
        return this;
      }
      /**
       * string companyId = 2;
       * @param value The bytes for companyId to set.
       * @return This builder for chaining.
       */
      public Builder setCompanyIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        companyId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object username_ = "";
      /**
       * string username = 3;
       * @return The username.
       */
      public java.lang.String getUsername() {
        java.lang.Object ref = username_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          username_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string username = 3;
       * @return The bytes for username.
       */
      public com.google.protobuf.ByteString
          getUsernameBytes() {
        java.lang.Object ref = username_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          username_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string username = 3;
       * @param value The username to set.
       * @return This builder for chaining.
       */
      public Builder setUsername(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        username_ = value;
        onChanged();
        return this;
      }
      /**
       * string username = 3;
       * @return This builder for chaining.
       */
      public Builder clearUsername() {
        
        username_ = getDefaultInstance().getUsername();
        onChanged();
        return this;
      }
      /**
       * string username = 3;
       * @param value The bytes for username to set.
       * @return This builder for chaining.
       */
      public Builder setUsernameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        username_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object emailAddress_ = "";
      /**
       * string emailAddress = 4;
       * @return The emailAddress.
       */
      public java.lang.String getEmailAddress() {
        java.lang.Object ref = emailAddress_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          emailAddress_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string emailAddress = 4;
       * @return The bytes for emailAddress.
       */
      public com.google.protobuf.ByteString
          getEmailAddressBytes() {
        java.lang.Object ref = emailAddress_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          emailAddress_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string emailAddress = 4;
       * @param value The emailAddress to set.
       * @return This builder for chaining.
       */
      public Builder setEmailAddress(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        emailAddress_ = value;
        onChanged();
        return this;
      }
      /**
       * string emailAddress = 4;
       * @return This builder for chaining.
       */
      public Builder clearEmailAddress() {
        
        emailAddress_ = getDefaultInstance().getEmailAddress();
        onChanged();
        return this;
      }
      /**
       * string emailAddress = 4;
       * @param value The bytes for emailAddress to set.
       * @return This builder for chaining.
       */
      public Builder setEmailAddressBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        emailAddress_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object secret_ = "";
      /**
       * string secret = 5;
       * @return The secret.
       */
      public java.lang.String getSecret() {
        java.lang.Object ref = secret_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          secret_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string secret = 5;
       * @return The bytes for secret.
       */
      public com.google.protobuf.ByteString
          getSecretBytes() {
        java.lang.Object ref = secret_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          secret_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string secret = 5;
       * @param value The secret to set.
       * @return This builder for chaining.
       */
      public Builder setSecret(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        secret_ = value;
        onChanged();
        return this;
      }
      /**
       * string secret = 5;
       * @return This builder for chaining.
       */
      public Builder clearSecret() {
        
        secret_ = getDefaultInstance().getSecret();
        onChanged();
        return this;
      }
      /**
       * string secret = 5;
       * @param value The bytes for secret to set.
       * @return This builder for chaining.
       */
      public Builder setSecretBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        secret_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object certificate_ = "";
      /**
       * string certificate = 6;
       * @return The certificate.
       */
      public java.lang.String getCertificate() {
        java.lang.Object ref = certificate_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          certificate_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string certificate = 6;
       * @return The bytes for certificate.
       */
      public com.google.protobuf.ByteString
          getCertificateBytes() {
        java.lang.Object ref = certificate_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          certificate_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string certificate = 6;
       * @param value The certificate to set.
       * @return This builder for chaining.
       */
      public Builder setCertificate(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        certificate_ = value;
        onChanged();
        return this;
      }
      /**
       * string certificate = 6;
       * @return This builder for chaining.
       */
      public Builder clearCertificate() {
        
        certificate_ = getDefaultInstance().getCertificate();
        onChanged();
        return this;
      }
      /**
       * string certificate = 6;
       * @param value The bytes for certificate to set.
       * @return This builder for chaining.
       */
      public Builder setCertificateBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        certificate_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object privateKey_ = "";
      /**
       * string privateKey = 7;
       * @return The privateKey.
       */
      public java.lang.String getPrivateKey() {
        java.lang.Object ref = privateKey_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          privateKey_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string privateKey = 7;
       * @return The bytes for privateKey.
       */
      public com.google.protobuf.ByteString
          getPrivateKeyBytes() {
        java.lang.Object ref = privateKey_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          privateKey_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string privateKey = 7;
       * @param value The privateKey to set.
       * @return This builder for chaining.
       */
      public Builder setPrivateKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        privateKey_ = value;
        onChanged();
        return this;
      }
      /**
       * string privateKey = 7;
       * @return This builder for chaining.
       */
      public Builder clearPrivateKey() {
        
        privateKey_ = getDefaultInstance().getPrivateKey();
        onChanged();
        return this;
      }
      /**
       * string privateKey = 7;
       * @param value The bytes for privateKey to set.
       * @return This builder for chaining.
       */
      public Builder setPrivateKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        privateKey_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object javaPrivateKey_ = "";
      /**
       * string javaPrivateKey = 8;
       * @return The javaPrivateKey.
       */
      public java.lang.String getJavaPrivateKey() {
        java.lang.Object ref = javaPrivateKey_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          javaPrivateKey_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string javaPrivateKey = 8;
       * @return The bytes for javaPrivateKey.
       */
      public com.google.protobuf.ByteString
          getJavaPrivateKeyBytes() {
        java.lang.Object ref = javaPrivateKey_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          javaPrivateKey_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string javaPrivateKey = 8;
       * @param value The javaPrivateKey to set.
       * @return This builder for chaining.
       */
      public Builder setJavaPrivateKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        javaPrivateKey_ = value;
        onChanged();
        return this;
      }
      /**
       * string javaPrivateKey = 8;
       * @return This builder for chaining.
       */
      public Builder clearJavaPrivateKey() {
        
        javaPrivateKey_ = getDefaultInstance().getJavaPrivateKey();
        onChanged();
        return this;
      }
      /**
       * string javaPrivateKey = 8;
       * @param value The bytes for javaPrivateKey to set.
       * @return This builder for chaining.
       */
      public Builder setJavaPrivateKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        javaPrivateKey_ = 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:io.NewUserResponse)
    }

    // @@protoc_insertion_point(class_scope:io.NewUserResponse)
    private static final com.passkit.grpc.User.NewUserResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.passkit.grpc.User.NewUserResponse();
    }

    public static com.passkit.grpc.User.NewUserResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface NewUserOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.NewUser)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string username = 1;
     * @return The username.
     */
    java.lang.String getUsername();
    /**
     * string username = 1;
     * @return The bytes for username.
     */
    com.google.protobuf.ByteString
        getUsernameBytes();

    /**
     * string password = 2;
     * @return The password.
     */
    java.lang.String getPassword();
    /**
     * string password = 2;
     * @return The bytes for password.
     */
    com.google.protobuf.ByteString
        getPasswordBytes();

    /**
     * string emailAddress = 3;
     * @return The emailAddress.
     */
    java.lang.String getEmailAddress();
    /**
     * string emailAddress = 3;
     * @return The bytes for emailAddress.
     */
    com.google.protobuf.ByteString
        getEmailAddressBytes();

    /**
     * bool sendEmail = 4;
     * @return The sendEmail.
     */
    boolean getSendEmail();

    /**
     * 
     * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
     * of the parent.  Only system admin users can create new companies.
     * 
* * string companyName = 5; * @return The companyName. */ java.lang.String getCompanyName(); /** *
     * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
     * of the parent.  Only system admin users can create new companies.
     * 
* * string companyName = 5; * @return The bytes for companyName. */ com.google.protobuf.ByteString getCompanyNameBytes(); /** * string mobileNumber = 6; * @return The mobileNumber. */ java.lang.String getMobileNumber(); /** * string mobileNumber = 6; * @return The bytes for mobileNumber. */ com.google.protobuf.ByteString getMobileNumberBytes(); /** * bool twoFactorAuth = 7; * @return The twoFactorAuth. */ boolean getTwoFactorAuth(); /** * bool isOwner = 8; * @return The isOwner. */ boolean getIsOwner(); /** * bool readOnly = 9; * @return The readOnly. */ boolean getReadOnly(); } /** * Protobuf type {@code io.NewUser} */ public static final class NewUser extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.NewUser) NewUserOrBuilder { private static final long serialVersionUID = 0L; // Use NewUser.newBuilder() to construct. private NewUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NewUser() { username_ = ""; password_ = ""; emailAddress_ = ""; companyName_ = ""; mobileNumber_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NewUser(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NewUser( 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(); username_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); password_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); emailAddress_ = s; break; } case 32: { sendEmail_ = input.readBool(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); companyName_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); mobileNumber_ = s; break; } case 56: { twoFactorAuth_ = input.readBool(); break; } case 64: { isOwner_ = input.readBool(); break; } case 72: { readOnly_ = input.readBool(); 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 com.passkit.grpc.User.internal_static_io_NewUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_NewUser_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.NewUser.class, com.passkit.grpc.User.NewUser.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object username_; /** * string username = 1; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; 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(); username_ = s; return s; } } /** * string username = 1; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** * string password = 2; * @return The password. */ @java.lang.Override public java.lang.String getPassword() { java.lang.Object ref = password_; 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(); password_ = s; return s; } } /** * string password = 2; * @return The bytes for password. */ @java.lang.Override public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); password_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EMAILADDRESS_FIELD_NUMBER = 3; private volatile java.lang.Object emailAddress_; /** * string emailAddress = 3; * @return The emailAddress. */ @java.lang.Override public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; 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(); emailAddress_ = s; return s; } } /** * string emailAddress = 3; * @return The bytes for emailAddress. */ @java.lang.Override public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); emailAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SENDEMAIL_FIELD_NUMBER = 4; private boolean sendEmail_; /** * bool sendEmail = 4; * @return The sendEmail. */ @java.lang.Override public boolean getSendEmail() { return sendEmail_; } public static final int COMPANYNAME_FIELD_NUMBER = 5; private volatile java.lang.Object companyName_; /** *
     * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
     * of the parent.  Only system admin users can create new companies.
     * 
* * string companyName = 5; * @return The companyName. */ @java.lang.Override public java.lang.String getCompanyName() { java.lang.Object ref = companyName_; 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(); companyName_ = s; return s; } } /** *
     * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
     * of the parent.  Only system admin users can create new companies.
     * 
* * string companyName = 5; * @return The bytes for companyName. */ @java.lang.Override public com.google.protobuf.ByteString getCompanyNameBytes() { java.lang.Object ref = companyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); companyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MOBILENUMBER_FIELD_NUMBER = 6; private volatile java.lang.Object mobileNumber_; /** * string mobileNumber = 6; * @return The mobileNumber. */ @java.lang.Override public java.lang.String getMobileNumber() { java.lang.Object ref = mobileNumber_; 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(); mobileNumber_ = s; return s; } } /** * string mobileNumber = 6; * @return The bytes for mobileNumber. */ @java.lang.Override public com.google.protobuf.ByteString getMobileNumberBytes() { java.lang.Object ref = mobileNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mobileNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TWOFACTORAUTH_FIELD_NUMBER = 7; private boolean twoFactorAuth_; /** * bool twoFactorAuth = 7; * @return The twoFactorAuth. */ @java.lang.Override public boolean getTwoFactorAuth() { return twoFactorAuth_; } public static final int ISOWNER_FIELD_NUMBER = 8; private boolean isOwner_; /** * bool isOwner = 8; * @return The isOwner. */ @java.lang.Override public boolean getIsOwner() { return isOwner_; } public static final int READONLY_FIELD_NUMBER = 9; private boolean readOnly_; /** * bool readOnly = 9; * @return The readOnly. */ @java.lang.Override public boolean getReadOnly() { return readOnly_; } 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 (!getUsernameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } if (!getPasswordBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_); } if (!getEmailAddressBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, emailAddress_); } if (sendEmail_ != false) { output.writeBool(4, sendEmail_); } if (!getCompanyNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, companyName_); } if (!getMobileNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, mobileNumber_); } if (twoFactorAuth_ != false) { output.writeBool(7, twoFactorAuth_); } if (isOwner_ != false) { output.writeBool(8, isOwner_); } if (readOnly_ != false) { output.writeBool(9, readOnly_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getUsernameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, username_); } if (!getPasswordBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } if (!getEmailAddressBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, emailAddress_); } if (sendEmail_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, sendEmail_); } if (!getCompanyNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, companyName_); } if (!getMobileNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mobileNumber_); } if (twoFactorAuth_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, twoFactorAuth_); } if (isOwner_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, isOwner_); } if (readOnly_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, readOnly_); } 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 com.passkit.grpc.User.NewUser)) { return super.equals(obj); } com.passkit.grpc.User.NewUser other = (com.passkit.grpc.User.NewUser) obj; if (!getUsername() .equals(other.getUsername())) return false; if (!getPassword() .equals(other.getPassword())) return false; if (!getEmailAddress() .equals(other.getEmailAddress())) return false; if (getSendEmail() != other.getSendEmail()) return false; if (!getCompanyName() .equals(other.getCompanyName())) return false; if (!getMobileNumber() .equals(other.getMobileNumber())) return false; if (getTwoFactorAuth() != other.getTwoFactorAuth()) return false; if (getIsOwner() != other.getIsOwner()) return false; if (getReadOnly() != other.getReadOnly()) 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) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); hash = (37 * hash) + EMAILADDRESS_FIELD_NUMBER; hash = (53 * hash) + getEmailAddress().hashCode(); hash = (37 * hash) + SENDEMAIL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSendEmail()); hash = (37 * hash) + COMPANYNAME_FIELD_NUMBER; hash = (53 * hash) + getCompanyName().hashCode(); hash = (37 * hash) + MOBILENUMBER_FIELD_NUMBER; hash = (53 * hash) + getMobileNumber().hashCode(); hash = (37 * hash) + TWOFACTORAUTH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTwoFactorAuth()); hash = (37 * hash) + ISOWNER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsOwner()); hash = (37 * hash) + READONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReadOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.User.NewUser parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.NewUser parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.NewUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.NewUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.NewUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.NewUser parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.NewUser parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.NewUser 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 com.passkit.grpc.User.NewUser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.User.NewUser 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 com.passkit.grpc.User.NewUser parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.NewUser 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(com.passkit.grpc.User.NewUser 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 io.NewUser} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.NewUser) com.passkit.grpc.User.NewUserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.User.internal_static_io_NewUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_NewUser_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.NewUser.class, com.passkit.grpc.User.NewUser.Builder.class); } // Construct using com.passkit.grpc.User.NewUser.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(); username_ = ""; password_ = ""; emailAddress_ = ""; sendEmail_ = false; companyName_ = ""; mobileNumber_ = ""; twoFactorAuth_ = false; isOwner_ = false; readOnly_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.User.internal_static_io_NewUser_descriptor; } @java.lang.Override public com.passkit.grpc.User.NewUser getDefaultInstanceForType() { return com.passkit.grpc.User.NewUser.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.User.NewUser build() { com.passkit.grpc.User.NewUser result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.User.NewUser buildPartial() { com.passkit.grpc.User.NewUser result = new com.passkit.grpc.User.NewUser(this); result.username_ = username_; result.password_ = password_; result.emailAddress_ = emailAddress_; result.sendEmail_ = sendEmail_; result.companyName_ = companyName_; result.mobileNumber_ = mobileNumber_; result.twoFactorAuth_ = twoFactorAuth_; result.isOwner_ = isOwner_; result.readOnly_ = readOnly_; 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 com.passkit.grpc.User.NewUser) { return mergeFrom((com.passkit.grpc.User.NewUser)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.User.NewUser other) { if (other == com.passkit.grpc.User.NewUser.getDefaultInstance()) return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; onChanged(); } if (!other.getPassword().isEmpty()) { password_ = other.password_; onChanged(); } if (!other.getEmailAddress().isEmpty()) { emailAddress_ = other.emailAddress_; onChanged(); } if (other.getSendEmail() != false) { setSendEmail(other.getSendEmail()); } if (!other.getCompanyName().isEmpty()) { companyName_ = other.companyName_; onChanged(); } if (!other.getMobileNumber().isEmpty()) { mobileNumber_ = other.mobileNumber_; onChanged(); } if (other.getTwoFactorAuth() != false) { setTwoFactorAuth(other.getTwoFactorAuth()); } if (other.getIsOwner() != false) { setIsOwner(other.getIsOwner()); } if (other.getReadOnly() != false) { setReadOnly(other.getReadOnly()); } 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 { com.passkit.grpc.User.NewUser parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.User.NewUser) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object username_ = ""; /** * string username = 1; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } else { return (java.lang.String) ref; } } /** * string username = 1; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string username = 1; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } username_ = value; onChanged(); return this; } /** * string username = 1; * @return This builder for chaining. */ public Builder clearUsername() { username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * string username = 1; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; onChanged(); return this; } private java.lang.Object password_ = ""; /** * string password = 2; * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } else { return (java.lang.String) ref; } } /** * string password = 2; * @return The bytes for password. */ public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); password_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string password = 2; * @param value The password to set. * @return This builder for chaining. */ public Builder setPassword( java.lang.String value) { if (value == null) { throw new NullPointerException(); } password_ = value; onChanged(); return this; } /** * string password = 2; * @return This builder for chaining. */ public Builder clearPassword() { password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** * string password = 2; * @param value The bytes for password to set. * @return This builder for chaining. */ public Builder setPasswordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); password_ = value; onChanged(); return this; } private java.lang.Object emailAddress_ = ""; /** * string emailAddress = 3; * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string emailAddress = 3; * @return The bytes for emailAddress. */ public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); emailAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string emailAddress = 3; * @param value The emailAddress to set. * @return This builder for chaining. */ public Builder setEmailAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } emailAddress_ = value; onChanged(); return this; } /** * string emailAddress = 3; * @return This builder for chaining. */ public Builder clearEmailAddress() { emailAddress_ = getDefaultInstance().getEmailAddress(); onChanged(); return this; } /** * string emailAddress = 3; * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ public Builder setEmailAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); emailAddress_ = value; onChanged(); return this; } private boolean sendEmail_ ; /** * bool sendEmail = 4; * @return The sendEmail. */ @java.lang.Override public boolean getSendEmail() { return sendEmail_; } /** * bool sendEmail = 4; * @param value The sendEmail to set. * @return This builder for chaining. */ public Builder setSendEmail(boolean value) { sendEmail_ = value; onChanged(); return this; } /** * bool sendEmail = 4; * @return This builder for chaining. */ public Builder clearSendEmail() { sendEmail_ = false; onChanged(); return this; } private java.lang.Object companyName_ = ""; /** *
       * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
       * of the parent.  Only system admin users can create new companies.
       * 
* * string companyName = 5; * @return The companyName. */ public java.lang.String getCompanyName() { java.lang.Object ref = companyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
       * of the parent.  Only system admin users can create new companies.
       * 
* * string companyName = 5; * @return The bytes for companyName. */ public com.google.protobuf.ByteString getCompanyNameBytes() { java.lang.Object ref = companyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); companyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
       * of the parent.  Only system admin users can create new companies.
       * 
* * string companyName = 5; * @param value The companyName to set. * @return This builder for chaining. */ public Builder setCompanyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } companyName_ = value; onChanged(); return this; } /** *
       * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
       * of the parent.  Only system admin users can create new companies.
       * 
* * string companyName = 5; * @return This builder for chaining. */ public Builder clearCompanyName() { companyName_ = getDefaultInstance().getCompanyName(); onChanged(); return this; } /** *
       * If a company name is provided, then a new company will be created, otherwise, the user will inherit the company
       * of the parent.  Only system admin users can create new companies.
       * 
* * string companyName = 5; * @param value The bytes for companyName to set. * @return This builder for chaining. */ public Builder setCompanyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); companyName_ = value; onChanged(); return this; } private java.lang.Object mobileNumber_ = ""; /** * string mobileNumber = 6; * @return The mobileNumber. */ public java.lang.String getMobileNumber() { java.lang.Object ref = mobileNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mobileNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** * string mobileNumber = 6; * @return The bytes for mobileNumber. */ public com.google.protobuf.ByteString getMobileNumberBytes() { java.lang.Object ref = mobileNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mobileNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string mobileNumber = 6; * @param value The mobileNumber to set. * @return This builder for chaining. */ public Builder setMobileNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } mobileNumber_ = value; onChanged(); return this; } /** * string mobileNumber = 6; * @return This builder for chaining. */ public Builder clearMobileNumber() { mobileNumber_ = getDefaultInstance().getMobileNumber(); onChanged(); return this; } /** * string mobileNumber = 6; * @param value The bytes for mobileNumber to set. * @return This builder for chaining. */ public Builder setMobileNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mobileNumber_ = value; onChanged(); return this; } private boolean twoFactorAuth_ ; /** * bool twoFactorAuth = 7; * @return The twoFactorAuth. */ @java.lang.Override public boolean getTwoFactorAuth() { return twoFactorAuth_; } /** * bool twoFactorAuth = 7; * @param value The twoFactorAuth to set. * @return This builder for chaining. */ public Builder setTwoFactorAuth(boolean value) { twoFactorAuth_ = value; onChanged(); return this; } /** * bool twoFactorAuth = 7; * @return This builder for chaining. */ public Builder clearTwoFactorAuth() { twoFactorAuth_ = false; onChanged(); return this; } private boolean isOwner_ ; /** * bool isOwner = 8; * @return The isOwner. */ @java.lang.Override public boolean getIsOwner() { return isOwner_; } /** * bool isOwner = 8; * @param value The isOwner to set. * @return This builder for chaining. */ public Builder setIsOwner(boolean value) { isOwner_ = value; onChanged(); return this; } /** * bool isOwner = 8; * @return This builder for chaining. */ public Builder clearIsOwner() { isOwner_ = false; onChanged(); return this; } private boolean readOnly_ ; /** * bool readOnly = 9; * @return The readOnly. */ @java.lang.Override public boolean getReadOnly() { return readOnly_; } /** * bool readOnly = 9; * @param value The readOnly to set. * @return This builder for chaining. */ public Builder setReadOnly(boolean value) { readOnly_ = value; onChanged(); return this; } /** * bool readOnly = 9; * @return This builder for chaining. */ public Builder clearReadOnly() { readOnly_ = false; 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:io.NewUser) } // @@protoc_insertion_point(class_scope:io.NewUser) private static final com.passkit.grpc.User.NewUser DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.User.NewUser(); } public static com.passkit.grpc.User.NewUser getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NewUser parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NewUser(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 com.passkit.grpc.User.NewUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetUserResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:io.GetUserResponse) 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(); /** * string username = 2; * @return The username. */ java.lang.String getUsername(); /** * string username = 2; * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); /** * string companyId = 3; * @return The companyId. */ java.lang.String getCompanyId(); /** * string companyId = 3; * @return The bytes for companyId. */ com.google.protobuf.ByteString getCompanyIdBytes(); /** * string companyName = 4; * @return The companyName. */ java.lang.String getCompanyName(); /** * string companyName = 4; * @return The bytes for companyName. */ com.google.protobuf.ByteString getCompanyNameBytes(); /** *
     * used for checking production, etc.
     * 
* * uint64 companyStatus = 5; * @return The companyStatus. */ long getCompanyStatus(); /** * .google.protobuf.Timestamp createdAt = 6; * @return Whether the createdAt field is set. */ boolean hasCreatedAt(); /** * .google.protobuf.Timestamp createdAt = 6; * @return The createdAt. */ com.google.protobuf.Timestamp getCreatedAt(); /** * .google.protobuf.Timestamp createdAt = 6; */ com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); } /** *
   * response used by getUser
   * 
* * Protobuf type {@code io.GetUserResponse} */ public static final class GetUserResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.GetUserResponse) GetUserResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetUserResponse.newBuilder() to construct. private GetUserResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetUserResponse() { email_ = ""; username_ = ""; companyId_ = ""; companyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetUserResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetUserResponse( 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(); email_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); username_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); companyId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); companyName_ = s; break; } case 40: { companyStatus_ = input.readUInt64(); break; } case 50: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (createdAt_ != null) { subBuilder = createdAt_.toBuilder(); } createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(createdAt_); createdAt_ = subBuilder.buildPartial(); } 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 com.passkit.grpc.User.internal_static_io_GetUserResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_GetUserResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.GetUserResponse.class, com.passkit.grpc.User.GetUserResponse.Builder.class); } 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 USERNAME_FIELD_NUMBER = 2; private volatile java.lang.Object username_; /** * string username = 2; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; 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(); username_ = s; return s; } } /** * string username = 2; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMPANYID_FIELD_NUMBER = 3; private volatile java.lang.Object companyId_; /** * string companyId = 3; * @return The companyId. */ @java.lang.Override public java.lang.String getCompanyId() { java.lang.Object ref = companyId_; 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(); companyId_ = s; return s; } } /** * string companyId = 3; * @return The bytes for companyId. */ @java.lang.Override public com.google.protobuf.ByteString getCompanyIdBytes() { java.lang.Object ref = companyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); companyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMPANYNAME_FIELD_NUMBER = 4; private volatile java.lang.Object companyName_; /** * string companyName = 4; * @return The companyName. */ @java.lang.Override public java.lang.String getCompanyName() { java.lang.Object ref = companyName_; 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(); companyName_ = s; return s; } } /** * string companyName = 4; * @return The bytes for companyName. */ @java.lang.Override public com.google.protobuf.ByteString getCompanyNameBytes() { java.lang.Object ref = companyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); companyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMPANYSTATUS_FIELD_NUMBER = 5; private long companyStatus_; /** *
     * used for checking production, etc.
     * 
* * uint64 companyStatus = 5; * @return The companyStatus. */ @java.lang.Override public long getCompanyStatus() { return companyStatus_; } public static final int CREATEDAT_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createdAt_; /** * .google.protobuf.Timestamp createdAt = 6; * @return Whether the createdAt field is set. */ @java.lang.Override public boolean hasCreatedAt() { return createdAt_ != null; } /** * .google.protobuf.Timestamp createdAt = 6; * @return The createdAt. */ @java.lang.Override public com.google.protobuf.Timestamp getCreatedAt() { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } /** * .google.protobuf.Timestamp createdAt = 6; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { return getCreatedAt(); } 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 (!getEmailBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } if (!getUsernameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, username_); } if (!getCompanyIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, companyId_); } if (!getCompanyNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, companyName_); } if (companyStatus_ != 0L) { output.writeUInt64(5, companyStatus_); } if (createdAt_ != null) { output.writeMessage(6, getCreatedAt()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getEmailBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, email_); } if (!getUsernameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, username_); } if (!getCompanyIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, companyId_); } if (!getCompanyNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, companyName_); } if (companyStatus_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, companyStatus_); } if (createdAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getCreatedAt()); } 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 com.passkit.grpc.User.GetUserResponse)) { return super.equals(obj); } com.passkit.grpc.User.GetUserResponse other = (com.passkit.grpc.User.GetUserResponse) obj; if (!getEmail() .equals(other.getEmail())) return false; if (!getUsername() .equals(other.getUsername())) return false; if (!getCompanyId() .equals(other.getCompanyId())) return false; if (!getCompanyName() .equals(other.getCompanyName())) return false; if (getCompanyStatus() != other.getCompanyStatus()) return false; if (hasCreatedAt() != other.hasCreatedAt()) return false; if (hasCreatedAt()) { if (!getCreatedAt() .equals(other.getCreatedAt())) 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) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); hash = (37 * hash) + COMPANYID_FIELD_NUMBER; hash = (53 * hash) + getCompanyId().hashCode(); hash = (37 * hash) + COMPANYNAME_FIELD_NUMBER; hash = (53 * hash) + getCompanyName().hashCode(); hash = (37 * hash) + COMPANYSTATUS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCompanyStatus()); if (hasCreatedAt()) { hash = (37 * hash) + CREATEDAT_FIELD_NUMBER; hash = (53 * hash) + getCreatedAt().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.User.GetUserResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.GetUserResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.GetUserResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.GetUserResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.GetUserResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.GetUserResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.GetUserResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.GetUserResponse 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 com.passkit.grpc.User.GetUserResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.User.GetUserResponse 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 com.passkit.grpc.User.GetUserResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.GetUserResponse 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(com.passkit.grpc.User.GetUserResponse 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; } /** *
     * response used by getUser
     * 
* * Protobuf type {@code io.GetUserResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.GetUserResponse) com.passkit.grpc.User.GetUserResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.User.internal_static_io_GetUserResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_GetUserResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.GetUserResponse.class, com.passkit.grpc.User.GetUserResponse.Builder.class); } // Construct using com.passkit.grpc.User.GetUserResponse.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_ = ""; username_ = ""; companyId_ = ""; companyName_ = ""; companyStatus_ = 0L; if (createdAtBuilder_ == null) { createdAt_ = null; } else { createdAt_ = null; createdAtBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.User.internal_static_io_GetUserResponse_descriptor; } @java.lang.Override public com.passkit.grpc.User.GetUserResponse getDefaultInstanceForType() { return com.passkit.grpc.User.GetUserResponse.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.User.GetUserResponse build() { com.passkit.grpc.User.GetUserResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.User.GetUserResponse buildPartial() { com.passkit.grpc.User.GetUserResponse result = new com.passkit.grpc.User.GetUserResponse(this); result.email_ = email_; result.username_ = username_; result.companyId_ = companyId_; result.companyName_ = companyName_; result.companyStatus_ = companyStatus_; if (createdAtBuilder_ == null) { result.createdAt_ = createdAt_; } else { result.createdAt_ = createdAtBuilder_.build(); } 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 com.passkit.grpc.User.GetUserResponse) { return mergeFrom((com.passkit.grpc.User.GetUserResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.User.GetUserResponse other) { if (other == com.passkit.grpc.User.GetUserResponse.getDefaultInstance()) return this; if (!other.getEmail().isEmpty()) { email_ = other.email_; onChanged(); } if (!other.getUsername().isEmpty()) { username_ = other.username_; onChanged(); } if (!other.getCompanyId().isEmpty()) { companyId_ = other.companyId_; onChanged(); } if (!other.getCompanyName().isEmpty()) { companyName_ = other.companyName_; onChanged(); } if (other.getCompanyStatus() != 0L) { setCompanyStatus(other.getCompanyStatus()); } if (other.hasCreatedAt()) { mergeCreatedAt(other.getCreatedAt()); } 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 { com.passkit.grpc.User.GetUserResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.User.GetUserResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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 java.lang.Object username_ = ""; /** * string username = 2; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } else { return (java.lang.String) ref; } } /** * string username = 2; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string username = 2; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } username_ = value; onChanged(); return this; } /** * string username = 2; * @return This builder for chaining. */ public Builder clearUsername() { username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * string username = 2; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; onChanged(); return this; } private java.lang.Object companyId_ = ""; /** * string companyId = 3; * @return The companyId. */ public java.lang.String getCompanyId() { java.lang.Object ref = companyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string companyId = 3; * @return The bytes for companyId. */ public com.google.protobuf.ByteString getCompanyIdBytes() { java.lang.Object ref = companyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); companyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string companyId = 3; * @param value The companyId to set. * @return This builder for chaining. */ public Builder setCompanyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } companyId_ = value; onChanged(); return this; } /** * string companyId = 3; * @return This builder for chaining. */ public Builder clearCompanyId() { companyId_ = getDefaultInstance().getCompanyId(); onChanged(); return this; } /** * string companyId = 3; * @param value The bytes for companyId to set. * @return This builder for chaining. */ public Builder setCompanyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); companyId_ = value; onChanged(); return this; } private java.lang.Object companyName_ = ""; /** * string companyName = 4; * @return The companyName. */ public java.lang.String getCompanyName() { java.lang.Object ref = companyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string companyName = 4; * @return The bytes for companyName. */ public com.google.protobuf.ByteString getCompanyNameBytes() { java.lang.Object ref = companyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); companyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string companyName = 4; * @param value The companyName to set. * @return This builder for chaining. */ public Builder setCompanyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } companyName_ = value; onChanged(); return this; } /** * string companyName = 4; * @return This builder for chaining. */ public Builder clearCompanyName() { companyName_ = getDefaultInstance().getCompanyName(); onChanged(); return this; } /** * string companyName = 4; * @param value The bytes for companyName to set. * @return This builder for chaining. */ public Builder setCompanyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); companyName_ = value; onChanged(); return this; } private long companyStatus_ ; /** *
       * used for checking production, etc.
       * 
* * uint64 companyStatus = 5; * @return The companyStatus. */ @java.lang.Override public long getCompanyStatus() { return companyStatus_; } /** *
       * used for checking production, etc.
       * 
* * uint64 companyStatus = 5; * @param value The companyStatus to set. * @return This builder for chaining. */ public Builder setCompanyStatus(long value) { companyStatus_ = value; onChanged(); return this; } /** *
       * used for checking production, etc.
       * 
* * uint64 companyStatus = 5; * @return This builder for chaining. */ public Builder clearCompanyStatus() { companyStatus_ = 0L; onChanged(); return this; } private com.google.protobuf.Timestamp createdAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; /** * .google.protobuf.Timestamp createdAt = 6; * @return Whether the createdAt field is set. */ public boolean hasCreatedAt() { return createdAtBuilder_ != null || createdAt_ != null; } /** * .google.protobuf.Timestamp createdAt = 6; * @return The createdAt. */ public com.google.protobuf.Timestamp getCreatedAt() { if (createdAtBuilder_ == null) { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } else { return createdAtBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp createdAt = 6; */ public Builder setCreatedAt(com.google.protobuf.Timestamp value) { if (createdAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createdAt_ = value; onChanged(); } else { createdAtBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp createdAt = 6; */ public Builder setCreatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdAtBuilder_ == null) { createdAt_ = builderForValue.build(); onChanged(); } else { createdAtBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp createdAt = 6; */ public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { if (createdAtBuilder_ == null) { if (createdAt_ != null) { createdAt_ = com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); } else { createdAt_ = value; } onChanged(); } else { createdAtBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp createdAt = 6; */ public Builder clearCreatedAt() { if (createdAtBuilder_ == null) { createdAt_ = null; onChanged(); } else { createdAt_ = null; createdAtBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp createdAt = 6; */ public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { onChanged(); return getCreatedAtFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp createdAt = 6; */ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { if (createdAtBuilder_ != null) { return createdAtBuilder_.getMessageOrBuilder(); } else { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } } /** * .google.protobuf.Timestamp createdAt = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedAtFieldBuilder() { if (createdAtBuilder_ == null) { createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreatedAt(), getParentForChildren(), isClean()); createdAt_ = null; } return createdAtBuilder_; } @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:io.GetUserResponse) } // @@protoc_insertion_point(class_scope:io.GetUserResponse) private static final com.passkit.grpc.User.GetUserResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.User.GetUserResponse(); } public static com.passkit.grpc.User.GetUserResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetUserResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetUserResponse(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 com.passkit.grpc.User.GetUserResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BillingMetaOrBuilder extends // @@protoc_insertion_point(interface_extends:io.BillingMeta) com.google.protobuf.MessageOrBuilder { /** * string companyName = 1; * @return The companyName. */ java.lang.String getCompanyName(); /** * string companyName = 1; * @return The bytes for companyName. */ com.google.protobuf.ByteString getCompanyNameBytes(); /** * string taxId = 2; * @return The taxId. */ java.lang.String getTaxId(); /** * string taxId = 2; * @return The bytes for taxId. */ com.google.protobuf.ByteString getTaxIdBytes(); /** * string reference = 3; * @return The reference. */ java.lang.String getReference(); /** * string reference = 3; * @return The bytes for reference. */ com.google.protobuf.ByteString getReferenceBytes(); /** * .io.Address billingAddress = 4; * @return Whether the billingAddress field is set. */ boolean hasBillingAddress(); /** * .io.Address billingAddress = 4; * @return The billingAddress. */ com.passkit.grpc.Personal.Address getBillingAddress(); /** * .io.Address billingAddress = 4; */ com.passkit.grpc.Personal.AddressOrBuilder getBillingAddressOrBuilder(); } /** * Protobuf type {@code io.BillingMeta} */ public static final class BillingMeta extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.BillingMeta) BillingMetaOrBuilder { private static final long serialVersionUID = 0L; // Use BillingMeta.newBuilder() to construct. private BillingMeta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BillingMeta() { companyName_ = ""; taxId_ = ""; reference_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BillingMeta(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BillingMeta( 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(); companyName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); taxId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); reference_ = s; break; } case 34: { com.passkit.grpc.Personal.Address.Builder subBuilder = null; if (billingAddress_ != null) { subBuilder = billingAddress_.toBuilder(); } billingAddress_ = input.readMessage(com.passkit.grpc.Personal.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(billingAddress_); billingAddress_ = subBuilder.buildPartial(); } 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 com.passkit.grpc.User.internal_static_io_BillingMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_BillingMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.BillingMeta.class, com.passkit.grpc.User.BillingMeta.Builder.class); } public static final int COMPANYNAME_FIELD_NUMBER = 1; private volatile java.lang.Object companyName_; /** * string companyName = 1; * @return The companyName. */ @java.lang.Override public java.lang.String getCompanyName() { java.lang.Object ref = companyName_; 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(); companyName_ = s; return s; } } /** * string companyName = 1; * @return The bytes for companyName. */ @java.lang.Override public com.google.protobuf.ByteString getCompanyNameBytes() { java.lang.Object ref = companyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); companyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TAXID_FIELD_NUMBER = 2; private volatile java.lang.Object taxId_; /** * string taxId = 2; * @return The taxId. */ @java.lang.Override public java.lang.String getTaxId() { java.lang.Object ref = taxId_; 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(); taxId_ = s; return s; } } /** * string taxId = 2; * @return The bytes for taxId. */ @java.lang.Override public com.google.protobuf.ByteString getTaxIdBytes() { java.lang.Object ref = taxId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taxId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REFERENCE_FIELD_NUMBER = 3; private volatile java.lang.Object reference_; /** * string reference = 3; * @return The reference. */ @java.lang.Override public java.lang.String getReference() { java.lang.Object ref = reference_; 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(); reference_ = s; return s; } } /** * string reference = 3; * @return The bytes for reference. */ @java.lang.Override public com.google.protobuf.ByteString getReferenceBytes() { java.lang.Object ref = reference_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); reference_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BILLINGADDRESS_FIELD_NUMBER = 4; private com.passkit.grpc.Personal.Address billingAddress_; /** * .io.Address billingAddress = 4; * @return Whether the billingAddress field is set. */ @java.lang.Override public boolean hasBillingAddress() { return billingAddress_ != null; } /** * .io.Address billingAddress = 4; * @return The billingAddress. */ @java.lang.Override public com.passkit.grpc.Personal.Address getBillingAddress() { return billingAddress_ == null ? com.passkit.grpc.Personal.Address.getDefaultInstance() : billingAddress_; } /** * .io.Address billingAddress = 4; */ @java.lang.Override public com.passkit.grpc.Personal.AddressOrBuilder getBillingAddressOrBuilder() { return getBillingAddress(); } 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 (!getCompanyNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, companyName_); } if (!getTaxIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taxId_); } if (!getReferenceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, reference_); } if (billingAddress_ != null) { output.writeMessage(4, getBillingAddress()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getCompanyNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, companyName_); } if (!getTaxIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, taxId_); } if (!getReferenceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, reference_); } if (billingAddress_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getBillingAddress()); } 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 com.passkit.grpc.User.BillingMeta)) { return super.equals(obj); } com.passkit.grpc.User.BillingMeta other = (com.passkit.grpc.User.BillingMeta) obj; if (!getCompanyName() .equals(other.getCompanyName())) return false; if (!getTaxId() .equals(other.getTaxId())) return false; if (!getReference() .equals(other.getReference())) return false; if (hasBillingAddress() != other.hasBillingAddress()) return false; if (hasBillingAddress()) { if (!getBillingAddress() .equals(other.getBillingAddress())) 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) + COMPANYNAME_FIELD_NUMBER; hash = (53 * hash) + getCompanyName().hashCode(); hash = (37 * hash) + TAXID_FIELD_NUMBER; hash = (53 * hash) + getTaxId().hashCode(); hash = (37 * hash) + REFERENCE_FIELD_NUMBER; hash = (53 * hash) + getReference().hashCode(); if (hasBillingAddress()) { hash = (37 * hash) + BILLINGADDRESS_FIELD_NUMBER; hash = (53 * hash) + getBillingAddress().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.User.BillingMeta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.BillingMeta parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.BillingMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.BillingMeta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.BillingMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.BillingMeta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.BillingMeta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.BillingMeta 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 com.passkit.grpc.User.BillingMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.User.BillingMeta 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 com.passkit.grpc.User.BillingMeta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.BillingMeta 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(com.passkit.grpc.User.BillingMeta 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 io.BillingMeta} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.BillingMeta) com.passkit.grpc.User.BillingMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.User.internal_static_io_BillingMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_BillingMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.BillingMeta.class, com.passkit.grpc.User.BillingMeta.Builder.class); } // Construct using com.passkit.grpc.User.BillingMeta.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(); companyName_ = ""; taxId_ = ""; reference_ = ""; if (billingAddressBuilder_ == null) { billingAddress_ = null; } else { billingAddress_ = null; billingAddressBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.User.internal_static_io_BillingMeta_descriptor; } @java.lang.Override public com.passkit.grpc.User.BillingMeta getDefaultInstanceForType() { return com.passkit.grpc.User.BillingMeta.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.User.BillingMeta build() { com.passkit.grpc.User.BillingMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.User.BillingMeta buildPartial() { com.passkit.grpc.User.BillingMeta result = new com.passkit.grpc.User.BillingMeta(this); result.companyName_ = companyName_; result.taxId_ = taxId_; result.reference_ = reference_; if (billingAddressBuilder_ == null) { result.billingAddress_ = billingAddress_; } else { result.billingAddress_ = billingAddressBuilder_.build(); } 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 com.passkit.grpc.User.BillingMeta) { return mergeFrom((com.passkit.grpc.User.BillingMeta)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.User.BillingMeta other) { if (other == com.passkit.grpc.User.BillingMeta.getDefaultInstance()) return this; if (!other.getCompanyName().isEmpty()) { companyName_ = other.companyName_; onChanged(); } if (!other.getTaxId().isEmpty()) { taxId_ = other.taxId_; onChanged(); } if (!other.getReference().isEmpty()) { reference_ = other.reference_; onChanged(); } if (other.hasBillingAddress()) { mergeBillingAddress(other.getBillingAddress()); } 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 { com.passkit.grpc.User.BillingMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.User.BillingMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object companyName_ = ""; /** * string companyName = 1; * @return The companyName. */ public java.lang.String getCompanyName() { java.lang.Object ref = companyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string companyName = 1; * @return The bytes for companyName. */ public com.google.protobuf.ByteString getCompanyNameBytes() { java.lang.Object ref = companyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); companyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string companyName = 1; * @param value The companyName to set. * @return This builder for chaining. */ public Builder setCompanyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } companyName_ = value; onChanged(); return this; } /** * string companyName = 1; * @return This builder for chaining. */ public Builder clearCompanyName() { companyName_ = getDefaultInstance().getCompanyName(); onChanged(); return this; } /** * string companyName = 1; * @param value The bytes for companyName to set. * @return This builder for chaining. */ public Builder setCompanyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); companyName_ = value; onChanged(); return this; } private java.lang.Object taxId_ = ""; /** * string taxId = 2; * @return The taxId. */ public java.lang.String getTaxId() { java.lang.Object ref = taxId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taxId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string taxId = 2; * @return The bytes for taxId. */ public com.google.protobuf.ByteString getTaxIdBytes() { java.lang.Object ref = taxId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taxId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string taxId = 2; * @param value The taxId to set. * @return This builder for chaining. */ public Builder setTaxId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } taxId_ = value; onChanged(); return this; } /** * string taxId = 2; * @return This builder for chaining. */ public Builder clearTaxId() { taxId_ = getDefaultInstance().getTaxId(); onChanged(); return this; } /** * string taxId = 2; * @param value The bytes for taxId to set. * @return This builder for chaining. */ public Builder setTaxIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); taxId_ = value; onChanged(); return this; } private java.lang.Object reference_ = ""; /** * string reference = 3; * @return The reference. */ public java.lang.String getReference() { java.lang.Object ref = reference_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reference_ = s; return s; } else { return (java.lang.String) ref; } } /** * string reference = 3; * @return The bytes for reference. */ public com.google.protobuf.ByteString getReferenceBytes() { java.lang.Object ref = reference_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); reference_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string reference = 3; * @param value The reference to set. * @return This builder for chaining. */ public Builder setReference( java.lang.String value) { if (value == null) { throw new NullPointerException(); } reference_ = value; onChanged(); return this; } /** * string reference = 3; * @return This builder for chaining. */ public Builder clearReference() { reference_ = getDefaultInstance().getReference(); onChanged(); return this; } /** * string reference = 3; * @param value The bytes for reference to set. * @return This builder for chaining. */ public Builder setReferenceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); reference_ = value; onChanged(); return this; } private com.passkit.grpc.Personal.Address billingAddress_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Address, com.passkit.grpc.Personal.Address.Builder, com.passkit.grpc.Personal.AddressOrBuilder> billingAddressBuilder_; /** * .io.Address billingAddress = 4; * @return Whether the billingAddress field is set. */ public boolean hasBillingAddress() { return billingAddressBuilder_ != null || billingAddress_ != null; } /** * .io.Address billingAddress = 4; * @return The billingAddress. */ public com.passkit.grpc.Personal.Address getBillingAddress() { if (billingAddressBuilder_ == null) { return billingAddress_ == null ? com.passkit.grpc.Personal.Address.getDefaultInstance() : billingAddress_; } else { return billingAddressBuilder_.getMessage(); } } /** * .io.Address billingAddress = 4; */ public Builder setBillingAddress(com.passkit.grpc.Personal.Address value) { if (billingAddressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } billingAddress_ = value; onChanged(); } else { billingAddressBuilder_.setMessage(value); } return this; } /** * .io.Address billingAddress = 4; */ public Builder setBillingAddress( com.passkit.grpc.Personal.Address.Builder builderForValue) { if (billingAddressBuilder_ == null) { billingAddress_ = builderForValue.build(); onChanged(); } else { billingAddressBuilder_.setMessage(builderForValue.build()); } return this; } /** * .io.Address billingAddress = 4; */ public Builder mergeBillingAddress(com.passkit.grpc.Personal.Address value) { if (billingAddressBuilder_ == null) { if (billingAddress_ != null) { billingAddress_ = com.passkit.grpc.Personal.Address.newBuilder(billingAddress_).mergeFrom(value).buildPartial(); } else { billingAddress_ = value; } onChanged(); } else { billingAddressBuilder_.mergeFrom(value); } return this; } /** * .io.Address billingAddress = 4; */ public Builder clearBillingAddress() { if (billingAddressBuilder_ == null) { billingAddress_ = null; onChanged(); } else { billingAddress_ = null; billingAddressBuilder_ = null; } return this; } /** * .io.Address billingAddress = 4; */ public com.passkit.grpc.Personal.Address.Builder getBillingAddressBuilder() { onChanged(); return getBillingAddressFieldBuilder().getBuilder(); } /** * .io.Address billingAddress = 4; */ public com.passkit.grpc.Personal.AddressOrBuilder getBillingAddressOrBuilder() { if (billingAddressBuilder_ != null) { return billingAddressBuilder_.getMessageOrBuilder(); } else { return billingAddress_ == null ? com.passkit.grpc.Personal.Address.getDefaultInstance() : billingAddress_; } } /** * .io.Address billingAddress = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Address, com.passkit.grpc.Personal.Address.Builder, com.passkit.grpc.Personal.AddressOrBuilder> getBillingAddressFieldBuilder() { if (billingAddressBuilder_ == null) { billingAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Address, com.passkit.grpc.Personal.Address.Builder, com.passkit.grpc.Personal.AddressOrBuilder>( getBillingAddress(), getParentForChildren(), isClean()); billingAddress_ = null; } return billingAddressBuilder_; } @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:io.BillingMeta) } // @@protoc_insertion_point(class_scope:io.BillingMeta) private static final com.passkit.grpc.User.BillingMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.User.BillingMeta(); } public static com.passkit.grpc.User.BillingMeta getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BillingMeta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BillingMeta(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 com.passkit.grpc.User.BillingMeta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CredentialsOrBuilder extends // @@protoc_insertion_point(interface_extends:io.Credentials) com.google.protobuf.MessageOrBuilder { /** * string username = 1; * @return The username. */ java.lang.String getUsername(); /** * string username = 1; * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); /** * string password = 2; * @return The password. */ java.lang.String getPassword(); /** * string password = 2; * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); } /** * Protobuf type {@code io.Credentials} */ public static final class Credentials extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.Credentials) CredentialsOrBuilder { private static final long serialVersionUID = 0L; // Use Credentials.newBuilder() to construct. private Credentials(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Credentials() { username_ = ""; password_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Credentials(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Credentials( 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(); username_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); password_ = 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 com.passkit.grpc.User.internal_static_io_Credentials_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_Credentials_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.Credentials.class, com.passkit.grpc.User.Credentials.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object username_; /** * string username = 1; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; 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(); username_ = s; return s; } } /** * string username = 1; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** * string password = 2; * @return The password. */ @java.lang.Override public java.lang.String getPassword() { java.lang.Object ref = password_; 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(); password_ = s; return s; } } /** * string password = 2; * @return The bytes for password. */ @java.lang.Override public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); password_ = 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 (!getUsernameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } if (!getPasswordBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getUsernameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, username_); } if (!getPasswordBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } 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 com.passkit.grpc.User.Credentials)) { return super.equals(obj); } com.passkit.grpc.User.Credentials other = (com.passkit.grpc.User.Credentials) obj; if (!getUsername() .equals(other.getUsername())) return false; if (!getPassword() .equals(other.getPassword())) 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) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.User.Credentials parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.Credentials parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.Credentials parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.Credentials parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.Credentials parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.Credentials parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.Credentials parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.Credentials 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 com.passkit.grpc.User.Credentials parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.User.Credentials 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 com.passkit.grpc.User.Credentials parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.Credentials 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(com.passkit.grpc.User.Credentials 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 io.Credentials} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.Credentials) com.passkit.grpc.User.CredentialsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.User.internal_static_io_Credentials_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_Credentials_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.Credentials.class, com.passkit.grpc.User.Credentials.Builder.class); } // Construct using com.passkit.grpc.User.Credentials.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(); username_ = ""; password_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.User.internal_static_io_Credentials_descriptor; } @java.lang.Override public com.passkit.grpc.User.Credentials getDefaultInstanceForType() { return com.passkit.grpc.User.Credentials.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.User.Credentials build() { com.passkit.grpc.User.Credentials result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.User.Credentials buildPartial() { com.passkit.grpc.User.Credentials result = new com.passkit.grpc.User.Credentials(this); result.username_ = username_; result.password_ = password_; 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 com.passkit.grpc.User.Credentials) { return mergeFrom((com.passkit.grpc.User.Credentials)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.User.Credentials other) { if (other == com.passkit.grpc.User.Credentials.getDefaultInstance()) return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; onChanged(); } if (!other.getPassword().isEmpty()) { password_ = other.password_; 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 { com.passkit.grpc.User.Credentials parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.User.Credentials) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object username_ = ""; /** * string username = 1; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } else { return (java.lang.String) ref; } } /** * string username = 1; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string username = 1; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } username_ = value; onChanged(); return this; } /** * string username = 1; * @return This builder for chaining. */ public Builder clearUsername() { username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * string username = 1; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; onChanged(); return this; } private java.lang.Object password_ = ""; /** * string password = 2; * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } else { return (java.lang.String) ref; } } /** * string password = 2; * @return The bytes for password. */ public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); password_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string password = 2; * @param value The password to set. * @return This builder for chaining. */ public Builder setPassword( java.lang.String value) { if (value == null) { throw new NullPointerException(); } password_ = value; onChanged(); return this; } /** * string password = 2; * @return This builder for chaining. */ public Builder clearPassword() { password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** * string password = 2; * @param value The bytes for password to set. * @return This builder for chaining. */ public Builder setPasswordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); password_ = 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:io.Credentials) } // @@protoc_insertion_point(class_scope:io.Credentials) private static final com.passkit.grpc.User.Credentials DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.User.Credentials(); } public static com.passkit.grpc.User.Credentials getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Credentials parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Credentials(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 com.passkit.grpc.User.Credentials getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JWTOrBuilder extends // @@protoc_insertion_point(interface_extends:io.JWT) com.google.protobuf.MessageOrBuilder { /** * string token = 1; * @return The token. */ java.lang.String getToken(); /** * string token = 1; * @return The bytes for token. */ com.google.protobuf.ByteString getTokenBytes(); } /** * Protobuf type {@code io.JWT} */ public static final class JWT extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.JWT) JWTOrBuilder { private static final long serialVersionUID = 0L; // Use JWT.newBuilder() to construct. private JWT(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JWT() { token_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JWT(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JWT( 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(); token_ = 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 com.passkit.grpc.User.internal_static_io_JWT_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_JWT_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.JWT.class, com.passkit.grpc.User.JWT.Builder.class); } public static final int TOKEN_FIELD_NUMBER = 1; private volatile java.lang.Object token_; /** * string token = 1; * @return The token. */ @java.lang.Override public java.lang.String getToken() { java.lang.Object ref = token_; 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(); token_ = s; return s; } } /** * string token = 1; * @return The bytes for token. */ @java.lang.Override public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = 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 (!getTokenBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, token_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, token_); } 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 com.passkit.grpc.User.JWT)) { return super.equals(obj); } com.passkit.grpc.User.JWT other = (com.passkit.grpc.User.JWT) obj; if (!getToken() .equals(other.getToken())) 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) + TOKEN_FIELD_NUMBER; hash = (53 * hash) + getToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.User.JWT parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.JWT parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.JWT parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.JWT parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.JWT parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.JWT parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.JWT parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.JWT 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 com.passkit.grpc.User.JWT parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.User.JWT 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 com.passkit.grpc.User.JWT parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.JWT 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(com.passkit.grpc.User.JWT 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 io.JWT} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.JWT) com.passkit.grpc.User.JWTOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.User.internal_static_io_JWT_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_JWT_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.JWT.class, com.passkit.grpc.User.JWT.Builder.class); } // Construct using com.passkit.grpc.User.JWT.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(); token_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.User.internal_static_io_JWT_descriptor; } @java.lang.Override public com.passkit.grpc.User.JWT getDefaultInstanceForType() { return com.passkit.grpc.User.JWT.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.User.JWT build() { com.passkit.grpc.User.JWT result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.User.JWT buildPartial() { com.passkit.grpc.User.JWT result = new com.passkit.grpc.User.JWT(this); result.token_ = token_; 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 com.passkit.grpc.User.JWT) { return mergeFrom((com.passkit.grpc.User.JWT)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.User.JWT other) { if (other == com.passkit.grpc.User.JWT.getDefaultInstance()) return this; if (!other.getToken().isEmpty()) { token_ = other.token_; 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 { com.passkit.grpc.User.JWT parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.User.JWT) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object token_ = ""; /** * string token = 1; * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } else { return (java.lang.String) ref; } } /** * string token = 1; * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string token = 1; * @param value The token to set. * @return This builder for chaining. */ public Builder setToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } token_ = value; onChanged(); return this; } /** * string token = 1; * @return This builder for chaining. */ public Builder clearToken() { token_ = getDefaultInstance().getToken(); onChanged(); return this; } /** * string token = 1; * @param value The bytes for token to set. * @return This builder for chaining. */ public Builder setTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = 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:io.JWT) } // @@protoc_insertion_point(class_scope:io.JWT) private static final com.passkit.grpc.User.JWT DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.User.JWT(); } public static com.passkit.grpc.User.JWT getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JWT parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JWT(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 com.passkit.grpc.User.JWT getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PasswordResetInputOrBuilder extends // @@protoc_insertion_point(interface_extends:io.PasswordResetInput) com.google.protobuf.MessageOrBuilder { /** * string id = 1; * @return The id. */ java.lang.String getId(); /** * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * string registeredEmail = 2; * @return The registeredEmail. */ java.lang.String getRegisteredEmail(); /** * string registeredEmail = 2; * @return The bytes for registeredEmail. */ com.google.protobuf.ByteString getRegisteredEmailBytes(); /** * string newPassword = 3; * @return The newPassword. */ java.lang.String getNewPassword(); /** * string newPassword = 3; * @return The bytes for newPassword. */ com.google.protobuf.ByteString getNewPasswordBytes(); /** * string confirmNewPassword = 4; * @return The confirmNewPassword. */ java.lang.String getConfirmNewPassword(); /** * string confirmNewPassword = 4; * @return The bytes for confirmNewPassword. */ com.google.protobuf.ByteString getConfirmNewPasswordBytes(); } /** * Protobuf type {@code io.PasswordResetInput} */ public static final class PasswordResetInput extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.PasswordResetInput) PasswordResetInputOrBuilder { private static final long serialVersionUID = 0L; // Use PasswordResetInput.newBuilder() to construct. private PasswordResetInput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PasswordResetInput() { id_ = ""; registeredEmail_ = ""; newPassword_ = ""; confirmNewPassword_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PasswordResetInput(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PasswordResetInput( 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(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); registeredEmail_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); newPassword_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); confirmNewPassword_ = 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 com.passkit.grpc.User.internal_static_io_PasswordResetInput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_PasswordResetInput_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.PasswordResetInput.class, com.passkit.grpc.User.PasswordResetInput.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; } } /** * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REGISTEREDEMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object registeredEmail_; /** * string registeredEmail = 2; * @return The registeredEmail. */ @java.lang.Override public java.lang.String getRegisteredEmail() { java.lang.Object ref = registeredEmail_; 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(); registeredEmail_ = s; return s; } } /** * string registeredEmail = 2; * @return The bytes for registeredEmail. */ @java.lang.Override public com.google.protobuf.ByteString getRegisteredEmailBytes() { java.lang.Object ref = registeredEmail_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); registeredEmail_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEWPASSWORD_FIELD_NUMBER = 3; private volatile java.lang.Object newPassword_; /** * string newPassword = 3; * @return The newPassword. */ @java.lang.Override public java.lang.String getNewPassword() { java.lang.Object ref = newPassword_; 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(); newPassword_ = s; return s; } } /** * string newPassword = 3; * @return The bytes for newPassword. */ @java.lang.Override public com.google.protobuf.ByteString getNewPasswordBytes() { java.lang.Object ref = newPassword_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newPassword_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONFIRMNEWPASSWORD_FIELD_NUMBER = 4; private volatile java.lang.Object confirmNewPassword_; /** * string confirmNewPassword = 4; * @return The confirmNewPassword. */ @java.lang.Override public java.lang.String getConfirmNewPassword() { java.lang.Object ref = confirmNewPassword_; 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(); confirmNewPassword_ = s; return s; } } /** * string confirmNewPassword = 4; * @return The bytes for confirmNewPassword. */ @java.lang.Override public com.google.protobuf.ByteString getConfirmNewPasswordBytes() { java.lang.Object ref = confirmNewPassword_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); confirmNewPassword_ = 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getRegisteredEmailBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, registeredEmail_); } if (!getNewPasswordBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newPassword_); } if (!getConfirmNewPasswordBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, confirmNewPassword_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!getRegisteredEmailBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, registeredEmail_); } if (!getNewPasswordBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newPassword_); } if (!getConfirmNewPasswordBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, confirmNewPassword_); } 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 com.passkit.grpc.User.PasswordResetInput)) { return super.equals(obj); } com.passkit.grpc.User.PasswordResetInput other = (com.passkit.grpc.User.PasswordResetInput) obj; if (!getId() .equals(other.getId())) return false; if (!getRegisteredEmail() .equals(other.getRegisteredEmail())) return false; if (!getNewPassword() .equals(other.getNewPassword())) return false; if (!getConfirmNewPassword() .equals(other.getConfirmNewPassword())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + REGISTEREDEMAIL_FIELD_NUMBER; hash = (53 * hash) + getRegisteredEmail().hashCode(); hash = (37 * hash) + NEWPASSWORD_FIELD_NUMBER; hash = (53 * hash) + getNewPassword().hashCode(); hash = (37 * hash) + CONFIRMNEWPASSWORD_FIELD_NUMBER; hash = (53 * hash) + getConfirmNewPassword().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.User.PasswordResetInput parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.PasswordResetInput parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.PasswordResetInput parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.PasswordResetInput parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.PasswordResetInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.PasswordResetInput parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.PasswordResetInput parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.PasswordResetInput 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 com.passkit.grpc.User.PasswordResetInput parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.User.PasswordResetInput 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 com.passkit.grpc.User.PasswordResetInput parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.PasswordResetInput 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(com.passkit.grpc.User.PasswordResetInput 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 io.PasswordResetInput} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.PasswordResetInput) com.passkit.grpc.User.PasswordResetInputOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.User.internal_static_io_PasswordResetInput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_PasswordResetInput_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.PasswordResetInput.class, com.passkit.grpc.User.PasswordResetInput.Builder.class); } // Construct using com.passkit.grpc.User.PasswordResetInput.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(); id_ = ""; registeredEmail_ = ""; newPassword_ = ""; confirmNewPassword_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.User.internal_static_io_PasswordResetInput_descriptor; } @java.lang.Override public com.passkit.grpc.User.PasswordResetInput getDefaultInstanceForType() { return com.passkit.grpc.User.PasswordResetInput.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.User.PasswordResetInput build() { com.passkit.grpc.User.PasswordResetInput result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.User.PasswordResetInput buildPartial() { com.passkit.grpc.User.PasswordResetInput result = new com.passkit.grpc.User.PasswordResetInput(this); result.id_ = id_; result.registeredEmail_ = registeredEmail_; result.newPassword_ = newPassword_; result.confirmNewPassword_ = confirmNewPassword_; 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 com.passkit.grpc.User.PasswordResetInput) { return mergeFrom((com.passkit.grpc.User.PasswordResetInput)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.User.PasswordResetInput other) { if (other == com.passkit.grpc.User.PasswordResetInput.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getRegisteredEmail().isEmpty()) { registeredEmail_ = other.registeredEmail_; onChanged(); } if (!other.getNewPassword().isEmpty()) { newPassword_ = other.newPassword_; onChanged(); } if (!other.getConfirmNewPassword().isEmpty()) { confirmNewPassword_ = other.confirmNewPassword_; 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 { com.passkit.grpc.User.PasswordResetInput parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.User.PasswordResetInput) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private java.lang.Object registeredEmail_ = ""; /** * string registeredEmail = 2; * @return The registeredEmail. */ public java.lang.String getRegisteredEmail() { java.lang.Object ref = registeredEmail_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registeredEmail_ = s; return s; } else { return (java.lang.String) ref; } } /** * string registeredEmail = 2; * @return The bytes for registeredEmail. */ public com.google.protobuf.ByteString getRegisteredEmailBytes() { java.lang.Object ref = registeredEmail_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); registeredEmail_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string registeredEmail = 2; * @param value The registeredEmail to set. * @return This builder for chaining. */ public Builder setRegisteredEmail( java.lang.String value) { if (value == null) { throw new NullPointerException(); } registeredEmail_ = value; onChanged(); return this; } /** * string registeredEmail = 2; * @return This builder for chaining. */ public Builder clearRegisteredEmail() { registeredEmail_ = getDefaultInstance().getRegisteredEmail(); onChanged(); return this; } /** * string registeredEmail = 2; * @param value The bytes for registeredEmail to set. * @return This builder for chaining. */ public Builder setRegisteredEmailBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); registeredEmail_ = value; onChanged(); return this; } private java.lang.Object newPassword_ = ""; /** * string newPassword = 3; * @return The newPassword. */ public java.lang.String getNewPassword() { java.lang.Object ref = newPassword_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPassword_ = s; return s; } else { return (java.lang.String) ref; } } /** * string newPassword = 3; * @return The bytes for newPassword. */ public com.google.protobuf.ByteString getNewPasswordBytes() { java.lang.Object ref = newPassword_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newPassword_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string newPassword = 3; * @param value The newPassword to set. * @return This builder for chaining. */ public Builder setNewPassword( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newPassword_ = value; onChanged(); return this; } /** * string newPassword = 3; * @return This builder for chaining. */ public Builder clearNewPassword() { newPassword_ = getDefaultInstance().getNewPassword(); onChanged(); return this; } /** * string newPassword = 3; * @param value The bytes for newPassword to set. * @return This builder for chaining. */ public Builder setNewPasswordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newPassword_ = value; onChanged(); return this; } private java.lang.Object confirmNewPassword_ = ""; /** * string confirmNewPassword = 4; * @return The confirmNewPassword. */ public java.lang.String getConfirmNewPassword() { java.lang.Object ref = confirmNewPassword_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); confirmNewPassword_ = s; return s; } else { return (java.lang.String) ref; } } /** * string confirmNewPassword = 4; * @return The bytes for confirmNewPassword. */ public com.google.protobuf.ByteString getConfirmNewPasswordBytes() { java.lang.Object ref = confirmNewPassword_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); confirmNewPassword_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string confirmNewPassword = 4; * @param value The confirmNewPassword to set. * @return This builder for chaining. */ public Builder setConfirmNewPassword( java.lang.String value) { if (value == null) { throw new NullPointerException(); } confirmNewPassword_ = value; onChanged(); return this; } /** * string confirmNewPassword = 4; * @return This builder for chaining. */ public Builder clearConfirmNewPassword() { confirmNewPassword_ = getDefaultInstance().getConfirmNewPassword(); onChanged(); return this; } /** * string confirmNewPassword = 4; * @param value The bytes for confirmNewPassword to set. * @return This builder for chaining. */ public Builder setConfirmNewPasswordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); confirmNewPassword_ = 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:io.PasswordResetInput) } // @@protoc_insertion_point(class_scope:io.PasswordResetInput) private static final com.passkit.grpc.User.PasswordResetInput DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.User.PasswordResetInput(); } public static com.passkit.grpc.User.PasswordResetInput getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PasswordResetInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PasswordResetInput(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 com.passkit.grpc.User.PasswordResetInput getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UsernameOrBuilder extends // @@protoc_insertion_point(interface_extends:io.Username) com.google.protobuf.MessageOrBuilder { /** * string username = 1; * @return The username. */ java.lang.String getUsername(); /** * string username = 1; * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); } /** * Protobuf type {@code io.Username} */ public static final class Username extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.Username) UsernameOrBuilder { private static final long serialVersionUID = 0L; // Use Username.newBuilder() to construct. private Username(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Username() { username_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Username(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Username( 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(); username_ = 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 com.passkit.grpc.User.internal_static_io_Username_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_Username_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.Username.class, com.passkit.grpc.User.Username.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object username_; /** * string username = 1; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; 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(); username_ = s; return s; } } /** * string username = 1; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = 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 (!getUsernameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getUsernameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, username_); } 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 com.passkit.grpc.User.Username)) { return super.equals(obj); } com.passkit.grpc.User.Username other = (com.passkit.grpc.User.Username) obj; if (!getUsername() .equals(other.getUsername())) 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) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.User.Username parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.Username parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.Username parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.Username parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.Username parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.User.Username parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.User.Username parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.Username 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 com.passkit.grpc.User.Username parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.User.Username 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 com.passkit.grpc.User.Username parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.User.Username 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(com.passkit.grpc.User.Username 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 io.Username} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.Username) com.passkit.grpc.User.UsernameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.User.internal_static_io_Username_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.User.internal_static_io_Username_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.User.Username.class, com.passkit.grpc.User.Username.Builder.class); } // Construct using com.passkit.grpc.User.Username.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(); username_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.User.internal_static_io_Username_descriptor; } @java.lang.Override public com.passkit.grpc.User.Username getDefaultInstanceForType() { return com.passkit.grpc.User.Username.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.User.Username build() { com.passkit.grpc.User.Username result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.User.Username buildPartial() { com.passkit.grpc.User.Username result = new com.passkit.grpc.User.Username(this); result.username_ = username_; 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 com.passkit.grpc.User.Username) { return mergeFrom((com.passkit.grpc.User.Username)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.User.Username other) { if (other == com.passkit.grpc.User.Username.getDefaultInstance()) return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; 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 { com.passkit.grpc.User.Username parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.User.Username) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object username_ = ""; /** * string username = 1; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } else { return (java.lang.String) ref; } } /** * string username = 1; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string username = 1; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } username_ = value; onChanged(); return this; } /** * string username = 1; * @return This builder for chaining. */ public Builder clearUsername() { username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * string username = 1; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = 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:io.Username) } // @@protoc_insertion_point(class_scope:io.Username) private static final com.passkit.grpc.User.Username DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.User.Username(); } public static com.passkit.grpc.User.Username getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Username parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Username(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 com.passkit.grpc.User.Username getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_NewUserResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_NewUserResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_NewUser_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_NewUser_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_GetUserResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_GetUserResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_BillingMeta_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_BillingMeta_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_Credentials_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_Credentials_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_JWT_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_JWT_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_PasswordResetInput_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_PasswordResetInput_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_Username_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_Username_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\022io/user/user.proto\022\002io\032\037google/protobu" + "f/timestamp.proto\032\030io/common/personal.pr" + "oto\"\255\001\n\017NewUserResponse\022\016\n\006userId\030\001 \001(\t\022" + "\021\n\tcompanyId\030\002 \001(\t\022\020\n\010username\030\003 \001(\t\022\024\n\014" + "emailAddress\030\004 \001(\t\022\016\n\006secret\030\005 \001(\t\022\023\n\013ce" + "rtificate\030\006 \001(\t\022\022\n\nprivateKey\030\007 \001(\t\022\026\n\016j" + "avaPrivateKey\030\010 \001(\t\"\273\001\n\007NewUser\022\020\n\010usern" + "ame\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\022\024\n\014emailAddr" + "ess\030\003 \001(\t\022\021\n\tsendEmail\030\004 \001(\010\022\023\n\013companyN" + "ame\030\005 \001(\t\022\024\n\014mobileNumber\030\006 \001(\t\022\025\n\rtwoFa" + "ctorAuth\030\007 \001(\010\022\017\n\007isOwner\030\010 \001(\010\022\020\n\010readO" + "nly\030\t \001(\010\"\240\001\n\017GetUserResponse\022\r\n\005email\030\001" + " \001(\t\022\020\n\010username\030\002 \001(\t\022\021\n\tcompanyId\030\003 \001(" + "\t\022\023\n\013companyName\030\004 \001(\t\022\025\n\rcompanyStatus\030" + "\005 \001(\004\022-\n\tcreatedAt\030\006 \001(\0132\032.google.protob" + "uf.Timestamp\"i\n\013BillingMeta\022\023\n\013companyNa" + "me\030\001 \001(\t\022\r\n\005taxId\030\002 \001(\t\022\021\n\treference\030\003 \001" + "(\t\022#\n\016billingAddress\030\004 \001(\0132\013.io.Address\"" + "1\n\013Credentials\022\020\n\010username\030\001 \001(\t\022\020\n\010pass" + "word\030\002 \001(\t\"\024\n\003JWT\022\r\n\005token\030\001 \001(\t\"j\n\022Pass" + "wordResetInput\022\n\n\002id\030\001 \001(\t\022\027\n\017registered" + "Email\030\002 \001(\t\022\023\n\013newPassword\030\003 \001(\t\022\032\n\022conf" + "irmNewPassword\030\004 \001(\t\"\034\n\010Username\022\020\n\010user" + "name\030\001 \001(\tBG\n\020com.passkit.grpcZ$stash.pa" + "sskit.com/io/model/sdk/go/io\252\002\014PassKit.G" + "rpcb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), com.passkit.grpc.Personal.getDescriptor(), }); internal_static_io_NewUserResponse_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_io_NewUserResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_NewUserResponse_descriptor, new java.lang.String[] { "UserId", "CompanyId", "Username", "EmailAddress", "Secret", "Certificate", "PrivateKey", "JavaPrivateKey", }); internal_static_io_NewUser_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_io_NewUser_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_NewUser_descriptor, new java.lang.String[] { "Username", "Password", "EmailAddress", "SendEmail", "CompanyName", "MobileNumber", "TwoFactorAuth", "IsOwner", "ReadOnly", }); internal_static_io_GetUserResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_io_GetUserResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_GetUserResponse_descriptor, new java.lang.String[] { "Email", "Username", "CompanyId", "CompanyName", "CompanyStatus", "CreatedAt", }); internal_static_io_BillingMeta_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_io_BillingMeta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_BillingMeta_descriptor, new java.lang.String[] { "CompanyName", "TaxId", "Reference", "BillingAddress", }); internal_static_io_Credentials_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_io_Credentials_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_Credentials_descriptor, new java.lang.String[] { "Username", "Password", }); internal_static_io_JWT_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_io_JWT_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_JWT_descriptor, new java.lang.String[] { "Token", }); internal_static_io_PasswordResetInput_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_io_PasswordResetInput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_PasswordResetInput_descriptor, new java.lang.String[] { "Id", "RegisteredEmail", "NewPassword", "ConfirmNewPassword", }); internal_static_io_Username_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_io_Username_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_Username_descriptor, new java.lang.String[] { "Username", }); com.google.protobuf.TimestampProto.getDescriptor(); com.passkit.grpc.Personal.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy