public static final class Bucket.Autoclass.Builder extends GeneratedMessageV3.Builder<Bucket.Autoclass.Builder> implements Bucket.AutoclassOrBuilder
Configuration for a bucket's Autoclass feature.
Protobuf type google.storage.v2.Bucket.Autoclass
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Autoclass.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Bucket.Autoclass build()
Returns
buildPartial()
public Bucket.Autoclass buildPartial()
Returns
clear()
public Bucket.Autoclass.Builder clear()
Returns
Overrides
clearEnabled()
public Bucket.Autoclass.Builder clearEnabled()
Enables Autoclass.
bool enabled = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Bucket.Autoclass.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.Autoclass.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearToggleTime()
public Bucket.Autoclass.Builder clearToggleTime()
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
clone()
public Bucket.Autoclass.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Bucket.Autoclass getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnabled()
public boolean getEnabled()
Enables Autoclass.
bool enabled = 1;
Returns
Type |
Description |
boolean |
The enabled.
|
getToggleTime()
public 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
getToggleTimeBuilder()
public Timestamp.Builder getToggleTimeBuilder()
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
getToggleTimeOrBuilder()
public 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
hasToggleTime()
public 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
Type |
Description |
boolean |
Whether the toggleTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Bucket.Autoclass.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Bucket.Autoclass.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Bucket.Autoclass other)
public Bucket.Autoclass.Builder mergeFrom(Bucket.Autoclass other)
Parameter
Returns
mergeToggleTime(Timestamp value)
public Bucket.Autoclass.Builder mergeToggleTime(Timestamp value)
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Autoclass.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEnabled(boolean value)
public Bucket.Autoclass.Builder setEnabled(boolean value)
Enables Autoclass.
bool enabled = 1;
Parameter
Name |
Description |
value |
boolean
The enabled to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Autoclass.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.Autoclass.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setToggleTime(Timestamp value)
public Bucket.Autoclass.Builder setToggleTime(Timestamp value)
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];
Parameter
Returns
setToggleTime(Timestamp.Builder builderForValue)
public Bucket.Autoclass.Builder setToggleTime(Timestamp.Builder builderForValue)
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];
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Autoclass.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides