public static final class Bucket.IamConfig.UniformBucketLevelAccess.Builder extends GeneratedMessage.Builder<Bucket.IamConfig.UniformBucketLevelAccess.Builder> implements Bucket.IamConfig.UniformBucketLevelAccessOrBuilderSettings 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Bucket.IamConfig.UniformBucketLevelAccess.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearEnabled()
public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearEnabled()Optional. If set, access checks only use bucket-level IAM policies or above.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
This builder for chaining. |
clearLockTime()
public Bucket.IamConfig.UniformBucketLevelAccess.Builder clearLockTime() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
|
getDefaultInstanceForType()
public Bucket.IamConfig.UniformBucketLevelAccess getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnabled()
public boolean getEnabled()Optional. If set, access checks only use bucket-level IAM policies or above.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getLockTime()
public Timestamp getLockTime() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lockTime. |
getLockTimeBuilder()
public Timestamp.Builder getLockTimeBuilder() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getLockTimeOrBuilder()
public TimestampOrBuilder getLockTimeOrBuilder() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasLockTime()
public boolean hasLockTime() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lockTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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) Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
|
setEnabled(boolean value)
public Bucket.IamConfig.UniformBucketLevelAccess.Builder setEnabled(boolean value)Optional. If set, access checks only use bucket-level IAM policies or above.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
This builder for chaining. |
setLockTime(Timestamp value)
public Bucket.IamConfig.UniformBucketLevelAccess.Builder setLockTime(Timestamp value) Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| 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) Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
|