Interface Bucket.LifecycleOrBuilder (2.38.0)

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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.storage.v2.Bucket.Lifecycle.RuleOrBuilder>