public static interface Bucket.LifecycleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getRule(int index)
public abstract Bucket.Lifecycle.Rule getRule(int index)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Bucket.Lifecycle.Rule |
|
getRuleCount()
public abstract int getRuleCount()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRuleList()
public abstract List<Bucket.Lifecycle.Rule> getRuleList()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Rule> |
|
getRuleOrBuilder(int index)
public abstract Bucket.Lifecycle.RuleOrBuilder getRuleOrBuilder(int index)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Bucket.Lifecycle.RuleOrBuilder |
|
getRuleOrBuilderList()
public abstract List<? extends Bucket.Lifecycle.RuleOrBuilder> getRuleOrBuilderList()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.storage.v2.Bucket.Lifecycle.RuleOrBuilder> |
|