public static final class Bucket.IamConfig extends GeneratedMessageV3 implements Bucket.IamConfigOrBuilder
Bucket restriction options.
Protobuf type google.storage.v2.Bucket.IamConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Bucket.IamConfigImplements
Bucket.IamConfigOrBuilderStatic Fields
PUBLIC_ACCESS_PREVENTION_FIELD_NUMBER
public static final int PUBLIC_ACCESS_PREVENTION_FIELD_NUMBER
Type | Description |
int |
UNIFORM_BUCKET_LEVEL_ACCESS_FIELD_NUMBER
public static final int UNIFORM_BUCKET_LEVEL_ACCESS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Bucket.IamConfig getDefaultInstance()
Type | Description |
Bucket.IamConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Bucket.IamConfig.Builder newBuilder()
Type | Description |
Bucket.IamConfig.Builder |
newBuilder(Bucket.IamConfig prototype)
public static Bucket.IamConfig.Builder newBuilder(Bucket.IamConfig prototype)
Name | Description |
prototype | Bucket.IamConfig |
Type | Description |
Bucket.IamConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Bucket.IamConfig parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Bucket.IamConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.IamConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Bucket.IamConfig parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Bucket.IamConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.IamConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Bucket.IamConfig parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Bucket.IamConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.IamConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Bucket.IamConfig parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Bucket.IamConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.IamConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Bucket.IamConfig parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Bucket.IamConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.IamConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Bucket.IamConfig parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Bucket.IamConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket.IamConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.IamConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Bucket.IamConfig> parser()
Type | Description |
Parser<IamConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Bucket.IamConfig getDefaultInstanceForType()
Type | Description |
Bucket.IamConfig |
getParserForType()
public Parser<Bucket.IamConfig> getParserForType()
Type | Description |
Parser<IamConfig> |
getPublicAccessPrevention()
public Bucket.IamConfig.PublicAccessPrevention getPublicAccessPrevention()
Whether IAM will enforce public access prevention.
.google.storage.v2.Bucket.IamConfig.PublicAccessPrevention public_access_prevention = 2;
Type | Description |
Bucket.IamConfig.PublicAccessPrevention | The publicAccessPrevention. |
getPublicAccessPreventionValue()
public int getPublicAccessPreventionValue()
Whether IAM will enforce public access prevention.
.google.storage.v2.Bucket.IamConfig.PublicAccessPrevention public_access_prevention = 2;
Type | Description |
int | The enum numeric value on the wire for publicAccessPrevention. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUniformBucketLevelAccess()
public Bucket.IamConfig.UniformBucketLevelAccess getUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess | The uniformBucketLevelAccess. |
getUniformBucketLevelAccessOrBuilder()
public Bucket.IamConfig.UniformBucketLevelAccessOrBuilder getUniformBucketLevelAccessOrBuilder()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
Type | Description |
Bucket.IamConfig.UniformBucketLevelAccessOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasUniformBucketLevelAccess()
public boolean hasUniformBucketLevelAccess()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
Type | Description |
boolean | Whether the uniformBucketLevelAccess field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Bucket.IamConfig.Builder newBuilderForType()
Type | Description |
Bucket.IamConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket.IamConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Bucket.IamConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Bucket.IamConfig.Builder toBuilder()
Type | Description |
Bucket.IamConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |