public static final class Bucket.IamConfig extends GeneratedMessageV3 implements Bucket.IamConfigOrBuilder
Bucket restriction options.
Protobuf type google.storage.v2.Bucket.IamConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
PUBLIC_ACCESS_PREVENTION_FIELD_NUMBER
public static final int PUBLIC_ACCESS_PREVENTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int UNIFORM_BUCKET_LEVEL_ACCESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Bucket.IamConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Bucket.IamConfig.Builder newBuilder()
newBuilder(Bucket.IamConfig prototype)
public static Bucket.IamConfig.Builder newBuilder(Bucket.IamConfig prototype)
public static Bucket.IamConfig parseDelimitedFrom(InputStream input)
public static Bucket.IamConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Bucket.IamConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Bucket.IamConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(CodedInputStream input)
public static Bucket.IamConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(InputStream input)
public static Bucket.IamConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Bucket.IamConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Bucket.IamConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Bucket.IamConfig getDefaultInstanceForType()
getParserForType()
public Parser<Bucket.IamConfig> getParserForType()
Overrides
getPublicAccessPrevention()
public String getPublicAccessPrevention()
Whether IAM will enforce public access prevention. Valid values are
"enforced" or "inherited".
string public_access_prevention = 3;
Returns |
Type |
Description |
String |
The publicAccessPrevention.
|
getPublicAccessPreventionBytes()
public ByteString getPublicAccessPreventionBytes()
Whether IAM will enforce public access prevention. Valid values are
"enforced" or "inherited".
string public_access_prevention = 3;
Returns |
Type |
Description |
ByteString |
The bytes for publicAccessPrevention.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public Bucket.IamConfig.UniformBucketLevelAccess getUniformBucketLevelAccess()
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;
public boolean hasUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
Returns |
Type |
Description |
boolean |
Whether the uniformBucketLevelAccess field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Bucket.IamConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket.IamConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Bucket.IamConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides