Package com.google.cloud.kms.v1
Interface SingleTenantHsmInstanceProposal.UpgradeKeyTrustOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SingleTenantHsmInstanceProposal.UpgradeKeyTrust,SingleTenantHsmInstanceProposal.UpgradeKeyTrust.Builder
- Enclosing class:
- SingleTenantHsmInstanceProposal
public static interface SingleTenantHsmInstanceProposal.UpgradeKeyTrustOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.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()Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to promote.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to promote.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
getTwoFactorPublicKeyPem
String getTwoFactorPublicKeyPem()Required. The public key associated with the 2FA key that will sign the login nonce for this operation.
string two_factor_public_key_pem = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The twoFactorPublicKeyPem.
-
getTwoFactorPublicKeyPemBytes
com.google.protobuf.ByteString getTwoFactorPublicKeyPemBytes()Required. The public key associated with the 2FA key that will sign the login nonce for this operation.
string two_factor_public_key_pem = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for twoFactorPublicKeyPem.
-