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 TypeMethodDescriptionOptional.Optional.Optional.Optional.booleanOptional.booleanOptional.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()Optional. The action to take.
.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the action field is set.
-
getAction
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:
- The action.
-
getActionOrBuilder
Bucket.Lifecycle.Rule.ActionOrBuilder getActionOrBuilder()Optional. The action to take.
.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1 [(.google.api.field_behavior) = OPTIONAL]; -
hasCondition
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:
- Whether the condition field is set.
-
getCondition
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:
- The condition.
-
getConditionOrBuilder
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];
-