Interface Bucket.LifecycleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Bucket.Lifecycle, Bucket.Lifecycle.Builder
Enclosing class:
Bucket

public static interface Bucket.LifecycleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getRuleList

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

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

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

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

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