public static final class Bucket.IamConfig extends GeneratedMessageV3 implements Bucket.IamConfigOrBuilder
Bucket restriction options.
Protobuf type google.storage.v2.Bucket.IamConfig
Static Fields
PUBLIC_ACCESS_PREVENTION_FIELD_NUMBER
public static final int PUBLIC_ACCESS_PREVENTION_FIELD_NUMBER
Field Value
public static final int UNIFORM_BUCKET_LEVEL_ACCESS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Bucket.IamConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Bucket.IamConfig.Builder newBuilder()
Returns
newBuilder(Bucket.IamConfig prototype)
public static Bucket.IamConfig.Builder newBuilder(Bucket.IamConfig prototype)
Parameter
Returns
public static Bucket.IamConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Bucket.IamConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Bucket.IamConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Bucket.IamConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Bucket.IamConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Bucket.IamConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Bucket.IamConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Bucket.IamConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Bucket.IamConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Bucket.IamConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Bucket.IamConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Bucket.IamConfig> getParserForType()
Returns
Overrides
getPublicAccessPrevention()
public Bucket.IamConfig.PublicAccessPrevention getPublicAccessPrevention()
Whether IAM will enforce public access prevention.
.google.storage.v2.Bucket.IamConfig.PublicAccessPrevention public_access_prevention = 2;
Returns
getPublicAccessPreventionValue()
public int getPublicAccessPreventionValue()
Whether IAM will enforce public access prevention.
.google.storage.v2.Bucket.IamConfig.PublicAccessPrevention public_access_prevention = 2;
Returns
Type |
Description |
int |
The enum numeric value on the wire for publicAccessPrevention.
|
getSerializedSize()
public int getSerializedSize()
Returns
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;
Returns
public Bucket.IamConfig.UniformBucketLevelAccessOrBuilder getUniformBucketLevelAccessOrBuilder()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Bucket.IamConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket.IamConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Bucket.IamConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions