[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface Environment.KMSEnvMapOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.batch.v1.Environment.KMSEnvMapOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.batch.v1.Environment.KMSEnvMapOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.batch.v1.Environment.KMSEnvMapOrBuilder) \n\n public static interface Environment.KMSEnvMapOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getCipherText()\n\n public abstract String getCipherText()\n\nThe value of the cipherText response from the `encrypt` method.\n\n`string cipher_text = 2;`\n\n### getCipherTextBytes()\n\n public abstract ByteString getCipherTextBytes()\n\nThe value of the cipherText response from the `encrypt` method.\n\n`string cipher_text = 2;`\n\n### getKeyName()\n\n public abstract String getKeyName()\n\nThe name of the KMS key that will be used to decrypt the cipher text.\n\n`string key_name = 1;`\n\n### getKeyNameBytes()\n\n public abstract ByteString getKeyNameBytes()\n\nThe name of the KMS key that will be used to decrypt the cipher text.\n\n`string key_name = 1;`"]]