Class Bucket.IamConfig.UniformBucketLevelAccess.Builder (2.20.0)

public static final class Bucket.IamConfig.UniformBucketLevelAccess.Builder extends GeneratedMessageV3.Builder<Bucket.IamConfig.UniformBucketLevelAccess.Builder> 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

build()

public Bucket.IamConfig.UniformBucketLevelAccess build()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess

buildPartial()

public Bucket.IamConfig.UniformBucketLevelAccess buildPartial()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess

clear()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clear()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

clearEnabled()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearEnabled()

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

bool enabled = 1;

Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

clearLockTime()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearLockTime()

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
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

clone()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clone()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

getDefaultInstanceForType()

public Bucket.IamConfig.UniformBucketLevelAccess getDefaultInstanceForType()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

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

bool enabled = 1;

Returns
TypeDescription
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
TypeDescription
Timestamp

The lockTime.

getLockTimeBuilder()

public Timestamp.Builder getLockTimeBuilder()

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
TypeDescription
Builder

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
TypeDescription
TimestampOrBuilder

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
TypeDescription
boolean

Whether the lockTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

mergeFrom(Bucket.IamConfig.UniformBucketLevelAccess other)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeFrom(Bucket.IamConfig.UniformBucketLevelAccess other)
Parameter
NameDescription
otherBucket.IamConfig.UniformBucketLevelAccess
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

mergeLockTime(Timestamp value)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeLockTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

setEnabled(boolean value)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder setEnabled(boolean value)

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

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

setLockTime(Timestamp value)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder setLockTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

setLockTime(Timestamp.Builder builderForValue)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder setLockTime(Timestamp.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Bucket.IamConfig.UniformBucketLevelAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides