Interface Bucket.AutoclassOrBuilder (2.36.1)

public static interface Bucket.AutoclassOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Enables Autoclass.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getTerminalStorageClass()

public abstract String getTerminalStorageClass()

An object in an Autoclass bucket will eventually cool down to the terminal storage class if there is no access to the object. The only valid values are NEARLINE and ARCHIVE.

optional string terminal_storage_class = 3;

Returns
TypeDescription
String

The terminalStorageClass.

getTerminalStorageClassBytes()

public abstract ByteString getTerminalStorageClassBytes()

An object in an Autoclass bucket will eventually cool down to the terminal storage class if there is no access to the object. The only valid values are NEARLINE and ARCHIVE.

optional string terminal_storage_class = 3;

Returns
TypeDescription
ByteString

The bytes for terminalStorageClass.

getTerminalStorageClassUpdateTime()

public abstract Timestamp getTerminalStorageClassUpdateTime()

Output only. Latest instant at which the autoclass terminal storage class was updated.

optional .google.protobuf.Timestamp terminal_storage_class_update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The terminalStorageClassUpdateTime.

getTerminalStorageClassUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getTerminalStorageClassUpdateTimeOrBuilder()

Output only. Latest instant at which the autoclass terminal storage class was updated.

optional .google.protobuf.Timestamp terminal_storage_class_update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getToggleTime()

public abstract Timestamp getToggleTime()

Output only. Latest instant at which the enabled field was set to true after being disabled/unconfigured or set to false after being enabled. If Autoclass is enabled when the bucket is created, the toggle_time is set to the bucket creation time.

.google.protobuf.Timestamp toggle_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The toggleTime.

getToggleTimeOrBuilder()

public abstract TimestampOrBuilder getToggleTimeOrBuilder()

Output only. Latest instant at which the enabled field was set to true after being disabled/unconfigured or set to false after being enabled. If Autoclass is enabled when the bucket is created, the toggle_time is set to the bucket creation time.

.google.protobuf.Timestamp toggle_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasTerminalStorageClass()

public abstract boolean hasTerminalStorageClass()

An object in an Autoclass bucket will eventually cool down to the terminal storage class if there is no access to the object. The only valid values are NEARLINE and ARCHIVE.

optional string terminal_storage_class = 3;

Returns
TypeDescription
boolean

Whether the terminalStorageClass field is set.

hasTerminalStorageClassUpdateTime()

public abstract boolean hasTerminalStorageClassUpdateTime()

Output only. Latest instant at which the autoclass terminal storage class was updated.

optional .google.protobuf.Timestamp terminal_storage_class_update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the terminalStorageClassUpdateTime field is set.

hasToggleTime()

public abstract boolean hasToggleTime()

Output only. Latest instant at which the enabled field was set to true after being disabled/unconfigured or set to false after being enabled. If Autoclass is enabled when the bucket is created, the toggle_time is set to the bucket creation time.

.google.protobuf.Timestamp toggle_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the toggleTime field is set.