Interface EncryptionInfoOrBuilder (0.29.0)

public interface EncryptionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEncryptionType()

public abstract EncryptionInfo.Type getEncryptionType()

Output only. Type of encryption.

.google.cloud.redis.cluster.v1beta1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionInfo.Type

The encryptionType.

getEncryptionTypeValue()

public abstract int getEncryptionTypeValue()

Output only. Type of encryption.

.google.cloud.redis.cluster.v1beta1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for encryptionType.

getKmsKeyPrimaryState()

public abstract EncryptionInfo.KmsKeyState getKmsKeyPrimaryState()

Output only. The state of the primary version of the KMS key perceived by the system. This field is not populated in backups.

.google.cloud.redis.cluster.v1beta1.EncryptionInfo.KmsKeyState kms_key_primary_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionInfo.KmsKeyState

The kmsKeyPrimaryState.

getKmsKeyPrimaryStateValue()

public abstract int getKmsKeyPrimaryStateValue()

Output only. The state of the primary version of the KMS key perceived by the system. This field is not populated in backups.

.google.cloud.redis.cluster.v1beta1.EncryptionInfo.KmsKeyState kms_key_primary_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for kmsKeyPrimaryState.

getKmsKeyVersions(int index)

public abstract String getKmsKeyVersions(int index)

Output only. KMS key versions that are being used to protect the data at-rest.

repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The kmsKeyVersions at the given index.

getKmsKeyVersionsBytes(int index)

public abstract ByteString getKmsKeyVersionsBytes(int index)

Output only. KMS key versions that are being used to protect the data at-rest.

repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the kmsKeyVersions at the given index.

getKmsKeyVersionsCount()

public abstract int getKmsKeyVersionsCount()

Output only. KMS key versions that are being used to protect the data at-rest.

repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of kmsKeyVersions.

getKmsKeyVersionsList()

public abstract List<String> getKmsKeyVersionsList()

Output only. KMS key versions that are being used to protect the data at-rest.

repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the kmsKeyVersions.

getLastUpdateTime()

public abstract Timestamp getLastUpdateTime()

Output only. The most recent time when the encryption info was updated.

.google.protobuf.Timestamp last_update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getLastUpdateTimeOrBuilder()

Output only. The most recent time when the encryption info was updated.

.google.protobuf.Timestamp last_update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasLastUpdateTime()

public abstract boolean hasLastUpdateTime()

Output only. The most recent time when the encryption info was updated.

.google.protobuf.Timestamp last_update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastUpdateTime field is set.