Package com.google.storage.v2
Interface Bucket.AutoclassOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.Autoclass,Bucket.Autoclass.Builder
- Enclosing class:
- Bucket
public static interface Bucket.AutoclassOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanEnables Autoclass.An object in an Autoclass bucket will eventually cool down to the terminal storage class if there is no access to the object.com.google.protobuf.ByteStringAn object in an Autoclass bucket will eventually cool down to the terminal storage class if there is no access to the object.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanAn object in an Autoclass bucket will eventually cool down to the terminal storage class if there is no access to the object.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnabled
boolean getEnabled()Enables Autoclass.
bool enabled = 1;- Returns:
- The enabled.
-
hasToggleTime
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:
- Whether the toggleTime field is set.
-
getToggleTime
com.google.protobuf.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:
- The toggleTime.
-
getToggleTimeOrBuilder
com.google.protobuf.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]; -
hasTerminalStorageClass
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:
- Whether the terminalStorageClass field is set.
-
getTerminalStorageClass
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:
- The terminalStorageClass.
-
getTerminalStorageClassBytes
com.google.protobuf.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:
- The bytes for terminalStorageClass.
-
hasTerminalStorageClassUpdateTime
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:
- Whether the terminalStorageClassUpdateTime field is set.
-
getTerminalStorageClassUpdateTime
com.google.protobuf.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:
- The terminalStorageClassUpdateTime.
-
getTerminalStorageClassUpdateTimeOrBuilder
com.google.protobuf.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];
-