Class EncryptionConfig.Builder (1.14.0)

publicstaticfinalclass EncryptionConfig.BuilderextendsGeneratedMessageV3.Builder<EncryptionConfig.Builder>implementsEncryptionConfigOrBuilder

The encryption options for the Cloud Composer environment and its dependencies.Supported for Cloud Composer environments in versions composer-1..-airflow-..*.

Protobuf type google.cloud.orchestration.airflow.service.v1.EncryptionConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicEncryptionConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EncryptionConfig.Builder
Overrides

build()

publicEncryptionConfigbuild()
Returns
Type Description
EncryptionConfig

buildPartial()

publicEncryptionConfigbuildPartial()
Returns
Type Description
EncryptionConfig

clear()

publicEncryptionConfig.Builderclear()
Returns
Type Description
EncryptionConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicEncryptionConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EncryptionConfig.Builder
Overrides

clearKmsKeyName()

publicEncryptionConfig.BuilderclearKmsKeyName()

Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used.

string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicEncryptionConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EncryptionConfig.Builder
Overrides

clone()

publicEncryptionConfig.Builderclone()
Returns
Type Description
EncryptionConfig.Builder
Overrides

getDefaultInstanceForType()

publicEncryptionConfiggetDefaultInstanceForType()
Returns
Type Description
EncryptionConfig

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKmsKeyName()

publicStringgetKmsKeyName()

Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used.

string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The kmsKeyName.

getKmsKeyNameBytes()

publicByteStringgetKmsKeyNameBytes()

Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used.

string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for kmsKeyName.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EncryptionConfig other)

publicEncryptionConfig.BuildermergeFrom(EncryptionConfigother)
Parameter
Name Description
other EncryptionConfig
Returns
Type Description
EncryptionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicEncryptionConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicEncryptionConfig.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
EncryptionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalEncryptionConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EncryptionConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicEncryptionConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EncryptionConfig.Builder
Overrides

setKmsKeyName(String value)

publicEncryptionConfig.BuildersetKmsKeyName(Stringvalue)

Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used.

string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The kmsKeyName to set.

Returns
Type Description
EncryptionConfig.Builder

This builder for chaining.

setKmsKeyNameBytes(ByteString value)

publicEncryptionConfig.BuildersetKmsKeyNameBytes(ByteStringvalue)

Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used.

string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for kmsKeyName to set.

Returns
Type Description
EncryptionConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicEncryptionConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EncryptionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalEncryptionConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EncryptionConfig.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.