public static final class Bucket.IamConfig.UniformBucketLevelAccess extends GeneratedMessage 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
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Bucket.IamConfig.UniformBucketLevelAccessStatic 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 |
|
getDefaultInstanceForType()
public Bucket.IamConfig.UniformBucketLevelAccess getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess |
|
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. |
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 |
|
getParserForType()
public Parser<Bucket.IamConfig.UniformBucketLevelAccess> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<UniformBucketLevelAccess> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
|
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 |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|