Class EncryptionConfiguration.Builder (2.44.0)

public static final class EncryptionConfiguration.Builder extends GeneratedMessageV3.Builder<EncryptionConfiguration.Builder> implements EncryptionConfigurationOrBuilder

Represents the encryption configuration for a transfer.

Protobuf type google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EncryptionConfiguration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

build()

public EncryptionConfiguration build()
Returns
Type Description
EncryptionConfiguration

buildPartial()

public EncryptionConfiguration buildPartial()
Returns
Type Description
EncryptionConfiguration

clear()

public EncryptionConfiguration.Builder clear()
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EncryptionConfiguration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

clearKmsKeyName()

public EncryptionConfiguration.Builder clearKmsKeyName()

The name of the KMS key used for encrypting BigQuery data.

.google.protobuf.StringValue kms_key_name = 1;

Returns
Type Description
EncryptionConfiguration.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EncryptionConfiguration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

clone()

public EncryptionConfiguration.Builder clone()
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

getDefaultInstanceForType()

public EncryptionConfiguration getDefaultInstanceForType()
Returns
Type Description
EncryptionConfiguration

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKmsKeyName()

public StringValue getKmsKeyName()

The name of the KMS key used for encrypting BigQuery data.

.google.protobuf.StringValue kms_key_name = 1;

Returns
Type Description
StringValue

The kmsKeyName.

getKmsKeyNameBuilder()

public StringValue.Builder getKmsKeyNameBuilder()

The name of the KMS key used for encrypting BigQuery data.

.google.protobuf.StringValue kms_key_name = 1;

Returns
Type Description
Builder

getKmsKeyNameOrBuilder()

public StringValueOrBuilder getKmsKeyNameOrBuilder()

The name of the KMS key used for encrypting BigQuery data.

.google.protobuf.StringValue kms_key_name = 1;

Returns
Type Description
StringValueOrBuilder

hasKmsKeyName()

public boolean hasKmsKeyName()

The name of the KMS key used for encrypting BigQuery data.

.google.protobuf.StringValue kms_key_name = 1;

Returns
Type Description
boolean

Whether the kmsKeyName field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EncryptionConfiguration other)

public EncryptionConfiguration.Builder mergeFrom(EncryptionConfiguration other)
Parameter
Name Description
other EncryptionConfiguration
Returns
Type Description
EncryptionConfiguration.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EncryptionConfiguration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionConfiguration.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EncryptionConfiguration.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

mergeKmsKeyName(StringValue value)

public EncryptionConfiguration.Builder mergeKmsKeyName(StringValue value)

The name of the KMS key used for encrypting BigQuery data.

.google.protobuf.StringValue kms_key_name = 1;

Parameter
Name Description
value StringValue
Returns
Type Description
EncryptionConfiguration.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EncryptionConfiguration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EncryptionConfiguration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

setKmsKeyName(StringValue value)

public EncryptionConfiguration.Builder setKmsKeyName(StringValue value)

The name of the KMS key used for encrypting BigQuery data.

.google.protobuf.StringValue kms_key_name = 1;

Parameter
Name Description
value StringValue
Returns
Type Description
EncryptionConfiguration.Builder

setKmsKeyName(StringValue.Builder builderForValue)

public EncryptionConfiguration.Builder setKmsKeyName(StringValue.Builder builderForValue)

The name of the KMS key used for encrypting BigQuery data.

.google.protobuf.StringValue kms_key_name = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EncryptionConfiguration.Builder

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

public EncryptionConfiguration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EncryptionConfiguration.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EncryptionConfiguration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EncryptionConfiguration.Builder
Overrides