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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Website.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Bucket.Website build()
buildPartial()
public Bucket.Website buildPartial()
clear()
public Bucket.Website.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Bucket.Website.Builder clearField(Descriptors.FieldDescriptor field)
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;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.Website.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Bucket.Website.Builder clone()
Overrides
getDefaultInstanceForType()
public Bucket.Website getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Bucket.Website.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Bucket.Website.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(Bucket.Website other)
public Bucket.Website.Builder mergeFrom(Bucket.Website other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Website.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Website.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.Website.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Website.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides