Class Bucket.IamConfig.UniformBucketLevelAccess.Builder (2.4.5)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clear()
Returns
Type Description
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
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

clearLockTime()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearLockTime()

The deadline time for changing iamConfig.uniformBucketLevelAccess.enabled from true to false in RFC 3339. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

clone()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder clone()
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 iamConfig.uniformBucketLevelAccess.enabled from true to false in RFC 3339. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Returns
Type Description
Timestamp

The lockTime.

getLockTimeBuilder()

public Timestamp.Builder getLockTimeBuilder()

The deadline time for changing iamConfig.uniformBucketLevelAccess.enabled from true to false in RFC 3339. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Returns
Type Description
Builder

getLockTimeOrBuilder()

public TimestampOrBuilder getLockTimeOrBuilder()

The deadline time for changing iamConfig.uniformBucketLevelAccess.enabled from true to false in RFC 3339. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Returns
Type Description
TimestampOrBuilder

hasLockTime()

public boolean hasLockTime()

The deadline time for changing iamConfig.uniformBucketLevelAccess.enabled from true to false in RFC 3339. 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

mergeFrom(Bucket.IamConfig.UniformBucketLevelAccess other)

public Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeFrom(Bucket.IamConfig.UniformBucketLevelAccess other)
Parameter
Name Description
other Bucket.IamConfig.UniformBucketLevelAccess
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

mergeLockTime(Timestamp value)

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

The deadline time for changing iamConfig.uniformBucketLevelAccess.enabled from true to false in RFC 3339. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Bucket.IamConfig.UniformBucketLevelAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value boolean

The enabled to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

setLockTime(Timestamp value)

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

The deadline time for changing iamConfig.uniformBucketLevelAccess.enabled from true to false in RFC 3339. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder

setLockTime(Timestamp.Builder builderForValue)

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

The deadline time for changing iamConfig.uniformBucketLevelAccess.enabled from true to false in RFC 3339. Mutable until the specified deadline is reached, but not afterward.

.google.protobuf.Timestamp lock_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Bucket.IamConfig.UniformBucketLevelAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides