Interface Bucket.Lifecycle.RuleOrBuilder (2.28.0)

public static interface Bucket.Lifecycle.RuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract Bucket.Lifecycle.Rule.Action getAction()

The action to take.

.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1;

Returns
Type Description
Bucket.Lifecycle.Rule.Action

The action.

getActionOrBuilder()

public abstract Bucket.Lifecycle.Rule.ActionOrBuilder getActionOrBuilder()

The action to take.

.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1;

Returns
Type Description
Bucket.Lifecycle.Rule.ActionOrBuilder

getCondition()

public abstract Bucket.Lifecycle.Rule.Condition getCondition()

The condition(s) under which the action will be taken.

.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2;

Returns
Type Description
Bucket.Lifecycle.Rule.Condition

The condition.

getConditionOrBuilder()

public abstract Bucket.Lifecycle.Rule.ConditionOrBuilder getConditionOrBuilder()

The condition(s) under which the action will be taken.

.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2;

Returns
Type Description
Bucket.Lifecycle.Rule.ConditionOrBuilder

hasAction()

public abstract boolean hasAction()

The action to take.

.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1;

Returns
Type Description
boolean

Whether the action field is set.

hasCondition()

public abstract boolean hasCondition()

The condition(s) under which the action will be taken.

.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2;

Returns
Type Description
boolean

Whether the condition field is set.