Class Bucket.IamConfig.UniformBucketLevelAccess (2.9.2)

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

LOCK_TIME_FIELD_NUMBER

public static final int LOCK_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Bucket.IamConfig.UniformBucketLevelAccess getDefaultInstance()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess

getDescriptor()

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

newBuilder()

public static Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilder()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

newBuilder(Bucket.IamConfig.UniformBucketLevelAccess prototype)

public static Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilder(Bucket.IamConfig.UniformBucketLevelAccess prototype)
Parameter
NameDescription
prototypeBucket.IamConfig.UniformBucketLevelAccess
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

parseDelimitedFrom(InputStream input)

public static Bucket.IamConfig.UniformBucketLevelAccess parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Bucket.IamConfig.UniformBucketLevelAccess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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 iamConfig.uniformBucketLevelAccess.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.

getLockTimeOrBuilder()

public TimestampOrBuilder getLockTimeOrBuilder()

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

.google.protobuf.Timestamp lock_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasLockTime()

public boolean hasLockTime()

The deadline time for changing iamConfig.uniformBucketLevelAccess.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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilderForType()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Bucket.IamConfig.UniformBucketLevelAccess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Bucket.IamConfig.UniformBucketLevelAccess.Builder toBuilder()
Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException