Interface EncryptionInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EncryptionInfo,EncryptionInfo.Builder
@Generated
public interface EncryptionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.Output only.intOutput only.getKmsKeyVersions(int index) Output only.com.google.protobuf.ByteStringgetKmsKeyVersionsBytes(int index) Output only.intOutput only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEncryptionTypeValue
int getEncryptionTypeValue()Output only. Type of encryption.
.google.cloud.redis.cluster.v1beta1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for encryptionType.
-
getEncryptionType
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:
- The encryptionType.
-
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:
- A list containing the kmsKeyVersions.
-
getKmsKeyVersionsCount
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:
- The count of kmsKeyVersions.
-
getKmsKeyVersions
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) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The kmsKeyVersions at the given index.
-
getKmsKeyVersionsBytes
com.google.protobuf.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) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the kmsKeyVersions at the given index.
-
getKmsKeyPrimaryStateValue
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:
- The enum numeric value on the wire for kmsKeyPrimaryState.
-
getKmsKeyPrimaryState
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:
- The kmsKeyPrimaryState.
-
hasLastUpdateTime
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:
- Whether the lastUpdateTime field is set.
-
getLastUpdateTime
com.google.protobuf.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:
- The lastUpdateTime.
-
getLastUpdateTimeOrBuilder
com.google.protobuf.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];
-