public static interface Bucket.Lifecycle.RuleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAction()
public abstract Bucket.Lifecycle.Rule.Action getAction()Optional. The action to take.
.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.Lifecycle.Rule.Action |
The action. |
getActionOrBuilder()
public abstract Bucket.Lifecycle.Rule.ActionOrBuilder getActionOrBuilder()Optional. The action to take.
.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.Lifecycle.Rule.ActionOrBuilder |
|
getCondition()
public abstract Bucket.Lifecycle.Rule.Condition getCondition()Optional. The condition(s) under which the action will be taken.
.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.Lifecycle.Rule.Condition |
The condition. |
getConditionOrBuilder()
public abstract Bucket.Lifecycle.Rule.ConditionOrBuilder getConditionOrBuilder()Optional. The condition(s) under which the action will be taken.
.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Bucket.Lifecycle.Rule.ConditionOrBuilder |
|
hasAction()
public abstract boolean hasAction()Optional. The action to take.
.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the action field is set. |
hasCondition()
public abstract boolean hasCondition()Optional. The condition(s) under which the action will be taken.
.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the condition field is set. |