public static final class Bucket.HierarchicalNamespace.Builder extends GeneratedMessageV3.Builder<Bucket.HierarchicalNamespace.Builder> implements Bucket.HierarchicalNamespaceOrBuilder
Configuration for a bucket's hierarchical namespace feature.
Protobuf type google.storage.v2.Bucket.HierarchicalNamespace
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.HierarchicalNamespace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Bucket.HierarchicalNamespace build()
buildPartial()
public Bucket.HierarchicalNamespace buildPartial()
clear()
public Bucket.HierarchicalNamespace.Builder clear()
Overrides
clearEnabled()
public Bucket.HierarchicalNamespace.Builder clearEnabled()
Optional. Enables the hierarchical namespace feature.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public Bucket.HierarchicalNamespace.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.HierarchicalNamespace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Bucket.HierarchicalNamespace.Builder clone()
Overrides
getDefaultInstanceForType()
public Bucket.HierarchicalNamespace getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnabled()
public boolean getEnabled()
Optional. Enables the hierarchical namespace feature.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The enabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Bucket.HierarchicalNamespace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Bucket.HierarchicalNamespace.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(Bucket.HierarchicalNamespace other)
public Bucket.HierarchicalNamespace.Builder mergeFrom(Bucket.HierarchicalNamespace other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.HierarchicalNamespace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnabled(boolean value)
public Bucket.HierarchicalNamespace.Builder setEnabled(boolean value)
Optional. Enables the hierarchical namespace feature.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
boolean
The enabled to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.HierarchicalNamespace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.HierarchicalNamespace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.HierarchicalNamespace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides