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

com.google.appengine.v1.StaticFilesHandlerOrBuilder 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/app_yaml.proto

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

public interface StaticFilesHandlerOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.appengine.v1.StaticFilesHandler)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Path to the static files matched by the URL pattern, from the
   * application root directory. The path can refer to text matched in groupings
   * in the URL pattern.
   * 
* * string path = 1; * * @return The path. */ java.lang.String getPath(); /** * * *
   * Path to the static files matched by the URL pattern, from the
   * application root directory. The path can refer to text matched in groupings
   * in the URL pattern.
   * 
* * string path = 1; * * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** * * *
   * Regular expression that matches the file paths for all files that should be
   * referenced by this handler.
   * 
* * string upload_path_regex = 2; * * @return The uploadPathRegex. */ java.lang.String getUploadPathRegex(); /** * * *
   * Regular expression that matches the file paths for all files that should be
   * referenced by this handler.
   * 
* * string upload_path_regex = 2; * * @return The bytes for uploadPathRegex. */ com.google.protobuf.ByteString getUploadPathRegexBytes(); /** * * *
   * HTTP headers to use for all responses from these URLs.
   * 
* * map<string, string> http_headers = 3; */ int getHttpHeadersCount(); /** * * *
   * HTTP headers to use for all responses from these URLs.
   * 
* * map<string, string> http_headers = 3; */ boolean containsHttpHeaders(java.lang.String key); /** Use {@link #getHttpHeadersMap()} instead. */ @java.lang.Deprecated java.util.Map getHttpHeaders(); /** * * *
   * HTTP headers to use for all responses from these URLs.
   * 
* * map<string, string> http_headers = 3; */ java.util.Map getHttpHeadersMap(); /** * * *
   * HTTP headers to use for all responses from these URLs.
   * 
* * map<string, string> http_headers = 3; */ /* nullable */ java.lang.String getHttpHeadersOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * HTTP headers to use for all responses from these URLs.
   * 
* * map<string, string> http_headers = 3; */ java.lang.String getHttpHeadersOrThrow(java.lang.String key); /** * * *
   * MIME type used to serve all files served by this handler.
   *
   * Defaults to file-specific MIME types, which are derived from each file's
   * filename extension.
   * 
* * string mime_type = 4; * * @return The mimeType. */ java.lang.String getMimeType(); /** * * *
   * MIME type used to serve all files served by this handler.
   *
   * Defaults to file-specific MIME types, which are derived from each file's
   * filename extension.
   * 
* * string mime_type = 4; * * @return The bytes for mimeType. */ com.google.protobuf.ByteString getMimeTypeBytes(); /** * * *
   * Time a static file served by this handler should be cached
   * by web proxies and browsers.
   * 
* * .google.protobuf.Duration expiration = 5; * * @return Whether the expiration field is set. */ boolean hasExpiration(); /** * * *
   * Time a static file served by this handler should be cached
   * by web proxies and browsers.
   * 
* * .google.protobuf.Duration expiration = 5; * * @return The expiration. */ com.google.protobuf.Duration getExpiration(); /** * * *
   * Time a static file served by this handler should be cached
   * by web proxies and browsers.
   * 
* * .google.protobuf.Duration expiration = 5; */ com.google.protobuf.DurationOrBuilder getExpirationOrBuilder(); /** * * *
   * Whether this handler should match the request if the file
   * referenced by the handler does not exist.
   * 
* * bool require_matching_file = 6; * * @return The requireMatchingFile. */ boolean getRequireMatchingFile(); /** * * *
   * Whether files should also be uploaded as code data. By default, files
   * declared in static file handlers are uploaded as static
   * data and are only served to end users; they cannot be read by the
   * application. If enabled, uploads are charged against both your code and
   * static data storage resource quotas.
   * 
* * bool application_readable = 7; * * @return The applicationReadable. */ boolean getApplicationReadable(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy