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 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

       Optional. The action to take.
       
      .google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The action.
    • 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

       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

       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];