public static final class Bucket.IamConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder> implements Bucket.IamConfigOrBuilder
Bucket restriction options.Protobuf type
google.storage.v2.Bucket.IamConfig
Modifier and Type | Method and Description |
---|---|
Bucket.IamConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Bucket.IamConfig |
build() |
Bucket.IamConfig |
buildPartial() |
Bucket.IamConfig.Builder |
clear() |
Bucket.IamConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Bucket.IamConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Bucket.IamConfig.Builder |
clearPublicAccessPrevention()
Whether IAM will enforce public access prevention.
|
Bucket.IamConfig.Builder |
clearUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
|
Bucket.IamConfig.Builder |
clone() |
Bucket.IamConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPublicAccessPrevention()
Whether IAM will enforce public access prevention.
|
com.google.protobuf.ByteString |
getPublicAccessPreventionBytes()
Whether IAM will enforce public access prevention.
|
Bucket.IamConfig.UniformBucketLevelAccess |
getUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
|
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
getUniformBucketLevelAccessBuilder()
Bucket restriction options currently enforced on the bucket.
|
Bucket.IamConfig.UniformBucketLevelAccessOrBuilder |
getUniformBucketLevelAccessOrBuilder()
Bucket restriction options currently enforced on the bucket.
|
boolean |
hasUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Bucket.IamConfig.Builder |
mergeFrom(Bucket.IamConfig other) |
Bucket.IamConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Bucket.IamConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Bucket.IamConfig.Builder |
mergeUniformBucketLevelAccess(Bucket.IamConfig.UniformBucketLevelAccess value)
Bucket restriction options currently enforced on the bucket.
|
Bucket.IamConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Bucket.IamConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Bucket.IamConfig.Builder |
setPublicAccessPrevention(String value)
Whether IAM will enforce public access prevention.
|
Bucket.IamConfig.Builder |
setPublicAccessPreventionBytes(com.google.protobuf.ByteString value)
Whether IAM will enforce public access prevention.
|
Bucket.IamConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Bucket.IamConfig.Builder |
setUniformBucketLevelAccess(Bucket.IamConfig.UniformBucketLevelAccess.Builder builderForValue)
Bucket restriction options currently enforced on the bucket.
|
Bucket.IamConfig.Builder |
setUniformBucketLevelAccess(Bucket.IamConfig.UniformBucketLevelAccess value)
Bucket restriction options currently enforced on the bucket.
|
Bucket.IamConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Bucket.IamConfig build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Bucket.IamConfig buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Bucket.IamConfig.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder mergeFrom(Bucket.IamConfig other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public Bucket.IamConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Bucket.IamConfig.Builder>
IOException
public boolean hasUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
hasUniformBucketLevelAccess
in interface Bucket.IamConfigOrBuilder
public Bucket.IamConfig.UniformBucketLevelAccess getUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
getUniformBucketLevelAccess
in interface Bucket.IamConfigOrBuilder
public Bucket.IamConfig.Builder setUniformBucketLevelAccess(Bucket.IamConfig.UniformBucketLevelAccess value)
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
public Bucket.IamConfig.Builder setUniformBucketLevelAccess(Bucket.IamConfig.UniformBucketLevelAccess.Builder builderForValue)
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
public Bucket.IamConfig.Builder mergeUniformBucketLevelAccess(Bucket.IamConfig.UniformBucketLevelAccess value)
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
public Bucket.IamConfig.Builder clearUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
public Bucket.IamConfig.UniformBucketLevelAccess.Builder getUniformBucketLevelAccessBuilder()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
public Bucket.IamConfig.UniformBucketLevelAccessOrBuilder getUniformBucketLevelAccessOrBuilder()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
getUniformBucketLevelAccessOrBuilder
in interface Bucket.IamConfigOrBuilder
public String getPublicAccessPrevention()
Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3;
getPublicAccessPrevention
in interface Bucket.IamConfigOrBuilder
public com.google.protobuf.ByteString getPublicAccessPreventionBytes()
Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3;
getPublicAccessPreventionBytes
in interface Bucket.IamConfigOrBuilder
public Bucket.IamConfig.Builder setPublicAccessPrevention(String value)
Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3;
value
- The publicAccessPrevention to set.public Bucket.IamConfig.Builder clearPublicAccessPrevention()
Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3;
public Bucket.IamConfig.Builder setPublicAccessPreventionBytes(com.google.protobuf.ByteString value)
Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3;
value
- The bytes for publicAccessPrevention to set.public final Bucket.IamConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
public final Bucket.IamConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.IamConfig.Builder>
Copyright © 2023 Google LLC. All rights reserved.