public static final class StorageLayout.HierarchicalNamespace.Builder extends GeneratedMessageV3.Builder<StorageLayout.HierarchicalNamespace.Builder> implements StorageLayout.HierarchicalNamespaceOrBuilder
Configuration for a bucket's hierarchical namespace feature.
Protobuf type google.storage.control.v2.StorageLayout.HierarchicalNamespace
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StorageLayout.HierarchicalNamespace.BuilderImplements
StorageLayout.HierarchicalNamespaceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageLayout.HierarchicalNamespace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
build()
public StorageLayout.HierarchicalNamespace build()
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace |
buildPartial()
public StorageLayout.HierarchicalNamespace buildPartial()
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace |
clear()
public StorageLayout.HierarchicalNamespace.Builder clear()
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
clearEnabled()
public StorageLayout.HierarchicalNamespace.Builder clearEnabled()
Enables the hierarchical namespace feature.
bool enabled = 1;
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StorageLayout.HierarchicalNamespace.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageLayout.HierarchicalNamespace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
clone()
public StorageLayout.HierarchicalNamespace.Builder clone()
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
getDefaultInstanceForType()
public StorageLayout.HierarchicalNamespace getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnabled()
public boolean getEnabled()
Enables the hierarchical namespace feature.
bool enabled = 1;
Returns | |
---|---|
Type | Description |
boolean |
The enabled. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StorageLayout.HierarchicalNamespace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StorageLayout.HierarchicalNamespace.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
mergeFrom(StorageLayout.HierarchicalNamespace other)
public StorageLayout.HierarchicalNamespace.Builder mergeFrom(StorageLayout.HierarchicalNamespace other)
Parameter | |
---|---|
Name | Description |
other |
StorageLayout.HierarchicalNamespace |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageLayout.HierarchicalNamespace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
setEnabled(boolean value)
public StorageLayout.HierarchicalNamespace.Builder setEnabled(boolean value)
Enables the hierarchical namespace feature.
bool enabled = 1;
Parameter | |
---|---|
Name | Description |
value |
boolean The enabled to set. |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StorageLayout.HierarchicalNamespace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageLayout.HierarchicalNamespace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageLayout.HierarchicalNamespace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StorageLayout.HierarchicalNamespace.Builder |