Class Bucket.IamConfig.UniformBucketLevelAccess (2.39.0)

public static final class Bucket.IamConfig.UniformBucketLevelAccess extends GeneratedMessageV3 implements Bucket.IamConfig.UniformBucketLevelAccessOrBuilder

Settings for Uniform Bucket level access. See https://cloud.google.com/storage/docs/uniform-bucket-level-access.

Protobuf type google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Bucket.IamConfig.UniformBucketLevelAccess

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

LOCK_TIME_FIELD_NUMBER

public static final int LOCK_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Bucket.IamConfig.UniformBucketLevelAccess getDefaultInstance()
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilder()
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

newBuilder(Bucket.IamConfig.UniformBucketLevelAccess prototype)

public static Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilder(Bucket.IamConfig.UniformBucketLevelAccess prototype)
Parameter
Name Description
prototype Bucket.IamConfig.UniformBucketLevelAccess
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

parseDelimitedFrom(InputStream input)

public static Bucket.IamConfig.UniformBucketLevelAccess parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Bucket.IamConfig.UniformBucketLevelAccess> parser()
Returns
Type Description
Parser<UniformBucketLevelAccess>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Bucket.IamConfig.UniformBucketLevelAccess getDefaultInstanceForType()
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess

getEnabled()

public boolean getEnabled()

If set, access checks only use bucket-level IAM policies or above.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getLockTime()

public Timestamp getLockTime()

The deadline time for changing iam_config.uniform_bucket_level_access.enabled from true to false. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Returns
Type Description
Timestamp

The lockTime.

getLockTimeOrBuilder()

public TimestampOrBuilder getLockTimeOrBuilder()

The deadline time for changing iam_config.uniform_bucket_level_access.enabled from true to false. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<Bucket.IamConfig.UniformBucketLevelAccess> getParserForType()
Returns
Type Description
Parser<UniformBucketLevelAccess>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasLockTime()

public boolean hasLockTime()

The deadline time for changing iam_config.uniform_bucket_level_access.enabled from true to false. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Returns
Type Description
boolean

Whether the lockTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilderForType()
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder toBuilder()
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException