public static final class Bucket.Lifecycle.Builder extends GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder> implements Bucket.LifecycleOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllRule(Iterable<? extends Bucket.Lifecycle.Rule> values)
public Bucket.Lifecycle.Builder addAllRule(Iterable<? extends Bucket.Lifecycle.Rule> values)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.storage.v2.Bucket.Lifecycle.Rule>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Lifecycle.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addRule(Bucket.Lifecycle.Rule value)
public Bucket.Lifecycle.Builder addRule(Bucket.Lifecycle.Rule value)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameter
Returns
addRule(Bucket.Lifecycle.Rule.Builder builderForValue)
public Bucket.Lifecycle.Builder addRule(Bucket.Lifecycle.Rule.Builder builderForValue)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameter
Returns
addRule(int index, Bucket.Lifecycle.Rule value)
public Bucket.Lifecycle.Builder addRule(int index, Bucket.Lifecycle.Rule value)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameters
Returns
addRule(int index, Bucket.Lifecycle.Rule.Builder builderForValue)
public Bucket.Lifecycle.Builder addRule(int index, Bucket.Lifecycle.Rule.Builder builderForValue)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameters
Returns
addRuleBuilder()
public Bucket.Lifecycle.Rule.Builder addRuleBuilder()
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Returns
addRuleBuilder(int index)
public Bucket.Lifecycle.Rule.Builder addRuleBuilder(int index)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameter
Returns
build()
public Bucket.Lifecycle build()
Returns
buildPartial()
public Bucket.Lifecycle buildPartial()
Returns
clear()
public Bucket.Lifecycle.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Bucket.Lifecycle.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.Lifecycle.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRule()
public Bucket.Lifecycle.Builder clearRule()
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Returns
clone()
public Bucket.Lifecycle.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Bucket.Lifecycle getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRule(int index)
public Bucket.Lifecycle.Rule getRule(int index)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameter
Returns
getRuleBuilder(int index)
public Bucket.Lifecycle.Rule.Builder getRuleBuilder(int index)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameter
Returns
getRuleBuilderList()
public List<Bucket.Lifecycle.Rule.Builder> getRuleBuilderList()
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Returns
getRuleCount()
public int getRuleCount()
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Returns
getRuleList()
public List<Bucket.Lifecycle.Rule> getRuleList()
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Returns
getRuleOrBuilder(int index)
public Bucket.Lifecycle.RuleOrBuilder getRuleOrBuilder(int index)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameter
Returns
getRuleOrBuilderList()
public List<? extends Bucket.Lifecycle.RuleOrBuilder> getRuleOrBuilderList()
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Returns
Type | Description |
List<? extends com.google.storage.v2.Bucket.Lifecycle.RuleOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Bucket.Lifecycle.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Bucket.Lifecycle.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Bucket.Lifecycle other)
public Bucket.Lifecycle.Builder mergeFrom(Bucket.Lifecycle other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Lifecycle.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeRule(int index)
public Bucket.Lifecycle.Builder removeRule(int index)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Lifecycle.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.Lifecycle.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRule(int index, Bucket.Lifecycle.Rule value)
public Bucket.Lifecycle.Builder setRule(int index, Bucket.Lifecycle.Rule value)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameters
Returns
setRule(int index, Bucket.Lifecycle.Rule.Builder builderForValue)
public Bucket.Lifecycle.Builder setRule(int index, Bucket.Lifecycle.Rule.Builder builderForValue)
A lifecycle management rule, which is made of an action to take and the
condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Lifecycle.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides