Package com.google.storage.v2
Class Bucket.Encryption.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
com.google.storage.v2.Bucket.Encryption.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Bucket.EncryptionOrBuilder,Cloneable
- Enclosing class:
- Bucket.Encryption
public static final class Bucket.Encryption.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
implements Bucket.EncryptionOrBuilder
Encryption properties of a bucket.Protobuf type
google.storage.v2.Bucket.Encryption-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.Optional.Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()Optional.Optional.Optional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCustomerManagedEncryptionEnforcementConfig(Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig value) Optional.mergeCustomerSuppliedEncryptionEnforcementConfig(Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Bucket.Encryption other) mergeGoogleManagedEncryptionEnforcementConfig(Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig value) Optional.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCustomerManagedEncryptionEnforcementConfig(Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig value) Optional.setCustomerManagedEncryptionEnforcementConfig(Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig.Builder builderForValue) Optional.setCustomerSuppliedEncryptionEnforcementConfig(Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig value) Optional.setCustomerSuppliedEncryptionEnforcementConfig(Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig.Builder builderForValue) Optional.setDefaultKmsKey(String value) Optional.setDefaultKmsKeyBytes(com.google.protobuf.ByteString value) Optional.setGoogleManagedEncryptionEnforcementConfig(Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig value) Optional.setGoogleManagedEncryptionEnforcementConfig(Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig.Builder builderForValue) Optional.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
setField
public Bucket.Encryption.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
setRepeatedField
public Bucket.Encryption.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
addRepeatedField
public Bucket.Encryption.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Bucket.Encryption.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
mergeFrom
public Bucket.Encryption.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Bucket.Encryption.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getDefaultKmsKeyin interfaceBucket.EncryptionOrBuilder- Returns:
- The defaultKmsKey.
-
getDefaultKmsKeyBytes
public 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) = { ... }- Specified by:
getDefaultKmsKeyBytesin interfaceBucket.EncryptionOrBuilder- Returns:
- The bytes for defaultKmsKey.
-
setDefaultKmsKey
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) = { ... }- Parameters:
value- The defaultKmsKey to set.- Returns:
- This builder for chaining.
-
clearDefaultKmsKey
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:
- This builder for chaining.
-
setDefaultKmsKeyBytes
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) = { ... }- Parameters:
value- The bytes for defaultKmsKey to set.- Returns:
- This builder for chaining.
-
hasGoogleManagedEncryptionEnforcementConfig
public boolean hasGoogleManagedEncryptionEnforcementConfig()Optional. If omitted, then new objects with GMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig google_managed_encryption_enforcement_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGoogleManagedEncryptionEnforcementConfigin interfaceBucket.EncryptionOrBuilder- Returns:
- Whether the googleManagedEncryptionEnforcementConfig field is set.
-
getGoogleManagedEncryptionEnforcementConfig
public Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig getGoogleManagedEncryptionEnforcementConfig()Optional. If omitted, then new objects with GMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig google_managed_encryption_enforcement_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleManagedEncryptionEnforcementConfigin interfaceBucket.EncryptionOrBuilder- Returns:
- The googleManagedEncryptionEnforcementConfig.
-
setGoogleManagedEncryptionEnforcementConfig
public Bucket.Encryption.Builder setGoogleManagedEncryptionEnforcementConfig(Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig value) Optional. If omitted, then new objects with GMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig google_managed_encryption_enforcement_config = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setGoogleManagedEncryptionEnforcementConfig
public Bucket.Encryption.Builder setGoogleManagedEncryptionEnforcementConfig(Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig.Builder builderForValue) Optional. If omitted, then new objects with GMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig google_managed_encryption_enforcement_config = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGoogleManagedEncryptionEnforcementConfig
public Bucket.Encryption.Builder mergeGoogleManagedEncryptionEnforcementConfig(Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig value) Optional. If omitted, then new objects with GMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig google_managed_encryption_enforcement_config = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearGoogleManagedEncryptionEnforcementConfig
Optional. If omitted, then new objects with GMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig google_managed_encryption_enforcement_config = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleManagedEncryptionEnforcementConfigBuilder
public Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig.Builder getGoogleManagedEncryptionEnforcementConfigBuilder()Optional. If omitted, then new objects with GMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig google_managed_encryption_enforcement_config = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleManagedEncryptionEnforcementConfigOrBuilder
public Bucket.Encryption.GoogleManagedEncryptionEnforcementConfigOrBuilder getGoogleManagedEncryptionEnforcementConfigOrBuilder()Optional. If omitted, then new objects with GMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig google_managed_encryption_enforcement_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleManagedEncryptionEnforcementConfigOrBuilderin interfaceBucket.EncryptionOrBuilder
-
hasCustomerManagedEncryptionEnforcementConfig
public boolean hasCustomerManagedEncryptionEnforcementConfig()Optional. If omitted, then new objects with CMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customer_managed_encryption_enforcement_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCustomerManagedEncryptionEnforcementConfigin interfaceBucket.EncryptionOrBuilder- Returns:
- Whether the customerManagedEncryptionEnforcementConfig field is set.
-
getCustomerManagedEncryptionEnforcementConfig
public Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig getCustomerManagedEncryptionEnforcementConfig()Optional. If omitted, then new objects with CMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customer_managed_encryption_enforcement_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomerManagedEncryptionEnforcementConfigin interfaceBucket.EncryptionOrBuilder- Returns:
- The customerManagedEncryptionEnforcementConfig.
-
setCustomerManagedEncryptionEnforcementConfig
public Bucket.Encryption.Builder setCustomerManagedEncryptionEnforcementConfig(Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig value) Optional. If omitted, then new objects with CMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customer_managed_encryption_enforcement_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setCustomerManagedEncryptionEnforcementConfig
public Bucket.Encryption.Builder setCustomerManagedEncryptionEnforcementConfig(Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig.Builder builderForValue) Optional. If omitted, then new objects with CMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customer_managed_encryption_enforcement_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeCustomerManagedEncryptionEnforcementConfig
public Bucket.Encryption.Builder mergeCustomerManagedEncryptionEnforcementConfig(Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig value) Optional. If omitted, then new objects with CMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customer_managed_encryption_enforcement_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearCustomerManagedEncryptionEnforcementConfig
Optional. If omitted, then new objects with CMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customer_managed_encryption_enforcement_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getCustomerManagedEncryptionEnforcementConfigBuilder
public Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig.Builder getCustomerManagedEncryptionEnforcementConfigBuilder()Optional. If omitted, then new objects with CMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customer_managed_encryption_enforcement_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getCustomerManagedEncryptionEnforcementConfigOrBuilder
public Bucket.Encryption.CustomerManagedEncryptionEnforcementConfigOrBuilder getCustomerManagedEncryptionEnforcementConfigOrBuilder()Optional. If omitted, then new objects with CMEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customer_managed_encryption_enforcement_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomerManagedEncryptionEnforcementConfigOrBuilderin interfaceBucket.EncryptionOrBuilder
-
hasCustomerSuppliedEncryptionEnforcementConfig
public boolean hasCustomerSuppliedEncryptionEnforcementConfig()Optional. If omitted, then new objects with CSEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customer_supplied_encryption_enforcement_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCustomerSuppliedEncryptionEnforcementConfigin interfaceBucket.EncryptionOrBuilder- Returns:
- Whether the customerSuppliedEncryptionEnforcementConfig field is set.
-
getCustomerSuppliedEncryptionEnforcementConfig
public Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig getCustomerSuppliedEncryptionEnforcementConfig()Optional. If omitted, then new objects with CSEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customer_supplied_encryption_enforcement_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomerSuppliedEncryptionEnforcementConfigin interfaceBucket.EncryptionOrBuilder- Returns:
- The customerSuppliedEncryptionEnforcementConfig.
-
setCustomerSuppliedEncryptionEnforcementConfig
public Bucket.Encryption.Builder setCustomerSuppliedEncryptionEnforcementConfig(Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig value) Optional. If omitted, then new objects with CSEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customer_supplied_encryption_enforcement_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setCustomerSuppliedEncryptionEnforcementConfig
public Bucket.Encryption.Builder setCustomerSuppliedEncryptionEnforcementConfig(Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig.Builder builderForValue) Optional. If omitted, then new objects with CSEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customer_supplied_encryption_enforcement_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeCustomerSuppliedEncryptionEnforcementConfig
public Bucket.Encryption.Builder mergeCustomerSuppliedEncryptionEnforcementConfig(Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig value) Optional. If omitted, then new objects with CSEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customer_supplied_encryption_enforcement_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearCustomerSuppliedEncryptionEnforcementConfig
Optional. If omitted, then new objects with CSEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customer_supplied_encryption_enforcement_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getCustomerSuppliedEncryptionEnforcementConfigBuilder
public Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig.Builder getCustomerSuppliedEncryptionEnforcementConfigBuilder()Optional. If omitted, then new objects with CSEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customer_supplied_encryption_enforcement_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getCustomerSuppliedEncryptionEnforcementConfigOrBuilder
public Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfigOrBuilder getCustomerSuppliedEncryptionEnforcementConfigOrBuilder()Optional. If omitted, then new objects with CSEK encryption-type is allowed. If set, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.
optional .google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customer_supplied_encryption_enforcement_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomerSuppliedEncryptionEnforcementConfigOrBuilderin interfaceBucket.EncryptionOrBuilder
-
setUnknownFields
public final Bucket.Encryption.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-
mergeUnknownFields
public final Bucket.Encryption.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Encryption.Builder>
-