/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/appengine/v1/application.proto

package com.google.appengine.v1;

/**
 *
 *
 * <pre>
 * An Application resource contains the top-level configuration of an App
 * Engine application.
 * </pre>
 *
 * Protobuf type {@code google.appengine.v1.Application}
 */
public final class Application extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.appengine.v1.Application)
    ApplicationOrBuilder {
  private static final long serialVersionUID = 0L;
  // Use Application.newBuilder() to construct.
  private Application(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private Application() {
    name_ = "";
    id_ = "";
    dispatchRules_ = java.util.Collections.emptyList();
    authDomain_ = "";
    locationId_ = "";
    codeBucket_ = "";
    servingStatus_ = 0;
    defaultHostname_ = "";
    defaultBucket_ = "";
    serviceAccount_ = "";
    gcrDomain_ = "";
    databaseType_ = 0;
  }

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

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

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.appengine.v1.ApplicationProto
        .internal_static_google_appengine_v1_Application_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.appengine.v1.ApplicationProto
        .internal_static_google_appengine_v1_Application_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.appengine.v1.Application.class,
            com.google.appengine.v1.Application.Builder.class);
  }

  /** Protobuf enum {@code google.appengine.v1.Application.ServingStatus} */
  public enum ServingStatus implements com.google.protobuf.ProtocolMessageEnum {
    /**
     *
     *
     * <pre>
     * Serving status is unspecified.
     * </pre>
     *
     * <code>UNSPECIFIED = 0;</code>
     */
    UNSPECIFIED(0),
    /**
     *
     *
     * <pre>
     * Application is serving.
     * </pre>
     *
     * <code>SERVING = 1;</code>
     */
    SERVING(1),
    /**
     *
     *
     * <pre>
     * Application has been disabled by the user.
     * </pre>
     *
     * <code>USER_DISABLED = 2;</code>
     */
    USER_DISABLED(2),
    /**
     *
     *
     * <pre>
     * Application has been disabled by the system.
     * </pre>
     *
     * <code>SYSTEM_DISABLED = 3;</code>
     */
    SYSTEM_DISABLED(3),
    UNRECOGNIZED(-1),
    ;

    /**
     *
     *
     * <pre>
     * Serving status is unspecified.
     * </pre>
     *
     * <code>UNSPECIFIED = 0;</code>
     */
    public static final int UNSPECIFIED_VALUE = 0;
    /**
     *
     *
     * <pre>
     * Application is serving.
     * </pre>
     *
     * <code>SERVING = 1;</code>
     */
    public static final int SERVING_VALUE = 1;
    /**
     *
     *
     * <pre>
     * Application has been disabled by the user.
     * </pre>
     *
     * <code>USER_DISABLED = 2;</code>
     */
    public static final int USER_DISABLED_VALUE = 2;
    /**
     *
     *
     * <pre>
     * Application has been disabled by the system.
     * </pre>
     *
     * <code>SYSTEM_DISABLED = 3;</code>
     */
    public static final int SYSTEM_DISABLED_VALUE = 3;

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

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

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ServingStatus forNumber(int value) {
      switch (value) {
        case 0:
          return UNSPECIFIED;
        case 1:
          return SERVING;
        case 2:
          return USER_DISABLED;
        case 3:
          return SYSTEM_DISABLED;
        default:
          return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ServingStatus> internalGetValueMap() {
      return internalValueMap;
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }

    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
      return getDescriptor();
    }

    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
      return com.google.appengine.v1.Application.getDescriptor().getEnumTypes().get(0);
    }

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:google.appengine.v1.Application.ServingStatus)
  }

  /** Protobuf enum {@code google.appengine.v1.Application.DatabaseType} */
  public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum {
    /**
     *
     *
     * <pre>
     * Database type is unspecified.
     * </pre>
     *
     * <code>DATABASE_TYPE_UNSPECIFIED = 0;</code>
     */
    DATABASE_TYPE_UNSPECIFIED(0),
    /**
     *
     *
     * <pre>
     * Cloud Datastore
     * </pre>
     *
     * <code>CLOUD_DATASTORE = 1;</code>
     */
    CLOUD_DATASTORE(1),
    /**
     *
     *
     * <pre>
     * Cloud Firestore Native
     * </pre>
     *
     * <code>CLOUD_FIRESTORE = 2;</code>
     */
    CLOUD_FIRESTORE(2),
    /**
     *
     *
     * <pre>
     * Cloud Firestore in Datastore Mode
     * </pre>
     *
     * <code>CLOUD_DATASTORE_COMPATIBILITY = 3;</code>
     */
    CLOUD_DATASTORE_COMPATIBILITY(3),
    UNRECOGNIZED(-1),
    ;

    /**
     *
     *
     * <pre>
     * Database type is unspecified.
     * </pre>
     *
     * <code>DATABASE_TYPE_UNSPECIFIED = 0;</code>
     */
    public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0;
    /**
     *
     *
     * <pre>
     * Cloud Datastore
     * </pre>
     *
     * <code>CLOUD_DATASTORE = 1;</code>
     */
    public static final int CLOUD_DATASTORE_VALUE = 1;
    /**
     *
     *
     * <pre>
     * Cloud Firestore Native
     * </pre>
     *
     * <code>CLOUD_FIRESTORE = 2;</code>
     */
    public static final int CLOUD_FIRESTORE_VALUE = 2;
    /**
     *
     *
     * <pre>
     * Cloud Firestore in Datastore Mode
     * </pre>
     *
     * <code>CLOUD_DATASTORE_COMPATIBILITY = 3;</code>
     */
    public static final int CLOUD_DATASTORE_COMPATIBILITY_VALUE = 3;

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

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

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static DatabaseType forNumber(int value) {
      switch (value) {
        case 0:
          return DATABASE_TYPE_UNSPECIFIED;
        case 1:
          return CLOUD_DATASTORE;
        case 2:
          return CLOUD_FIRESTORE;
        case 3:
          return CLOUD_DATASTORE_COMPATIBILITY;
        default:
          return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<DatabaseType> internalGetValueMap() {
      return internalValueMap;
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }

    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
      return getDescriptor();
    }

    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
      return com.google.appengine.v1.Application.getDescriptor().getEnumTypes().get(1);
    }

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:google.appengine.v1.Application.DatabaseType)
  }

  public interface IdentityAwareProxyOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.appengine.v1.Application.IdentityAwareProxy)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * Whether the serving infrastructure will authenticate and
     * authorize all incoming requests.
     * If true, the `oauth2_client_id` and `oauth2_client_secret`
     * fields must be non-empty.
     * </pre>
     *
     * <code>bool enabled = 1;</code>
     *
     * @return The enabled.
     */
    boolean getEnabled();

    /**
     *
     *
     * <pre>
     * OAuth2 client ID to use for the authentication flow.
     * </pre>
     *
     * <code>string oauth2_client_id = 2;</code>
     *
     * @return The oauth2ClientId.
     */
    java.lang.String getOauth2ClientId();
    /**
     *
     *
     * <pre>
     * OAuth2 client ID to use for the authentication flow.
     * </pre>
     *
     * <code>string oauth2_client_id = 2;</code>
     *
     * @return The bytes for oauth2ClientId.
     */
    com.google.protobuf.ByteString getOauth2ClientIdBytes();

    /**
     *
     *
     * <pre>
     * OAuth2 client secret to use for the authentication flow.
     * For security reasons, this value cannot be retrieved via the API.
     * Instead, the SHA-256 hash of the value is returned in the
     * `oauth2_client_secret_sha256` field.
     * &#64;InputOnly
     * </pre>
     *
     * <code>string oauth2_client_secret = 3;</code>
     *
     * @return The oauth2ClientSecret.
     */
    java.lang.String getOauth2ClientSecret();
    /**
     *
     *
     * <pre>
     * OAuth2 client secret to use for the authentication flow.
     * For security reasons, this value cannot be retrieved via the API.
     * Instead, the SHA-256 hash of the value is returned in the
     * `oauth2_client_secret_sha256` field.
     * &#64;InputOnly
     * </pre>
     *
     * <code>string oauth2_client_secret = 3;</code>
     *
     * @return The bytes for oauth2ClientSecret.
     */
    com.google.protobuf.ByteString getOauth2ClientSecretBytes();

    /**
     *
     *
     * <pre>
     * Hex-encoded SHA-256 hash of the client secret.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string oauth2_client_secret_sha256 = 4;</code>
     *
     * @return The oauth2ClientSecretSha256.
     */
    java.lang.String getOauth2ClientSecretSha256();
    /**
     *
     *
     * <pre>
     * Hex-encoded SHA-256 hash of the client secret.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string oauth2_client_secret_sha256 = 4;</code>
     *
     * @return The bytes for oauth2ClientSecretSha256.
     */
    com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes();
  }
  /**
   *
   *
   * <pre>
   * Identity-Aware Proxy
   * </pre>
   *
   * Protobuf type {@code google.appengine.v1.Application.IdentityAwareProxy}
   */
  public static final class IdentityAwareProxy extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.appengine.v1.Application.IdentityAwareProxy)
      IdentityAwareProxyOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use IdentityAwareProxy.newBuilder() to construct.
    private IdentityAwareProxy(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private IdentityAwareProxy() {
      oauth2ClientId_ = "";
      oauth2ClientSecret_ = "";
      oauth2ClientSecretSha256_ = "";
    }

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

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

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.appengine.v1.ApplicationProto
          .internal_static_google_appengine_v1_Application_IdentityAwareProxy_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.appengine.v1.ApplicationProto
          .internal_static_google_appengine_v1_Application_IdentityAwareProxy_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.appengine.v1.Application.IdentityAwareProxy.class,
              com.google.appengine.v1.Application.IdentityAwareProxy.Builder.class);
    }

    public static final int ENABLED_FIELD_NUMBER = 1;
    private boolean enabled_ = false;
    /**
     *
     *
     * <pre>
     * Whether the serving infrastructure will authenticate and
     * authorize all incoming requests.
     * If true, the `oauth2_client_id` and `oauth2_client_secret`
     * fields must be non-empty.
     * </pre>
     *
     * <code>bool enabled = 1;</code>
     *
     * @return The enabled.
     */
    @java.lang.Override
    public boolean getEnabled() {
      return enabled_;
    }

    public static final int OAUTH2_CLIENT_ID_FIELD_NUMBER = 2;

    @SuppressWarnings("serial")
    private volatile java.lang.Object oauth2ClientId_ = "";
    /**
     *
     *
     * <pre>
     * OAuth2 client ID to use for the authentication flow.
     * </pre>
     *
     * <code>string oauth2_client_id = 2;</code>
     *
     * @return The oauth2ClientId.
     */
    @java.lang.Override
    public java.lang.String getOauth2ClientId() {
      java.lang.Object ref = oauth2ClientId_;
      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();
        oauth2ClientId_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * OAuth2 client ID to use for the authentication flow.
     * </pre>
     *
     * <code>string oauth2_client_id = 2;</code>
     *
     * @return The bytes for oauth2ClientId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getOauth2ClientIdBytes() {
      java.lang.Object ref = oauth2ClientId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        oauth2ClientId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int OAUTH2_CLIENT_SECRET_FIELD_NUMBER = 3;

    @SuppressWarnings("serial")
    private volatile java.lang.Object oauth2ClientSecret_ = "";
    /**
     *
     *
     * <pre>
     * OAuth2 client secret to use for the authentication flow.
     * For security reasons, this value cannot be retrieved via the API.
     * Instead, the SHA-256 hash of the value is returned in the
     * `oauth2_client_secret_sha256` field.
     * &#64;InputOnly
     * </pre>
     *
     * <code>string oauth2_client_secret = 3;</code>
     *
     * @return The oauth2ClientSecret.
     */
    @java.lang.Override
    public java.lang.String getOauth2ClientSecret() {
      java.lang.Object ref = oauth2ClientSecret_;
      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();
        oauth2ClientSecret_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * OAuth2 client secret to use for the authentication flow.
     * For security reasons, this value cannot be retrieved via the API.
     * Instead, the SHA-256 hash of the value is returned in the
     * `oauth2_client_secret_sha256` field.
     * &#64;InputOnly
     * </pre>
     *
     * <code>string oauth2_client_secret = 3;</code>
     *
     * @return The bytes for oauth2ClientSecret.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getOauth2ClientSecretBytes() {
      java.lang.Object ref = oauth2ClientSecret_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        oauth2ClientSecret_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int OAUTH2_CLIENT_SECRET_SHA256_FIELD_NUMBER = 4;

    @SuppressWarnings("serial")
    private volatile java.lang.Object oauth2ClientSecretSha256_ = "";
    /**
     *
     *
     * <pre>
     * Hex-encoded SHA-256 hash of the client secret.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string oauth2_client_secret_sha256 = 4;</code>
     *
     * @return The oauth2ClientSecretSha256.
     */
    @java.lang.Override
    public java.lang.String getOauth2ClientSecretSha256() {
      java.lang.Object ref = oauth2ClientSecretSha256_;
      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();
        oauth2ClientSecretSha256_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * Hex-encoded SHA-256 hash of the client secret.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string oauth2_client_secret_sha256 = 4;</code>
     *
     * @return The bytes for oauth2ClientSecretSha256.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes() {
      java.lang.Object ref = oauth2ClientSecretSha256_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        oauth2ClientSecretSha256_ = 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 (enabled_ != false) {
        output.writeBool(1, enabled_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oauth2ClientId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, oauth2ClientId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oauth2ClientSecret_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, oauth2ClientSecret_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oauth2ClientSecretSha256_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, oauth2ClientSecretSha256_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (enabled_ != false) {
        size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oauth2ClientId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oauth2ClientId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oauth2ClientSecret_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, oauth2ClientSecret_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oauth2ClientSecretSha256_)) {
        size +=
            com.google.protobuf.GeneratedMessageV3.computeStringSize(4, oauth2ClientSecretSha256_);
      }
      size += getUnknownFields().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.appengine.v1.Application.IdentityAwareProxy)) {
        return super.equals(obj);
      }
      com.google.appengine.v1.Application.IdentityAwareProxy other =
          (com.google.appengine.v1.Application.IdentityAwareProxy) obj;

      if (getEnabled() != other.getEnabled()) return false;
      if (!getOauth2ClientId().equals(other.getOauth2ClientId())) return false;
      if (!getOauth2ClientSecret().equals(other.getOauth2ClientSecret())) return false;
      if (!getOauth2ClientSecretSha256().equals(other.getOauth2ClientSecretSha256())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) 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) + ENABLED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
      hash = (37 * hash) + OAUTH2_CLIENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getOauth2ClientId().hashCode();
      hash = (37 * hash) + OAUTH2_CLIENT_SECRET_FIELD_NUMBER;
      hash = (53 * hash) + getOauth2ClientSecret().hashCode();
      hash = (37 * hash) + OAUTH2_CLIENT_SECRET_SHA256_FIELD_NUMBER;
      hash = (53 * hash) + getOauth2ClientSecretSha256().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy 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.appengine.v1.Application.IdentityAwareProxy parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy 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.appengine.v1.Application.IdentityAwareProxy parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy 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.appengine.v1.Application.IdentityAwareProxy parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy 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.appengine.v1.Application.IdentityAwareProxy 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>
     * Identity-Aware Proxy
     * </pre>
     *
     * Protobuf type {@code google.appengine.v1.Application.IdentityAwareProxy}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.appengine.v1.Application.IdentityAwareProxy)
        com.google.appengine.v1.Application.IdentityAwareProxyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.appengine.v1.ApplicationProto
            .internal_static_google_appengine_v1_Application_IdentityAwareProxy_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.appengine.v1.ApplicationProto
            .internal_static_google_appengine_v1_Application_IdentityAwareProxy_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.appengine.v1.Application.IdentityAwareProxy.class,
                com.google.appengine.v1.Application.IdentityAwareProxy.Builder.class);
      }

      // Construct using com.google.appengine.v1.Application.IdentityAwareProxy.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        enabled_ = false;
        oauth2ClientId_ = "";
        oauth2ClientSecret_ = "";
        oauth2ClientSecretSha256_ = "";
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.appengine.v1.ApplicationProto
            .internal_static_google_appengine_v1_Application_IdentityAwareProxy_descriptor;
      }

      @java.lang.Override
      public com.google.appengine.v1.Application.IdentityAwareProxy getDefaultInstanceForType() {
        return com.google.appengine.v1.Application.IdentityAwareProxy.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.appengine.v1.Application.IdentityAwareProxy build() {
        com.google.appengine.v1.Application.IdentityAwareProxy result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.appengine.v1.Application.IdentityAwareProxy buildPartial() {
        com.google.appengine.v1.Application.IdentityAwareProxy result =
            new com.google.appengine.v1.Application.IdentityAwareProxy(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(com.google.appengine.v1.Application.IdentityAwareProxy result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.enabled_ = enabled_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.oauth2ClientId_ = oauth2ClientId_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.oauth2ClientSecret_ = oauth2ClientSecret_;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.oauth2ClientSecretSha256_ = oauth2ClientSecretSha256_;
        }
      }

      @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.appengine.v1.Application.IdentityAwareProxy) {
          return mergeFrom((com.google.appengine.v1.Application.IdentityAwareProxy) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.appengine.v1.Application.IdentityAwareProxy other) {
        if (other == com.google.appengine.v1.Application.IdentityAwareProxy.getDefaultInstance())
          return this;
        if (other.getEnabled() != false) {
          setEnabled(other.getEnabled());
        }
        if (!other.getOauth2ClientId().isEmpty()) {
          oauth2ClientId_ = other.oauth2ClientId_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (!other.getOauth2ClientSecret().isEmpty()) {
          oauth2ClientSecret_ = other.oauth2ClientSecret_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        if (!other.getOauth2ClientSecretSha256().isEmpty()) {
          oauth2ClientSecretSha256_ = other.oauth2ClientSecretSha256_;
          bitField0_ |= 0x00000008;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 8:
                {
                  enabled_ = input.readBool();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 8
              case 18:
                {
                  oauth2ClientId_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 18
              case 26:
                {
                  oauth2ClientSecret_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000004;
                  break;
                } // case 26
              case 34:
                {
                  oauth2ClientSecretSha256_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000008;
                  break;
                } // case 34
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private boolean enabled_;
      /**
       *
       *
       * <pre>
       * Whether the serving infrastructure will authenticate and
       * authorize all incoming requests.
       * If true, the `oauth2_client_id` and `oauth2_client_secret`
       * fields must be non-empty.
       * </pre>
       *
       * <code>bool enabled = 1;</code>
       *
       * @return The enabled.
       */
      @java.lang.Override
      public boolean getEnabled() {
        return enabled_;
      }
      /**
       *
       *
       * <pre>
       * Whether the serving infrastructure will authenticate and
       * authorize all incoming requests.
       * If true, the `oauth2_client_id` and `oauth2_client_secret`
       * fields must be non-empty.
       * </pre>
       *
       * <code>bool enabled = 1;</code>
       *
       * @param value The enabled to set.
       * @return This builder for chaining.
       */
      public Builder setEnabled(boolean value) {

        enabled_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Whether the serving infrastructure will authenticate and
       * authorize all incoming requests.
       * If true, the `oauth2_client_id` and `oauth2_client_secret`
       * fields must be non-empty.
       * </pre>
       *
       * <code>bool enabled = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearEnabled() {
        bitField0_ = (bitField0_ & ~0x00000001);
        enabled_ = false;
        onChanged();
        return this;
      }

      private java.lang.Object oauth2ClientId_ = "";
      /**
       *
       *
       * <pre>
       * OAuth2 client ID to use for the authentication flow.
       * </pre>
       *
       * <code>string oauth2_client_id = 2;</code>
       *
       * @return The oauth2ClientId.
       */
      public java.lang.String getOauth2ClientId() {
        java.lang.Object ref = oauth2ClientId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          oauth2ClientId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * OAuth2 client ID to use for the authentication flow.
       * </pre>
       *
       * <code>string oauth2_client_id = 2;</code>
       *
       * @return The bytes for oauth2ClientId.
       */
      public com.google.protobuf.ByteString getOauth2ClientIdBytes() {
        java.lang.Object ref = oauth2ClientId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          oauth2ClientId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * OAuth2 client ID to use for the authentication flow.
       * </pre>
       *
       * <code>string oauth2_client_id = 2;</code>
       *
       * @param value The oauth2ClientId to set.
       * @return This builder for chaining.
       */
      public Builder setOauth2ClientId(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        oauth2ClientId_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * OAuth2 client ID to use for the authentication flow.
       * </pre>
       *
       * <code>string oauth2_client_id = 2;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearOauth2ClientId() {
        oauth2ClientId_ = getDefaultInstance().getOauth2ClientId();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * OAuth2 client ID to use for the authentication flow.
       * </pre>
       *
       * <code>string oauth2_client_id = 2;</code>
       *
       * @param value The bytes for oauth2ClientId to set.
       * @return This builder for chaining.
       */
      public Builder setOauth2ClientIdBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        oauth2ClientId_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private java.lang.Object oauth2ClientSecret_ = "";
      /**
       *
       *
       * <pre>
       * OAuth2 client secret to use for the authentication flow.
       * For security reasons, this value cannot be retrieved via the API.
       * Instead, the SHA-256 hash of the value is returned in the
       * `oauth2_client_secret_sha256` field.
       * &#64;InputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret = 3;</code>
       *
       * @return The oauth2ClientSecret.
       */
      public java.lang.String getOauth2ClientSecret() {
        java.lang.Object ref = oauth2ClientSecret_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          oauth2ClientSecret_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * OAuth2 client secret to use for the authentication flow.
       * For security reasons, this value cannot be retrieved via the API.
       * Instead, the SHA-256 hash of the value is returned in the
       * `oauth2_client_secret_sha256` field.
       * &#64;InputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret = 3;</code>
       *
       * @return The bytes for oauth2ClientSecret.
       */
      public com.google.protobuf.ByteString getOauth2ClientSecretBytes() {
        java.lang.Object ref = oauth2ClientSecret_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          oauth2ClientSecret_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * OAuth2 client secret to use for the authentication flow.
       * For security reasons, this value cannot be retrieved via the API.
       * Instead, the SHA-256 hash of the value is returned in the
       * `oauth2_client_secret_sha256` field.
       * &#64;InputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret = 3;</code>
       *
       * @param value The oauth2ClientSecret to set.
       * @return This builder for chaining.
       */
      public Builder setOauth2ClientSecret(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        oauth2ClientSecret_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * OAuth2 client secret to use for the authentication flow.
       * For security reasons, this value cannot be retrieved via the API.
       * Instead, the SHA-256 hash of the value is returned in the
       * `oauth2_client_secret_sha256` field.
       * &#64;InputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret = 3;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearOauth2ClientSecret() {
        oauth2ClientSecret_ = getDefaultInstance().getOauth2ClientSecret();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * OAuth2 client secret to use for the authentication flow.
       * For security reasons, this value cannot be retrieved via the API.
       * Instead, the SHA-256 hash of the value is returned in the
       * `oauth2_client_secret_sha256` field.
       * &#64;InputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret = 3;</code>
       *
       * @param value The bytes for oauth2ClientSecret to set.
       * @return This builder for chaining.
       */
      public Builder setOauth2ClientSecretBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        oauth2ClientSecret_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }

      private java.lang.Object oauth2ClientSecretSha256_ = "";
      /**
       *
       *
       * <pre>
       * Hex-encoded SHA-256 hash of the client secret.
       * &#64;OutputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret_sha256 = 4;</code>
       *
       * @return The oauth2ClientSecretSha256.
       */
      public java.lang.String getOauth2ClientSecretSha256() {
        java.lang.Object ref = oauth2ClientSecretSha256_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          oauth2ClientSecretSha256_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Hex-encoded SHA-256 hash of the client secret.
       * &#64;OutputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret_sha256 = 4;</code>
       *
       * @return The bytes for oauth2ClientSecretSha256.
       */
      public com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes() {
        java.lang.Object ref = oauth2ClientSecretSha256_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          oauth2ClientSecretSha256_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Hex-encoded SHA-256 hash of the client secret.
       * &#64;OutputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret_sha256 = 4;</code>
       *
       * @param value The oauth2ClientSecretSha256 to set.
       * @return This builder for chaining.
       */
      public Builder setOauth2ClientSecretSha256(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        oauth2ClientSecretSha256_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Hex-encoded SHA-256 hash of the client secret.
       * &#64;OutputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret_sha256 = 4;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearOauth2ClientSecretSha256() {
        oauth2ClientSecretSha256_ = getDefaultInstance().getOauth2ClientSecretSha256();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Hex-encoded SHA-256 hash of the client secret.
       * &#64;OutputOnly
       * </pre>
       *
       * <code>string oauth2_client_secret_sha256 = 4;</code>
       *
       * @param value The bytes for oauth2ClientSecretSha256 to set.
       * @return This builder for chaining.
       */
      public Builder setOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        oauth2ClientSecretSha256_ = value;
        bitField0_ |= 0x00000008;
        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.appengine.v1.Application.IdentityAwareProxy)
    }

    // @@protoc_insertion_point(class_scope:google.appengine.v1.Application.IdentityAwareProxy)
    private static final com.google.appengine.v1.Application.IdentityAwareProxy DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.appengine.v1.Application.IdentityAwareProxy();
    }

    public static com.google.appengine.v1.Application.IdentityAwareProxy getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<IdentityAwareProxy> PARSER =
        new com.google.protobuf.AbstractParser<IdentityAwareProxy>() {
          @java.lang.Override
          public IdentityAwareProxy parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

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

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

    @java.lang.Override
    public com.google.appengine.v1.Application.IdentityAwareProxy getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface FeatureSettingsOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.appengine.v1.Application.FeatureSettings)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * Boolean value indicating if split health checks should be used instead
     * of the legacy health checks. At an app.yaml level, this means defaulting
     * to 'readiness_check' and 'liveness_check' values instead of
     * 'health_check' ones. Once the legacy 'health_check' behavior is
     * deprecated, and this value is always true, this setting can
     * be removed.
     * </pre>
     *
     * <code>bool split_health_checks = 1;</code>
     *
     * @return The splitHealthChecks.
     */
    boolean getSplitHealthChecks();

    /**
     *
     *
     * <pre>
     * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
     * base image for VMs, rather than a base Debian image.
     * </pre>
     *
     * <code>bool use_container_optimized_os = 2;</code>
     *
     * @return The useContainerOptimizedOs.
     */
    boolean getUseContainerOptimizedOs();
  }
  /**
   *
   *
   * <pre>
   * The feature specific settings to be used in the application. These define
   * behaviors that are user configurable.
   * </pre>
   *
   * Protobuf type {@code google.appengine.v1.Application.FeatureSettings}
   */
  public static final class FeatureSettings extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.appengine.v1.Application.FeatureSettings)
      FeatureSettingsOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use FeatureSettings.newBuilder() to construct.
    private FeatureSettings(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private FeatureSettings() {}

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

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

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.appengine.v1.ApplicationProto
          .internal_static_google_appengine_v1_Application_FeatureSettings_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.appengine.v1.ApplicationProto
          .internal_static_google_appengine_v1_Application_FeatureSettings_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.appengine.v1.Application.FeatureSettings.class,
              com.google.appengine.v1.Application.FeatureSettings.Builder.class);
    }

    public static final int SPLIT_HEALTH_CHECKS_FIELD_NUMBER = 1;
    private boolean splitHealthChecks_ = false;
    /**
     *
     *
     * <pre>
     * Boolean value indicating if split health checks should be used instead
     * of the legacy health checks. At an app.yaml level, this means defaulting
     * to 'readiness_check' and 'liveness_check' values instead of
     * 'health_check' ones. Once the legacy 'health_check' behavior is
     * deprecated, and this value is always true, this setting can
     * be removed.
     * </pre>
     *
     * <code>bool split_health_checks = 1;</code>
     *
     * @return The splitHealthChecks.
     */
    @java.lang.Override
    public boolean getSplitHealthChecks() {
      return splitHealthChecks_;
    }

    public static final int USE_CONTAINER_OPTIMIZED_OS_FIELD_NUMBER = 2;
    private boolean useContainerOptimizedOs_ = false;
    /**
     *
     *
     * <pre>
     * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
     * base image for VMs, rather than a base Debian image.
     * </pre>
     *
     * <code>bool use_container_optimized_os = 2;</code>
     *
     * @return The useContainerOptimizedOs.
     */
    @java.lang.Override
    public boolean getUseContainerOptimizedOs() {
      return useContainerOptimizedOs_;
    }

    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 (splitHealthChecks_ != false) {
        output.writeBool(1, splitHealthChecks_);
      }
      if (useContainerOptimizedOs_ != false) {
        output.writeBool(2, useContainerOptimizedOs_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (splitHealthChecks_ != false) {
        size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, splitHealthChecks_);
      }
      if (useContainerOptimizedOs_ != false) {
        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useContainerOptimizedOs_);
      }
      size += getUnknownFields().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.appengine.v1.Application.FeatureSettings)) {
        return super.equals(obj);
      }
      com.google.appengine.v1.Application.FeatureSettings other =
          (com.google.appengine.v1.Application.FeatureSettings) obj;

      if (getSplitHealthChecks() != other.getSplitHealthChecks()) return false;
      if (getUseContainerOptimizedOs() != other.getUseContainerOptimizedOs()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) 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) + SPLIT_HEALTH_CHECKS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSplitHealthChecks());
      hash = (37 * hash) + USE_CONTAINER_OPTIMIZED_OS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseContainerOptimizedOs());
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.appengine.v1.Application.FeatureSettings parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.appengine.v1.Application.FeatureSettings parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.appengine.v1.Application.FeatureSettings parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.appengine.v1.Application.FeatureSettings 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.appengine.v1.Application.FeatureSettings parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.appengine.v1.Application.FeatureSettings parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.appengine.v1.Application.FeatureSettings parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.appengine.v1.Application.FeatureSettings 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.appengine.v1.Application.FeatureSettings parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.appengine.v1.Application.FeatureSettings 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.appengine.v1.Application.FeatureSettings parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.appengine.v1.Application.FeatureSettings 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.appengine.v1.Application.FeatureSettings 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 feature specific settings to be used in the application. These define
     * behaviors that are user configurable.
     * </pre>
     *
     * Protobuf type {@code google.appengine.v1.Application.FeatureSettings}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.appengine.v1.Application.FeatureSettings)
        com.google.appengine.v1.Application.FeatureSettingsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.appengine.v1.ApplicationProto
            .internal_static_google_appengine_v1_Application_FeatureSettings_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.appengine.v1.ApplicationProto
            .internal_static_google_appengine_v1_Application_FeatureSettings_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.appengine.v1.Application.FeatureSettings.class,
                com.google.appengine.v1.Application.FeatureSettings.Builder.class);
      }

      // Construct using com.google.appengine.v1.Application.FeatureSettings.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        splitHealthChecks_ = false;
        useContainerOptimizedOs_ = false;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.appengine.v1.ApplicationProto
            .internal_static_google_appengine_v1_Application_FeatureSettings_descriptor;
      }

      @java.lang.Override
      public com.google.appengine.v1.Application.FeatureSettings getDefaultInstanceForType() {
        return com.google.appengine.v1.Application.FeatureSettings.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.appengine.v1.Application.FeatureSettings build() {
        com.google.appengine.v1.Application.FeatureSettings result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.appengine.v1.Application.FeatureSettings buildPartial() {
        com.google.appengine.v1.Application.FeatureSettings result =
            new com.google.appengine.v1.Application.FeatureSettings(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(com.google.appengine.v1.Application.FeatureSettings result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.splitHealthChecks_ = splitHealthChecks_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.useContainerOptimizedOs_ = useContainerOptimizedOs_;
        }
      }

      @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.appengine.v1.Application.FeatureSettings) {
          return mergeFrom((com.google.appengine.v1.Application.FeatureSettings) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.appengine.v1.Application.FeatureSettings other) {
        if (other == com.google.appengine.v1.Application.FeatureSettings.getDefaultInstance())
          return this;
        if (other.getSplitHealthChecks() != false) {
          setSplitHealthChecks(other.getSplitHealthChecks());
        }
        if (other.getUseContainerOptimizedOs() != false) {
          setUseContainerOptimizedOs(other.getUseContainerOptimizedOs());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 8:
                {
                  splitHealthChecks_ = input.readBool();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 8
              case 16:
                {
                  useContainerOptimizedOs_ = input.readBool();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 16
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private boolean splitHealthChecks_;
      /**
       *
       *
       * <pre>
       * Boolean value indicating if split health checks should be used instead
       * of the legacy health checks. At an app.yaml level, this means defaulting
       * to 'readiness_check' and 'liveness_check' values instead of
       * 'health_check' ones. Once the legacy 'health_check' behavior is
       * deprecated, and this value is always true, this setting can
       * be removed.
       * </pre>
       *
       * <code>bool split_health_checks = 1;</code>
       *
       * @return The splitHealthChecks.
       */
      @java.lang.Override
      public boolean getSplitHealthChecks() {
        return splitHealthChecks_;
      }
      /**
       *
       *
       * <pre>
       * Boolean value indicating if split health checks should be used instead
       * of the legacy health checks. At an app.yaml level, this means defaulting
       * to 'readiness_check' and 'liveness_check' values instead of
       * 'health_check' ones. Once the legacy 'health_check' behavior is
       * deprecated, and this value is always true, this setting can
       * be removed.
       * </pre>
       *
       * <code>bool split_health_checks = 1;</code>
       *
       * @param value The splitHealthChecks to set.
       * @return This builder for chaining.
       */
      public Builder setSplitHealthChecks(boolean value) {

        splitHealthChecks_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Boolean value indicating if split health checks should be used instead
       * of the legacy health checks. At an app.yaml level, this means defaulting
       * to 'readiness_check' and 'liveness_check' values instead of
       * 'health_check' ones. Once the legacy 'health_check' behavior is
       * deprecated, and this value is always true, this setting can
       * be removed.
       * </pre>
       *
       * <code>bool split_health_checks = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearSplitHealthChecks() {
        bitField0_ = (bitField0_ & ~0x00000001);
        splitHealthChecks_ = false;
        onChanged();
        return this;
      }

      private boolean useContainerOptimizedOs_;
      /**
       *
       *
       * <pre>
       * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
       * base image for VMs, rather than a base Debian image.
       * </pre>
       *
       * <code>bool use_container_optimized_os = 2;</code>
       *
       * @return The useContainerOptimizedOs.
       */
      @java.lang.Override
      public boolean getUseContainerOptimizedOs() {
        return useContainerOptimizedOs_;
      }
      /**
       *
       *
       * <pre>
       * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
       * base image for VMs, rather than a base Debian image.
       * </pre>
       *
       * <code>bool use_container_optimized_os = 2;</code>
       *
       * @param value The useContainerOptimizedOs to set.
       * @return This builder for chaining.
       */
      public Builder setUseContainerOptimizedOs(boolean value) {

        useContainerOptimizedOs_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
       * base image for VMs, rather than a base Debian image.
       * </pre>
       *
       * <code>bool use_container_optimized_os = 2;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearUseContainerOptimizedOs() {
        bitField0_ = (bitField0_ & ~0x00000002);
        useContainerOptimizedOs_ = 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:google.appengine.v1.Application.FeatureSettings)
    }

    // @@protoc_insertion_point(class_scope:google.appengine.v1.Application.FeatureSettings)
    private static final com.google.appengine.v1.Application.FeatureSettings DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.appengine.v1.Application.FeatureSettings();
    }

    public static com.google.appengine.v1.Application.FeatureSettings getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<FeatureSettings> PARSER =
        new com.google.protobuf.AbstractParser<FeatureSettings>() {
          @java.lang.Override
          public FeatureSettings parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

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

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

    @java.lang.Override
    public com.google.appengine.v1.Application.FeatureSettings getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public static final int NAME_FIELD_NUMBER = 1;

  @SuppressWarnings("serial")
  private volatile java.lang.Object name_ = "";
  /**
   *
   *
   * <pre>
   * Full path to the Application resource in the API.
   * Example: `apps/myapp`.
   * &#64;OutputOnly
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    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();
      name_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Full path to the Application resource in the API.
   * Example: `apps/myapp`.
   * &#64;OutputOnly
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ID_FIELD_NUMBER = 2;

  @SuppressWarnings("serial")
  private volatile java.lang.Object id_ = "";
  /**
   *
   *
   * <pre>
   * Identifier of the Application resource. This identifier is equivalent
   * to the project ID of the Google Cloud Platform project where you want to
   * deploy your application.
   * Example: `myapp`.
   * </pre>
   *
   * <code>string id = 2;</code>
   *
   * @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;
    }
  }
  /**
   *
   *
   * <pre>
   * Identifier of the Application resource. This identifier is equivalent
   * to the project ID of the Google Cloud Platform project where you want to
   * deploy your application.
   * Example: `myapp`.
   * </pre>
   *
   * <code>string id = 2;</code>
   *
   * @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 DISPATCH_RULES_FIELD_NUMBER = 3;

  @SuppressWarnings("serial")
  private java.util.List<com.google.appengine.v1.UrlDispatchRule> dispatchRules_;
  /**
   *
   *
   * <pre>
   * HTTP path dispatch rules for requests to the application that do not
   * explicitly target a service or version. Rules are order-dependent.
   * Up to 20 dispatch rules can be supported.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
   */
  @java.lang.Override
  public java.util.List<com.google.appengine.v1.UrlDispatchRule> getDispatchRulesList() {
    return dispatchRules_;
  }
  /**
   *
   *
   * <pre>
   * HTTP path dispatch rules for requests to the application that do not
   * explicitly target a service or version. Rules are order-dependent.
   * Up to 20 dispatch rules can be supported.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.google.appengine.v1.UrlDispatchRuleOrBuilder>
      getDispatchRulesOrBuilderList() {
    return dispatchRules_;
  }
  /**
   *
   *
   * <pre>
   * HTTP path dispatch rules for requests to the application that do not
   * explicitly target a service or version. Rules are order-dependent.
   * Up to 20 dispatch rules can be supported.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
   */
  @java.lang.Override
  public int getDispatchRulesCount() {
    return dispatchRules_.size();
  }
  /**
   *
   *
   * <pre>
   * HTTP path dispatch rules for requests to the application that do not
   * explicitly target a service or version. Rules are order-dependent.
   * Up to 20 dispatch rules can be supported.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
   */
  @java.lang.Override
  public com.google.appengine.v1.UrlDispatchRule getDispatchRules(int index) {
    return dispatchRules_.get(index);
  }
  /**
   *
   *
   * <pre>
   * HTTP path dispatch rules for requests to the application that do not
   * explicitly target a service or version. Rules are order-dependent.
   * Up to 20 dispatch rules can be supported.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
   */
  @java.lang.Override
  public com.google.appengine.v1.UrlDispatchRuleOrBuilder getDispatchRulesOrBuilder(int index) {
    return dispatchRules_.get(index);
  }

  public static final int AUTH_DOMAIN_FIELD_NUMBER = 6;

  @SuppressWarnings("serial")
  private volatile java.lang.Object authDomain_ = "";
  /**
   *
   *
   * <pre>
   * Google Apps authentication domain that controls which users can access
   * this application.
   * Defaults to open access for any Google Account.
   * </pre>
   *
   * <code>string auth_domain = 6;</code>
   *
   * @return The authDomain.
   */
  @java.lang.Override
  public java.lang.String getAuthDomain() {
    java.lang.Object ref = authDomain_;
    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();
      authDomain_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Google Apps authentication domain that controls which users can access
   * this application.
   * Defaults to open access for any Google Account.
   * </pre>
   *
   * <code>string auth_domain = 6;</code>
   *
   * @return The bytes for authDomain.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getAuthDomainBytes() {
    java.lang.Object ref = authDomain_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      authDomain_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LOCATION_ID_FIELD_NUMBER = 7;

  @SuppressWarnings("serial")
  private volatile java.lang.Object locationId_ = "";
  /**
   *
   *
   * <pre>
   * Location from which this application runs. Application instances
   * run out of the data centers in the specified location, which is also where
   * all of the application's end user content is stored.
   * Defaults to `us-central`.
   * View the list of
   * [supported locations](https://cloud.google.com/appengine/docs/locations).
   * </pre>
   *
   * <code>string location_id = 7;</code>
   *
   * @return The locationId.
   */
  @java.lang.Override
  public java.lang.String getLocationId() {
    java.lang.Object ref = locationId_;
    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();
      locationId_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Location from which this application runs. Application instances
   * run out of the data centers in the specified location, which is also where
   * all of the application's end user content is stored.
   * Defaults to `us-central`.
   * View the list of
   * [supported locations](https://cloud.google.com/appengine/docs/locations).
   * </pre>
   *
   * <code>string location_id = 7;</code>
   *
   * @return The bytes for locationId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getLocationIdBytes() {
    java.lang.Object ref = locationId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      locationId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CODE_BUCKET_FIELD_NUMBER = 8;

  @SuppressWarnings("serial")
  private volatile java.lang.Object codeBucket_ = "";
  /**
   *
   *
   * <pre>
   * Google Cloud Storage bucket that can be used for storing files
   * associated with this application. This bucket is associated with the
   * application and can be used by the gcloud deployment commands.
   * &#64;OutputOnly
   * </pre>
   *
   * <code>string code_bucket = 8;</code>
   *
   * @return The codeBucket.
   */
  @java.lang.Override
  public java.lang.String getCodeBucket() {
    java.lang.Object ref = codeBucket_;
    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();
      codeBucket_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Google Cloud Storage bucket that can be used for storing files
   * associated with this application. This bucket is associated with the
   * application and can be used by the gcloud deployment commands.
   * &#64;OutputOnly
   * </pre>
   *
   * <code>string code_bucket = 8;</code>
   *
   * @return The bytes for codeBucket.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getCodeBucketBytes() {
    java.lang.Object ref = codeBucket_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      codeBucket_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEFAULT_COOKIE_EXPIRATION_FIELD_NUMBER = 9;
  private com.google.protobuf.Duration defaultCookieExpiration_;
  /**
   *
   *
   * <pre>
   * Cookie expiration policy for this application.
   * </pre>
   *
   * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
   *
   * @return Whether the defaultCookieExpiration field is set.
   */
  @java.lang.Override
  public boolean hasDefaultCookieExpiration() {
    return defaultCookieExpiration_ != null;
  }
  /**
   *
   *
   * <pre>
   * Cookie expiration policy for this application.
   * </pre>
   *
   * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
   *
   * @return The defaultCookieExpiration.
   */
  @java.lang.Override
  public com.google.protobuf.Duration getDefaultCookieExpiration() {
    return defaultCookieExpiration_ == null
        ? com.google.protobuf.Duration.getDefaultInstance()
        : defaultCookieExpiration_;
  }
  /**
   *
   *
   * <pre>
   * Cookie expiration policy for this application.
   * </pre>
   *
   * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
   */
  @java.lang.Override
  public com.google.protobuf.DurationOrBuilder getDefaultCookieExpirationOrBuilder() {
    return defaultCookieExpiration_ == null
        ? com.google.protobuf.Duration.getDefaultInstance()
        : defaultCookieExpiration_;
  }

  public static final int SERVING_STATUS_FIELD_NUMBER = 10;
  private int servingStatus_ = 0;
  /**
   *
   *
   * <pre>
   * Serving status of this application.
   * </pre>
   *
   * <code>.google.appengine.v1.Application.ServingStatus serving_status = 10;</code>
   *
   * @return The enum numeric value on the wire for servingStatus.
   */
  @java.lang.Override
  public int getServingStatusValue() {
    return servingStatus_;
  }
  /**
   *
   *
   * <pre>
   * Serving status of this application.
   * </pre>
   *
   * <code>.google.appengine.v1.Application.ServingStatus serving_status = 10;</code>
   *
   * @return The servingStatus.
   */
  @java.lang.Override
  public com.google.appengine.v1.Application.ServingStatus getServingStatus() {
    com.google.appengine.v1.Application.ServingStatus result =
        com.google.appengine.v1.Application.ServingStatus.forNumber(servingStatus_);
    return result == null ? com.google.appengine.v1.Application.ServingStatus.UNRECOGNIZED : result;
  }

  public static final int DEFAULT_HOSTNAME_FIELD_NUMBER = 11;

  @SuppressWarnings("serial")
  private volatile java.lang.Object defaultHostname_ = "";
  /**
   *
   *
   * <pre>
   * Hostname used to reach this application, as resolved by App Engine.
   * &#64;OutputOnly
   * </pre>
   *
   * <code>string default_hostname = 11;</code>
   *
   * @return The defaultHostname.
   */
  @java.lang.Override
  public java.lang.String getDefaultHostname() {
    java.lang.Object ref = defaultHostname_;
    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();
      defaultHostname_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Hostname used to reach this application, as resolved by App Engine.
   * &#64;OutputOnly
   * </pre>
   *
   * <code>string default_hostname = 11;</code>
   *
   * @return The bytes for defaultHostname.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getDefaultHostnameBytes() {
    java.lang.Object ref = defaultHostname_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      defaultHostname_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEFAULT_BUCKET_FIELD_NUMBER = 12;

  @SuppressWarnings("serial")
  private volatile java.lang.Object defaultBucket_ = "";
  /**
   *
   *
   * <pre>
   * Google Cloud Storage bucket that can be used by this application to store
   * content.
   * &#64;OutputOnly
   * </pre>
   *
   * <code>string default_bucket = 12;</code>
   *
   * @return The defaultBucket.
   */
  @java.lang.Override
  public java.lang.String getDefaultBucket() {
    java.lang.Object ref = defaultBucket_;
    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();
      defaultBucket_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Google Cloud Storage bucket that can be used by this application to store
   * content.
   * &#64;OutputOnly
   * </pre>
   *
   * <code>string default_bucket = 12;</code>
   *
   * @return The bytes for defaultBucket.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getDefaultBucketBytes() {
    java.lang.Object ref = defaultBucket_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      defaultBucket_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 13;

  @SuppressWarnings("serial")
  private volatile java.lang.Object serviceAccount_ = "";
  /**
   *
   *
   * <pre>
   * The service account associated with the application.
   * This is the app-level default identity. If no identity provided during
   * create version, Admin API will fallback to this one.
   * </pre>
   *
   * <code>string service_account = 13;</code>
   *
   * @return The serviceAccount.
   */
  @java.lang.Override
  public java.lang.String getServiceAccount() {
    java.lang.Object ref = serviceAccount_;
    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();
      serviceAccount_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * The service account associated with the application.
   * This is the app-level default identity. If no identity provided during
   * create version, Admin API will fallback to this one.
   * </pre>
   *
   * <code>string service_account = 13;</code>
   *
   * @return The bytes for serviceAccount.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getServiceAccountBytes() {
    java.lang.Object ref = serviceAccount_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      serviceAccount_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int IAP_FIELD_NUMBER = 14;
  private com.google.appengine.v1.Application.IdentityAwareProxy iap_;
  /**
   * <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code>
   *
   * @return Whether the iap field is set.
   */
  @java.lang.Override
  public boolean hasIap() {
    return iap_ != null;
  }
  /**
   * <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code>
   *
   * @return The iap.
   */
  @java.lang.Override
  public com.google.appengine.v1.Application.IdentityAwareProxy getIap() {
    return iap_ == null
        ? com.google.appengine.v1.Application.IdentityAwareProxy.getDefaultInstance()
        : iap_;
  }
  /** <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code> */
  @java.lang.Override
  public com.google.appengine.v1.Application.IdentityAwareProxyOrBuilder getIapOrBuilder() {
    return iap_ == null
        ? com.google.appengine.v1.Application.IdentityAwareProxy.getDefaultInstance()
        : iap_;
  }

  public static final int GCR_DOMAIN_FIELD_NUMBER = 16;

  @SuppressWarnings("serial")
  private volatile java.lang.Object gcrDomain_ = "";
  /**
   *
   *
   * <pre>
   * The Google Container Registry domain used for storing managed build docker
   * images for this application.
   * </pre>
   *
   * <code>string gcr_domain = 16;</code>
   *
   * @return The gcrDomain.
   */
  @java.lang.Override
  public java.lang.String getGcrDomain() {
    java.lang.Object ref = gcrDomain_;
    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();
      gcrDomain_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * The Google Container Registry domain used for storing managed build docker
   * images for this application.
   * </pre>
   *
   * <code>string gcr_domain = 16;</code>
   *
   * @return The bytes for gcrDomain.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getGcrDomainBytes() {
    java.lang.Object ref = gcrDomain_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      gcrDomain_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DATABASE_TYPE_FIELD_NUMBER = 17;
  private int databaseType_ = 0;
  /**
   *
   *
   * <pre>
   * The type of the Cloud Firestore or Cloud Datastore database associated with
   * this application.
   * </pre>
   *
   * <code>.google.appengine.v1.Application.DatabaseType database_type = 17;</code>
   *
   * @return The enum numeric value on the wire for databaseType.
   */
  @java.lang.Override
  public int getDatabaseTypeValue() {
    return databaseType_;
  }
  /**
   *
   *
   * <pre>
   * The type of the Cloud Firestore or Cloud Datastore database associated with
   * this application.
   * </pre>
   *
   * <code>.google.appengine.v1.Application.DatabaseType database_type = 17;</code>
   *
   * @return The databaseType.
   */
  @java.lang.Override
  public com.google.appengine.v1.Application.DatabaseType getDatabaseType() {
    com.google.appengine.v1.Application.DatabaseType result =
        com.google.appengine.v1.Application.DatabaseType.forNumber(databaseType_);
    return result == null ? com.google.appengine.v1.Application.DatabaseType.UNRECOGNIZED : result;
  }

  public static final int FEATURE_SETTINGS_FIELD_NUMBER = 18;
  private com.google.appengine.v1.Application.FeatureSettings featureSettings_;
  /**
   *
   *
   * <pre>
   * The feature specific settings to be used in the application.
   * </pre>
   *
   * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
   *
   * @return Whether the featureSettings field is set.
   */
  @java.lang.Override
  public boolean hasFeatureSettings() {
    return featureSettings_ != null;
  }
  /**
   *
   *
   * <pre>
   * The feature specific settings to be used in the application.
   * </pre>
   *
   * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
   *
   * @return The featureSettings.
   */
  @java.lang.Override
  public com.google.appengine.v1.Application.FeatureSettings getFeatureSettings() {
    return featureSettings_ == null
        ? com.google.appengine.v1.Application.FeatureSettings.getDefaultInstance()
        : featureSettings_;
  }
  /**
   *
   *
   * <pre>
   * The feature specific settings to be used in the application.
   * </pre>
   *
   * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
   */
  @java.lang.Override
  public com.google.appengine.v1.Application.FeatureSettingsOrBuilder
      getFeatureSettingsOrBuilder() {
    return featureSettings_ == null
        ? com.google.appengine.v1.Application.FeatureSettings.getDefaultInstance()
        : featureSettings_;
  }

  private byte memoizedIsInitialized = -1;

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
    }
    for (int i = 0; i < dispatchRules_.size(); i++) {
      output.writeMessage(3, dispatchRules_.get(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authDomain_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, authDomain_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, locationId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codeBucket_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, codeBucket_);
    }
    if (defaultCookieExpiration_ != null) {
      output.writeMessage(9, getDefaultCookieExpiration());
    }
    if (servingStatus_
        != com.google.appengine.v1.Application.ServingStatus.UNSPECIFIED.getNumber()) {
      output.writeEnum(10, servingStatus_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultHostname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, defaultHostname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBucket_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, defaultBucket_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, serviceAccount_);
    }
    if (iap_ != null) {
      output.writeMessage(14, getIap());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcrDomain_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, gcrDomain_);
    }
    if (databaseType_
        != com.google.appengine.v1.Application.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) {
      output.writeEnum(17, databaseType_);
    }
    if (featureSettings_ != null) {
      output.writeMessage(18, getFeatureSettings());
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
    }
    for (int i = 0; i < dispatchRules_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dispatchRules_.get(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authDomain_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, authDomain_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locationId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codeBucket_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, codeBucket_);
    }
    if (defaultCookieExpiration_ != null) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDefaultCookieExpiration());
    }
    if (servingStatus_
        != com.google.appengine.v1.Application.ServingStatus.UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, servingStatus_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultHostname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, defaultHostname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBucket_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, defaultBucket_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, serviceAccount_);
    }
    if (iap_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getIap());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcrDomain_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, gcrDomain_);
    }
    if (databaseType_
        != com.google.appengine.v1.Application.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(17, databaseType_);
    }
    if (featureSettings_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getFeatureSettings());
    }
    size += getUnknownFields().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.appengine.v1.Application)) {
      return super.equals(obj);
    }
    com.google.appengine.v1.Application other = (com.google.appengine.v1.Application) obj;

    if (!getName().equals(other.getName())) return false;
    if (!getId().equals(other.getId())) return false;
    if (!getDispatchRulesList().equals(other.getDispatchRulesList())) return false;
    if (!getAuthDomain().equals(other.getAuthDomain())) return false;
    if (!getLocationId().equals(other.getLocationId())) return false;
    if (!getCodeBucket().equals(other.getCodeBucket())) return false;
    if (hasDefaultCookieExpiration() != other.hasDefaultCookieExpiration()) return false;
    if (hasDefaultCookieExpiration()) {
      if (!getDefaultCookieExpiration().equals(other.getDefaultCookieExpiration())) return false;
    }
    if (servingStatus_ != other.servingStatus_) return false;
    if (!getDefaultHostname().equals(other.getDefaultHostname())) return false;
    if (!getDefaultBucket().equals(other.getDefaultBucket())) return false;
    if (!getServiceAccount().equals(other.getServiceAccount())) return false;
    if (hasIap() != other.hasIap()) return false;
    if (hasIap()) {
      if (!getIap().equals(other.getIap())) return false;
    }
    if (!getGcrDomain().equals(other.getGcrDomain())) return false;
    if (databaseType_ != other.databaseType_) return false;
    if (hasFeatureSettings() != other.hasFeatureSettings()) return false;
    if (hasFeatureSettings()) {
      if (!getFeatureSettings().equals(other.getFeatureSettings())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) 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) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    hash = (37 * hash) + ID_FIELD_NUMBER;
    hash = (53 * hash) + getId().hashCode();
    if (getDispatchRulesCount() > 0) {
      hash = (37 * hash) + DISPATCH_RULES_FIELD_NUMBER;
      hash = (53 * hash) + getDispatchRulesList().hashCode();
    }
    hash = (37 * hash) + AUTH_DOMAIN_FIELD_NUMBER;
    hash = (53 * hash) + getAuthDomain().hashCode();
    hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER;
    hash = (53 * hash) + getLocationId().hashCode();
    hash = (37 * hash) + CODE_BUCKET_FIELD_NUMBER;
    hash = (53 * hash) + getCodeBucket().hashCode();
    if (hasDefaultCookieExpiration()) {
      hash = (37 * hash) + DEFAULT_COOKIE_EXPIRATION_FIELD_NUMBER;
      hash = (53 * hash) + getDefaultCookieExpiration().hashCode();
    }
    hash = (37 * hash) + SERVING_STATUS_FIELD_NUMBER;
    hash = (53 * hash) + servingStatus_;
    hash = (37 * hash) + DEFAULT_HOSTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDefaultHostname().hashCode();
    hash = (37 * hash) + DEFAULT_BUCKET_FIELD_NUMBER;
    hash = (53 * hash) + getDefaultBucket().hashCode();
    hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getServiceAccount().hashCode();
    if (hasIap()) {
      hash = (37 * hash) + IAP_FIELD_NUMBER;
      hash = (53 * hash) + getIap().hashCode();
    }
    hash = (37 * hash) + GCR_DOMAIN_FIELD_NUMBER;
    hash = (53 * hash) + getGcrDomain().hashCode();
    hash = (37 * hash) + DATABASE_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + databaseType_;
    if (hasFeatureSettings()) {
      hash = (37 * hash) + FEATURE_SETTINGS_FIELD_NUMBER;
      hash = (53 * hash) + getFeatureSettings().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.appengine.v1.Application parseFrom(java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.appengine.v1.Application parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.appengine.v1.Application parseFrom(com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.appengine.v1.Application 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.appengine.v1.Application parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.appengine.v1.Application parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.appengine.v1.Application parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.appengine.v1.Application 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.appengine.v1.Application parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.appengine.v1.Application 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.appengine.v1.Application parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.appengine.v1.Application 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.appengine.v1.Application 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>
   * An Application resource contains the top-level configuration of an App
   * Engine application.
   * </pre>
   *
   * Protobuf type {@code google.appengine.v1.Application}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.appengine.v1.Application)
      com.google.appengine.v1.ApplicationOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.appengine.v1.ApplicationProto
          .internal_static_google_appengine_v1_Application_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.appengine.v1.ApplicationProto
          .internal_static_google_appengine_v1_Application_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.appengine.v1.Application.class,
              com.google.appengine.v1.Application.Builder.class);
    }

    // Construct using com.google.appengine.v1.Application.newBuilder()
    private Builder() {}

    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
    }

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      name_ = "";
      id_ = "";
      if (dispatchRulesBuilder_ == null) {
        dispatchRules_ = java.util.Collections.emptyList();
      } else {
        dispatchRules_ = null;
        dispatchRulesBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000004);
      authDomain_ = "";
      locationId_ = "";
      codeBucket_ = "";
      defaultCookieExpiration_ = null;
      if (defaultCookieExpirationBuilder_ != null) {
        defaultCookieExpirationBuilder_.dispose();
        defaultCookieExpirationBuilder_ = null;
      }
      servingStatus_ = 0;
      defaultHostname_ = "";
      defaultBucket_ = "";
      serviceAccount_ = "";
      iap_ = null;
      if (iapBuilder_ != null) {
        iapBuilder_.dispose();
        iapBuilder_ = null;
      }
      gcrDomain_ = "";
      databaseType_ = 0;
      featureSettings_ = null;
      if (featureSettingsBuilder_ != null) {
        featureSettingsBuilder_.dispose();
        featureSettingsBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.appengine.v1.ApplicationProto
          .internal_static_google_appengine_v1_Application_descriptor;
    }

    @java.lang.Override
    public com.google.appengine.v1.Application getDefaultInstanceForType() {
      return com.google.appengine.v1.Application.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.appengine.v1.Application build() {
      com.google.appengine.v1.Application result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.appengine.v1.Application buildPartial() {
      com.google.appengine.v1.Application result = new com.google.appengine.v1.Application(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) {
        buildPartial0(result);
      }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(com.google.appengine.v1.Application result) {
      if (dispatchRulesBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          dispatchRules_ = java.util.Collections.unmodifiableList(dispatchRules_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.dispatchRules_ = dispatchRules_;
      } else {
        result.dispatchRules_ = dispatchRulesBuilder_.build();
      }
    }

    private void buildPartial0(com.google.appengine.v1.Application result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.name_ = name_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.id_ = id_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.authDomain_ = authDomain_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.locationId_ = locationId_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.codeBucket_ = codeBucket_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.defaultCookieExpiration_ =
            defaultCookieExpirationBuilder_ == null
                ? defaultCookieExpiration_
                : defaultCookieExpirationBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.servingStatus_ = servingStatus_;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.defaultHostname_ = defaultHostname_;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.defaultBucket_ = defaultBucket_;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        result.serviceAccount_ = serviceAccount_;
      }
      if (((from_bitField0_ & 0x00000800) != 0)) {
        result.iap_ = iapBuilder_ == null ? iap_ : iapBuilder_.build();
      }
      if (((from_bitField0_ & 0x00001000) != 0)) {
        result.gcrDomain_ = gcrDomain_;
      }
      if (((from_bitField0_ & 0x00002000) != 0)) {
        result.databaseType_ = databaseType_;
      }
      if (((from_bitField0_ & 0x00004000) != 0)) {
        result.featureSettings_ =
            featureSettingsBuilder_ == null ? featureSettings_ : featureSettingsBuilder_.build();
      }
    }

    @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.appengine.v1.Application) {
        return mergeFrom((com.google.appengine.v1.Application) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.appengine.v1.Application other) {
      if (other == com.google.appengine.v1.Application.getDefaultInstance()) return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getId().isEmpty()) {
        id_ = other.id_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (dispatchRulesBuilder_ == null) {
        if (!other.dispatchRules_.isEmpty()) {
          if (dispatchRules_.isEmpty()) {
            dispatchRules_ = other.dispatchRules_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureDispatchRulesIsMutable();
            dispatchRules_.addAll(other.dispatchRules_);
          }
          onChanged();
        }
      } else {
        if (!other.dispatchRules_.isEmpty()) {
          if (dispatchRulesBuilder_.isEmpty()) {
            dispatchRulesBuilder_.dispose();
            dispatchRulesBuilder_ = null;
            dispatchRules_ = other.dispatchRules_;
            bitField0_ = (bitField0_ & ~0x00000004);
            dispatchRulesBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getDispatchRulesFieldBuilder()
                    : null;
          } else {
            dispatchRulesBuilder_.addAllMessages(other.dispatchRules_);
          }
        }
      }
      if (!other.getAuthDomain().isEmpty()) {
        authDomain_ = other.authDomain_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (!other.getLocationId().isEmpty()) {
        locationId_ = other.locationId_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (!other.getCodeBucket().isEmpty()) {
        codeBucket_ = other.codeBucket_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (other.hasDefaultCookieExpiration()) {
        mergeDefaultCookieExpiration(other.getDefaultCookieExpiration());
      }
      if (other.servingStatus_ != 0) {
        setServingStatusValue(other.getServingStatusValue());
      }
      if (!other.getDefaultHostname().isEmpty()) {
        defaultHostname_ = other.defaultHostname_;
        bitField0_ |= 0x00000100;
        onChanged();
      }
      if (!other.getDefaultBucket().isEmpty()) {
        defaultBucket_ = other.defaultBucket_;
        bitField0_ |= 0x00000200;
        onChanged();
      }
      if (!other.getServiceAccount().isEmpty()) {
        serviceAccount_ = other.serviceAccount_;
        bitField0_ |= 0x00000400;
        onChanged();
      }
      if (other.hasIap()) {
        mergeIap(other.getIap());
      }
      if (!other.getGcrDomain().isEmpty()) {
        gcrDomain_ = other.gcrDomain_;
        bitField0_ |= 0x00001000;
        onChanged();
      }
      if (other.databaseType_ != 0) {
        setDatabaseTypeValue(other.getDatabaseTypeValue());
      }
      if (other.hasFeatureSettings()) {
        mergeFeatureSettings(other.getFeatureSettings());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      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 {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 18:
              {
                id_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
            case 26:
              {
                com.google.appengine.v1.UrlDispatchRule m =
                    input.readMessage(
                        com.google.appengine.v1.UrlDispatchRule.parser(), extensionRegistry);
                if (dispatchRulesBuilder_ == null) {
                  ensureDispatchRulesIsMutable();
                  dispatchRules_.add(m);
                } else {
                  dispatchRulesBuilder_.addMessage(m);
                }
                break;
              } // case 26
            case 50:
              {
                authDomain_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000008;
                break;
              } // case 50
            case 58:
              {
                locationId_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000010;
                break;
              } // case 58
            case 66:
              {
                codeBucket_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000020;
                break;
              } // case 66
            case 74:
              {
                input.readMessage(
                    getDefaultCookieExpirationFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000040;
                break;
              } // case 74
            case 80:
              {
                servingStatus_ = input.readEnum();
                bitField0_ |= 0x00000080;
                break;
              } // case 80
            case 90:
              {
                defaultHostname_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000100;
                break;
              } // case 90
            case 98:
              {
                defaultBucket_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000200;
                break;
              } // case 98
            case 106:
              {
                serviceAccount_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000400;
                break;
              } // case 106
            case 114:
              {
                input.readMessage(getIapFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000800;
                break;
              } // case 114
            case 130:
              {
                gcrDomain_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00001000;
                break;
              } // case 130
            case 136:
              {
                databaseType_ = input.readEnum();
                bitField0_ |= 0x00002000;
                break;
              } // case 136
            case 146:
              {
                input.readMessage(getFeatureSettingsFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00004000;
                break;
              } // case 146
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }

    private int bitField0_;

    private java.lang.Object name_ = "";
    /**
     *
     *
     * <pre>
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string name = 1;</code>
     *
     * @return The name.
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string name = 1;</code>
     *
     * @return The bytes for name.
     */
    public com.google.protobuf.ByteString getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string name = 1;</code>
     *
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      name_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string name = 1;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearName() {
      name_ = getDefaultInstance().getName();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string name = 1;</code>
     *
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      name_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object id_ = "";
    /**
     *
     *
     * <pre>
     * Identifier of the Application resource. This identifier is equivalent
     * to the project ID of the Google Cloud Platform project where you want to
     * deploy your application.
     * Example: `myapp`.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @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;
      }
    }
    /**
     *
     *
     * <pre>
     * Identifier of the Application resource. This identifier is equivalent
     * to the project ID of the Google Cloud Platform project where you want to
     * deploy your application.
     * Example: `myapp`.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @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;
      }
    }
    /**
     *
     *
     * <pre>
     * Identifier of the Application resource. This identifier is equivalent
     * to the project ID of the Google Cloud Platform project where you want to
     * deploy your application.
     * Example: `myapp`.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @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;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Identifier of the Application resource. This identifier is equivalent
     * to the project ID of the Google Cloud Platform project where you want to
     * deploy your application.
     * Example: `myapp`.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearId() {
      id_ = getDefaultInstance().getId();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Identifier of the Application resource. This identifier is equivalent
     * to the project ID of the Google Cloud Platform project where you want to
     * deploy your application.
     * Example: `myapp`.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @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;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private java.util.List<com.google.appengine.v1.UrlDispatchRule> dispatchRules_ =
        java.util.Collections.emptyList();

    private void ensureDispatchRulesIsMutable() {
      if (!((bitField0_ & 0x00000004) != 0)) {
        dispatchRules_ =
            new java.util.ArrayList<com.google.appengine.v1.UrlDispatchRule>(dispatchRules_);
        bitField0_ |= 0x00000004;
      }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.appengine.v1.UrlDispatchRule,
            com.google.appengine.v1.UrlDispatchRule.Builder,
            com.google.appengine.v1.UrlDispatchRuleOrBuilder>
        dispatchRulesBuilder_;

    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public java.util.List<com.google.appengine.v1.UrlDispatchRule> getDispatchRulesList() {
      if (dispatchRulesBuilder_ == null) {
        return java.util.Collections.unmodifiableList(dispatchRules_);
      } else {
        return dispatchRulesBuilder_.getMessageList();
      }
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public int getDispatchRulesCount() {
      if (dispatchRulesBuilder_ == null) {
        return dispatchRules_.size();
      } else {
        return dispatchRulesBuilder_.getCount();
      }
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public com.google.appengine.v1.UrlDispatchRule getDispatchRules(int index) {
      if (dispatchRulesBuilder_ == null) {
        return dispatchRules_.get(index);
      } else {
        return dispatchRulesBuilder_.getMessage(index);
      }
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder setDispatchRules(int index, com.google.appengine.v1.UrlDispatchRule value) {
      if (dispatchRulesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDispatchRulesIsMutable();
        dispatchRules_.set(index, value);
        onChanged();
      } else {
        dispatchRulesBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder setDispatchRules(
        int index, com.google.appengine.v1.UrlDispatchRule.Builder builderForValue) {
      if (dispatchRulesBuilder_ == null) {
        ensureDispatchRulesIsMutable();
        dispatchRules_.set(index, builderForValue.build());
        onChanged();
      } else {
        dispatchRulesBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder addDispatchRules(com.google.appengine.v1.UrlDispatchRule value) {
      if (dispatchRulesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDispatchRulesIsMutable();
        dispatchRules_.add(value);
        onChanged();
      } else {
        dispatchRulesBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder addDispatchRules(int index, com.google.appengine.v1.UrlDispatchRule value) {
      if (dispatchRulesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDispatchRulesIsMutable();
        dispatchRules_.add(index, value);
        onChanged();
      } else {
        dispatchRulesBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder addDispatchRules(
        com.google.appengine.v1.UrlDispatchRule.Builder builderForValue) {
      if (dispatchRulesBuilder_ == null) {
        ensureDispatchRulesIsMutable();
        dispatchRules_.add(builderForValue.build());
        onChanged();
      } else {
        dispatchRulesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder addDispatchRules(
        int index, com.google.appengine.v1.UrlDispatchRule.Builder builderForValue) {
      if (dispatchRulesBuilder_ == null) {
        ensureDispatchRulesIsMutable();
        dispatchRules_.add(index, builderForValue.build());
        onChanged();
      } else {
        dispatchRulesBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder addAllDispatchRules(
        java.lang.Iterable<? extends com.google.appengine.v1.UrlDispatchRule> values) {
      if (dispatchRulesBuilder_ == null) {
        ensureDispatchRulesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dispatchRules_);
        onChanged();
      } else {
        dispatchRulesBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder clearDispatchRules() {
      if (dispatchRulesBuilder_ == null) {
        dispatchRules_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
      } else {
        dispatchRulesBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public Builder removeDispatchRules(int index) {
      if (dispatchRulesBuilder_ == null) {
        ensureDispatchRulesIsMutable();
        dispatchRules_.remove(index);
        onChanged();
      } else {
        dispatchRulesBuilder_.remove(index);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public com.google.appengine.v1.UrlDispatchRule.Builder getDispatchRulesBuilder(int index) {
      return getDispatchRulesFieldBuilder().getBuilder(index);
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public com.google.appengine.v1.UrlDispatchRuleOrBuilder getDispatchRulesOrBuilder(int index) {
      if (dispatchRulesBuilder_ == null) {
        return dispatchRules_.get(index);
      } else {
        return dispatchRulesBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public java.util.List<? extends com.google.appengine.v1.UrlDispatchRuleOrBuilder>
        getDispatchRulesOrBuilderList() {
      if (dispatchRulesBuilder_ != null) {
        return dispatchRulesBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(dispatchRules_);
      }
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public com.google.appengine.v1.UrlDispatchRule.Builder addDispatchRulesBuilder() {
      return getDispatchRulesFieldBuilder()
          .addBuilder(com.google.appengine.v1.UrlDispatchRule.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public com.google.appengine.v1.UrlDispatchRule.Builder addDispatchRulesBuilder(int index) {
      return getDispatchRulesFieldBuilder()
          .addBuilder(index, com.google.appengine.v1.UrlDispatchRule.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * HTTP path dispatch rules for requests to the application that do not
     * explicitly target a service or version. Rules are order-dependent.
     * Up to 20 dispatch rules can be supported.
     * </pre>
     *
     * <code>repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;</code>
     */
    public java.util.List<com.google.appengine.v1.UrlDispatchRule.Builder>
        getDispatchRulesBuilderList() {
      return getDispatchRulesFieldBuilder().getBuilderList();
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.appengine.v1.UrlDispatchRule,
            com.google.appengine.v1.UrlDispatchRule.Builder,
            com.google.appengine.v1.UrlDispatchRuleOrBuilder>
        getDispatchRulesFieldBuilder() {
      if (dispatchRulesBuilder_ == null) {
        dispatchRulesBuilder_ =
            new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.appengine.v1.UrlDispatchRule,
                com.google.appengine.v1.UrlDispatchRule.Builder,
                com.google.appengine.v1.UrlDispatchRuleOrBuilder>(
                dispatchRules_,
                ((bitField0_ & 0x00000004) != 0),
                getParentForChildren(),
                isClean());
        dispatchRules_ = null;
      }
      return dispatchRulesBuilder_;
    }

    private java.lang.Object authDomain_ = "";
    /**
     *
     *
     * <pre>
     * Google Apps authentication domain that controls which users can access
     * this application.
     * Defaults to open access for any Google Account.
     * </pre>
     *
     * <code>string auth_domain = 6;</code>
     *
     * @return The authDomain.
     */
    public java.lang.String getAuthDomain() {
      java.lang.Object ref = authDomain_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        authDomain_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Google Apps authentication domain that controls which users can access
     * this application.
     * Defaults to open access for any Google Account.
     * </pre>
     *
     * <code>string auth_domain = 6;</code>
     *
     * @return The bytes for authDomain.
     */
    public com.google.protobuf.ByteString getAuthDomainBytes() {
      java.lang.Object ref = authDomain_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        authDomain_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Google Apps authentication domain that controls which users can access
     * this application.
     * Defaults to open access for any Google Account.
     * </pre>
     *
     * <code>string auth_domain = 6;</code>
     *
     * @param value The authDomain to set.
     * @return This builder for chaining.
     */
    public Builder setAuthDomain(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      authDomain_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Google Apps authentication domain that controls which users can access
     * this application.
     * Defaults to open access for any Google Account.
     * </pre>
     *
     * <code>string auth_domain = 6;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearAuthDomain() {
      authDomain_ = getDefaultInstance().getAuthDomain();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Google Apps authentication domain that controls which users can access
     * this application.
     * Defaults to open access for any Google Account.
     * </pre>
     *
     * <code>string auth_domain = 6;</code>
     *
     * @param value The bytes for authDomain to set.
     * @return This builder for chaining.
     */
    public Builder setAuthDomainBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      authDomain_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private java.lang.Object locationId_ = "";
    /**
     *
     *
     * <pre>
     * Location from which this application runs. Application instances
     * run out of the data centers in the specified location, which is also where
     * all of the application's end user content is stored.
     * Defaults to `us-central`.
     * View the list of
     * [supported locations](https://cloud.google.com/appengine/docs/locations).
     * </pre>
     *
     * <code>string location_id = 7;</code>
     *
     * @return The locationId.
     */
    public java.lang.String getLocationId() {
      java.lang.Object ref = locationId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        locationId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Location from which this application runs. Application instances
     * run out of the data centers in the specified location, which is also where
     * all of the application's end user content is stored.
     * Defaults to `us-central`.
     * View the list of
     * [supported locations](https://cloud.google.com/appengine/docs/locations).
     * </pre>
     *
     * <code>string location_id = 7;</code>
     *
     * @return The bytes for locationId.
     */
    public com.google.protobuf.ByteString getLocationIdBytes() {
      java.lang.Object ref = locationId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        locationId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Location from which this application runs. Application instances
     * run out of the data centers in the specified location, which is also where
     * all of the application's end user content is stored.
     * Defaults to `us-central`.
     * View the list of
     * [supported locations](https://cloud.google.com/appengine/docs/locations).
     * </pre>
     *
     * <code>string location_id = 7;</code>
     *
     * @param value The locationId to set.
     * @return This builder for chaining.
     */
    public Builder setLocationId(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      locationId_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Location from which this application runs. Application instances
     * run out of the data centers in the specified location, which is also where
     * all of the application's end user content is stored.
     * Defaults to `us-central`.
     * View the list of
     * [supported locations](https://cloud.google.com/appengine/docs/locations).
     * </pre>
     *
     * <code>string location_id = 7;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearLocationId() {
      locationId_ = getDefaultInstance().getLocationId();
      bitField0_ = (bitField0_ & ~0x00000010);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Location from which this application runs. Application instances
     * run out of the data centers in the specified location, which is also where
     * all of the application's end user content is stored.
     * Defaults to `us-central`.
     * View the list of
     * [supported locations](https://cloud.google.com/appengine/docs/locations).
     * </pre>
     *
     * <code>string location_id = 7;</code>
     *
     * @param value The bytes for locationId to set.
     * @return This builder for chaining.
     */
    public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      locationId_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }

    private java.lang.Object codeBucket_ = "";
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used for storing files
     * associated with this application. This bucket is associated with the
     * application and can be used by the gcloud deployment commands.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string code_bucket = 8;</code>
     *
     * @return The codeBucket.
     */
    public java.lang.String getCodeBucket() {
      java.lang.Object ref = codeBucket_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        codeBucket_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used for storing files
     * associated with this application. This bucket is associated with the
     * application and can be used by the gcloud deployment commands.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string code_bucket = 8;</code>
     *
     * @return The bytes for codeBucket.
     */
    public com.google.protobuf.ByteString getCodeBucketBytes() {
      java.lang.Object ref = codeBucket_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        codeBucket_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used for storing files
     * associated with this application. This bucket is associated with the
     * application and can be used by the gcloud deployment commands.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string code_bucket = 8;</code>
     *
     * @param value The codeBucket to set.
     * @return This builder for chaining.
     */
    public Builder setCodeBucket(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      codeBucket_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used for storing files
     * associated with this application. This bucket is associated with the
     * application and can be used by the gcloud deployment commands.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string code_bucket = 8;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearCodeBucket() {
      codeBucket_ = getDefaultInstance().getCodeBucket();
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used for storing files
     * associated with this application. This bucket is associated with the
     * application and can be used by the gcloud deployment commands.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string code_bucket = 8;</code>
     *
     * @param value The bytes for codeBucket to set.
     * @return This builder for chaining.
     */
    public Builder setCodeBucketBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      codeBucket_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    private com.google.protobuf.Duration defaultCookieExpiration_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        defaultCookieExpirationBuilder_;
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     *
     * @return Whether the defaultCookieExpiration field is set.
     */
    public boolean hasDefaultCookieExpiration() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     *
     * @return The defaultCookieExpiration.
     */
    public com.google.protobuf.Duration getDefaultCookieExpiration() {
      if (defaultCookieExpirationBuilder_ == null) {
        return defaultCookieExpiration_ == null
            ? com.google.protobuf.Duration.getDefaultInstance()
            : defaultCookieExpiration_;
      } else {
        return defaultCookieExpirationBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     */
    public Builder setDefaultCookieExpiration(com.google.protobuf.Duration value) {
      if (defaultCookieExpirationBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        defaultCookieExpiration_ = value;
      } else {
        defaultCookieExpirationBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     */
    public Builder setDefaultCookieExpiration(
        com.google.protobuf.Duration.Builder builderForValue) {
      if (defaultCookieExpirationBuilder_ == null) {
        defaultCookieExpiration_ = builderForValue.build();
      } else {
        defaultCookieExpirationBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     */
    public Builder mergeDefaultCookieExpiration(com.google.protobuf.Duration value) {
      if (defaultCookieExpirationBuilder_ == null) {
        if (((bitField0_ & 0x00000040) != 0)
            && defaultCookieExpiration_ != null
            && defaultCookieExpiration_ != com.google.protobuf.Duration.getDefaultInstance()) {
          getDefaultCookieExpirationBuilder().mergeFrom(value);
        } else {
          defaultCookieExpiration_ = value;
        }
      } else {
        defaultCookieExpirationBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     */
    public Builder clearDefaultCookieExpiration() {
      bitField0_ = (bitField0_ & ~0x00000040);
      defaultCookieExpiration_ = null;
      if (defaultCookieExpirationBuilder_ != null) {
        defaultCookieExpirationBuilder_.dispose();
        defaultCookieExpirationBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     */
    public com.google.protobuf.Duration.Builder getDefaultCookieExpirationBuilder() {
      bitField0_ |= 0x00000040;
      onChanged();
      return getDefaultCookieExpirationFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     */
    public com.google.protobuf.DurationOrBuilder getDefaultCookieExpirationOrBuilder() {
      if (defaultCookieExpirationBuilder_ != null) {
        return defaultCookieExpirationBuilder_.getMessageOrBuilder();
      } else {
        return defaultCookieExpiration_ == null
            ? com.google.protobuf.Duration.getDefaultInstance()
            : defaultCookieExpiration_;
      }
    }
    /**
     *
     *
     * <pre>
     * Cookie expiration policy for this application.
     * </pre>
     *
     * <code>.google.protobuf.Duration default_cookie_expiration = 9;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        getDefaultCookieExpirationFieldBuilder() {
      if (defaultCookieExpirationBuilder_ == null) {
        defaultCookieExpirationBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Duration,
                com.google.protobuf.Duration.Builder,
                com.google.protobuf.DurationOrBuilder>(
                getDefaultCookieExpiration(), getParentForChildren(), isClean());
        defaultCookieExpiration_ = null;
      }
      return defaultCookieExpirationBuilder_;
    }

    private int servingStatus_ = 0;
    /**
     *
     *
     * <pre>
     * Serving status of this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.ServingStatus serving_status = 10;</code>
     *
     * @return The enum numeric value on the wire for servingStatus.
     */
    @java.lang.Override
    public int getServingStatusValue() {
      return servingStatus_;
    }
    /**
     *
     *
     * <pre>
     * Serving status of this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.ServingStatus serving_status = 10;</code>
     *
     * @param value The enum numeric value on the wire for servingStatus to set.
     * @return This builder for chaining.
     */
    public Builder setServingStatusValue(int value) {
      servingStatus_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Serving status of this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.ServingStatus serving_status = 10;</code>
     *
     * @return The servingStatus.
     */
    @java.lang.Override
    public com.google.appengine.v1.Application.ServingStatus getServingStatus() {
      com.google.appengine.v1.Application.ServingStatus result =
          com.google.appengine.v1.Application.ServingStatus.forNumber(servingStatus_);
      return result == null
          ? com.google.appengine.v1.Application.ServingStatus.UNRECOGNIZED
          : result;
    }
    /**
     *
     *
     * <pre>
     * Serving status of this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.ServingStatus serving_status = 10;</code>
     *
     * @param value The servingStatus to set.
     * @return This builder for chaining.
     */
    public Builder setServingStatus(com.google.appengine.v1.Application.ServingStatus value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000080;
      servingStatus_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Serving status of this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.ServingStatus serving_status = 10;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearServingStatus() {
      bitField0_ = (bitField0_ & ~0x00000080);
      servingStatus_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object defaultHostname_ = "";
    /**
     *
     *
     * <pre>
     * Hostname used to reach this application, as resolved by App Engine.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_hostname = 11;</code>
     *
     * @return The defaultHostname.
     */
    public java.lang.String getDefaultHostname() {
      java.lang.Object ref = defaultHostname_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        defaultHostname_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Hostname used to reach this application, as resolved by App Engine.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_hostname = 11;</code>
     *
     * @return The bytes for defaultHostname.
     */
    public com.google.protobuf.ByteString getDefaultHostnameBytes() {
      java.lang.Object ref = defaultHostname_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        defaultHostname_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Hostname used to reach this application, as resolved by App Engine.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_hostname = 11;</code>
     *
     * @param value The defaultHostname to set.
     * @return This builder for chaining.
     */
    public Builder setDefaultHostname(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      defaultHostname_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Hostname used to reach this application, as resolved by App Engine.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_hostname = 11;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearDefaultHostname() {
      defaultHostname_ = getDefaultInstance().getDefaultHostname();
      bitField0_ = (bitField0_ & ~0x00000100);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Hostname used to reach this application, as resolved by App Engine.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_hostname = 11;</code>
     *
     * @param value The bytes for defaultHostname to set.
     * @return This builder for chaining.
     */
    public Builder setDefaultHostnameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      defaultHostname_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }

    private java.lang.Object defaultBucket_ = "";
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_bucket = 12;</code>
     *
     * @return The defaultBucket.
     */
    public java.lang.String getDefaultBucket() {
      java.lang.Object ref = defaultBucket_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        defaultBucket_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_bucket = 12;</code>
     *
     * @return The bytes for defaultBucket.
     */
    public com.google.protobuf.ByteString getDefaultBucketBytes() {
      java.lang.Object ref = defaultBucket_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        defaultBucket_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_bucket = 12;</code>
     *
     * @param value The defaultBucket to set.
     * @return This builder for chaining.
     */
    public Builder setDefaultBucket(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      defaultBucket_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_bucket = 12;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearDefaultBucket() {
      defaultBucket_ = getDefaultInstance().getDefaultBucket();
      bitField0_ = (bitField0_ & ~0x00000200);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     * &#64;OutputOnly
     * </pre>
     *
     * <code>string default_bucket = 12;</code>
     *
     * @param value The bytes for defaultBucket to set.
     * @return This builder for chaining.
     */
    public Builder setDefaultBucketBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      defaultBucket_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }

    private java.lang.Object serviceAccount_ = "";
    /**
     *
     *
     * <pre>
     * The service account associated with the application.
     * This is the app-level default identity. If no identity provided during
     * create version, Admin API will fallback to this one.
     * </pre>
     *
     * <code>string service_account = 13;</code>
     *
     * @return The serviceAccount.
     */
    public java.lang.String getServiceAccount() {
      java.lang.Object ref = serviceAccount_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        serviceAccount_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * The service account associated with the application.
     * This is the app-level default identity. If no identity provided during
     * create version, Admin API will fallback to this one.
     * </pre>
     *
     * <code>string service_account = 13;</code>
     *
     * @return The bytes for serviceAccount.
     */
    public com.google.protobuf.ByteString getServiceAccountBytes() {
      java.lang.Object ref = serviceAccount_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        serviceAccount_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * The service account associated with the application.
     * This is the app-level default identity. If no identity provided during
     * create version, Admin API will fallback to this one.
     * </pre>
     *
     * <code>string service_account = 13;</code>
     *
     * @param value The serviceAccount to set.
     * @return This builder for chaining.
     */
    public Builder setServiceAccount(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      serviceAccount_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The service account associated with the application.
     * This is the app-level default identity. If no identity provided during
     * create version, Admin API will fallback to this one.
     * </pre>
     *
     * <code>string service_account = 13;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearServiceAccount() {
      serviceAccount_ = getDefaultInstance().getServiceAccount();
      bitField0_ = (bitField0_ & ~0x00000400);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The service account associated with the application.
     * This is the app-level default identity. If no identity provided during
     * create version, Admin API will fallback to this one.
     * </pre>
     *
     * <code>string service_account = 13;</code>
     *
     * @param value The bytes for serviceAccount to set.
     * @return This builder for chaining.
     */
    public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      serviceAccount_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }

    private com.google.appengine.v1.Application.IdentityAwareProxy iap_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.appengine.v1.Application.IdentityAwareProxy,
            com.google.appengine.v1.Application.IdentityAwareProxy.Builder,
            com.google.appengine.v1.Application.IdentityAwareProxyOrBuilder>
        iapBuilder_;
    /**
     * <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code>
     *
     * @return Whether the iap field is set.
     */
    public boolean hasIap() {
      return ((bitField0_ & 0x00000800) != 0);
    }
    /**
     * <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code>
     *
     * @return The iap.
     */
    public com.google.appengine.v1.Application.IdentityAwareProxy getIap() {
      if (iapBuilder_ == null) {
        return iap_ == null
            ? com.google.appengine.v1.Application.IdentityAwareProxy.getDefaultInstance()
            : iap_;
      } else {
        return iapBuilder_.getMessage();
      }
    }
    /** <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code> */
    public Builder setIap(com.google.appengine.v1.Application.IdentityAwareProxy value) {
      if (iapBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        iap_ = value;
      } else {
        iapBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }
    /** <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code> */
    public Builder setIap(
        com.google.appengine.v1.Application.IdentityAwareProxy.Builder builderForValue) {
      if (iapBuilder_ == null) {
        iap_ = builderForValue.build();
      } else {
        iapBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }
    /** <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code> */
    public Builder mergeIap(com.google.appengine.v1.Application.IdentityAwareProxy value) {
      if (iapBuilder_ == null) {
        if (((bitField0_ & 0x00000800) != 0)
            && iap_ != null
            && iap_
                != com.google.appengine.v1.Application.IdentityAwareProxy.getDefaultInstance()) {
          getIapBuilder().mergeFrom(value);
        } else {
          iap_ = value;
        }
      } else {
        iapBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }
    /** <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code> */
    public Builder clearIap() {
      bitField0_ = (bitField0_ & ~0x00000800);
      iap_ = null;
      if (iapBuilder_ != null) {
        iapBuilder_.dispose();
        iapBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /** <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code> */
    public com.google.appengine.v1.Application.IdentityAwareProxy.Builder getIapBuilder() {
      bitField0_ |= 0x00000800;
      onChanged();
      return getIapFieldBuilder().getBuilder();
    }
    /** <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code> */
    public com.google.appengine.v1.Application.IdentityAwareProxyOrBuilder getIapOrBuilder() {
      if (iapBuilder_ != null) {
        return iapBuilder_.getMessageOrBuilder();
      } else {
        return iap_ == null
            ? com.google.appengine.v1.Application.IdentityAwareProxy.getDefaultInstance()
            : iap_;
      }
    }
    /** <code>.google.appengine.v1.Application.IdentityAwareProxy iap = 14;</code> */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.appengine.v1.Application.IdentityAwareProxy,
            com.google.appengine.v1.Application.IdentityAwareProxy.Builder,
            com.google.appengine.v1.Application.IdentityAwareProxyOrBuilder>
        getIapFieldBuilder() {
      if (iapBuilder_ == null) {
        iapBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.appengine.v1.Application.IdentityAwareProxy,
                com.google.appengine.v1.Application.IdentityAwareProxy.Builder,
                com.google.appengine.v1.Application.IdentityAwareProxyOrBuilder>(
                getIap(), getParentForChildren(), isClean());
        iap_ = null;
      }
      return iapBuilder_;
    }

    private java.lang.Object gcrDomain_ = "";
    /**
     *
     *
     * <pre>
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * </pre>
     *
     * <code>string gcr_domain = 16;</code>
     *
     * @return The gcrDomain.
     */
    public java.lang.String getGcrDomain() {
      java.lang.Object ref = gcrDomain_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        gcrDomain_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * </pre>
     *
     * <code>string gcr_domain = 16;</code>
     *
     * @return The bytes for gcrDomain.
     */
    public com.google.protobuf.ByteString getGcrDomainBytes() {
      java.lang.Object ref = gcrDomain_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        gcrDomain_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * </pre>
     *
     * <code>string gcr_domain = 16;</code>
     *
     * @param value The gcrDomain to set.
     * @return This builder for chaining.
     */
    public Builder setGcrDomain(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      gcrDomain_ = value;
      bitField0_ |= 0x00001000;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * </pre>
     *
     * <code>string gcr_domain = 16;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearGcrDomain() {
      gcrDomain_ = getDefaultInstance().getGcrDomain();
      bitField0_ = (bitField0_ & ~0x00001000);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * </pre>
     *
     * <code>string gcr_domain = 16;</code>
     *
     * @param value The bytes for gcrDomain to set.
     * @return This builder for chaining.
     */
    public Builder setGcrDomainBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      gcrDomain_ = value;
      bitField0_ |= 0x00001000;
      onChanged();
      return this;
    }

    private int databaseType_ = 0;
    /**
     *
     *
     * <pre>
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.DatabaseType database_type = 17;</code>
     *
     * @return The enum numeric value on the wire for databaseType.
     */
    @java.lang.Override
    public int getDatabaseTypeValue() {
      return databaseType_;
    }
    /**
     *
     *
     * <pre>
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.DatabaseType database_type = 17;</code>
     *
     * @param value The enum numeric value on the wire for databaseType to set.
     * @return This builder for chaining.
     */
    public Builder setDatabaseTypeValue(int value) {
      databaseType_ = value;
      bitField0_ |= 0x00002000;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.DatabaseType database_type = 17;</code>
     *
     * @return The databaseType.
     */
    @java.lang.Override
    public com.google.appengine.v1.Application.DatabaseType getDatabaseType() {
      com.google.appengine.v1.Application.DatabaseType result =
          com.google.appengine.v1.Application.DatabaseType.forNumber(databaseType_);
      return result == null
          ? com.google.appengine.v1.Application.DatabaseType.UNRECOGNIZED
          : result;
    }
    /**
     *
     *
     * <pre>
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.DatabaseType database_type = 17;</code>
     *
     * @param value The databaseType to set.
     * @return This builder for chaining.
     */
    public Builder setDatabaseType(com.google.appengine.v1.Application.DatabaseType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00002000;
      databaseType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.DatabaseType database_type = 17;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearDatabaseType() {
      bitField0_ = (bitField0_ & ~0x00002000);
      databaseType_ = 0;
      onChanged();
      return this;
    }

    private com.google.appengine.v1.Application.FeatureSettings featureSettings_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.appengine.v1.Application.FeatureSettings,
            com.google.appengine.v1.Application.FeatureSettings.Builder,
            com.google.appengine.v1.Application.FeatureSettingsOrBuilder>
        featureSettingsBuilder_;
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     *
     * @return Whether the featureSettings field is set.
     */
    public boolean hasFeatureSettings() {
      return ((bitField0_ & 0x00004000) != 0);
    }
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     *
     * @return The featureSettings.
     */
    public com.google.appengine.v1.Application.FeatureSettings getFeatureSettings() {
      if (featureSettingsBuilder_ == null) {
        return featureSettings_ == null
            ? com.google.appengine.v1.Application.FeatureSettings.getDefaultInstance()
            : featureSettings_;
      } else {
        return featureSettingsBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     */
    public Builder setFeatureSettings(com.google.appengine.v1.Application.FeatureSettings value) {
      if (featureSettingsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        featureSettings_ = value;
      } else {
        featureSettingsBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00004000;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     */
    public Builder setFeatureSettings(
        com.google.appengine.v1.Application.FeatureSettings.Builder builderForValue) {
      if (featureSettingsBuilder_ == null) {
        featureSettings_ = builderForValue.build();
      } else {
        featureSettingsBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00004000;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     */
    public Builder mergeFeatureSettings(com.google.appengine.v1.Application.FeatureSettings value) {
      if (featureSettingsBuilder_ == null) {
        if (((bitField0_ & 0x00004000) != 0)
            && featureSettings_ != null
            && featureSettings_
                != com.google.appengine.v1.Application.FeatureSettings.getDefaultInstance()) {
          getFeatureSettingsBuilder().mergeFrom(value);
        } else {
          featureSettings_ = value;
        }
      } else {
        featureSettingsBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00004000;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     */
    public Builder clearFeatureSettings() {
      bitField0_ = (bitField0_ & ~0x00004000);
      featureSettings_ = null;
      if (featureSettingsBuilder_ != null) {
        featureSettingsBuilder_.dispose();
        featureSettingsBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     */
    public com.google.appengine.v1.Application.FeatureSettings.Builder getFeatureSettingsBuilder() {
      bitField0_ |= 0x00004000;
      onChanged();
      return getFeatureSettingsFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     */
    public com.google.appengine.v1.Application.FeatureSettingsOrBuilder
        getFeatureSettingsOrBuilder() {
      if (featureSettingsBuilder_ != null) {
        return featureSettingsBuilder_.getMessageOrBuilder();
      } else {
        return featureSettings_ == null
            ? com.google.appengine.v1.Application.FeatureSettings.getDefaultInstance()
            : featureSettings_;
      }
    }
    /**
     *
     *
     * <pre>
     * The feature specific settings to be used in the application.
     * </pre>
     *
     * <code>.google.appengine.v1.Application.FeatureSettings feature_settings = 18;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.appengine.v1.Application.FeatureSettings,
            com.google.appengine.v1.Application.FeatureSettings.Builder,
            com.google.appengine.v1.Application.FeatureSettingsOrBuilder>
        getFeatureSettingsFieldBuilder() {
      if (featureSettingsBuilder_ == null) {
        featureSettingsBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.appengine.v1.Application.FeatureSettings,
                com.google.appengine.v1.Application.FeatureSettings.Builder,
                com.google.appengine.v1.Application.FeatureSettingsOrBuilder>(
                getFeatureSettings(), getParentForChildren(), isClean());
        featureSettings_ = null;
      }
      return featureSettingsBuilder_;
    }

    @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.appengine.v1.Application)
  }

  // @@protoc_insertion_point(class_scope:google.appengine.v1.Application)
  private static final com.google.appengine.v1.Application DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.appengine.v1.Application();
  }

  public static com.google.appengine.v1.Application getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<Application> PARSER =
      new com.google.protobuf.AbstractParser<Application>() {
        @java.lang.Override
        public Application parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
      };

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

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

  @java.lang.Override
  public com.google.appengine.v1.Application getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
