Package com.google.appengine.v1
Class StaticFilesHandler.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
- com.google.appengine.v1.StaticFilesHandler.Builder
-
- All Implemented Interfaces:
StaticFilesHandlerOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- StaticFilesHandler
public static final class StaticFilesHandler.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder> implements StaticFilesHandlerOrBuilder
Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them.
Protobuf typegoogle.appengine.v1.StaticFilesHandler
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StaticFilesHandler.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StaticFilesHandler
build()
StaticFilesHandler
buildPartial()
StaticFilesHandler.Builder
clear()
StaticFilesHandler.Builder
clearApplicationReadable()
Whether files should also be uploaded as code data.StaticFilesHandler.Builder
clearExpiration()
Time a static file served by this handler should be cached by web proxies and browsers.StaticFilesHandler.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
StaticFilesHandler.Builder
clearHttpHeaders()
StaticFilesHandler.Builder
clearMimeType()
MIME type used to serve all files served by this handler.StaticFilesHandler.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
StaticFilesHandler.Builder
clearPath()
Path to the static files matched by the URL pattern, from the application root directory.StaticFilesHandler.Builder
clearRequireMatchingFile()
Whether this handler should match the request if the file referenced by the handler does not exist.StaticFilesHandler.Builder
clearUploadPathRegex()
Regular expression that matches the file paths for all files that should be referenced by this handler.StaticFilesHandler.Builder
clone()
boolean
containsHttpHeaders(String key)
HTTP headers to use for all responses from these URLs.boolean
getApplicationReadable()
Whether files should also be uploaded as code data.StaticFilesHandler
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Duration
getExpiration()
Time a static file served by this handler should be cached by web proxies and browsers.com.google.protobuf.Duration.Builder
getExpirationBuilder()
Time a static file served by this handler should be cached by web proxies and browsers.com.google.protobuf.DurationOrBuilder
getExpirationOrBuilder()
Time a static file served by this handler should be cached by web proxies and browsers.Map<String,String>
getHttpHeaders()
Deprecated.int
getHttpHeadersCount()
HTTP headers to use for all responses from these URLs.Map<String,String>
getHttpHeadersMap()
HTTP headers to use for all responses from these URLs.String
getHttpHeadersOrDefault(String key, String defaultValue)
HTTP headers to use for all responses from these URLs.String
getHttpHeadersOrThrow(String key)
HTTP headers to use for all responses from these URLs.String
getMimeType()
MIME type used to serve all files served by this handler.com.google.protobuf.ByteString
getMimeTypeBytes()
MIME type used to serve all files served by this handler.Map<String,String>
getMutableHttpHeaders()
Deprecated.String
getPath()
Path to the static files matched by the URL pattern, from the application root directory.com.google.protobuf.ByteString
getPathBytes()
Path to the static files matched by the URL pattern, from the application root directory.boolean
getRequireMatchingFile()
Whether this handler should match the request if the file referenced by the handler does not exist.String
getUploadPathRegex()
Regular expression that matches the file paths for all files that should be referenced by this handler.com.google.protobuf.ByteString
getUploadPathRegexBytes()
Regular expression that matches the file paths for all files that should be referenced by this handler.boolean
hasExpiration()
Time a static file served by this handler should be cached by web proxies and browsers.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
StaticFilesHandler.Builder
mergeExpiration(com.google.protobuf.Duration value)
Time a static file served by this handler should be cached by web proxies and browsers.StaticFilesHandler.Builder
mergeFrom(StaticFilesHandler other)
StaticFilesHandler.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StaticFilesHandler.Builder
mergeFrom(com.google.protobuf.Message other)
StaticFilesHandler.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StaticFilesHandler.Builder
putAllHttpHeaders(Map<String,String> values)
HTTP headers to use for all responses from these URLs.StaticFilesHandler.Builder
putHttpHeaders(String key, String value)
HTTP headers to use for all responses from these URLs.StaticFilesHandler.Builder
removeHttpHeaders(String key)
HTTP headers to use for all responses from these URLs.StaticFilesHandler.Builder
setApplicationReadable(boolean value)
Whether files should also be uploaded as code data.StaticFilesHandler.Builder
setExpiration(com.google.protobuf.Duration value)
Time a static file served by this handler should be cached by web proxies and browsers.StaticFilesHandler.Builder
setExpiration(com.google.protobuf.Duration.Builder builderForValue)
Time a static file served by this handler should be cached by web proxies and browsers.StaticFilesHandler.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StaticFilesHandler.Builder
setMimeType(String value)
MIME type used to serve all files served by this handler.StaticFilesHandler.Builder
setMimeTypeBytes(com.google.protobuf.ByteString value)
MIME type used to serve all files served by this handler.StaticFilesHandler.Builder
setPath(String value)
Path to the static files matched by the URL pattern, from the application root directory.StaticFilesHandler.Builder
setPathBytes(com.google.protobuf.ByteString value)
Path to the static files matched by the URL pattern, from the application root directory.StaticFilesHandler.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
StaticFilesHandler.Builder
setRequireMatchingFile(boolean value)
Whether this handler should match the request if the file referenced by the handler does not exist.StaticFilesHandler.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StaticFilesHandler.Builder
setUploadPathRegex(String value)
Regular expression that matches the file paths for all files that should be referenced by this handler.StaticFilesHandler.Builder
setUploadPathRegexBytes(com.google.protobuf.ByteString value)
Regular expression that matches the file paths for all files that should be referenced by this handler.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
clear
public StaticFilesHandler.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
getDefaultInstanceForType
public StaticFilesHandler getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StaticFilesHandler build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StaticFilesHandler buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StaticFilesHandler.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
setField
public StaticFilesHandler.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
clearField
public StaticFilesHandler.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
clearOneof
public StaticFilesHandler.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
setRepeatedField
public StaticFilesHandler.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
addRepeatedField
public StaticFilesHandler.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
mergeFrom
public StaticFilesHandler.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StaticFilesHandler.Builder>
-
mergeFrom
public StaticFilesHandler.Builder mergeFrom(StaticFilesHandler other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
mergeFrom
public StaticFilesHandler.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StaticFilesHandler.Builder>
- Throws:
IOException
-
getPath
public 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;
- Specified by:
getPath
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
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;
- Specified by:
getPathBytes
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The bytes for path.
-
setPath
public StaticFilesHandler.Builder setPath(String value)
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;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public StaticFilesHandler.Builder clearPath()
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;
- Returns:
- This builder for chaining.
-
setPathBytes
public StaticFilesHandler.Builder setPathBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
getUploadPathRegex
public String getUploadPathRegex()
Regular expression that matches the file paths for all files that should be referenced by this handler.
string upload_path_regex = 2;
- Specified by:
getUploadPathRegex
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The uploadPathRegex.
-
getUploadPathRegexBytes
public com.google.protobuf.ByteString getUploadPathRegexBytes()
Regular expression that matches the file paths for all files that should be referenced by this handler.
string upload_path_regex = 2;
- Specified by:
getUploadPathRegexBytes
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The bytes for uploadPathRegex.
-
setUploadPathRegex
public StaticFilesHandler.Builder setUploadPathRegex(String value)
Regular expression that matches the file paths for all files that should be referenced by this handler.
string upload_path_regex = 2;
- Parameters:
value
- The uploadPathRegex to set.- Returns:
- This builder for chaining.
-
clearUploadPathRegex
public StaticFilesHandler.Builder clearUploadPathRegex()
Regular expression that matches the file paths for all files that should be referenced by this handler.
string upload_path_regex = 2;
- Returns:
- This builder for chaining.
-
setUploadPathRegexBytes
public StaticFilesHandler.Builder setUploadPathRegexBytes(com.google.protobuf.ByteString value)
Regular expression that matches the file paths for all files that should be referenced by this handler.
string upload_path_regex = 2;
- Parameters:
value
- The bytes for uploadPathRegex to set.- Returns:
- This builder for chaining.
-
getHttpHeadersCount
public int getHttpHeadersCount()
Description copied from interface:StaticFilesHandlerOrBuilder
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
- Specified by:
getHttpHeadersCount
in interfaceStaticFilesHandlerOrBuilder
-
containsHttpHeaders
public boolean containsHttpHeaders(String key)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
- Specified by:
containsHttpHeaders
in interfaceStaticFilesHandlerOrBuilder
-
getHttpHeaders
@Deprecated public Map<String,String> getHttpHeaders()
Deprecated.UsegetHttpHeadersMap()
instead.- Specified by:
getHttpHeaders
in interfaceStaticFilesHandlerOrBuilder
-
getHttpHeadersMap
public Map<String,String> getHttpHeadersMap()
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
- Specified by:
getHttpHeadersMap
in interfaceStaticFilesHandlerOrBuilder
-
getHttpHeadersOrDefault
public String getHttpHeadersOrDefault(String key, String defaultValue)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
- Specified by:
getHttpHeadersOrDefault
in interfaceStaticFilesHandlerOrBuilder
-
getHttpHeadersOrThrow
public String getHttpHeadersOrThrow(String key)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
- Specified by:
getHttpHeadersOrThrow
in interfaceStaticFilesHandlerOrBuilder
-
clearHttpHeaders
public StaticFilesHandler.Builder clearHttpHeaders()
-
removeHttpHeaders
public StaticFilesHandler.Builder removeHttpHeaders(String key)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
-
getMutableHttpHeaders
@Deprecated public Map<String,String> getMutableHttpHeaders()
Deprecated.Use alternate mutation accessors instead.
-
putHttpHeaders
public StaticFilesHandler.Builder putHttpHeaders(String key, String value)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
-
putAllHttpHeaders
public StaticFilesHandler.Builder putAllHttpHeaders(Map<String,String> values)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
-
getMimeType
public 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;
- Specified by:
getMimeType
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()
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;
- Specified by:
getMimeTypeBytes
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The bytes for mimeType.
-
setMimeType
public StaticFilesHandler.Builder setMimeType(String value)
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;
- Parameters:
value
- The mimeType to set.- Returns:
- This builder for chaining.
-
clearMimeType
public StaticFilesHandler.Builder clearMimeType()
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;
- Returns:
- This builder for chaining.
-
setMimeTypeBytes
public StaticFilesHandler.Builder setMimeTypeBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for mimeType to set.- Returns:
- This builder for chaining.
-
hasExpiration
public boolean hasExpiration()
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
- Specified by:
hasExpiration
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- Whether the expiration field is set.
-
getExpiration
public 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;
- Specified by:
getExpiration
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The expiration.
-
setExpiration
public StaticFilesHandler.Builder setExpiration(com.google.protobuf.Duration value)
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
-
setExpiration
public StaticFilesHandler.Builder setExpiration(com.google.protobuf.Duration.Builder builderForValue)
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
-
mergeExpiration
public StaticFilesHandler.Builder mergeExpiration(com.google.protobuf.Duration value)
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
-
clearExpiration
public StaticFilesHandler.Builder clearExpiration()
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
-
getExpirationBuilder
public com.google.protobuf.Duration.Builder getExpirationBuilder()
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
-
getExpirationOrBuilder
public com.google.protobuf.DurationOrBuilder getExpirationOrBuilder()
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
- Specified by:
getExpirationOrBuilder
in interfaceStaticFilesHandlerOrBuilder
-
getRequireMatchingFile
public boolean getRequireMatchingFile()
Whether this handler should match the request if the file referenced by the handler does not exist.
bool require_matching_file = 6;
- Specified by:
getRequireMatchingFile
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The requireMatchingFile.
-
setRequireMatchingFile
public StaticFilesHandler.Builder setRequireMatchingFile(boolean value)
Whether this handler should match the request if the file referenced by the handler does not exist.
bool require_matching_file = 6;
- Parameters:
value
- The requireMatchingFile to set.- Returns:
- This builder for chaining.
-
clearRequireMatchingFile
public StaticFilesHandler.Builder clearRequireMatchingFile()
Whether this handler should match the request if the file referenced by the handler does not exist.
bool require_matching_file = 6;
- Returns:
- This builder for chaining.
-
getApplicationReadable
public boolean getApplicationReadable()
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;
- Specified by:
getApplicationReadable
in interfaceStaticFilesHandlerOrBuilder
- Returns:
- The applicationReadable.
-
setApplicationReadable
public StaticFilesHandler.Builder setApplicationReadable(boolean value)
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;
- Parameters:
value
- The applicationReadable to set.- Returns:
- This builder for chaining.
-
clearApplicationReadable
public StaticFilesHandler.Builder clearApplicationReadable()
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StaticFilesHandler.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
mergeUnknownFields
public final StaticFilesHandler.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StaticFilesHandler.Builder>
-
-