Interface Bucket.Lifecycle.Rule.ActionOrBuilder

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

public static interface Bucket.Lifecycle.Rule.ActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Target storage class.
    com.google.protobuf.ByteString
    Target storage class.
    Type of the action.
    com.google.protobuf.ByteString
    Type of the action.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getType

      String getType()
       Type of the action. Currently, only `Delete`, `SetStorageClass`, and
       `AbortIncompleteMultipartUpload` are supported.
       
      string type = 1;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       Type of the action. Currently, only `Delete`, `SetStorageClass`, and
       `AbortIncompleteMultipartUpload` are supported.
       
      string type = 1;
      Returns:
      The bytes for type.
    • getStorageClass

      String getStorageClass()
       Target storage class. Required iff the type of the action is
       SetStorageClass.
       
      string storage_class = 2;
      Returns:
      The storageClass.
    • getStorageClassBytes

      com.google.protobuf.ByteString getStorageClassBytes()
       Target storage class. Required iff the type of the action is
       SetStorageClass.
       
      string storage_class = 2;
      Returns:
      The bytes for storageClass.