- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Bucket.Autoclass.BuilderImplements
Bucket.AutoclassOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Autoclass.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Bucket.Autoclass.Builder |
build()
public Bucket.Autoclass build()
Type | Description |
Bucket.Autoclass |
buildPartial()
public Bucket.Autoclass buildPartial()
Type | Description |
Bucket.Autoclass |
clear()
public Bucket.Autoclass.Builder clear()
Type | Description |
Bucket.Autoclass.Builder |
clearEnabled()
public Bucket.Autoclass.Builder clearEnabled()
Enables Autoclass.
bool enabled = 1;
Type | Description |
Bucket.Autoclass.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Bucket.Autoclass.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Bucket.Autoclass.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.Autoclass.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Bucket.Autoclass.Builder |
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];
Type | Description |
Bucket.Autoclass.Builder |
clone()
public Bucket.Autoclass.Builder clone()
Type | Description |
Bucket.Autoclass.Builder |
getDefaultInstanceForType()
public Bucket.Autoclass getDefaultInstanceForType()
Type | Description |
Bucket.Autoclass |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnabled()
public boolean getEnabled()
Enables Autoclass.
bool enabled = 1;
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];
Type | Description |
Timestamp | The toggleTime. |
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];
Type | Description |
Builder |
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];
Type | Description |
TimestampOrBuilder |
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];
Type | Description |
boolean | Whether the toggleTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Bucket.Autoclass.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Autoclass.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Bucket.Autoclass.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Bucket.Autoclass.Builder |
mergeFrom(Bucket.Autoclass other)
public Bucket.Autoclass.Builder mergeFrom(Bucket.Autoclass other)
Name | Description |
other | Bucket.Autoclass |
Type | Description |
Bucket.Autoclass.Builder |
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];
Name | Description |
value | Timestamp |
Type | Description |
Bucket.Autoclass.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Autoclass.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Bucket.Autoclass.Builder |
setEnabled(boolean value)
public Bucket.Autoclass.Builder setEnabled(boolean value)
Enables Autoclass.
bool enabled = 1;
Name | Description |
value | boolean The enabled to set. |
Type | Description |
Bucket.Autoclass.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Autoclass.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Bucket.Autoclass.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.Autoclass.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Bucket.Autoclass.Builder |
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];
Name | Description |
value | Timestamp |
Type | Description |
Bucket.Autoclass.Builder |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
Bucket.Autoclass.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Autoclass.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Bucket.Autoclass.Builder |