Package com.google.storage.v2
Interface Bucket.Lifecycle.RuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.Lifecycle.Rule,Bucket.Lifecycle.Rule.Builder
- Enclosing class:
- Bucket.Lifecycle
public static interface Bucket.Lifecycle.RuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe action to take.The action to take.The condition(s) under which the action will be taken.The condition(s) under which the action will be taken.booleanThe action to take.booleanThe condition(s) under which the action will be taken.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAction
boolean hasAction()The action to take.
.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1;- Returns:
- Whether the action field is set.
-
getAction
Bucket.Lifecycle.Rule.Action getAction()The action to take.
.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1;- Returns:
- The action.
-
getActionOrBuilder
Bucket.Lifecycle.Rule.ActionOrBuilder getActionOrBuilder()The action to take.
.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1; -
hasCondition
boolean hasCondition()The condition(s) under which the action will be taken.
.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2;- Returns:
- Whether the condition field is set.
-
getCondition
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:
- The condition.
-
getConditionOrBuilder
Bucket.Lifecycle.Rule.ConditionOrBuilder getConditionOrBuilder()The condition(s) under which the action will be taken.
.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2;
-