public static final class Bucket.Website.Builder extends GeneratedMessageV3.Builder<Bucket.Website.Builder> implements Bucket.WebsiteOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Website.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Bucket.Website build()
Returns
buildPartial()
public Bucket.Website buildPartial()
Returns
clear()
public Bucket.Website.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Bucket.Website.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMainPageSuffix()
public Bucket.Website.Builder clearMainPageSuffix()
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
clearNotFoundPage()
public Bucket.Website.Builder clearNotFoundPage()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.Website.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Bucket.Website.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Bucket.Website getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Bucket.Website.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Bucket.Website.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Bucket.Website other)
public Bucket.Website.Builder mergeFrom(Bucket.Website other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Website.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Website.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMainPageSuffix(String value)
public Bucket.Website.Builder setMainPageSuffix(String value)
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;
Parameter
Name |
Description |
value |
String
The mainPageSuffix to set.
|
Returns
setMainPageSuffixBytes(ByteString value)
public Bucket.Website.Builder setMainPageSuffixBytes(ByteString value)
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;
Parameter
Name |
Description |
value |
ByteString
The bytes for mainPageSuffix to set.
|
Returns
setNotFoundPage(String value)
public Bucket.Website.Builder setNotFoundPage(String value)
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;
Parameter
Name |
Description |
value |
String
The notFoundPage to set.
|
Returns
setNotFoundPageBytes(ByteString value)
public Bucket.Website.Builder setNotFoundPageBytes(ByteString value)
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;
Parameter
Name |
Description |
value |
ByteString
The bytes for notFoundPage to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.Website.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Website.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides