Package com.google.storage.v2
Interface Bucket.WebsiteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.Website,Bucket.Website.Builder
- Enclosing class:
- Bucket
public static interface Bucket.WebsiteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object.com.google.protobuf.ByteStringIf the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object.If the requested object path is missing, and any `mainPageSuffix` object is missing, if applicable, the service will return the named object from this bucket as the content for a [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] result.com.google.protobuf.ByteStringIf the requested object path is missing, and any `mainPageSuffix` object is missing, if applicable, the service will return the named object from this bucket as the content for a [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] result.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMainPageSuffix
String getMainPageSuffix()If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of `index.html` objects to represent directory pages.
string main_page_suffix = 1;- Returns:
- The mainPageSuffix.
-
getMainPageSuffixBytes
com.google.protobuf.ByteString getMainPageSuffixBytes()If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of `index.html` objects to represent directory pages.
string main_page_suffix = 1;- Returns:
- The bytes for mainPageSuffix.
-
getNotFoundPage
String getNotFoundPage()If the requested object path is missing, and any `mainPageSuffix` object is missing, if applicable, the service will return the named object from this bucket as the content for a [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] result.
string not_found_page = 2;- Returns:
- The notFoundPage.
-
getNotFoundPageBytes
com.google.protobuf.ByteString getNotFoundPageBytes()If the requested object path is missing, and any `mainPageSuffix` object is missing, if applicable, the service will return the named object from this bucket as the content for a [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] result.
string not_found_page = 2;- Returns:
- The bytes for notFoundPage.
-