Class EncryptionConfiguration.Builder (2.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EncryptionConfiguration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EncryptionConfiguration.Builder
Overrides

build()

public EncryptionConfiguration build()
Returns
TypeDescription
EncryptionConfiguration

buildPartial()

public EncryptionConfiguration buildPartial()
Returns
TypeDescription
EncryptionConfiguration

clear()

public EncryptionConfiguration.Builder clear()
Returns
TypeDescription
EncryptionConfiguration.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EncryptionConfiguration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
EncryptionConfiguration.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EncryptionConfiguration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EncryptionConfiguration.Builder
Overrides

clone()

public EncryptionConfiguration.Builder clone()
Returns
TypeDescription
EncryptionConfiguration.Builder
Overrides

getDefaultInstanceForType()

public EncryptionConfiguration getDefaultInstanceForType()
Returns
TypeDescription
EncryptionConfiguration

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getKmsKeyNameOrBuilder()

public StringValueOrBuilder getKmsKeyNameOrBuilder()

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

.google.protobuf.StringValue kms_key_name = 1;

Returns
TypeDescription
StringValueOrBuilder

hasKmsKeyName()

public boolean hasKmsKeyName()

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

.google.protobuf.StringValue kms_key_name = 1;

Returns
TypeDescription
boolean

Whether the kmsKeyName field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EncryptionConfiguration other)

public EncryptionConfiguration.Builder mergeFrom(EncryptionConfiguration other)
Parameter
NameDescription
otherEncryptionConfiguration
Returns
TypeDescription
EncryptionConfiguration.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EncryptionConfiguration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EncryptionConfiguration.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EncryptionConfiguration.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueStringValue
Returns
TypeDescription
EncryptionConfiguration.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EncryptionConfiguration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EncryptionConfiguration.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EncryptionConfiguration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueStringValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
EncryptionConfiguration.Builder

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

public EncryptionConfiguration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EncryptionConfiguration.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EncryptionConfiguration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EncryptionConfiguration.Builder
Overrides