Interface Bucket.Encryption.CustomerManagedEncryptionEnforcementConfigOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Time from which the config was effective.
    com.google.protobuf.TimestampOrBuilder
    Time from which the config was effective.
    Restriction mode for customer-managed encryption for new objects within the bucket.
    com.google.protobuf.ByteString
    Restriction mode for customer-managed encryption for new objects within the bucket.
    boolean
    Time from which the config was effective.
    boolean
    Restriction mode for customer-managed encryption for new objects within the bucket.

    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

    • hasRestrictionMode

      boolean hasRestrictionMode()
       Restriction mode for customer-managed encryption for new objects within
       the bucket. Valid values are: "NotRestricted", "FullyRestricted".
       If `NotRestricted` or unset, creation of new objects with
       customer-managed encryption is allowed.
       If `FullyRestricted`, new objects can't be created using
       customer-managed encryption.
       
      optional string restriction_mode = 3;
      Returns:
      Whether the restrictionMode field is set.
    • getRestrictionMode

      String getRestrictionMode()
       Restriction mode for customer-managed encryption for new objects within
       the bucket. Valid values are: "NotRestricted", "FullyRestricted".
       If `NotRestricted` or unset, creation of new objects with
       customer-managed encryption is allowed.
       If `FullyRestricted`, new objects can't be created using
       customer-managed encryption.
       
      optional string restriction_mode = 3;
      Returns:
      The restrictionMode.
    • getRestrictionModeBytes

      com.google.protobuf.ByteString getRestrictionModeBytes()
       Restriction mode for customer-managed encryption for new objects within
       the bucket. Valid values are: "NotRestricted", "FullyRestricted".
       If `NotRestricted` or unset, creation of new objects with
       customer-managed encryption is allowed.
       If `FullyRestricted`, new objects can't be created using
       customer-managed encryption.
       
      optional string restriction_mode = 3;
      Returns:
      The bytes for restrictionMode.
    • hasEffectiveTime

      boolean hasEffectiveTime()
       Time from which the config was effective. This is service-provided.
       
      optional .google.protobuf.Timestamp effective_time = 2;
      Returns:
      Whether the effectiveTime field is set.
    • getEffectiveTime

      com.google.protobuf.Timestamp getEffectiveTime()
       Time from which the config was effective. This is service-provided.
       
      optional .google.protobuf.Timestamp effective_time = 2;
      Returns:
      The effectiveTime.
    • getEffectiveTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEffectiveTimeOrBuilder()
       Time from which the config was effective. This is service-provided.
       
      optional .google.protobuf.Timestamp effective_time = 2;