Class Application

  • All Implemented Interfaces:
    ApplicationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Application
    extends com.google.protobuf.GeneratedMessageV3
    implements ApplicationOrBuilder
     An Application resource contains the top-level configuration of an App
     Engine application.
     
    Protobuf type google.appengine.v1.Application
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         Full path to the Application resource in the API.
         Example: `apps/myapp`.
        
         @OutputOnly
         
        string name = 1;
        Specified by:
        getName in interface ApplicationOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Full path to the Application resource in the API.
         Example: `apps/myapp`.
        
         @OutputOnly
         
        string name = 1;
        Specified by:
        getNameBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for name.
      • getId

        public String getId()
         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;
        Specified by:
        getId in interface ApplicationOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         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;
        Specified by:
        getIdBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for id.
      • getDispatchRulesList

        public List<UrlDispatchRule> getDispatchRulesList()
         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;
        Specified by:
        getDispatchRulesList in interface ApplicationOrBuilder
      • getDispatchRulesOrBuilderList

        public List<? extends UrlDispatchRuleOrBuilder> getDispatchRulesOrBuilderList()
         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;
        Specified by:
        getDispatchRulesOrBuilderList in interface ApplicationOrBuilder
      • getDispatchRulesCount

        public int getDispatchRulesCount()
         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;
        Specified by:
        getDispatchRulesCount in interface ApplicationOrBuilder
      • getDispatchRules

        public UrlDispatchRule getDispatchRules​(int 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;
        Specified by:
        getDispatchRules in interface ApplicationOrBuilder
      • getDispatchRulesOrBuilder

        public UrlDispatchRuleOrBuilder getDispatchRulesOrBuilder​(int 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;
        Specified by:
        getDispatchRulesOrBuilder in interface ApplicationOrBuilder
      • getAuthDomain

        public String getAuthDomain()
         Google Apps authentication domain that controls which users can access
         this application.
        
         Defaults to open access for any Google Account.
         
        string auth_domain = 6;
        Specified by:
        getAuthDomain in interface ApplicationOrBuilder
        Returns:
        The authDomain.
      • getAuthDomainBytes

        public com.google.protobuf.ByteString getAuthDomainBytes()
         Google Apps authentication domain that controls which users can access
         this application.
        
         Defaults to open access for any Google Account.
         
        string auth_domain = 6;
        Specified by:
        getAuthDomainBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for authDomain.
      • getLocationId

        public String getLocationId()
         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;
        Specified by:
        getLocationId in interface ApplicationOrBuilder
        Returns:
        The locationId.
      • getLocationIdBytes

        public com.google.protobuf.ByteString getLocationIdBytes()
         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;
        Specified by:
        getLocationIdBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for locationId.
      • getCodeBucket

        public String getCodeBucket()
         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;
        Specified by:
        getCodeBucket in interface ApplicationOrBuilder
        Returns:
        The codeBucket.
      • getCodeBucketBytes

        public com.google.protobuf.ByteString getCodeBucketBytes()
         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;
        Specified by:
        getCodeBucketBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for codeBucket.
      • hasDefaultCookieExpiration

        public boolean hasDefaultCookieExpiration()
         Cookie expiration policy for this application.
         
        .google.protobuf.Duration default_cookie_expiration = 9;
        Specified by:
        hasDefaultCookieExpiration in interface ApplicationOrBuilder
        Returns:
        Whether the defaultCookieExpiration field is set.
      • getDefaultCookieExpiration

        public com.google.protobuf.Duration getDefaultCookieExpiration()
         Cookie expiration policy for this application.
         
        .google.protobuf.Duration default_cookie_expiration = 9;
        Specified by:
        getDefaultCookieExpiration in interface ApplicationOrBuilder
        Returns:
        The defaultCookieExpiration.
      • getDefaultCookieExpirationOrBuilder

        public com.google.protobuf.DurationOrBuilder getDefaultCookieExpirationOrBuilder()
         Cookie expiration policy for this application.
         
        .google.protobuf.Duration default_cookie_expiration = 9;
        Specified by:
        getDefaultCookieExpirationOrBuilder in interface ApplicationOrBuilder
      • getServingStatusValue

        public int getServingStatusValue()
         Serving status of this application.
         
        .google.appengine.v1.Application.ServingStatus serving_status = 10;
        Specified by:
        getServingStatusValue in interface ApplicationOrBuilder
        Returns:
        The enum numeric value on the wire for servingStatus.
      • getDefaultHostname

        public String getDefaultHostname()
         Hostname used to reach this application, as resolved by App Engine.
        
         @OutputOnly
         
        string default_hostname = 11;
        Specified by:
        getDefaultHostname in interface ApplicationOrBuilder
        Returns:
        The defaultHostname.
      • getDefaultHostnameBytes

        public com.google.protobuf.ByteString getDefaultHostnameBytes()
         Hostname used to reach this application, as resolved by App Engine.
        
         @OutputOnly
         
        string default_hostname = 11;
        Specified by:
        getDefaultHostnameBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for defaultHostname.
      • getDefaultBucket

        public String getDefaultBucket()
         Google Cloud Storage bucket that can be used by this application to store
         content.
        
         @OutputOnly
         
        string default_bucket = 12;
        Specified by:
        getDefaultBucket in interface ApplicationOrBuilder
        Returns:
        The defaultBucket.
      • getDefaultBucketBytes

        public com.google.protobuf.ByteString getDefaultBucketBytes()
         Google Cloud Storage bucket that can be used by this application to store
         content.
        
         @OutputOnly
         
        string default_bucket = 12;
        Specified by:
        getDefaultBucketBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for defaultBucket.
      • getServiceAccount

        public String getServiceAccount()
         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;
        Specified by:
        getServiceAccount in interface ApplicationOrBuilder
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        public com.google.protobuf.ByteString getServiceAccountBytes()
         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;
        Specified by:
        getServiceAccountBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for serviceAccount.
      • hasIap

        public boolean hasIap()
        .google.appengine.v1.Application.IdentityAwareProxy iap = 14;
        Specified by:
        hasIap in interface ApplicationOrBuilder
        Returns:
        Whether the iap field is set.
      • getGcrDomain

        public String getGcrDomain()
         The Google Container Registry domain used for storing managed build docker
         images for this application.
         
        string gcr_domain = 16;
        Specified by:
        getGcrDomain in interface ApplicationOrBuilder
        Returns:
        The gcrDomain.
      • getGcrDomainBytes

        public com.google.protobuf.ByteString getGcrDomainBytes()
         The Google Container Registry domain used for storing managed build docker
         images for this application.
         
        string gcr_domain = 16;
        Specified by:
        getGcrDomainBytes in interface ApplicationOrBuilder
        Returns:
        The bytes for gcrDomain.
      • getDatabaseTypeValue

        public int getDatabaseTypeValue()
         The type of the Cloud Firestore or Cloud Datastore database associated with
         this application.
         
        .google.appengine.v1.Application.DatabaseType database_type = 17;
        Specified by:
        getDatabaseTypeValue in interface ApplicationOrBuilder
        Returns:
        The enum numeric value on the wire for databaseType.
      • getDatabaseType

        public Application.DatabaseType getDatabaseType()
         The type of the Cloud Firestore or Cloud Datastore database associated with
         this application.
         
        .google.appengine.v1.Application.DatabaseType database_type = 17;
        Specified by:
        getDatabaseType in interface ApplicationOrBuilder
        Returns:
        The databaseType.
      • hasFeatureSettings

        public boolean hasFeatureSettings()
         The feature specific settings to be used in the application.
         
        .google.appengine.v1.Application.FeatureSettings feature_settings = 18;
        Specified by:
        hasFeatureSettings in interface ApplicationOrBuilder
        Returns:
        Whether the featureSettings field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Application parseFrom​(ByteBuffer data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Application parseFrom​(ByteBuffer data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Application parseFrom​(com.google.protobuf.ByteString data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Application parseFrom​(com.google.protobuf.ByteString data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Application parseFrom​(byte[] data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Application parseFrom​(byte[] data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Application parseFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Application.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Application.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Application.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Application getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Application> parser()
      • getParserForType

        public com.google.protobuf.Parser<Application> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Application getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder