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

com.google.appengine.v1.Application Maven / Gradle / Ivy

There is a newer version: 2.54.0
Show newest version
/*
 * Copyright 2024 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

// Protobuf Java Version: 3.25.4
package com.google.appengine.v1;

/**
 *
 *
 * 
 * An Application resource contains the top-level configuration of an App
 * Engine application.
 * 
* * 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(); } 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 { /** * * *
     * Serving status is unspecified.
     * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** * * *
     * Application is serving.
     * 
* * SERVING = 1; */ SERVING(1), /** * * *
     * Application has been disabled by the user.
     * 
* * USER_DISABLED = 2; */ USER_DISABLED(2), /** * * *
     * Application has been disabled by the system.
     * 
* * SYSTEM_DISABLED = 3; */ SYSTEM_DISABLED(3), UNRECOGNIZED(-1), ; /** * * *
     * Serving status is unspecified.
     * 
* * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** * * *
     * Application is serving.
     * 
* * SERVING = 1; */ public static final int SERVING_VALUE = 1; /** * * *
     * Application has been disabled by the user.
     * 
* * USER_DISABLED = 2; */ public static final int USER_DISABLED_VALUE = 2; /** * * *
     * Application has been disabled by the system.
     * 
* * SYSTEM_DISABLED = 3; */ 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 internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { 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 { /** * * *
     * Database type is unspecified.
     * 
* * DATABASE_TYPE_UNSPECIFIED = 0; */ DATABASE_TYPE_UNSPECIFIED(0), /** * * *
     * Cloud Datastore
     * 
* * CLOUD_DATASTORE = 1; */ CLOUD_DATASTORE(1), /** * * *
     * Cloud Firestore Native
     * 
* * CLOUD_FIRESTORE = 2; */ CLOUD_FIRESTORE(2), /** * * *
     * Cloud Firestore in Datastore Mode
     * 
* * CLOUD_DATASTORE_COMPATIBILITY = 3; */ CLOUD_DATASTORE_COMPATIBILITY(3), UNRECOGNIZED(-1), ; /** * * *
     * Database type is unspecified.
     * 
* * DATABASE_TYPE_UNSPECIFIED = 0; */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** * * *
     * Cloud Datastore
     * 
* * CLOUD_DATASTORE = 1; */ public static final int CLOUD_DATASTORE_VALUE = 1; /** * * *
     * Cloud Firestore Native
     * 
* * CLOUD_FIRESTORE = 2; */ public static final int CLOUD_FIRESTORE_VALUE = 2; /** * * *
     * Cloud Firestore in Datastore Mode
     * 
* * CLOUD_DATASTORE_COMPATIBILITY = 3; */ 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 internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { 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 { /** * * *
     * 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.
     * 
* * bool enabled = 1; * * @return The enabled. */ boolean getEnabled(); /** * * *
     * OAuth2 client ID to use for the authentication flow.
     * 
* * string oauth2_client_id = 2; * * @return The oauth2ClientId. */ java.lang.String getOauth2ClientId(); /** * * *
     * OAuth2 client ID to use for the authentication flow.
     * 
* * string oauth2_client_id = 2; * * @return The bytes for oauth2ClientId. */ com.google.protobuf.ByteString getOauth2ClientIdBytes(); /** * * *
     * 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.
     *
     * @InputOnly
     * 
* * string oauth2_client_secret = 3; * * @return The oauth2ClientSecret. */ java.lang.String getOauth2ClientSecret(); /** * * *
     * 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.
     *
     * @InputOnly
     * 
* * string oauth2_client_secret = 3; * * @return The bytes for oauth2ClientSecret. */ com.google.protobuf.ByteString getOauth2ClientSecretBytes(); /** * * *
     * Hex-encoded SHA-256 hash of the client secret.
     *
     * @OutputOnly
     * 
* * string oauth2_client_secret_sha256 = 4; * * @return The oauth2ClientSecretSha256. */ java.lang.String getOauth2ClientSecretSha256(); /** * * *
     * Hex-encoded SHA-256 hash of the client secret.
     *
     * @OutputOnly
     * 
* * string oauth2_client_secret_sha256 = 4; * * @return The bytes for oauth2ClientSecretSha256. */ com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes(); } /** * * *
   * Identity-Aware Proxy
   * 
* * 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(); } 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; /** * * *
     * 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.
     * 
* * bool enabled = 1; * * @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_ = ""; /** * * *
     * OAuth2 client ID to use for the authentication flow.
     * 
* * string oauth2_client_id = 2; * * @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; } } /** * * *
     * OAuth2 client ID to use for the authentication flow.
     * 
* * string oauth2_client_id = 2; * * @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_ = ""; /** * * *
     * 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.
     *
     * @InputOnly
     * 
* * string oauth2_client_secret = 3; * * @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; } } /** * * *
     * 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.
     *
     * @InputOnly
     * 
* * string oauth2_client_secret = 3; * * @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_ = ""; /** * * *
     * Hex-encoded SHA-256 hash of the client secret.
     *
     * @OutputOnly
     * 
* * string oauth2_client_secret_sha256 = 4; * * @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; } } /** * * *
     * Hex-encoded SHA-256 hash of the client secret.
     *
     * @OutputOnly
     * 
* * string oauth2_client_secret_sha256 = 4; * * @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; } /** * * *
     * Identity-Aware Proxy
     * 
* * Protobuf type {@code google.appengine.v1.Application.IdentityAwareProxy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.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_; /** * * *
       * 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.
       * 
* * bool enabled = 1; * * @return The enabled. */ @java.lang.Override public boolean getEnabled() { return enabled_; } /** * * *
       * 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.
       * 
* * bool enabled = 1; * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { enabled_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * 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.
       * 
* * bool enabled = 1; * * @return This builder for chaining. */ public Builder clearEnabled() { bitField0_ = (bitField0_ & ~0x00000001); enabled_ = false; onChanged(); return this; } private java.lang.Object oauth2ClientId_ = ""; /** * * *
       * OAuth2 client ID to use for the authentication flow.
       * 
* * string oauth2_client_id = 2; * * @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; } } /** * * *
       * OAuth2 client ID to use for the authentication flow.
       * 
* * string oauth2_client_id = 2; * * @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; } } /** * * *
       * OAuth2 client ID to use for the authentication flow.
       * 
* * string oauth2_client_id = 2; * * @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; } /** * * *
       * OAuth2 client ID to use for the authentication flow.
       * 
* * string oauth2_client_id = 2; * * @return This builder for chaining. */ public Builder clearOauth2ClientId() { oauth2ClientId_ = getDefaultInstance().getOauth2ClientId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * * *
       * OAuth2 client ID to use for the authentication flow.
       * 
* * string oauth2_client_id = 2; * * @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_ = ""; /** * * *
       * 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.
       *
       * @InputOnly
       * 
* * string oauth2_client_secret = 3; * * @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; } } /** * * *
       * 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.
       *
       * @InputOnly
       * 
* * string oauth2_client_secret = 3; * * @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; } } /** * * *
       * 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.
       *
       * @InputOnly
       * 
* * string oauth2_client_secret = 3; * * @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; } /** * * *
       * 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.
       *
       * @InputOnly
       * 
* * string oauth2_client_secret = 3; * * @return This builder for chaining. */ public Builder clearOauth2ClientSecret() { oauth2ClientSecret_ = getDefaultInstance().getOauth2ClientSecret(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * * *
       * 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.
       *
       * @InputOnly
       * 
* * string oauth2_client_secret = 3; * * @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_ = ""; /** * * *
       * Hex-encoded SHA-256 hash of the client secret.
       *
       * @OutputOnly
       * 
* * string oauth2_client_secret_sha256 = 4; * * @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; } } /** * * *
       * Hex-encoded SHA-256 hash of the client secret.
       *
       * @OutputOnly
       * 
* * string oauth2_client_secret_sha256 = 4; * * @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; } } /** * * *
       * Hex-encoded SHA-256 hash of the client secret.
       *
       * @OutputOnly
       * 
* * string oauth2_client_secret_sha256 = 4; * * @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; } /** * * *
       * Hex-encoded SHA-256 hash of the client secret.
       *
       * @OutputOnly
       * 
* * string oauth2_client_secret_sha256 = 4; * * @return This builder for chaining. */ public Builder clearOauth2ClientSecretSha256() { oauth2ClientSecretSha256_ = getDefaultInstance().getOauth2ClientSecretSha256(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * * *
       * Hex-encoded SHA-256 hash of the client secret.
       *
       * @OutputOnly
       * 
* * string oauth2_client_secret_sha256 = 4; * * @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 PARSER = new com.google.protobuf.AbstractParser() { @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 parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser 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 { /** * * *
     * 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.
     * 
* * bool split_health_checks = 1; * * @return The splitHealthChecks. */ boolean getSplitHealthChecks(); /** * * *
     * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
     * base image for VMs, rather than a base Debian image.
     * 
* * bool use_container_optimized_os = 2; * * @return The useContainerOptimizedOs. */ boolean getUseContainerOptimizedOs(); } /** * * *
   * The feature specific settings to be used in the application. These define
   * behaviors that are user configurable.
   * 
* * 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(); } 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; /** * * *
     * 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.
     * 
* * bool split_health_checks = 1; * * @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; /** * * *
     * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
     * base image for VMs, rather than a base Debian image.
     * 
* * bool use_container_optimized_os = 2; * * @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; } /** * * *
     * The feature specific settings to be used in the application. These define
     * behaviors that are user configurable.
     * 
* * Protobuf type {@code google.appengine.v1.Application.FeatureSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.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_; /** * * *
       * 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.
       * 
* * bool split_health_checks = 1; * * @return The splitHealthChecks. */ @java.lang.Override public boolean getSplitHealthChecks() { return splitHealthChecks_; } /** * * *
       * 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.
       * 
* * bool split_health_checks = 1; * * @param value The splitHealthChecks to set. * @return This builder for chaining. */ public Builder setSplitHealthChecks(boolean value) { splitHealthChecks_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * 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.
       * 
* * bool split_health_checks = 1; * * @return This builder for chaining. */ public Builder clearSplitHealthChecks() { bitField0_ = (bitField0_ & ~0x00000001); splitHealthChecks_ = false; onChanged(); return this; } private boolean useContainerOptimizedOs_; /** * * *
       * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
       * base image for VMs, rather than a base Debian image.
       * 
* * bool use_container_optimized_os = 2; * * @return The useContainerOptimizedOs. */ @java.lang.Override public boolean getUseContainerOptimizedOs() { return useContainerOptimizedOs_; } /** * * *
       * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
       * base image for VMs, rather than a base Debian image.
       * 
* * bool use_container_optimized_os = 2; * * @param value The useContainerOptimizedOs to set. * @return This builder for chaining. */ public Builder setUseContainerOptimizedOs(boolean value) { useContainerOptimizedOs_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
       * If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
       * base image for VMs, rather than a base Debian image.
       * 
* * bool use_container_optimized_os = 2; * * @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 PARSER = new com.google.protobuf.AbstractParser() { @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 parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.v1.Application.FeatureSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * * *
   * Full path to the Application resource in the API.
   * Example: `apps/myapp`.
   *
   * @OutputOnly
   * 
* * string name = 1; * * @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; } } /** * * *
   * Full path to the Application resource in the API.
   * Example: `apps/myapp`.
   *
   * @OutputOnly
   * 
* * string name = 1; * * @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_ = ""; /** * * *
   * 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`.
   * 
* * string id = 2; * * @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; } } /** * * *
   * 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`.
   * 
* * string id = 2; * * @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 dispatchRules_; /** * * *
   * 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.
   * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ @java.lang.Override public java.util.List getDispatchRulesList() { return dispatchRules_; } /** * * *
   * 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.
   * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ @java.lang.Override public java.util.List getDispatchRulesOrBuilderList() { return dispatchRules_; } /** * * *
   * 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.
   * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ @java.lang.Override public int getDispatchRulesCount() { return dispatchRules_.size(); } /** * * *
   * 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.
   * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ @java.lang.Override public com.google.appengine.v1.UrlDispatchRule getDispatchRules(int index) { return dispatchRules_.get(index); } /** * * *
   * 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.
   * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ @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_ = ""; /** * * *
   * Google Apps authentication domain that controls which users can access
   * this application.
   *
   * Defaults to open access for any Google Account.
   * 
* * string auth_domain = 6; * * @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; } } /** * * *
   * Google Apps authentication domain that controls which users can access
   * this application.
   *
   * Defaults to open access for any Google Account.
   * 
* * string auth_domain = 6; * * @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_ = ""; /** * * *
   * 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).
   * 
* * string location_id = 7; * * @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; } } /** * * *
   * 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).
   * 
* * string location_id = 7; * * @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_ = ""; /** * * *
   * 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.
   *
   * @OutputOnly
   * 
* * string code_bucket = 8; * * @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; } } /** * * *
   * 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.
   *
   * @OutputOnly
   * 
* * string code_bucket = 8; * * @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_; /** * * *
   * Cookie expiration policy for this application.
   * 
* * .google.protobuf.Duration default_cookie_expiration = 9; * * @return Whether the defaultCookieExpiration field is set. */ @java.lang.Override public boolean hasDefaultCookieExpiration() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
   * Cookie expiration policy for this application.
   * 
* * .google.protobuf.Duration default_cookie_expiration = 9; * * @return The defaultCookieExpiration. */ @java.lang.Override public com.google.protobuf.Duration getDefaultCookieExpiration() { return defaultCookieExpiration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : defaultCookieExpiration_; } /** * * *
   * Cookie expiration policy for this application.
   * 
* * .google.protobuf.Duration default_cookie_expiration = 9; */ @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; /** * * *
   * Serving status of this application.
   * 
* * .google.appengine.v1.Application.ServingStatus serving_status = 10; * * @return The enum numeric value on the wire for servingStatus. */ @java.lang.Override public int getServingStatusValue() { return servingStatus_; } /** * * *
   * Serving status of this application.
   * 
* * .google.appengine.v1.Application.ServingStatus serving_status = 10; * * @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_ = ""; /** * * *
   * Hostname used to reach this application, as resolved by App Engine.
   *
   * @OutputOnly
   * 
* * string default_hostname = 11; * * @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; } } /** * * *
   * Hostname used to reach this application, as resolved by App Engine.
   *
   * @OutputOnly
   * 
* * string default_hostname = 11; * * @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_ = ""; /** * * *
   * Google Cloud Storage bucket that can be used by this application to store
   * content.
   *
   * @OutputOnly
   * 
* * string default_bucket = 12; * * @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; } } /** * * *
   * Google Cloud Storage bucket that can be used by this application to store
   * content.
   *
   * @OutputOnly
   * 
* * string default_bucket = 12; * * @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_ = ""; /** * * *
   * 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.
   * 
* * string service_account = 13; * * @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; } } /** * * *
   * 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.
   * 
* * string service_account = 13; * * @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_; /** * .google.appengine.v1.Application.IdentityAwareProxy iap = 14; * * @return Whether the iap field is set. */ @java.lang.Override public boolean hasIap() { return ((bitField0_ & 0x00000002) != 0); } /** * .google.appengine.v1.Application.IdentityAwareProxy iap = 14; * * @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_; } /** .google.appengine.v1.Application.IdentityAwareProxy iap = 14; */ @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_ = ""; /** * * *
   * The Google Container Registry domain used for storing managed build docker
   * images for this application.
   * 
* * string gcr_domain = 16; * * @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; } } /** * * *
   * The Google Container Registry domain used for storing managed build docker
   * images for this application.
   * 
* * string gcr_domain = 16; * * @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; /** * * *
   * The type of the Cloud Firestore or Cloud Datastore database associated with
   * this application.
   * 
* * .google.appengine.v1.Application.DatabaseType database_type = 17; * * @return The enum numeric value on the wire for databaseType. */ @java.lang.Override public int getDatabaseTypeValue() { return databaseType_; } /** * * *
   * The type of the Cloud Firestore or Cloud Datastore database associated with
   * this application.
   * 
* * .google.appengine.v1.Application.DatabaseType database_type = 17; * * @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_; /** * * *
   * The feature specific settings to be used in the application.
   * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; * * @return Whether the featureSettings field is set. */ @java.lang.Override public boolean hasFeatureSettings() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
   * The feature specific settings to be used in the application.
   * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; * * @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_; } /** * * *
   * The feature specific settings to be used in the application.
   * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; */ @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 (((bitField0_ & 0x00000001) != 0)) { 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 (((bitField0_ & 0x00000002) != 0)) { 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 (((bitField0_ & 0x00000004) != 0)) { 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 (((bitField0_ & 0x00000001) != 0)) { 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 (((bitField0_ & 0x00000002) != 0)) { 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 (((bitField0_ & 0x00000004) != 0)) { 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; } /** * * *
   * An Application resource contains the top-level configuration of an App
   * Engine application.
   * 
* * Protobuf type {@code google.appengine.v1.Application} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.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() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDispatchRulesFieldBuilder(); getDefaultCookieExpirationFieldBuilder(); getIapFieldBuilder(); getFeatureSettingsFieldBuilder(); } } @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_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000040) != 0)) { result.defaultCookieExpiration_ = defaultCookieExpirationBuilder_ == null ? defaultCookieExpiration_ : defaultCookieExpirationBuilder_.build(); to_bitField0_ |= 0x00000001; } 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(); to_bitField0_ |= 0x00000002; } 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(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @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_ = ""; /** * * *
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @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; } } /** * * *
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @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; } } /** * * *
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @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; } /** * * *
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
     * Full path to the Application resource in the API.
     * Example: `apps/myapp`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @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_ = ""; /** * * *
     * 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`.
     * 
* * string id = 2; * * @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; } } /** * * *
     * 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`.
     * 
* * string id = 2; * * @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; } } /** * * *
     * 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`.
     * 
* * string id = 2; * * @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; } /** * * *
     * 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`.
     * 
* * string id = 2; * * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * * *
     * 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`.
     * 
* * string id = 2; * * @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 dispatchRules_ = java.util.Collections.emptyList(); private void ensureDispatchRulesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { dispatchRules_ = new java.util.ArrayList(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_; /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public java.util.List getDispatchRulesList() { if (dispatchRulesBuilder_ == null) { return java.util.Collections.unmodifiableList(dispatchRules_); } else { return dispatchRulesBuilder_.getMessageList(); } } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public int getDispatchRulesCount() { if (dispatchRulesBuilder_ == null) { return dispatchRules_.size(); } else { return dispatchRulesBuilder_.getCount(); } } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public com.google.appengine.v1.UrlDispatchRule getDispatchRules(int index) { if (dispatchRulesBuilder_ == null) { return dispatchRules_.get(index); } else { return dispatchRulesBuilder_.getMessage(index); } } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ 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; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ 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; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ 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; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ 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; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ 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; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ 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; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public Builder addAllDispatchRules( java.lang.Iterable values) { if (dispatchRulesBuilder_ == null) { ensureDispatchRulesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dispatchRules_); onChanged(); } else { dispatchRulesBuilder_.addAllMessages(values); } return this; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public Builder clearDispatchRules() { if (dispatchRulesBuilder_ == null) { dispatchRules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { dispatchRulesBuilder_.clear(); } return this; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public Builder removeDispatchRules(int index) { if (dispatchRulesBuilder_ == null) { ensureDispatchRulesIsMutable(); dispatchRules_.remove(index); onChanged(); } else { dispatchRulesBuilder_.remove(index); } return this; } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public com.google.appengine.v1.UrlDispatchRule.Builder getDispatchRulesBuilder(int index) { return getDispatchRulesFieldBuilder().getBuilder(index); } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public com.google.appengine.v1.UrlDispatchRuleOrBuilder getDispatchRulesOrBuilder(int index) { if (dispatchRulesBuilder_ == null) { return dispatchRules_.get(index); } else { return dispatchRulesBuilder_.getMessageOrBuilder(index); } } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public java.util.List getDispatchRulesOrBuilderList() { if (dispatchRulesBuilder_ != null) { return dispatchRulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dispatchRules_); } } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public com.google.appengine.v1.UrlDispatchRule.Builder addDispatchRulesBuilder() { return getDispatchRulesFieldBuilder() .addBuilder(com.google.appengine.v1.UrlDispatchRule.getDefaultInstance()); } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public com.google.appengine.v1.UrlDispatchRule.Builder addDispatchRulesBuilder(int index) { return getDispatchRulesFieldBuilder() .addBuilder(index, com.google.appengine.v1.UrlDispatchRule.getDefaultInstance()); } /** * * *
     * 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.
     * 
* * repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3; */ public java.util.List 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_ = ""; /** * * *
     * Google Apps authentication domain that controls which users can access
     * this application.
     *
     * Defaults to open access for any Google Account.
     * 
* * string auth_domain = 6; * * @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; } } /** * * *
     * Google Apps authentication domain that controls which users can access
     * this application.
     *
     * Defaults to open access for any Google Account.
     * 
* * string auth_domain = 6; * * @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; } } /** * * *
     * Google Apps authentication domain that controls which users can access
     * this application.
     *
     * Defaults to open access for any Google Account.
     * 
* * string auth_domain = 6; * * @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; } /** * * *
     * Google Apps authentication domain that controls which users can access
     * this application.
     *
     * Defaults to open access for any Google Account.
     * 
* * string auth_domain = 6; * * @return This builder for chaining. */ public Builder clearAuthDomain() { authDomain_ = getDefaultInstance().getAuthDomain(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * * *
     * Google Apps authentication domain that controls which users can access
     * this application.
     *
     * Defaults to open access for any Google Account.
     * 
* * string auth_domain = 6; * * @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_ = ""; /** * * *
     * 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).
     * 
* * string location_id = 7; * * @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; } } /** * * *
     * 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).
     * 
* * string location_id = 7; * * @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; } } /** * * *
     * 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).
     * 
* * string location_id = 7; * * @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; } /** * * *
     * 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).
     * 
* * string location_id = 7; * * @return This builder for chaining. */ public Builder clearLocationId() { locationId_ = getDefaultInstance().getLocationId(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * * *
     * 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).
     * 
* * string location_id = 7; * * @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_ = ""; /** * * *
     * 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.
     *
     * @OutputOnly
     * 
* * string code_bucket = 8; * * @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; } } /** * * *
     * 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.
     *
     * @OutputOnly
     * 
* * string code_bucket = 8; * * @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; } } /** * * *
     * 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.
     *
     * @OutputOnly
     * 
* * string code_bucket = 8; * * @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; } /** * * *
     * 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.
     *
     * @OutputOnly
     * 
* * string code_bucket = 8; * * @return This builder for chaining. */ public Builder clearCodeBucket() { codeBucket_ = getDefaultInstance().getCodeBucket(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** * * *
     * 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.
     *
     * @OutputOnly
     * 
* * string code_bucket = 8; * * @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_; /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; * * @return Whether the defaultCookieExpiration field is set. */ public boolean hasDefaultCookieExpiration() { return ((bitField0_ & 0x00000040) != 0); } /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; * * @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(); } } /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; */ 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; } /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; */ 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; } /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; */ 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); } if (defaultCookieExpiration_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; */ public Builder clearDefaultCookieExpiration() { bitField0_ = (bitField0_ & ~0x00000040); defaultCookieExpiration_ = null; if (defaultCookieExpirationBuilder_ != null) { defaultCookieExpirationBuilder_.dispose(); defaultCookieExpirationBuilder_ = null; } onChanged(); return this; } /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; */ public com.google.protobuf.Duration.Builder getDefaultCookieExpirationBuilder() { bitField0_ |= 0x00000040; onChanged(); return getDefaultCookieExpirationFieldBuilder().getBuilder(); } /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; */ public com.google.protobuf.DurationOrBuilder getDefaultCookieExpirationOrBuilder() { if (defaultCookieExpirationBuilder_ != null) { return defaultCookieExpirationBuilder_.getMessageOrBuilder(); } else { return defaultCookieExpiration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : defaultCookieExpiration_; } } /** * * *
     * Cookie expiration policy for this application.
     * 
* * .google.protobuf.Duration default_cookie_expiration = 9; */ 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; /** * * *
     * Serving status of this application.
     * 
* * .google.appengine.v1.Application.ServingStatus serving_status = 10; * * @return The enum numeric value on the wire for servingStatus. */ @java.lang.Override public int getServingStatusValue() { return servingStatus_; } /** * * *
     * Serving status of this application.
     * 
* * .google.appengine.v1.Application.ServingStatus serving_status = 10; * * @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; } /** * * *
     * Serving status of this application.
     * 
* * .google.appengine.v1.Application.ServingStatus serving_status = 10; * * @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; } /** * * *
     * Serving status of this application.
     * 
* * .google.appengine.v1.Application.ServingStatus serving_status = 10; * * @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; } /** * * *
     * Serving status of this application.
     * 
* * .google.appengine.v1.Application.ServingStatus serving_status = 10; * * @return This builder for chaining. */ public Builder clearServingStatus() { bitField0_ = (bitField0_ & ~0x00000080); servingStatus_ = 0; onChanged(); return this; } private java.lang.Object defaultHostname_ = ""; /** * * *
     * Hostname used to reach this application, as resolved by App Engine.
     *
     * @OutputOnly
     * 
* * string default_hostname = 11; * * @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; } } /** * * *
     * Hostname used to reach this application, as resolved by App Engine.
     *
     * @OutputOnly
     * 
* * string default_hostname = 11; * * @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; } } /** * * *
     * Hostname used to reach this application, as resolved by App Engine.
     *
     * @OutputOnly
     * 
* * string default_hostname = 11; * * @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; } /** * * *
     * Hostname used to reach this application, as resolved by App Engine.
     *
     * @OutputOnly
     * 
* * string default_hostname = 11; * * @return This builder for chaining. */ public Builder clearDefaultHostname() { defaultHostname_ = getDefaultInstance().getDefaultHostname(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * * *
     * Hostname used to reach this application, as resolved by App Engine.
     *
     * @OutputOnly
     * 
* * string default_hostname = 11; * * @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_ = ""; /** * * *
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     *
     * @OutputOnly
     * 
* * string default_bucket = 12; * * @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; } } /** * * *
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     *
     * @OutputOnly
     * 
* * string default_bucket = 12; * * @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; } } /** * * *
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     *
     * @OutputOnly
     * 
* * string default_bucket = 12; * * @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; } /** * * *
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     *
     * @OutputOnly
     * 
* * string default_bucket = 12; * * @return This builder for chaining. */ public Builder clearDefaultBucket() { defaultBucket_ = getDefaultInstance().getDefaultBucket(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** * * *
     * Google Cloud Storage bucket that can be used by this application to store
     * content.
     *
     * @OutputOnly
     * 
* * string default_bucket = 12; * * @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_ = ""; /** * * *
     * 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.
     * 
* * string service_account = 13; * * @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; } } /** * * *
     * 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.
     * 
* * string service_account = 13; * * @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; } } /** * * *
     * 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.
     * 
* * string service_account = 13; * * @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; } /** * * *
     * 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.
     * 
* * string service_account = 13; * * @return This builder for chaining. */ public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** * * *
     * 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.
     * 
* * string service_account = 13; * * @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_; /** * .google.appengine.v1.Application.IdentityAwareProxy iap = 14; * * @return Whether the iap field is set. */ public boolean hasIap() { return ((bitField0_ & 0x00000800) != 0); } /** * .google.appengine.v1.Application.IdentityAwareProxy iap = 14; * * @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(); } } /** .google.appengine.v1.Application.IdentityAwareProxy iap = 14; */ 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; } /** .google.appengine.v1.Application.IdentityAwareProxy iap = 14; */ 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; } /** .google.appengine.v1.Application.IdentityAwareProxy iap = 14; */ 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); } if (iap_ != null) { bitField0_ |= 0x00000800; onChanged(); } return this; } /** .google.appengine.v1.Application.IdentityAwareProxy iap = 14; */ public Builder clearIap() { bitField0_ = (bitField0_ & ~0x00000800); iap_ = null; if (iapBuilder_ != null) { iapBuilder_.dispose(); iapBuilder_ = null; } onChanged(); return this; } /** .google.appengine.v1.Application.IdentityAwareProxy iap = 14; */ public com.google.appengine.v1.Application.IdentityAwareProxy.Builder getIapBuilder() { bitField0_ |= 0x00000800; onChanged(); return getIapFieldBuilder().getBuilder(); } /** .google.appengine.v1.Application.IdentityAwareProxy iap = 14; */ 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_; } } /** .google.appengine.v1.Application.IdentityAwareProxy iap = 14; */ 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_ = ""; /** * * *
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * 
* * string gcr_domain = 16; * * @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; } } /** * * *
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * 
* * string gcr_domain = 16; * * @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; } } /** * * *
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * 
* * string gcr_domain = 16; * * @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; } /** * * *
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * 
* * string gcr_domain = 16; * * @return This builder for chaining. */ public Builder clearGcrDomain() { gcrDomain_ = getDefaultInstance().getGcrDomain(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** * * *
     * The Google Container Registry domain used for storing managed build docker
     * images for this application.
     * 
* * string gcr_domain = 16; * * @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; /** * * *
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * 
* * .google.appengine.v1.Application.DatabaseType database_type = 17; * * @return The enum numeric value on the wire for databaseType. */ @java.lang.Override public int getDatabaseTypeValue() { return databaseType_; } /** * * *
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * 
* * .google.appengine.v1.Application.DatabaseType database_type = 17; * * @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; } /** * * *
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * 
* * .google.appengine.v1.Application.DatabaseType database_type = 17; * * @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; } /** * * *
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * 
* * .google.appengine.v1.Application.DatabaseType database_type = 17; * * @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; } /** * * *
     * The type of the Cloud Firestore or Cloud Datastore database associated with
     * this application.
     * 
* * .google.appengine.v1.Application.DatabaseType database_type = 17; * * @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_; /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; * * @return Whether the featureSettings field is set. */ public boolean hasFeatureSettings() { return ((bitField0_ & 0x00004000) != 0); } /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; * * @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(); } } /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; */ 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; } /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; */ 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; } /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; */ 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); } if (featureSettings_ != null) { bitField0_ |= 0x00004000; onChanged(); } return this; } /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; */ public Builder clearFeatureSettings() { bitField0_ = (bitField0_ & ~0x00004000); featureSettings_ = null; if (featureSettingsBuilder_ != null) { featureSettingsBuilder_.dispose(); featureSettingsBuilder_ = null; } onChanged(); return this; } /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; */ public com.google.appengine.v1.Application.FeatureSettings.Builder getFeatureSettingsBuilder() { bitField0_ |= 0x00004000; onChanged(); return getFeatureSettingsFieldBuilder().getBuilder(); } /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; */ 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_; } } /** * * *
     * The feature specific settings to be used in the application.
     * 
* * .google.appengine.v1.Application.FeatureSettings feature_settings = 18; */ 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 PARSER = new com.google.protobuf.AbstractParser() { @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 parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.v1.Application getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy