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.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput 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];
-