Interface Bucket.WebsiteOrBuilder (2.40.1)

public static interface Bucket.WebsiteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMainPageSuffix()

public abstract 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
Type Description
String

The mainPageSuffix.

getMainPageSuffixBytes()

public abstract 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
Type Description
ByteString

The bytes for mainPageSuffix.

getNotFoundPage()

public abstract 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 result.

string not_found_page = 2;

Returns
Type Description
String

The notFoundPage.

getNotFoundPageBytes()

public abstract 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 result.

string not_found_page = 2;

Returns
Type Description
ByteString

The bytes for notFoundPage.