public static final class Bucket.Website extends GeneratedMessageV3 implements Bucket.WebsiteOrBuilder
Fields
MAIN_PAGE_SUFFIX_FIELD_NUMBER
public static final int MAIN_PAGE_SUFFIX_FIELD_NUMBER
Field Value
NOT_FOUND_PAGE_FIELD_NUMBER
public static final int NOT_FOUND_PAGE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Bucket.Website getDefaultInstance()
Returns
getDefaultInstanceForType()
public Bucket.Website getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getMainPageSuffix()
public 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 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 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 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.
|
getParserForType()
public Parser<Bucket.Website> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Bucket.Website.Builder newBuilder()
Returns
newBuilder(Bucket.Website prototype)
public static Bucket.Website.Builder newBuilder(Bucket.Website prototype)
Parameter
Returns
newBuilderForType()
public Bucket.Website.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket.Website.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Bucket.Website parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Bucket.Website parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Bucket.Website parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Website parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Bucket.Website parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Website parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Bucket.Website parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Bucket.Website parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Bucket.Website parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Bucket.Website parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Bucket.Website parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Website parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Bucket.Website> parser()
Returns
toBuilder()
public Bucket.Website.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions