Package com.google.cloud.dataplex.v1
Interface EncryptionConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EncryptionConfig,EncryptionConfig.Builder
@Generated
public interface EncryptionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.Output only.intOutput only.getEtag()Etag of the EncryptionConfig.com.google.protobuf.ByteStringEtag of the EncryptionConfig.Output only.Output only.getKey()Optional.com.google.protobuf.ByteStringOptional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput 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
-
getName
String getName()Identifier. The resource name of the EncryptionConfig. Format: organizations/{organization}/locations/{location}/encryptionConfigs/{encryption_config} Global location is not supported.string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the EncryptionConfig. Format: organizations/{organization}/locations/{location}/encryptionConfigs/{encryption_config} Global location is not supported.string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getKey
String getKey()Optional. If a key is chosen, it means that the customer is using CMEK. If a key is not chosen, it means that the customer is using Google managed encryption.
string key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Optional. If a key is chosen, it means that the customer is using CMEK. If a key is not chosen, it means that the customer is using Google managed encryption.
string key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for key.
-
hasCreateTime
boolean hasCreateTime()Output only. The time when the Encryption configuration was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The time when the Encryption configuration was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the Encryption configuration was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The time when the Encryption configuration was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The time when the Encryption configuration was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the Encryption configuration was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEncryptionStateValue
int getEncryptionStateValue()Output only. The state of encryption of the databases.
.google.cloud.dataplex.v1.EncryptionConfig.EncryptionState encryption_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for encryptionState.
-
getEncryptionState
EncryptionConfig.EncryptionState getEncryptionState()Output only. The state of encryption of the databases.
.google.cloud.dataplex.v1.EncryptionConfig.EncryptionState encryption_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The encryptionState.
-
getEtag
String getEtag()Etag of the EncryptionConfig. This is a strong etag.
string etag = 6;- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()Etag of the EncryptionConfig. This is a strong etag.
string etag = 6;- Returns:
- The bytes for etag.
-
hasFailureDetails
boolean hasFailureDetails()Output only. Details of the failure if anything related to Cmek db fails.
.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails failure_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the failureDetails field is set.
-
getFailureDetails
EncryptionConfig.FailureDetails getFailureDetails()Output only. Details of the failure if anything related to Cmek db fails.
.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails failure_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The failureDetails.
-
getFailureDetailsOrBuilder
EncryptionConfig.FailureDetailsOrBuilder getFailureDetailsOrBuilder()Output only. Details of the failure if anything related to Cmek db fails.
.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails failure_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEnableMetastoreEncryption
boolean getEnableMetastoreEncryption()Optional. Represent the state of CMEK opt-in for metastore.
bool enable_metastore_encryption = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableMetastoreEncryption.
-