Interface Bucket.LifecycleOrBuilder (2.20.1)

public static interface Bucket.LifecycleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRule(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Bucket.Lifecycle.Rule

getRuleCount()

public abstract 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
TypeDescription
int

getRuleList()

public abstract 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
TypeDescription
List<Rule>

getRuleOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Bucket.Lifecycle.RuleOrBuilder

getRuleOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.storage.v2.Bucket.Lifecycle.RuleOrBuilder>