Package com.google.storage.v2
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 TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.getType()Optional.com.google.protobuf.ByteStringOptional.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
-
getType
String getType()Optional. Type of the action. Currently, only `Delete`, `SetStorageClass`, and `AbortIncompleteMultipartUpload` are supported.
string type = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Optional. Type of the action. Currently, only `Delete`, `SetStorageClass`, and `AbortIncompleteMultipartUpload` are supported.
string type = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for type.
-
getStorageClass
String getStorageClass()Optional. Target storage class. Required iff the type of the action is SetStorageClass.
string storage_class = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The storageClass.
-
getStorageClassBytes
com.google.protobuf.ByteString getStorageClassBytes()Optional. Target storage class. Required iff the type of the action is SetStorageClass.
string storage_class = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for storageClass.
-