Interface LockBucketRetentionPolicyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LockBucketRetentionPolicyRequest, LockBucketRetentionPolicyRequest.Builder

public interface LockBucketRetentionPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    long
    Required.

    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

    • getBucket

      String getBucket()
       Required. Name of a bucket.
       
      string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bucket.
    • getBucketBytes

      com.google.protobuf.ByteString getBucketBytes()
       Required. Name of a bucket.
       
      string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for bucket.
    • getIfMetagenerationMatch

      long getIfMetagenerationMatch()
       Required. Makes the operation conditional on whether bucket's current
       metageneration matches the given value. Must be positive.
       
      int64 if_metageneration_match = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The ifMetagenerationMatch.