Interface Bucket.EncryptionOrBuilder

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

public static interface Bucket.EncryptionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.

    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

    • getDefaultKmsKey

      String getDefaultKmsKey()
       Optional. The name of the Cloud KMS key that will be used to encrypt
       objects inserted into this bucket, if no encryption method is specified.
       
      string default_kms_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The defaultKmsKey.
    • getDefaultKmsKeyBytes

      com.google.protobuf.ByteString getDefaultKmsKeyBytes()
       Optional. The name of the Cloud KMS key that will be used to encrypt
       objects inserted into this bucket, if no encryption method is specified.
       
      string default_kms_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for defaultKmsKey.