// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/oslogin/common/common.proto

package com.google.cloud.oslogin.common;

public final class OsLoginProto {
  private OsLoginProto() {}

  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 PosixAccountOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.oslogin.common.PosixAccount)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * Only one POSIX account can be marked as primary.
     * </pre>
     *
     * <code>bool primary = 1;</code>
     */
    boolean getPrimary();

    /**
     *
     *
     * <pre>
     * The username of the POSIX account.
     * </pre>
     *
     * <code>string username = 2;</code>
     */
    java.lang.String getUsername();
    /**
     *
     *
     * <pre>
     * The username of the POSIX account.
     * </pre>
     *
     * <code>string username = 2;</code>
     */
    com.google.protobuf.ByteString getUsernameBytes();

    /**
     *
     *
     * <pre>
     * The user ID.
     * </pre>
     *
     * <code>int64 uid = 3;</code>
     */
    long getUid();

    /**
     *
     *
     * <pre>
     * The default group ID.
     * </pre>
     *
     * <code>int64 gid = 4;</code>
     */
    long getGid();

    /**
     *
     *
     * <pre>
     * The path to the home directory for this account.
     * </pre>
     *
     * <code>string home_directory = 5;</code>
     */
    java.lang.String getHomeDirectory();
    /**
     *
     *
     * <pre>
     * The path to the home directory for this account.
     * </pre>
     *
     * <code>string home_directory = 5;</code>
     */
    com.google.protobuf.ByteString getHomeDirectoryBytes();

    /**
     *
     *
     * <pre>
     * The path to the logic shell for this account.
     * </pre>
     *
     * <code>string shell = 6;</code>
     */
    java.lang.String getShell();
    /**
     *
     *
     * <pre>
     * The path to the logic shell for this account.
     * </pre>
     *
     * <code>string shell = 6;</code>
     */
    com.google.protobuf.ByteString getShellBytes();

    /**
     *
     *
     * <pre>
     * The GECOS (user information) entry for this account.
     * </pre>
     *
     * <code>string gecos = 7;</code>
     */
    java.lang.String getGecos();
    /**
     *
     *
     * <pre>
     * The GECOS (user information) entry for this account.
     * </pre>
     *
     * <code>string gecos = 7;</code>
     */
    com.google.protobuf.ByteString getGecosBytes();

    /**
     *
     *
     * <pre>
     * System identifier for which account the username or uid applies to.
     * By default, the empty value is used.
     * </pre>
     *
     * <code>string system_id = 8;</code>
     */
    java.lang.String getSystemId();
    /**
     *
     *
     * <pre>
     * System identifier for which account the username or uid applies to.
     * By default, the empty value is used.
     * </pre>
     *
     * <code>string system_id = 8;</code>
     */
    com.google.protobuf.ByteString getSystemIdBytes();

    /**
     *
     *
     * <pre>
     * Output only. A POSIX account identifier.
     * </pre>
     *
     * <code>string account_id = 9;</code>
     */
    java.lang.String getAccountId();
    /**
     *
     *
     * <pre>
     * Output only. A POSIX account identifier.
     * </pre>
     *
     * <code>string account_id = 9;</code>
     */
    com.google.protobuf.ByteString getAccountIdBytes();
  }
  /**
   *
   *
   * <pre>
   * The POSIX account information associated with a Google account.
   * </pre>
   *
   * Protobuf type {@code google.cloud.oslogin.common.PosixAccount}
   */
  public static final class PosixAccount extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.oslogin.common.PosixAccount)
      PosixAccountOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use PosixAccount.newBuilder() to construct.
    private PosixAccount(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private PosixAccount() {
      username_ = "";
      homeDirectory_ = "";
      shell_ = "";
      gecos_ = "";
      systemId_ = "";
      accountId_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    private PosixAccount(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8:
              {
                primary_ = input.readBool();
                break;
              }
            case 18:
              {
                java.lang.String s = input.readStringRequireUtf8();

                username_ = s;
                break;
              }
            case 24:
              {
                uid_ = input.readInt64();
                break;
              }
            case 32:
              {
                gid_ = input.readInt64();
                break;
              }
            case 42:
              {
                java.lang.String s = input.readStringRequireUtf8();

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

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

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

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

                accountId_ = 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.google.cloud.oslogin.common.OsLoginProto
          .internal_static_google_cloud_oslogin_common_PosixAccount_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.oslogin.common.OsLoginProto
          .internal_static_google_cloud_oslogin_common_PosixAccount_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.oslogin.common.OsLoginProto.PosixAccount.class,
              com.google.cloud.oslogin.common.OsLoginProto.PosixAccount.Builder.class);
    }

    public static final int PRIMARY_FIELD_NUMBER = 1;
    private boolean primary_;
    /**
     *
     *
     * <pre>
     * Only one POSIX account can be marked as primary.
     * </pre>
     *
     * <code>bool primary = 1;</code>
     */
    public boolean getPrimary() {
      return primary_;
    }

    public static final int USERNAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object username_;
    /**
     *
     *
     * <pre>
     * The username of the POSIX account.
     * </pre>
     *
     * <code>string username = 2;</code>
     */
    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;
      }
    }
    /**
     *
     *
     * <pre>
     * The username of the POSIX account.
     * </pre>
     *
     * <code>string username = 2;</code>
     */
    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 UID_FIELD_NUMBER = 3;
    private long uid_;
    /**
     *
     *
     * <pre>
     * The user ID.
     * </pre>
     *
     * <code>int64 uid = 3;</code>
     */
    public long getUid() {
      return uid_;
    }

    public static final int GID_FIELD_NUMBER = 4;
    private long gid_;
    /**
     *
     *
     * <pre>
     * The default group ID.
     * </pre>
     *
     * <code>int64 gid = 4;</code>
     */
    public long getGid() {
      return gid_;
    }

    public static final int HOME_DIRECTORY_FIELD_NUMBER = 5;
    private volatile java.lang.Object homeDirectory_;
    /**
     *
     *
     * <pre>
     * The path to the home directory for this account.
     * </pre>
     *
     * <code>string home_directory = 5;</code>
     */
    public java.lang.String getHomeDirectory() {
      java.lang.Object ref = homeDirectory_;
      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();
        homeDirectory_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * The path to the home directory for this account.
     * </pre>
     *
     * <code>string home_directory = 5;</code>
     */
    public com.google.protobuf.ByteString getHomeDirectoryBytes() {
      java.lang.Object ref = homeDirectory_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        homeDirectory_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SHELL_FIELD_NUMBER = 6;
    private volatile java.lang.Object shell_;
    /**
     *
     *
     * <pre>
     * The path to the logic shell for this account.
     * </pre>
     *
     * <code>string shell = 6;</code>
     */
    public java.lang.String getShell() {
      java.lang.Object ref = shell_;
      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();
        shell_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * The path to the logic shell for this account.
     * </pre>
     *
     * <code>string shell = 6;</code>
     */
    public com.google.protobuf.ByteString getShellBytes() {
      java.lang.Object ref = shell_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        shell_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int GECOS_FIELD_NUMBER = 7;
    private volatile java.lang.Object gecos_;
    /**
     *
     *
     * <pre>
     * The GECOS (user information) entry for this account.
     * </pre>
     *
     * <code>string gecos = 7;</code>
     */
    public java.lang.String getGecos() {
      java.lang.Object ref = gecos_;
      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();
        gecos_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * The GECOS (user information) entry for this account.
     * </pre>
     *
     * <code>string gecos = 7;</code>
     */
    public com.google.protobuf.ByteString getGecosBytes() {
      java.lang.Object ref = gecos_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        gecos_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SYSTEM_ID_FIELD_NUMBER = 8;
    private volatile java.lang.Object systemId_;
    /**
     *
     *
     * <pre>
     * System identifier for which account the username or uid applies to.
     * By default, the empty value is used.
     * </pre>
     *
     * <code>string system_id = 8;</code>
     */
    public java.lang.String getSystemId() {
      java.lang.Object ref = systemId_;
      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();
        systemId_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * System identifier for which account the username or uid applies to.
     * By default, the empty value is used.
     * </pre>
     *
     * <code>string system_id = 8;</code>
     */
    public com.google.protobuf.ByteString getSystemIdBytes() {
      java.lang.Object ref = systemId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        systemId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ACCOUNT_ID_FIELD_NUMBER = 9;
    private volatile java.lang.Object accountId_;
    /**
     *
     *
     * <pre>
     * Output only. A POSIX account identifier.
     * </pre>
     *
     * <code>string account_id = 9;</code>
     */
    public java.lang.String getAccountId() {
      java.lang.Object ref = accountId_;
      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();
        accountId_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. A POSIX account identifier.
     * </pre>
     *
     * <code>string account_id = 9;</code>
     */
    public com.google.protobuf.ByteString getAccountIdBytes() {
      java.lang.Object ref = accountId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        accountId_ = 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 (primary_ != false) {
        output.writeBool(1, primary_);
      }
      if (!getUsernameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, username_);
      }
      if (uid_ != 0L) {
        output.writeInt64(3, uid_);
      }
      if (gid_ != 0L) {
        output.writeInt64(4, gid_);
      }
      if (!getHomeDirectoryBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, homeDirectory_);
      }
      if (!getShellBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, shell_);
      }
      if (!getGecosBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, gecos_);
      }
      if (!getSystemIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, systemId_);
      }
      if (!getAccountIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 9, accountId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (primary_ != false) {
        size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, primary_);
      }
      if (!getUsernameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, username_);
      }
      if (uid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, uid_);
      }
      if (gid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, gid_);
      }
      if (!getHomeDirectoryBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, homeDirectory_);
      }
      if (!getShellBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, shell_);
      }
      if (!getGecosBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, gecos_);
      }
      if (!getSystemIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, systemId_);
      }
      if (!getAccountIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, accountId_);
      }
      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.google.cloud.oslogin.common.OsLoginProto.PosixAccount)) {
        return super.equals(obj);
      }
      com.google.cloud.oslogin.common.OsLoginProto.PosixAccount other =
          (com.google.cloud.oslogin.common.OsLoginProto.PosixAccount) obj;

      if (getPrimary() != other.getPrimary()) return false;
      if (!getUsername().equals(other.getUsername())) return false;
      if (getUid() != other.getUid()) return false;
      if (getGid() != other.getGid()) return false;
      if (!getHomeDirectory().equals(other.getHomeDirectory())) return false;
      if (!getShell().equals(other.getShell())) return false;
      if (!getGecos().equals(other.getGecos())) return false;
      if (!getSystemId().equals(other.getSystemId())) return false;
      if (!getAccountId().equals(other.getAccountId())) 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) + PRIMARY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrimary());
      hash = (37 * hash) + USERNAME_FIELD_NUMBER;
      hash = (53 * hash) + getUsername().hashCode();
      hash = (37 * hash) + UID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUid());
      hash = (37 * hash) + GID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGid());
      hash = (37 * hash) + HOME_DIRECTORY_FIELD_NUMBER;
      hash = (53 * hash) + getHomeDirectory().hashCode();
      hash = (37 * hash) + SHELL_FIELD_NUMBER;
      hash = (53 * hash) + getShell().hashCode();
      hash = (37 * hash) + GECOS_FIELD_NUMBER;
      hash = (53 * hash) + getGecos().hashCode();
      hash = (37 * hash) + SYSTEM_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSystemId().hashCode();
      hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getAccountId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount 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.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount 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.google.cloud.oslogin.common.OsLoginProto.PosixAccount parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount 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.google.cloud.oslogin.common.OsLoginProto.PosixAccount 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;
    }
    /**
     *
     *
     * <pre>
     * The POSIX account information associated with a Google account.
     * </pre>
     *
     * Protobuf type {@code google.cloud.oslogin.common.PosixAccount}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.oslogin.common.PosixAccount)
        com.google.cloud.oslogin.common.OsLoginProto.PosixAccountOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.oslogin.common.OsLoginProto
            .internal_static_google_cloud_oslogin_common_PosixAccount_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.oslogin.common.OsLoginProto
            .internal_static_google_cloud_oslogin_common_PosixAccount_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.oslogin.common.OsLoginProto.PosixAccount.class,
                com.google.cloud.oslogin.common.OsLoginProto.PosixAccount.Builder.class);
      }

      // Construct using com.google.cloud.oslogin.common.OsLoginProto.PosixAccount.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();
        primary_ = false;

        username_ = "";

        uid_ = 0L;

        gid_ = 0L;

        homeDirectory_ = "";

        shell_ = "";

        gecos_ = "";

        systemId_ = "";

        accountId_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.oslogin.common.OsLoginProto
            .internal_static_google_cloud_oslogin_common_PosixAccount_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.oslogin.common.OsLoginProto.PosixAccount getDefaultInstanceForType() {
        return com.google.cloud.oslogin.common.OsLoginProto.PosixAccount.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.oslogin.common.OsLoginProto.PosixAccount build() {
        com.google.cloud.oslogin.common.OsLoginProto.PosixAccount result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.oslogin.common.OsLoginProto.PosixAccount buildPartial() {
        com.google.cloud.oslogin.common.OsLoginProto.PosixAccount result =
            new com.google.cloud.oslogin.common.OsLoginProto.PosixAccount(this);
        result.primary_ = primary_;
        result.username_ = username_;
        result.uid_ = uid_;
        result.gid_ = gid_;
        result.homeDirectory_ = homeDirectory_;
        result.shell_ = shell_;
        result.gecos_ = gecos_;
        result.systemId_ = systemId_;
        result.accountId_ = accountId_;
        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.google.cloud.oslogin.common.OsLoginProto.PosixAccount) {
          return mergeFrom((com.google.cloud.oslogin.common.OsLoginProto.PosixAccount) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.oslogin.common.OsLoginProto.PosixAccount other) {
        if (other == com.google.cloud.oslogin.common.OsLoginProto.PosixAccount.getDefaultInstance())
          return this;
        if (other.getPrimary() != false) {
          setPrimary(other.getPrimary());
        }
        if (!other.getUsername().isEmpty()) {
          username_ = other.username_;
          onChanged();
        }
        if (other.getUid() != 0L) {
          setUid(other.getUid());
        }
        if (other.getGid() != 0L) {
          setGid(other.getGid());
        }
        if (!other.getHomeDirectory().isEmpty()) {
          homeDirectory_ = other.homeDirectory_;
          onChanged();
        }
        if (!other.getShell().isEmpty()) {
          shell_ = other.shell_;
          onChanged();
        }
        if (!other.getGecos().isEmpty()) {
          gecos_ = other.gecos_;
          onChanged();
        }
        if (!other.getSystemId().isEmpty()) {
          systemId_ = other.systemId_;
          onChanged();
        }
        if (!other.getAccountId().isEmpty()) {
          accountId_ = other.accountId_;
          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.google.cloud.oslogin.common.OsLoginProto.PosixAccount parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage =
              (com.google.cloud.oslogin.common.OsLoginProto.PosixAccount) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private boolean primary_;
      /**
       *
       *
       * <pre>
       * Only one POSIX account can be marked as primary.
       * </pre>
       *
       * <code>bool primary = 1;</code>
       */
      public boolean getPrimary() {
        return primary_;
      }
      /**
       *
       *
       * <pre>
       * Only one POSIX account can be marked as primary.
       * </pre>
       *
       * <code>bool primary = 1;</code>
       */
      public Builder setPrimary(boolean value) {

        primary_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Only one POSIX account can be marked as primary.
       * </pre>
       *
       * <code>bool primary = 1;</code>
       */
      public Builder clearPrimary() {

        primary_ = false;
        onChanged();
        return this;
      }

      private java.lang.Object username_ = "";
      /**
       *
       *
       * <pre>
       * The username of the POSIX account.
       * </pre>
       *
       * <code>string username = 2;</code>
       */
      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;
        }
      }
      /**
       *
       *
       * <pre>
       * The username of the POSIX account.
       * </pre>
       *
       * <code>string username = 2;</code>
       */
      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;
        }
      }
      /**
       *
       *
       * <pre>
       * The username of the POSIX account.
       * </pre>
       *
       * <code>string username = 2;</code>
       */
      public Builder setUsername(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        username_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The username of the POSIX account.
       * </pre>
       *
       * <code>string username = 2;</code>
       */
      public Builder clearUsername() {

        username_ = getDefaultInstance().getUsername();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The username of the POSIX account.
       * </pre>
       *
       * <code>string username = 2;</code>
       */
      public Builder setUsernameBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        username_ = value;
        onChanged();
        return this;
      }

      private long uid_;
      /**
       *
       *
       * <pre>
       * The user ID.
       * </pre>
       *
       * <code>int64 uid = 3;</code>
       */
      public long getUid() {
        return uid_;
      }
      /**
       *
       *
       * <pre>
       * The user ID.
       * </pre>
       *
       * <code>int64 uid = 3;</code>
       */
      public Builder setUid(long value) {

        uid_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The user ID.
       * </pre>
       *
       * <code>int64 uid = 3;</code>
       */
      public Builder clearUid() {

        uid_ = 0L;
        onChanged();
        return this;
      }

      private long gid_;
      /**
       *
       *
       * <pre>
       * The default group ID.
       * </pre>
       *
       * <code>int64 gid = 4;</code>
       */
      public long getGid() {
        return gid_;
      }
      /**
       *
       *
       * <pre>
       * The default group ID.
       * </pre>
       *
       * <code>int64 gid = 4;</code>
       */
      public Builder setGid(long value) {

        gid_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The default group ID.
       * </pre>
       *
       * <code>int64 gid = 4;</code>
       */
      public Builder clearGid() {

        gid_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object homeDirectory_ = "";
      /**
       *
       *
       * <pre>
       * The path to the home directory for this account.
       * </pre>
       *
       * <code>string home_directory = 5;</code>
       */
      public java.lang.String getHomeDirectory() {
        java.lang.Object ref = homeDirectory_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          homeDirectory_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The path to the home directory for this account.
       * </pre>
       *
       * <code>string home_directory = 5;</code>
       */
      public com.google.protobuf.ByteString getHomeDirectoryBytes() {
        java.lang.Object ref = homeDirectory_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          homeDirectory_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The path to the home directory for this account.
       * </pre>
       *
       * <code>string home_directory = 5;</code>
       */
      public Builder setHomeDirectory(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        homeDirectory_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The path to the home directory for this account.
       * </pre>
       *
       * <code>string home_directory = 5;</code>
       */
      public Builder clearHomeDirectory() {

        homeDirectory_ = getDefaultInstance().getHomeDirectory();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The path to the home directory for this account.
       * </pre>
       *
       * <code>string home_directory = 5;</code>
       */
      public Builder setHomeDirectoryBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        homeDirectory_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object shell_ = "";
      /**
       *
       *
       * <pre>
       * The path to the logic shell for this account.
       * </pre>
       *
       * <code>string shell = 6;</code>
       */
      public java.lang.String getShell() {
        java.lang.Object ref = shell_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          shell_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The path to the logic shell for this account.
       * </pre>
       *
       * <code>string shell = 6;</code>
       */
      public com.google.protobuf.ByteString getShellBytes() {
        java.lang.Object ref = shell_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          shell_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The path to the logic shell for this account.
       * </pre>
       *
       * <code>string shell = 6;</code>
       */
      public Builder setShell(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        shell_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The path to the logic shell for this account.
       * </pre>
       *
       * <code>string shell = 6;</code>
       */
      public Builder clearShell() {

        shell_ = getDefaultInstance().getShell();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The path to the logic shell for this account.
       * </pre>
       *
       * <code>string shell = 6;</code>
       */
      public Builder setShellBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        shell_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object gecos_ = "";
      /**
       *
       *
       * <pre>
       * The GECOS (user information) entry for this account.
       * </pre>
       *
       * <code>string gecos = 7;</code>
       */
      public java.lang.String getGecos() {
        java.lang.Object ref = gecos_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          gecos_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The GECOS (user information) entry for this account.
       * </pre>
       *
       * <code>string gecos = 7;</code>
       */
      public com.google.protobuf.ByteString getGecosBytes() {
        java.lang.Object ref = gecos_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          gecos_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The GECOS (user information) entry for this account.
       * </pre>
       *
       * <code>string gecos = 7;</code>
       */
      public Builder setGecos(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        gecos_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The GECOS (user information) entry for this account.
       * </pre>
       *
       * <code>string gecos = 7;</code>
       */
      public Builder clearGecos() {

        gecos_ = getDefaultInstance().getGecos();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The GECOS (user information) entry for this account.
       * </pre>
       *
       * <code>string gecos = 7;</code>
       */
      public Builder setGecosBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        gecos_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object systemId_ = "";
      /**
       *
       *
       * <pre>
       * System identifier for which account the username or uid applies to.
       * By default, the empty value is used.
       * </pre>
       *
       * <code>string system_id = 8;</code>
       */
      public java.lang.String getSystemId() {
        java.lang.Object ref = systemId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          systemId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * System identifier for which account the username or uid applies to.
       * By default, the empty value is used.
       * </pre>
       *
       * <code>string system_id = 8;</code>
       */
      public com.google.protobuf.ByteString getSystemIdBytes() {
        java.lang.Object ref = systemId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          systemId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * System identifier for which account the username or uid applies to.
       * By default, the empty value is used.
       * </pre>
       *
       * <code>string system_id = 8;</code>
       */
      public Builder setSystemId(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        systemId_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * System identifier for which account the username or uid applies to.
       * By default, the empty value is used.
       * </pre>
       *
       * <code>string system_id = 8;</code>
       */
      public Builder clearSystemId() {

        systemId_ = getDefaultInstance().getSystemId();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * System identifier for which account the username or uid applies to.
       * By default, the empty value is used.
       * </pre>
       *
       * <code>string system_id = 8;</code>
       */
      public Builder setSystemIdBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        systemId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object accountId_ = "";
      /**
       *
       *
       * <pre>
       * Output only. A POSIX account identifier.
       * </pre>
       *
       * <code>string account_id = 9;</code>
       */
      public java.lang.String getAccountId() {
        java.lang.Object ref = accountId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          accountId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Output only. A POSIX account identifier.
       * </pre>
       *
       * <code>string account_id = 9;</code>
       */
      public com.google.protobuf.ByteString getAccountIdBytes() {
        java.lang.Object ref = accountId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          accountId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Output only. A POSIX account identifier.
       * </pre>
       *
       * <code>string account_id = 9;</code>
       */
      public Builder setAccountId(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        accountId_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Output only. A POSIX account identifier.
       * </pre>
       *
       * <code>string account_id = 9;</code>
       */
      public Builder clearAccountId() {

        accountId_ = getDefaultInstance().getAccountId();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Output only. A POSIX account identifier.
       * </pre>
       *
       * <code>string account_id = 9;</code>
       */
      public Builder setAccountIdBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        accountId_ = 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:google.cloud.oslogin.common.PosixAccount)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.oslogin.common.PosixAccount)
    private static final com.google.cloud.oslogin.common.OsLoginProto.PosixAccount DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.oslogin.common.OsLoginProto.PosixAccount();
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.PosixAccount getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.google.cloud.oslogin.common.OsLoginProto.PosixAccount getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface SshPublicKeyOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.oslogin.common.SshPublicKey)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * Public key text in SSH format, defined by
     * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
     * section 6.6.
     * </pre>
     *
     * <code>string key = 1;</code>
     */
    java.lang.String getKey();
    /**
     *
     *
     * <pre>
     * Public key text in SSH format, defined by
     * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
     * section 6.6.
     * </pre>
     *
     * <code>string key = 1;</code>
     */
    com.google.protobuf.ByteString getKeyBytes();

    /**
     *
     *
     * <pre>
     * An expiration time in microseconds since epoch.
     * </pre>
     *
     * <code>int64 expiration_time_usec = 2;</code>
     */
    long getExpirationTimeUsec();

    /**
     *
     *
     * <pre>
     * Output only. The SHA-256 fingerprint of the SSH public key.
     * </pre>
     *
     * <code>string fingerprint = 3;</code>
     */
    java.lang.String getFingerprint();
    /**
     *
     *
     * <pre>
     * Output only. The SHA-256 fingerprint of the SSH public key.
     * </pre>
     *
     * <code>string fingerprint = 3;</code>
     */
    com.google.protobuf.ByteString getFingerprintBytes();
  }
  /**
   *
   *
   * <pre>
   * The SSH public key information associated with a Google account.
   * </pre>
   *
   * Protobuf type {@code google.cloud.oslogin.common.SshPublicKey}
   */
  public static final class SshPublicKey extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.oslogin.common.SshPublicKey)
      SshPublicKeyOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use SshPublicKey.newBuilder() to construct.
    private SshPublicKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private SshPublicKey() {
      key_ = "";
      fingerprint_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    private SshPublicKey(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                java.lang.String s = input.readStringRequireUtf8();

                key_ = s;
                break;
              }
            case 16:
              {
                expirationTimeUsec_ = input.readInt64();
                break;
              }
            case 26:
              {
                java.lang.String s = input.readStringRequireUtf8();

                fingerprint_ = 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.google.cloud.oslogin.common.OsLoginProto
          .internal_static_google_cloud_oslogin_common_SshPublicKey_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.oslogin.common.OsLoginProto
          .internal_static_google_cloud_oslogin_common_SshPublicKey_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey.class,
              com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey.Builder.class);
    }

    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     *
     *
     * <pre>
     * Public key text in SSH format, defined by
     * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
     * section 6.6.
     * </pre>
     *
     * <code>string key = 1;</code>
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      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();
        key_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * Public key text in SSH format, defined by
     * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
     * section 6.6.
     * </pre>
     *
     * <code>string key = 1;</code>
     */
    public com.google.protobuf.ByteString getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int EXPIRATION_TIME_USEC_FIELD_NUMBER = 2;
    private long expirationTimeUsec_;
    /**
     *
     *
     * <pre>
     * An expiration time in microseconds since epoch.
     * </pre>
     *
     * <code>int64 expiration_time_usec = 2;</code>
     */
    public long getExpirationTimeUsec() {
      return expirationTimeUsec_;
    }

    public static final int FINGERPRINT_FIELD_NUMBER = 3;
    private volatile java.lang.Object fingerprint_;
    /**
     *
     *
     * <pre>
     * Output only. The SHA-256 fingerprint of the SSH public key.
     * </pre>
     *
     * <code>string fingerprint = 3;</code>
     */
    public java.lang.String getFingerprint() {
      java.lang.Object ref = fingerprint_;
      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();
        fingerprint_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The SHA-256 fingerprint of the SSH public key.
     * </pre>
     *
     * <code>string fingerprint = 3;</code>
     */
    public com.google.protobuf.ByteString getFingerprintBytes() {
      java.lang.Object ref = fingerprint_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        fingerprint_ = 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 (!getKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
      }
      if (expirationTimeUsec_ != 0L) {
        output.writeInt64(2, expirationTimeUsec_);
      }
      if (!getFingerprintBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fingerprint_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
      }
      if (expirationTimeUsec_ != 0L) {
        size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, expirationTimeUsec_);
      }
      if (!getFingerprintBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fingerprint_);
      }
      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.google.cloud.oslogin.common.OsLoginProto.SshPublicKey)) {
        return super.equals(obj);
      }
      com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey other =
          (com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey) obj;

      if (!getKey().equals(other.getKey())) return false;
      if (getExpirationTimeUsec() != other.getExpirationTimeUsec()) return false;
      if (!getFingerprint().equals(other.getFingerprint())) 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) + KEY_FIELD_NUMBER;
      hash = (53 * hash) + getKey().hashCode();
      hash = (37 * hash) + EXPIRATION_TIME_USEC_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExpirationTimeUsec());
      hash = (37 * hash) + FINGERPRINT_FIELD_NUMBER;
      hash = (53 * hash) + getFingerprint().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey 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.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey 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.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey 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.google.cloud.oslogin.common.OsLoginProto.SshPublicKey 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;
    }
    /**
     *
     *
     * <pre>
     * The SSH public key information associated with a Google account.
     * </pre>
     *
     * Protobuf type {@code google.cloud.oslogin.common.SshPublicKey}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.oslogin.common.SshPublicKey)
        com.google.cloud.oslogin.common.OsLoginProto.SshPublicKeyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.oslogin.common.OsLoginProto
            .internal_static_google_cloud_oslogin_common_SshPublicKey_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.oslogin.common.OsLoginProto
            .internal_static_google_cloud_oslogin_common_SshPublicKey_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey.class,
                com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey.Builder.class);
      }

      // Construct using com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey.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();
        key_ = "";

        expirationTimeUsec_ = 0L;

        fingerprint_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.oslogin.common.OsLoginProto
            .internal_static_google_cloud_oslogin_common_SshPublicKey_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getDefaultInstanceForType() {
        return com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey build() {
        com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey buildPartial() {
        com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey result =
            new com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey(this);
        result.key_ = key_;
        result.expirationTimeUsec_ = expirationTimeUsec_;
        result.fingerprint_ = fingerprint_;
        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.google.cloud.oslogin.common.OsLoginProto.SshPublicKey) {
          return mergeFrom((com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey other) {
        if (other == com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey.getDefaultInstance())
          return this;
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        if (other.getExpirationTimeUsec() != 0L) {
          setExpirationTimeUsec(other.getExpirationTimeUsec());
        }
        if (!other.getFingerprint().isEmpty()) {
          fingerprint_ = other.fingerprint_;
          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.google.cloud.oslogin.common.OsLoginProto.SshPublicKey parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage =
              (com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       *
       *
       * <pre>
       * Public key text in SSH format, defined by
       * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
       * section 6.6.
       * </pre>
       *
       * <code>string key = 1;</code>
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Public key text in SSH format, defined by
       * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
       * section 6.6.
       * </pre>
       *
       * <code>string key = 1;</code>
       */
      public com.google.protobuf.ByteString getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Public key text in SSH format, defined by
       * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
       * section 6.6.
       * </pre>
       *
       * <code>string key = 1;</code>
       */
      public Builder setKey(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        key_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Public key text in SSH format, defined by
       * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
       * section 6.6.
       * </pre>
       *
       * <code>string key = 1;</code>
       */
      public Builder clearKey() {

        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Public key text in SSH format, defined by
       * &lt;a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank"&gt;RFC4253&lt;/a&gt;
       * section 6.6.
       * </pre>
       *
       * <code>string key = 1;</code>
       */
      public Builder setKeyBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        key_ = value;
        onChanged();
        return this;
      }

      private long expirationTimeUsec_;
      /**
       *
       *
       * <pre>
       * An expiration time in microseconds since epoch.
       * </pre>
       *
       * <code>int64 expiration_time_usec = 2;</code>
       */
      public long getExpirationTimeUsec() {
        return expirationTimeUsec_;
      }
      /**
       *
       *
       * <pre>
       * An expiration time in microseconds since epoch.
       * </pre>
       *
       * <code>int64 expiration_time_usec = 2;</code>
       */
      public Builder setExpirationTimeUsec(long value) {

        expirationTimeUsec_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * An expiration time in microseconds since epoch.
       * </pre>
       *
       * <code>int64 expiration_time_usec = 2;</code>
       */
      public Builder clearExpirationTimeUsec() {

        expirationTimeUsec_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object fingerprint_ = "";
      /**
       *
       *
       * <pre>
       * Output only. The SHA-256 fingerprint of the SSH public key.
       * </pre>
       *
       * <code>string fingerprint = 3;</code>
       */
      public java.lang.String getFingerprint() {
        java.lang.Object ref = fingerprint_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          fingerprint_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Output only. The SHA-256 fingerprint of the SSH public key.
       * </pre>
       *
       * <code>string fingerprint = 3;</code>
       */
      public com.google.protobuf.ByteString getFingerprintBytes() {
        java.lang.Object ref = fingerprint_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          fingerprint_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Output only. The SHA-256 fingerprint of the SSH public key.
       * </pre>
       *
       * <code>string fingerprint = 3;</code>
       */
      public Builder setFingerprint(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        fingerprint_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Output only. The SHA-256 fingerprint of the SSH public key.
       * </pre>
       *
       * <code>string fingerprint = 3;</code>
       */
      public Builder clearFingerprint() {

        fingerprint_ = getDefaultInstance().getFingerprint();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Output only. The SHA-256 fingerprint of the SSH public key.
       * </pre>
       *
       * <code>string fingerprint = 3;</code>
       */
      public Builder setFingerprintBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        fingerprint_ = 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:google.cloud.oslogin.common.SshPublicKey)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.oslogin.common.SshPublicKey)
    private static final com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey();
    }

    public static com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_oslogin_common_PosixAccount_descriptor;
  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_oslogin_common_PosixAccount_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_oslogin_common_SshPublicKey_descriptor;
  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_oslogin_common_SshPublicKey_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(google/cloud/oslogin/common/common.pro"
          + "to\022\033google.cloud.oslogin.common\032\034google/"
          + "api/annotations.proto\"\250\001\n\014PosixAccount\022\017"
          + "\n\007primary\030\001 \001(\010\022\020\n\010username\030\002 \001(\t\022\013\n\003uid"
          + "\030\003 \001(\003\022\013\n\003gid\030\004 \001(\003\022\026\n\016home_directory\030\005 "
          + "\001(\t\022\r\n\005shell\030\006 \001(\t\022\r\n\005gecos\030\007 \001(\t\022\021\n\tsys"
          + "tem_id\030\010 \001(\t\022\022\n\naccount_id\030\t \001(\t\"N\n\014SshP"
          + "ublicKey\022\013\n\003key\030\001 \001(\t\022\034\n\024expiration_time"
          + "_usec\030\002 \001(\003\022\023\n\013fingerprint\030\003 \001(\tB\256\001\n\037com"
          + ".google.cloud.oslogin.commonB\014OsLoginPro"
          + "toZAgoogle.golang.org/genproto/googleapi"
          + "s/cloud/oslogin/common;common\252\002\033Google.C"
          + "loud.OsLogin.Common\312\002\033Google\\Cloud\\OsLog"
          + "in\\Commonb\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
        descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.api.AnnotationsProto.getDescriptor(),
        },
        assigner);
    internal_static_google_cloud_oslogin_common_PosixAccount_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_oslogin_common_PosixAccount_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_oslogin_common_PosixAccount_descriptor,
            new java.lang.String[] {
              "Primary",
              "Username",
              "Uid",
              "Gid",
              "HomeDirectory",
              "Shell",
              "Gecos",
              "SystemId",
              "AccountId",
            });
    internal_static_google_cloud_oslogin_common_SshPublicKey_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_oslogin_common_SshPublicKey_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_oslogin_common_SshPublicKey_descriptor,
            new java.lang.String[] {
              "Key", "ExpirationTimeUsec", "Fingerprint",
            });
    com.google.api.AnnotationsProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
