[[["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-28 UTC."],[],[],null,["# Interface ChallengeOrBuilder (0.58.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.58.0 (latest)](/java/docs/reference/google-cloud-confidentialcomputing/latest/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.56.0](/java/docs/reference/google-cloud-confidentialcomputing/0.56.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.54.0](/java/docs/reference/google-cloud-confidentialcomputing/0.54.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.53.0](/java/docs/reference/google-cloud-confidentialcomputing/0.53.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.50.0](/java/docs/reference/google-cloud-confidentialcomputing/0.50.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.49.0](/java/docs/reference/google-cloud-confidentialcomputing/0.49.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.48.0](/java/docs/reference/google-cloud-confidentialcomputing/0.48.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.46.0](/java/docs/reference/google-cloud-confidentialcomputing/0.46.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.45.0](/java/docs/reference/google-cloud-confidentialcomputing/0.45.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.44.0](/java/docs/reference/google-cloud-confidentialcomputing/0.44.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.43.0](/java/docs/reference/google-cloud-confidentialcomputing/0.43.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.42.0](/java/docs/reference/google-cloud-confidentialcomputing/0.42.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.41.0](/java/docs/reference/google-cloud-confidentialcomputing/0.41.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.40.0](/java/docs/reference/google-cloud-confidentialcomputing/0.40.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.39.0](/java/docs/reference/google-cloud-confidentialcomputing/0.39.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.38.0](/java/docs/reference/google-cloud-confidentialcomputing/0.38.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.37.0](/java/docs/reference/google-cloud-confidentialcomputing/0.37.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.35.0](/java/docs/reference/google-cloud-confidentialcomputing/0.35.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.34.0](/java/docs/reference/google-cloud-confidentialcomputing/0.34.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.33.0](/java/docs/reference/google-cloud-confidentialcomputing/0.33.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.32.0](/java/docs/reference/google-cloud-confidentialcomputing/0.32.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.31.0](/java/docs/reference/google-cloud-confidentialcomputing/0.31.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.30.0](/java/docs/reference/google-cloud-confidentialcomputing/0.30.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-confidentialcomputing/0.29.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.28.0](/java/docs/reference/google-cloud-confidentialcomputing/0.28.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-confidentialcomputing/0.27.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-confidentialcomputing/0.26.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.25.0](/java/docs/reference/google-cloud-confidentialcomputing/0.25.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-confidentialcomputing/0.23.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-confidentialcomputing/0.22.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-confidentialcomputing/0.21.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-confidentialcomputing/0.20.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-confidentialcomputing/0.19.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-confidentialcomputing/0.18.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-confidentialcomputing/0.17.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-confidentialcomputing/0.16.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-confidentialcomputing/0.15.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-confidentialcomputing/0.14.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-confidentialcomputing/0.13.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-confidentialcomputing/0.10.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-confidentialcomputing/0.9.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-confidentialcomputing/0.8.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-confidentialcomputing/0.7.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-confidentialcomputing/0.6.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-confidentialcomputing/0.5.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-confidentialcomputing/0.4.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-confidentialcomputing/0.3.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-confidentialcomputing/0.2.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-confidentialcomputing/0.1.0/com.google.cloud.confidentialcomputing.v1alpha1.ChallengeOrBuilder) \n\n public interface ChallengeOrBuilder 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### getCreateTime()\n\n public abstract Timestamp getCreateTime()\n\nOutput only. The time at which this Challenge was created\n\n`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getCreateTimeOrBuilder()\n\n public abstract TimestampOrBuilder getCreateTimeOrBuilder()\n\nOutput only. The time at which this Challenge was created\n\n`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getExpireTime()\n\n public abstract Timestamp getExpireTime()\n\nOutput only. The time at which this Challenge will no longer be usable. It\nis also the expiration time for any tokens generated from this Challenge.\n\n`.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getExpireTimeOrBuilder()\n\n public abstract TimestampOrBuilder getExpireTimeOrBuilder()\n\nOutput only. The time at which this Challenge will no longer be usable. It\nis also the expiration time for any tokens generated from this Challenge.\n\n`.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getName()\n\n public abstract String getName()\n\nOutput only. The resource name for this Challenge in the format\n`projects/*/locations/*/challenges/*`\n\n`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getNameBytes()\n\n public abstract ByteString getNameBytes()\n\nOutput only. The resource name for this Challenge in the format\n`projects/*/locations/*/challenges/*`\n\n`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getNonce()\n\n public abstract ByteString getNonce()\n\nOutput only. Random data which should be used when calling TPM2_Quote.\n----------------------------------------------------------------------\n\n`bytes nonce = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getUsed()\n\n public abstract boolean getUsed()\n\nOutput only. Indicates if this challenge has been used to generate a token.\n\n`bool used = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### hasCreateTime()\n\n public abstract boolean hasCreateTime()\n\nOutput only. The time at which this Challenge was created\n\n`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### hasExpireTime()\n\n public abstract boolean hasExpireTime()\n\nOutput only. The time at which this Challenge will no longer be usable. It\nis also the expiration time for any tokens generated from this Challenge.\n\n`.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`"]]