Interface SecretOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Secret
,Secret.Builder
public interface SecretOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCipherText()
The value of the cipherText response from the `encrypt` method.com.google.protobuf.ByteString
getCipherTextBytes()
The value of the cipherText response from the `encrypt` method.String
getKeyName()
The name of the Cloud KMS key that will be used to decrypt the secret value.com.google.protobuf.ByteString
getKeyNameBytes()
The name of the Cloud KMS key that will be used to decrypt the secret value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKeyName
String getKeyName()
The name of the Cloud KMS key that will be used to decrypt the secret value. The VM service account must have the required permissions and authentication scopes to invoke the `decrypt` method on the specified key.
string key_name = 1;
- Returns:
- The keyName.
-
getKeyNameBytes
com.google.protobuf.ByteString getKeyNameBytes()
The name of the Cloud KMS key that will be used to decrypt the secret value. The VM service account must have the required permissions and authentication scopes to invoke the `decrypt` method on the specified key.
string key_name = 1;
- Returns:
- The bytes for keyName.
-
getCipherText
String getCipherText()
The value of the cipherText response from the `encrypt` method. This field is intentionally unaudited.
string cipher_text = 2;
- Returns:
- The cipherText.
-
getCipherTextBytes
com.google.protobuf.ByteString getCipherTextBytes()
The value of the cipherText response from the `encrypt` method. This field is intentionally unaudited.
string cipher_text = 2;
- Returns:
- The bytes for cipherText.
-
-