Class DataEncryptionState.Builder (0.84.0)

public static final class DataEncryptionState.Builder extends GeneratedMessage.Builder<DataEncryptionState.Builder> implements DataEncryptionStateOrBuilder

Describes encryption state of a resource.

Protobuf type google.cloud.dataform.v1beta1.DataEncryptionState

Static Methods

getDescriptor()

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

Methods

build()

public DataEncryptionState build()
Returns
Type Description
DataEncryptionState

buildPartial()

public DataEncryptionState buildPartial()
Returns
Type Description
DataEncryptionState

clear()

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

clearKmsKeyVersionName()

public DataEncryptionState.Builder clearKmsKeyVersionName()

Required. The KMS key version name with which data of a resource is encrypted.

string kms_key_version_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DataEncryptionState.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataEncryptionState getDefaultInstanceForType()
Returns
Type Description
DataEncryptionState

getDescriptorForType()

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

getKmsKeyVersionName()

public String getKmsKeyVersionName()

Required. The KMS key version name with which data of a resource is encrypted.

string kms_key_version_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The kmsKeyVersionName.

getKmsKeyVersionNameBytes()

public ByteString getKmsKeyVersionNameBytes()

Required. The KMS key version name with which data of a resource is encrypted.

string kms_key_version_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for kmsKeyVersionName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataEncryptionState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setKmsKeyVersionName(String value)

public DataEncryptionState.Builder setKmsKeyVersionName(String value)

Required. The KMS key version name with which data of a resource is encrypted.

string kms_key_version_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The kmsKeyVersionName to set.

Returns
Type Description
DataEncryptionState.Builder

This builder for chaining.

setKmsKeyVersionNameBytes(ByteString value)

public DataEncryptionState.Builder setKmsKeyVersionNameBytes(ByteString value)

Required. The KMS key version name with which data of a resource is encrypted.

string kms_key_version_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for kmsKeyVersionName to set.

Returns
Type Description
DataEncryptionState.Builder

This builder for chaining.