Package com.google.storage.v2
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 TypeMethodDescriptioncom.google.protobuf.TimestampTime from which the config was effective.com.google.protobuf.TimestampOrBuilderTime from which the config was effective.Restriction mode for customer-managed encryption for new objects within the bucket.com.google.protobuf.ByteStringRestriction mode for customer-managed encryption for new objects within the bucket.booleanTime from which the config was effective.booleanRestriction mode for customer-managed encryption for new objects within the bucket.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
-
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;
-