From 27888ddb1e49f606e317bede7ef033fff48fef84 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 19:04:29 +0000 Subject: [PATCH] fix!: [recaptchaenterprise] added required annotations (#10045) - [ ] Regenerate this pull request now. docs: updated comments explaining if a field is optional or required CreateKeyRequest.display_name and PrivatePasswordLeakVerification.lookup_hash_prefix are now required. PiperOrigin-RevId: 580254588 Source-Link: https://togithub.com/googleapis/googleapis/commit/22df66c961f2468c7f09742c658221274e63ea03 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/488324dfc157101c764b110f58d945bcc28600be Copy-Tag: eyJwIjoiamF2YS1yZWNhcHRjaGFlbnRlcnByaXNlLy5Pd2xCb3QueWFtbCIsImgiOiI0ODgzMjRkZmMxNTcxMDFjNzY0YjExMGY1OGQ5NDViY2MyODYwMGJlIn0= --- java-recaptchaenterprise/README.md | 4 +- .../v1/AccountDefenderAssessment.java | 68 +- .../AccountDefenderAssessmentOrBuilder.java | 20 +- .../v1/AccountVerificationInfo.java | 171 +- .../v1/AccountVerificationInfoOrBuilder.java | 41 +- .../v1/AndroidKeySettings.java | 117 +- .../v1/AndroidKeySettingsOrBuilder.java | 33 +- .../recaptchaenterprise/v1/Assessment.java | 444 +++-- .../v1/AssessmentOrBuilder.java | 111 +- .../google/recaptchaenterprise/v1/Event.java | 14 +- .../v1/EventOrBuilder.java | 4 +- .../v1/FirewallAction.java | 126 +- .../v1/FirewallPolicy.java | 334 ++-- .../v1/FirewallPolicyAssessment.java | 72 +- .../v1/FirewallPolicyAssessmentOrBuilder.java | 18 +- .../v1/FirewallPolicyOrBuilder.java | 86 +- .../v1/FraudPreventionAssessment.java | 317 ++-- .../FraudPreventionAssessmentOrBuilder.java | 53 +- .../v1/IOSKeySettings.java | 197 ++- .../v1/IOSKeySettingsOrBuilder.java | 50 +- .../google/recaptchaenterprise/v1/Key.java | 216 ++- .../recaptchaenterprise/v1/KeyOrBuilder.java | 64 +- .../v1/PrivatePasswordLeakVerification.java | 16 +- ...vatePasswordLeakVerificationOrBuilder.java | 4 +- .../v1/RecaptchaEnterpriseProto.java | 874 ++++----- .../recaptchaenterprise/v1/RiskAnalysis.java | 188 +- .../v1/RiskAnalysisOrBuilder.java | 56 +- .../v1/TestingOptions.java | 80 +- .../v1/TestingOptionsOrBuilder.java | 22 +- .../v1/TokenProperties.java | 299 ++-- .../v1/TokenPropertiesOrBuilder.java | 79 +- .../v1/TransactionData.java | 1555 +++++++++-------- .../v1/TransactionDataOrBuilder.java | 180 +- .../v1/WebKeySettings.java | 200 +-- .../v1/WebKeySettingsOrBuilder.java | 58 +- .../v1/recaptchaenterprise.proto | 466 ++--- 36 files changed, 3657 insertions(+), 2980 deletions(-) diff --git a/java-recaptchaenterprise/README.md b/java-recaptchaenterprise/README.md index 7729ea33a4a7..86e6d1e83e95 100644 --- a/java-recaptchaenterprise/README.md +++ b/java-recaptchaenterprise/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.24.0 + 26.26.0 pom import @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recaptchaenterprise.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.27.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountDefenderAssessment.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountDefenderAssessment.java index df3238d29c8f..24cd7b5b4ef7 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountDefenderAssessment.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountDefenderAssessment.java @@ -305,11 +305,11 @@ private AccountDefenderLabel(int value) { * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the labels. @@ -327,11 +327,11 @@ private AccountDefenderLabel(int value) { * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The count of labels. @@ -344,11 +344,11 @@ public int getLabelsCount() { * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the element to return. @@ -363,11 +363,11 @@ public com.google.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefend * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the enum numeric values on the wire for labels. @@ -380,11 +380,11 @@ public java.util.List getLabelsValueList() { * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the value to return. @@ -794,11 +794,11 @@ private void ensureLabelsIsMutable() { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the labels. @@ -815,11 +815,11 @@ private void ensureLabelsIsMutable() { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The count of labels. @@ -831,11 +831,11 @@ public int getLabelsCount() { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the element to return. @@ -849,11 +849,11 @@ public int getLabelsCount() { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index to set the value at. @@ -875,11 +875,11 @@ public Builder setLabels( * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The labels to add. @@ -899,11 +899,11 @@ public Builder addLabels( * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param values The labels to add. @@ -927,11 +927,11 @@ public Builder addAllLabels( * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return This builder for chaining. @@ -946,11 +946,11 @@ public Builder clearLabels() { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the enum numeric values on the wire for labels. @@ -962,11 +962,11 @@ public java.util.List getLabelsValueList() { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the value to return. @@ -979,11 +979,11 @@ public int getLabelsValue(int index) { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index to set the value at. @@ -1000,11 +1000,11 @@ public Builder setLabelsValue(int index, int value) { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The enum numeric value on the wire for labels to add. @@ -1020,11 +1020,11 @@ public Builder addLabelsValue(int value) { * * *
-     * Labels for this request.
+     * Output only. Labels for this request.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param values The enum numeric values on the wire for labels to add. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountDefenderAssessmentOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountDefenderAssessmentOrBuilder.java index 6ae86a849cf2..3107a0a9c655 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountDefenderAssessmentOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountDefenderAssessmentOrBuilder.java @@ -27,11 +27,11 @@ public interface AccountDefenderAssessmentOrBuilder * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the labels. @@ -42,11 +42,11 @@ public interface AccountDefenderAssessmentOrBuilder * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The count of labels. @@ -56,11 +56,11 @@ public interface AccountDefenderAssessmentOrBuilder * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the element to return. @@ -72,11 +72,11 @@ com.google.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the enum numeric values on the wire for labels. @@ -86,11 +86,11 @@ com.google.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel * * *
-   * Labels for this request.
+   * Output only. Labels for this request.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1; + * repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the value to return. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountVerificationInfo.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountVerificationInfo.java index 9f1b29f6c743..e1e4be757a80 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountVerificationInfo.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountVerificationInfo.java @@ -405,10 +405,11 @@ private Result(int value) { * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -420,10 +421,11 @@ private Result(int value) { * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -436,10 +438,11 @@ private Result(int value) { * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -450,10 +453,11 @@ public int getEndpointsCount() { * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -464,10 +468,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo getEndpoints(i * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -484,11 +489,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder getEn * * *
-   * Language code preference for the verification message, set as a IETF BCP 47
-   * language code.
+   * Optional. Language code preference for the verification message, set as a
+   * IETF BCP 47 language code.
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -508,11 +513,11 @@ public java.lang.String getLanguageCode() { * * *
-   * Language code preference for the verification message, set as a IETF BCP 47
-   * language code.
+   * Optional. Language code preference for the verification message, set as a
+   * IETF BCP 47 language code.
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -587,7 +592,7 @@ public int getLatestVerificationResultValue() { * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. - * See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @return The username. */ @java.lang.Override @@ -614,7 +619,7 @@ public java.lang.String getUsername() { * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. - * See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @return The bytes for username. */ @java.lang.Override @@ -1119,10 +1124,11 @@ private void ensureEndpointsIsMutable() { * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List @@ -1137,10 +1143,11 @@ private void ensureEndpointsIsMutable() { * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public int getEndpointsCount() { @@ -1154,10 +1161,11 @@ public int getEndpointsCount() { * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo getEndpoints(int index) { @@ -1171,10 +1179,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo getEndpoints(i * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setEndpoints( @@ -1195,10 +1204,11 @@ public Builder setEndpoints( * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setEndpoints( @@ -1217,10 +1227,11 @@ public Builder setEndpoints( * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addEndpoints(com.google.recaptchaenterprise.v1.EndpointVerificationInfo value) { @@ -1240,10 +1251,11 @@ public Builder addEndpoints(com.google.recaptchaenterprise.v1.EndpointVerificati * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addEndpoints( @@ -1264,10 +1276,11 @@ public Builder addEndpoints( * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addEndpoints( @@ -1285,10 +1298,11 @@ public Builder addEndpoints( * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addEndpoints( @@ -1307,10 +1321,11 @@ public Builder addEndpoints( * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addAllEndpoints( @@ -1329,10 +1344,11 @@ public Builder addAllEndpoints( * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearEndpoints() { @@ -1349,10 +1365,11 @@ public Builder clearEndpoints() { * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder removeEndpoints(int index) { @@ -1369,10 +1386,11 @@ public Builder removeEndpoints(int index) { * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder getEndpointsBuilder( @@ -1383,10 +1401,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder getEnd * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder @@ -1401,10 +1420,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder getEnd * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List< @@ -1420,10 +1440,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder getEnd * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder @@ -1436,10 +1457,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder getEnd * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder addEndpointsBuilder( @@ -1453,10 +1475,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder addEnd * * *
-     * Endpoints that can be used for identity verification.
+     * Optional. Endpoints that can be used for identity verification.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List @@ -1486,11 +1509,11 @@ public com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder addEnd * * *
-     * Language code preference for the verification message, set as a IETF BCP 47
-     * language code.
+     * Optional. Language code preference for the verification message, set as a
+     * IETF BCP 47 language code.
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -1509,11 +1532,11 @@ public java.lang.String getLanguageCode() { * * *
-     * Language code preference for the verification message, set as a IETF BCP 47
-     * language code.
+     * Optional. Language code preference for the verification message, set as a
+     * IETF BCP 47 language code.
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -1532,11 +1555,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *
-     * Language code preference for the verification message, set as a IETF BCP 47
-     * language code.
+     * Optional. Language code preference for the verification message, set as a
+     * IETF BCP 47 language code.
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The languageCode to set. * @return This builder for chaining. @@ -1554,11 +1577,11 @@ public Builder setLanguageCode(java.lang.String value) { * * *
-     * Language code preference for the verification message, set as a IETF BCP 47
-     * language code.
+     * Optional. Language code preference for the verification message, set as a
+     * IETF BCP 47 language code.
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1572,11 +1595,11 @@ public Builder clearLanguageCode() { * * *
-     * Language code preference for the verification message, set as a IETF BCP 47
-     * language code.
+     * Optional. Language code preference for the verification message, set as a
+     * IETF BCP 47 language code.
      * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for languageCode to set. * @return This builder for chaining. @@ -1709,7 +1732,7 @@ public Builder clearLatestVerificationResult() { * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is - * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @return The username. */ @java.lang.Deprecated @@ -1735,7 +1758,7 @@ public java.lang.String getUsername() { * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is - * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @return The bytes for username. */ @java.lang.Deprecated @@ -1761,7 +1784,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is - * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @param value The username to set. * @return This builder for chaining. */ @@ -1786,7 +1809,7 @@ public Builder setUsername(java.lang.String value) { * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is - * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1807,7 +1830,7 @@ public Builder clearUsername() { * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is - * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @param value The bytes for username to set. * @return This builder for chaining. */ diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountVerificationInfoOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountVerificationInfoOrBuilder.java index d4c1092dfdd4..d107463a96b7 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountVerificationInfoOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AccountVerificationInfoOrBuilder.java @@ -27,10 +27,11 @@ public interface AccountVerificationInfoOrBuilder * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getEndpointsList(); @@ -38,10 +39,11 @@ public interface AccountVerificationInfoOrBuilder * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.recaptchaenterprise.v1.EndpointVerificationInfo getEndpoints(int index); @@ -49,10 +51,11 @@ public interface AccountVerificationInfoOrBuilder * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ int getEndpointsCount(); @@ -60,10 +63,11 @@ public interface AccountVerificationInfoOrBuilder * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List @@ -72,10 +76,11 @@ public interface AccountVerificationInfoOrBuilder * * *
-   * Endpoints that can be used for identity verification.
+   * Optional. Endpoints that can be used for identity verification.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1; + * + * repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder getEndpointsOrBuilder( @@ -85,11 +90,11 @@ com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder getEndpoints * * *
-   * Language code preference for the verification message, set as a IETF BCP 47
-   * language code.
+   * Optional. Language code preference for the verification message, set as a
+   * IETF BCP 47 language code.
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The languageCode. */ @@ -98,11 +103,11 @@ com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder getEndpoints * * *
-   * Language code preference for the verification message, set as a IETF BCP 47
-   * language code.
+   * Optional. Language code preference for the verification message, set as a
+   * IETF BCP 47 language code.
    * 
* - * string language_code = 3; + * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for languageCode. */ @@ -148,7 +153,7 @@ com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder getEndpoints * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. - * See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @return The username. */ @java.lang.Deprecated @@ -164,7 +169,7 @@ com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder getEndpoints * string username = 2 [deprecated = true]; * * @deprecated google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. - * See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=552 + * See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=553 * @return The bytes for username. */ @java.lang.Deprecated diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AndroidKeySettings.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AndroidKeySettings.java index 11714fecc57c..e223e7810470 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AndroidKeySettings.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AndroidKeySettings.java @@ -68,10 +68,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * If set to true, allowed_package_names are not enforced.
+   * Optional. If set to true, allowed_package_names are not enforced.
    * 
* - * bool allow_all_package_names = 2; + * bool allow_all_package_names = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllPackageNames. */ @@ -89,11 +89,12 @@ public boolean getAllowAllPackageNames() { * * *
-   * Android package names of apps allowed to use the key.
+   * Optional. Android package names of apps allowed to use the key.
    * Example: 'com.companyname.appname'
    * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return A list containing the allowedPackageNames. */ @@ -104,11 +105,12 @@ public com.google.protobuf.ProtocolStringList getAllowedPackageNamesList() { * * *
-   * Android package names of apps allowed to use the key.
+   * Optional. Android package names of apps allowed to use the key.
    * Example: 'com.companyname.appname'
    * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The count of allowedPackageNames. */ @@ -119,11 +121,12 @@ public int getAllowedPackageNamesCount() { * * *
-   * Android package names of apps allowed to use the key.
+   * Optional. Android package names of apps allowed to use the key.
    * Example: 'com.companyname.appname'
    * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index of the element to return. * @return The allowedPackageNames at the given index. @@ -135,11 +138,12 @@ public java.lang.String getAllowedPackageNames(int index) { * * *
-   * Android package names of apps allowed to use the key.
+   * Optional. Android package names of apps allowed to use the key.
    * Example: 'com.companyname.appname'
    * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index of the value to return. * @return The bytes of the allowedPackageNames at the given index. @@ -154,11 +158,14 @@ public com.google.protobuf.ByteString getAllowedPackageNamesBytes(int index) { * * *
-   * Set to true for keys that are used in an Android application that is
-   * available for download in app stores in addition to the Google Play Store.
+   * Optional. Set to true for keys that are used in an Android application that
+   * is available for download in app stores in addition to the Google Play
+   * Store.
    * 
* - * bool support_non_google_app_store_distribution = 3; + * + * bool support_non_google_app_store_distribution = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The supportNonGoogleAppStoreDistribution. */ @@ -577,10 +584,10 @@ public Builder mergeFrom( * * *
-     * If set to true, allowed_package_names are not enforced.
+     * Optional. If set to true, allowed_package_names are not enforced.
      * 
* - * bool allow_all_package_names = 2; + * bool allow_all_package_names = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllPackageNames. */ @@ -592,10 +599,10 @@ public boolean getAllowAllPackageNames() { * * *
-     * If set to true, allowed_package_names are not enforced.
+     * Optional. If set to true, allowed_package_names are not enforced.
      * 
* - * bool allow_all_package_names = 2; + * bool allow_all_package_names = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The allowAllPackageNames to set. * @return This builder for chaining. @@ -611,10 +618,10 @@ public Builder setAllowAllPackageNames(boolean value) { * * *
-     * If set to true, allowed_package_names are not enforced.
+     * Optional. If set to true, allowed_package_names are not enforced.
      * 
* - * bool allow_all_package_names = 2; + * bool allow_all_package_names = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -638,11 +645,12 @@ private void ensureAllowedPackageNamesIsMutable() { * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return A list containing the allowedPackageNames. */ @@ -654,11 +662,12 @@ public com.google.protobuf.ProtocolStringList getAllowedPackageNamesList() { * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The count of allowedPackageNames. */ @@ -669,11 +678,12 @@ public int getAllowedPackageNamesCount() { * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index of the element to return. * @return The allowedPackageNames at the given index. @@ -685,11 +695,12 @@ public java.lang.String getAllowedPackageNames(int index) { * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index of the value to return. * @return The bytes of the allowedPackageNames at the given index. @@ -701,11 +712,12 @@ public com.google.protobuf.ByteString getAllowedPackageNamesBytes(int index) { * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index to set the value at. * @param value The allowedPackageNames to set. @@ -725,11 +737,12 @@ public Builder setAllowedPackageNames(int index, java.lang.String value) { * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The allowedPackageNames to add. * @return This builder for chaining. @@ -748,11 +761,12 @@ public Builder addAllowedPackageNames(java.lang.String value) { * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param values The allowedPackageNames to add. * @return This builder for chaining. @@ -768,11 +782,12 @@ public Builder addAllAllowedPackageNames(java.lang.Iterable va * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return This builder for chaining. */ @@ -787,11 +802,12 @@ public Builder clearAllowedPackageNames() { * * *
-     * Android package names of apps allowed to use the key.
+     * Optional. Android package names of apps allowed to use the key.
      * Example: 'com.companyname.appname'
      * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The bytes of the allowedPackageNames to add. * @return This builder for chaining. @@ -813,11 +829,14 @@ public Builder addAllowedPackageNamesBytes(com.google.protobuf.ByteString value) * * *
-     * Set to true for keys that are used in an Android application that is
-     * available for download in app stores in addition to the Google Play Store.
+     * Optional. Set to true for keys that are used in an Android application that
+     * is available for download in app stores in addition to the Google Play
+     * Store.
      * 
* - * bool support_non_google_app_store_distribution = 3; + * + * bool support_non_google_app_store_distribution = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The supportNonGoogleAppStoreDistribution. */ @@ -829,11 +848,14 @@ public boolean getSupportNonGoogleAppStoreDistribution() { * * *
-     * Set to true for keys that are used in an Android application that is
-     * available for download in app stores in addition to the Google Play Store.
+     * Optional. Set to true for keys that are used in an Android application that
+     * is available for download in app stores in addition to the Google Play
+     * Store.
      * 
* - * bool support_non_google_app_store_distribution = 3; + * + * bool support_non_google_app_store_distribution = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The supportNonGoogleAppStoreDistribution to set. * @return This builder for chaining. @@ -849,11 +871,14 @@ public Builder setSupportNonGoogleAppStoreDistribution(boolean value) { * * *
-     * Set to true for keys that are used in an Android application that is
-     * available for download in app stores in addition to the Google Play Store.
+     * Optional. Set to true for keys that are used in an Android application that
+     * is available for download in app stores in addition to the Google Play
+     * Store.
      * 
* - * bool support_non_google_app_store_distribution = 3; + * + * bool support_non_google_app_store_distribution = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return This builder for chaining. */ diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AndroidKeySettingsOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AndroidKeySettingsOrBuilder.java index 54d3d1b1bdb6..3d0ee4504a91 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AndroidKeySettingsOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AndroidKeySettingsOrBuilder.java @@ -27,10 +27,10 @@ public interface AndroidKeySettingsOrBuilder * * *
-   * If set to true, allowed_package_names are not enforced.
+   * Optional. If set to true, allowed_package_names are not enforced.
    * 
* - * bool allow_all_package_names = 2; + * bool allow_all_package_names = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllPackageNames. */ @@ -40,11 +40,12 @@ public interface AndroidKeySettingsOrBuilder * * *
-   * Android package names of apps allowed to use the key.
+   * Optional. Android package names of apps allowed to use the key.
    * Example: 'com.companyname.appname'
    * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return A list containing the allowedPackageNames. */ @@ -53,11 +54,12 @@ public interface AndroidKeySettingsOrBuilder * * *
-   * Android package names of apps allowed to use the key.
+   * Optional. Android package names of apps allowed to use the key.
    * Example: 'com.companyname.appname'
    * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The count of allowedPackageNames. */ @@ -66,11 +68,12 @@ public interface AndroidKeySettingsOrBuilder * * *
-   * Android package names of apps allowed to use the key.
+   * Optional. Android package names of apps allowed to use the key.
    * Example: 'com.companyname.appname'
    * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index of the element to return. * @return The allowedPackageNames at the given index. @@ -80,11 +83,12 @@ public interface AndroidKeySettingsOrBuilder * * *
-   * Android package names of apps allowed to use the key.
+   * Optional. Android package names of apps allowed to use the key.
    * Example: 'com.companyname.appname'
    * 
* - * repeated string allowed_package_names = 1; + * repeated string allowed_package_names = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index of the value to return. * @return The bytes of the allowedPackageNames at the given index. @@ -95,11 +99,14 @@ public interface AndroidKeySettingsOrBuilder * * *
-   * Set to true for keys that are used in an Android application that is
-   * available for download in app stores in addition to the Google Play Store.
+   * Optional. Set to true for keys that are used in an Android application that
+   * is available for download in app stores in addition to the Google Play
+   * Store.
    * 
* - * bool support_non_google_app_store_distribution = 3; + * + * bool support_non_google_app_store_distribution = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The supportNonGoogleAppStoreDistribution. */ diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Assessment.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Assessment.java index 1eb1c0f0c947..56a5f95f2819 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Assessment.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Assessment.java @@ -121,10 +121,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The event being assessed.
+   * Optional. The event being assessed.
    * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the event field is set. */ @@ -136,10 +138,12 @@ public boolean hasEvent() { * * *
-   * The event being assessed.
+   * Optional. The event being assessed.
    * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The event. */ @@ -151,10 +155,12 @@ public com.google.recaptchaenterprise.v1.Event getEvent() { * * *
-   * The event being assessed.
+   * Optional. The event being assessed.
    * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.EventOrBuilder getEventOrBuilder() { @@ -279,11 +285,12 @@ public com.google.recaptchaenterprise.v1.TokenPropertiesOrBuilder getTokenProper * * *
-   * Account verification information for identity verification. The assessment
-   * event must include a token and site key to use this feature.
+   * Optional. Account verification information for identity verification. The
+   * assessment event must include a token and site key to use this feature.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the accountVerification field is set. @@ -296,11 +303,12 @@ public boolean hasAccountVerification() { * * *
-   * Account verification information for identity verification. The assessment
-   * event must include a token and site key to use this feature.
+   * Optional. Account verification information for identity verification. The
+   * assessment event must include a token and site key to use this feature.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The accountVerification. @@ -315,11 +323,12 @@ public com.google.recaptchaenterprise.v1.AccountVerificationInfo getAccountVerif * * *
-   * Account verification information for identity verification. The assessment
-   * event must include a token and site key to use this feature.
+   * Optional. Account verification information for identity verification. The
+   * assessment event must include a token and site key to use this feature.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -336,12 +345,12 @@ public com.google.recaptchaenterprise.v1.AccountVerificationInfo getAccountVerif * * *
-   * Assessment returned by account defender when a hashed_account_id is
-   * provided.
+   * Output only. Assessment returned by account defender when a
+   * hashed_account_id is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the accountDefenderAssessment field is set. @@ -354,12 +363,12 @@ public boolean hasAccountDefenderAssessment() { * * *
-   * Assessment returned by account defender when a hashed_account_id is
-   * provided.
+   * Output only. Assessment returned by account defender when a
+   * hashed_account_id is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The accountDefenderAssessment. @@ -375,12 +384,12 @@ public boolean hasAccountDefenderAssessment() { * * *
-   * Assessment returned by account defender when a hashed_account_id is
-   * provided.
+   * Output only. Assessment returned by account defender when a
+   * hashed_account_id is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override @@ -398,12 +407,13 @@ public boolean hasAccountDefenderAssessment() { * * *
-   * The private password leak verification field contains the parameters that
-   * are used to to check for leaks privately without sharing user credentials.
+   * Optional. The private password leak verification field contains the
+   * parameters that are used to to check for leaks privately without sharing
+   * user credentials.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the privatePasswordLeakVerification field is set. @@ -416,12 +426,13 @@ public boolean hasPrivatePasswordLeakVerification() { * * *
-   * The private password leak verification field contains the parameters that
-   * are used to to check for leaks privately without sharing user credentials.
+   * Optional. The private password leak verification field contains the
+   * parameters that are used to to check for leaks privately without sharing
+   * user credentials.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The privatePasswordLeakVerification. @@ -437,12 +448,13 @@ public boolean hasPrivatePasswordLeakVerification() { * * *
-   * The private password leak verification field contains the parameters that
-   * are used to to check for leaks privately without sharing user credentials.
+   * Optional. The private password leak verification field contains the
+   * parameters that are used to to check for leaks privately without sharing
+   * user credentials.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -459,12 +471,12 @@ public boolean hasPrivatePasswordLeakVerification() { * * *
-   * Assessment returned when firewall policies belonging to the project are
-   * evaluated using the field firewall_policy_evaluation.
+   * Output only. Assessment returned when firewall policies belonging to the
+   * project are evaluated using the field firewall_policy_evaluation.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the firewallPolicyAssessment field is set. @@ -477,12 +489,12 @@ public boolean hasFirewallPolicyAssessment() { * * *
-   * Assessment returned when firewall policies belonging to the project are
-   * evaluated using the field firewall_policy_evaluation.
+   * Output only. Assessment returned when firewall policies belonging to the
+   * project are evaluated using the field firewall_policy_evaluation.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The firewallPolicyAssessment. @@ -497,12 +509,12 @@ public com.google.recaptchaenterprise.v1.FirewallPolicyAssessment getFirewallPol * * *
-   * Assessment returned when firewall policies belonging to the project are
-   * evaluated using the field firewall_policy_evaluation.
+   * Output only. Assessment returned when firewall policies belonging to the
+   * project are evaluated using the field firewall_policy_evaluation.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override @@ -519,11 +531,12 @@ public com.google.recaptchaenterprise.v1.FirewallPolicyAssessment getFirewallPol * * *
-   * Assessment returned by Fraud Prevention when TransactionData is provided.
+   * Output only. Assessment returned by Fraud Prevention when TransactionData
+   * is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the fraudPreventionAssessment field is set. @@ -536,11 +549,12 @@ public boolean hasFraudPreventionAssessment() { * * *
-   * Assessment returned by Fraud Prevention when TransactionData is provided.
+   * Output only. Assessment returned by Fraud Prevention when TransactionData
+   * is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The fraudPreventionAssessment. @@ -556,11 +570,12 @@ public boolean hasFraudPreventionAssessment() { * * *
-   * Assessment returned by Fraud Prevention when TransactionData is provided.
+   * Output only. Assessment returned by Fraud Prevention when TransactionData
+   * is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override @@ -1407,10 +1422,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the event field is set. */ @@ -1421,10 +1438,12 @@ public boolean hasEvent() { * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The event. */ @@ -1441,10 +1460,12 @@ public com.google.recaptchaenterprise.v1.Event getEvent() { * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEvent(com.google.recaptchaenterprise.v1.Event value) { if (eventBuilder_ == null) { @@ -1463,10 +1484,12 @@ public Builder setEvent(com.google.recaptchaenterprise.v1.Event value) { * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEvent(com.google.recaptchaenterprise.v1.Event.Builder builderForValue) { if (eventBuilder_ == null) { @@ -1482,10 +1505,12 @@ public Builder setEvent(com.google.recaptchaenterprise.v1.Event.Builder builderF * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEvent(com.google.recaptchaenterprise.v1.Event value) { if (eventBuilder_ == null) { @@ -1507,10 +1532,12 @@ public Builder mergeEvent(com.google.recaptchaenterprise.v1.Event value) { * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEvent() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1526,10 +1553,12 @@ public Builder clearEvent() { * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.Event.Builder getEventBuilder() { bitField0_ |= 0x00000002; @@ -1540,10 +1569,12 @@ public com.google.recaptchaenterprise.v1.Event.Builder getEventBuilder() { * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.EventOrBuilder getEventOrBuilder() { if (eventBuilder_ != null) { @@ -1558,10 +1589,12 @@ public com.google.recaptchaenterprise.v1.EventOrBuilder getEventOrBuilder() { * * *
-     * The event being assessed.
+     * Optional. The event being assessed.
      * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.recaptchaenterprise.v1.Event, @@ -1997,11 +2030,12 @@ public com.google.recaptchaenterprise.v1.TokenProperties.Builder getTokenPropert * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the accountVerification field is set. @@ -2013,11 +2047,12 @@ public boolean hasAccountVerification() { * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The accountVerification. @@ -2035,11 +2070,12 @@ public com.google.recaptchaenterprise.v1.AccountVerificationInfo getAccountVerif * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setAccountVerification( @@ -2060,11 +2096,12 @@ public Builder setAccountVerification( * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setAccountVerification( @@ -2082,11 +2119,12 @@ public Builder setAccountVerification( * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeAccountVerification( @@ -2111,11 +2149,12 @@ public Builder mergeAccountVerification( * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearAccountVerification() { @@ -2132,11 +2171,12 @@ public Builder clearAccountVerification() { * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.AccountVerificationInfo.Builder @@ -2149,11 +2189,12 @@ public Builder clearAccountVerification() { * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.AccountVerificationInfoOrBuilder @@ -2170,11 +2211,12 @@ public Builder clearAccountVerification() { * * *
-     * Account verification information for identity verification. The assessment
-     * event must include a token and site key to use this feature.
+     * Optional. Account verification information for identity verification. The
+     * assessment event must include a token and site key to use this feature.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -2204,12 +2246,12 @@ public Builder clearAccountVerification() { * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the accountDefenderAssessment field is set. @@ -2221,12 +2263,12 @@ public boolean hasAccountDefenderAssessment() { * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The accountDefenderAssessment. @@ -2245,12 +2287,12 @@ public boolean hasAccountDefenderAssessment() { * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setAccountDefenderAssessment( @@ -2271,12 +2313,12 @@ public Builder setAccountDefenderAssessment( * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setAccountDefenderAssessment( @@ -2294,12 +2336,12 @@ public Builder setAccountDefenderAssessment( * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeAccountDefenderAssessment( @@ -2325,12 +2367,12 @@ public Builder mergeAccountDefenderAssessment( * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearAccountDefenderAssessment() { @@ -2347,12 +2389,12 @@ public Builder clearAccountDefenderAssessment() { * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.AccountDefenderAssessment.Builder @@ -2365,12 +2407,12 @@ public Builder clearAccountDefenderAssessment() { * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.AccountDefenderAssessmentOrBuilder @@ -2387,12 +2429,12 @@ public Builder clearAccountDefenderAssessment() { * * *
-     * Assessment returned by account defender when a hashed_account_id is
-     * provided.
+     * Output only. Assessment returned by account defender when a
+     * hashed_account_id is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -2423,12 +2465,13 @@ public Builder clearAccountDefenderAssessment() { * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the privatePasswordLeakVerification field is set. @@ -2440,12 +2483,13 @@ public boolean hasPrivatePasswordLeakVerification() { * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The privatePasswordLeakVerification. @@ -2464,12 +2508,13 @@ public boolean hasPrivatePasswordLeakVerification() { * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setPrivatePasswordLeakVerification( @@ -2490,12 +2535,13 @@ public Builder setPrivatePasswordLeakVerification( * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setPrivatePasswordLeakVerification( @@ -2513,12 +2559,13 @@ public Builder setPrivatePasswordLeakVerification( * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergePrivatePasswordLeakVerification( @@ -2544,12 +2591,13 @@ public Builder mergePrivatePasswordLeakVerification( * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearPrivatePasswordLeakVerification() { @@ -2566,12 +2614,13 @@ public Builder clearPrivatePasswordLeakVerification() { * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.PrivatePasswordLeakVerification.Builder @@ -2584,12 +2633,13 @@ public Builder clearPrivatePasswordLeakVerification() { * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.PrivatePasswordLeakVerificationOrBuilder @@ -2606,12 +2656,13 @@ public Builder clearPrivatePasswordLeakVerification() { * * *
-     * The private password leak verification field contains the parameters that
-     * are used to to check for leaks privately without sharing user credentials.
+     * Optional. The private password leak verification field contains the
+     * parameters that are used to to check for leaks privately without sharing
+     * user credentials.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -2641,12 +2692,12 @@ public Builder clearPrivatePasswordLeakVerification() { * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the firewallPolicyAssessment field is set. @@ -2658,12 +2709,12 @@ public boolean hasFirewallPolicyAssessment() { * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The firewallPolicyAssessment. @@ -2682,12 +2733,12 @@ public boolean hasFirewallPolicyAssessment() { * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setFirewallPolicyAssessment( @@ -2708,12 +2759,12 @@ public Builder setFirewallPolicyAssessment( * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setFirewallPolicyAssessment( @@ -2731,12 +2782,12 @@ public Builder setFirewallPolicyAssessment( * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeFirewallPolicyAssessment( @@ -2762,12 +2813,12 @@ public Builder mergeFirewallPolicyAssessment( * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearFirewallPolicyAssessment() { @@ -2784,12 +2835,12 @@ public Builder clearFirewallPolicyAssessment() { * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FirewallPolicyAssessment.Builder @@ -2802,12 +2853,12 @@ public Builder clearFirewallPolicyAssessment() { * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FirewallPolicyAssessmentOrBuilder @@ -2824,12 +2875,12 @@ public Builder clearFirewallPolicyAssessment() { * * *
-     * Assessment returned when firewall policies belonging to the project are
-     * evaluated using the field firewall_policy_evaluation.
+     * Output only. Assessment returned when firewall policies belonging to the
+     * project are evaluated using the field firewall_policy_evaluation.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -2859,11 +2910,12 @@ public Builder clearFirewallPolicyAssessment() { * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the fraudPreventionAssessment field is set. @@ -2875,11 +2927,12 @@ public boolean hasFraudPreventionAssessment() { * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The fraudPreventionAssessment. @@ -2898,11 +2951,12 @@ public boolean hasFraudPreventionAssessment() { * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setFraudPreventionAssessment( @@ -2923,11 +2977,12 @@ public Builder setFraudPreventionAssessment( * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setFraudPreventionAssessment( @@ -2945,11 +3000,12 @@ public Builder setFraudPreventionAssessment( * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeFraudPreventionAssessment( @@ -2975,11 +3031,12 @@ public Builder mergeFraudPreventionAssessment( * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearFraudPreventionAssessment() { @@ -2996,11 +3053,12 @@ public Builder clearFraudPreventionAssessment() { * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FraudPreventionAssessment.Builder @@ -3013,11 +3071,12 @@ public Builder clearFraudPreventionAssessment() { * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FraudPreventionAssessmentOrBuilder @@ -3034,11 +3093,12 @@ public Builder clearFraudPreventionAssessment() { * * *
-     * Assessment returned by Fraud Prevention when TransactionData is provided.
+     * Output only. Assessment returned by Fraud Prevention when TransactionData
+     * is provided.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AssessmentOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AssessmentOrBuilder.java index 025d0d6b0324..31653852aec0 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AssessmentOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AssessmentOrBuilder.java @@ -54,10 +54,12 @@ public interface AssessmentOrBuilder * * *
-   * The event being assessed.
+   * Optional. The event being assessed.
    * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the event field is set. */ @@ -66,10 +68,12 @@ public interface AssessmentOrBuilder * * *
-   * The event being assessed.
+   * Optional. The event being assessed.
    * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The event. */ @@ -78,10 +82,12 @@ public interface AssessmentOrBuilder * * *
-   * The event being assessed.
+   * Optional. The event being assessed.
    * 
* - * .google.cloud.recaptchaenterprise.v1.Event event = 2; + * + * .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.EventOrBuilder getEventOrBuilder(); @@ -171,11 +177,12 @@ public interface AssessmentOrBuilder * * *
-   * Account verification information for identity verification. The assessment
-   * event must include a token and site key to use this feature.
+   * Optional. Account verification information for identity verification. The
+   * assessment event must include a token and site key to use this feature.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the accountVerification field is set. @@ -185,11 +192,12 @@ public interface AssessmentOrBuilder * * *
-   * Account verification information for identity verification. The assessment
-   * event must include a token and site key to use this feature.
+   * Optional. Account verification information for identity verification. The
+   * assessment event must include a token and site key to use this feature.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The accountVerification. @@ -199,11 +207,12 @@ public interface AssessmentOrBuilder * * *
-   * Account verification information for identity verification. The assessment
-   * event must include a token and site key to use this feature.
+   * Optional. Account verification information for identity verification. The
+   * assessment event must include a token and site key to use this feature.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5; + * + * .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.recaptchaenterprise.v1.AccountVerificationInfoOrBuilder @@ -213,12 +222,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned by account defender when a hashed_account_id is
-   * provided.
+   * Output only. Assessment returned by account defender when a
+   * hashed_account_id is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the accountDefenderAssessment field is set. @@ -228,12 +237,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned by account defender when a hashed_account_id is
-   * provided.
+   * Output only. Assessment returned by account defender when a
+   * hashed_account_id is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The accountDefenderAssessment. @@ -243,12 +252,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned by account defender when a hashed_account_id is
-   * provided.
+   * Output only. Assessment returned by account defender when a
+   * hashed_account_id is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6; + * .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.recaptchaenterprise.v1.AccountDefenderAssessmentOrBuilder @@ -258,12 +267,13 @@ public interface AssessmentOrBuilder * * *
-   * The private password leak verification field contains the parameters that
-   * are used to to check for leaks privately without sharing user credentials.
+   * Optional. The private password leak verification field contains the
+   * parameters that are used to to check for leaks privately without sharing
+   * user credentials.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the privatePasswordLeakVerification field is set. @@ -273,12 +283,13 @@ public interface AssessmentOrBuilder * * *
-   * The private password leak verification field contains the parameters that
-   * are used to to check for leaks privately without sharing user credentials.
+   * Optional. The private password leak verification field contains the
+   * parameters that are used to to check for leaks privately without sharing
+   * user credentials.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The privatePasswordLeakVerification. @@ -289,12 +300,13 @@ public interface AssessmentOrBuilder * * *
-   * The private password leak verification field contains the parameters that
-   * are used to to check for leaks privately without sharing user credentials.
+   * Optional. The private password leak verification field contains the
+   * parameters that are used to to check for leaks privately without sharing
+   * user credentials.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8; + * .google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.recaptchaenterprise.v1.PrivatePasswordLeakVerificationOrBuilder @@ -304,12 +316,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned when firewall policies belonging to the project are
-   * evaluated using the field firewall_policy_evaluation.
+   * Output only. Assessment returned when firewall policies belonging to the
+   * project are evaluated using the field firewall_policy_evaluation.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the firewallPolicyAssessment field is set. @@ -319,12 +331,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned when firewall policies belonging to the project are
-   * evaluated using the field firewall_policy_evaluation.
+   * Output only. Assessment returned when firewall policies belonging to the
+   * project are evaluated using the field firewall_policy_evaluation.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The firewallPolicyAssessment. @@ -334,12 +346,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned when firewall policies belonging to the project are
-   * evaluated using the field firewall_policy_evaluation.
+   * Output only. Assessment returned when firewall policies belonging to the
+   * project are evaluated using the field firewall_policy_evaluation.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10; + * .google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.recaptchaenterprise.v1.FirewallPolicyAssessmentOrBuilder @@ -349,11 +361,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned by Fraud Prevention when TransactionData is provided.
+   * Output only. Assessment returned by Fraud Prevention when TransactionData
+   * is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the fraudPreventionAssessment field is set. @@ -363,11 +376,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned by Fraud Prevention when TransactionData is provided.
+   * Output only. Assessment returned by Fraud Prevention when TransactionData
+   * is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The fraudPreventionAssessment. @@ -377,11 +391,12 @@ public interface AssessmentOrBuilder * * *
-   * Assessment returned by Fraud Prevention when TransactionData is provided.
+   * Output only. Assessment returned by Fraud Prevention when TransactionData
+   * is provided.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.recaptchaenterprise.v1.FraudPreventionAssessmentOrBuilder diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Event.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Event.java index fa3c2f1354f7..889c85c7d203 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Event.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Event.java @@ -455,7 +455,7 @@ public boolean getWafTokenAssessment() { * * *
-   * Optional. Optional JA3 fingerprint for SSL clients.
+   * Optional. JA3 fingerprint for SSL clients.
    * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; @@ -478,7 +478,7 @@ public java.lang.String getJa3() { * * *
-   * Optional. Optional JA3 fingerprint for SSL clients.
+   * Optional. JA3 fingerprint for SSL clients.
    * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; @@ -2133,7 +2133,7 @@ public Builder clearWafTokenAssessment() { * * *
-     * Optional. Optional JA3 fingerprint for SSL clients.
+     * Optional. JA3 fingerprint for SSL clients.
      * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; @@ -2155,7 +2155,7 @@ public java.lang.String getJa3() { * * *
-     * Optional. Optional JA3 fingerprint for SSL clients.
+     * Optional. JA3 fingerprint for SSL clients.
      * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; @@ -2177,7 +2177,7 @@ public com.google.protobuf.ByteString getJa3Bytes() { * * *
-     * Optional. Optional JA3 fingerprint for SSL clients.
+     * Optional. JA3 fingerprint for SSL clients.
      * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; @@ -2198,7 +2198,7 @@ public Builder setJa3(java.lang.String value) { * * *
-     * Optional. Optional JA3 fingerprint for SSL clients.
+     * Optional. JA3 fingerprint for SSL clients.
      * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; @@ -2215,7 +2215,7 @@ public Builder clearJa3() { * * *
-     * Optional. Optional JA3 fingerprint for SSL clients.
+     * Optional. JA3 fingerprint for SSL clients.
      * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/EventOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/EventOrBuilder.java index 8a8ce7556541..d1e71e2fd829 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/EventOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/EventOrBuilder.java @@ -233,7 +233,7 @@ public interface EventOrBuilder * * *
-   * Optional. Optional JA3 fingerprint for SSL clients.
+   * Optional. JA3 fingerprint for SSL clients.
    * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; @@ -245,7 +245,7 @@ public interface EventOrBuilder * * *
-   * Optional. Optional JA3 fingerprint for SSL clients.
+   * Optional. JA3 fingerprint for SSL clients.
    * 
* * string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallAction.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallAction.java index 05599c10ef15..2b0091094c46 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallAction.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallAction.java @@ -1361,11 +1361,11 @@ public interface SubstituteActionOrBuilder * * *
-     * The address to redirect to. The target is a relative path in the
-     * current host. Example: "/blog/404.html".
+     * Optional. The address to redirect to. The target is a relative path in
+     * the current host. Example: "/blog/404.html".
      * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The path. */ @@ -1374,11 +1374,11 @@ public interface SubstituteActionOrBuilder * * *
-     * The address to redirect to. The target is a relative path in the
-     * current host. Example: "/blog/404.html".
+     * Optional. The address to redirect to. The target is a relative path in
+     * the current host. Example: "/blog/404.html".
      * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for path. */ @@ -1437,11 +1437,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * The address to redirect to. The target is a relative path in the
-     * current host. Example: "/blog/404.html".
+     * Optional. The address to redirect to. The target is a relative path in
+     * the current host. Example: "/blog/404.html".
      * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The path. */ @@ -1461,11 +1461,11 @@ public java.lang.String getPath() { * * *
-     * The address to redirect to. The target is a relative path in the
-     * current host. Example: "/blog/404.html".
+     * Optional. The address to redirect to. The target is a relative path in
+     * the current host. Example: "/blog/404.html".
      * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for path. */ @@ -1843,11 +1843,11 @@ public Builder mergeFrom( * * *
-       * The address to redirect to. The target is a relative path in the
-       * current host. Example: "/blog/404.html".
+       * Optional. The address to redirect to. The target is a relative path in
+       * the current host. Example: "/blog/404.html".
        * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The path. */ @@ -1866,11 +1866,11 @@ public java.lang.String getPath() { * * *
-       * The address to redirect to. The target is a relative path in the
-       * current host. Example: "/blog/404.html".
+       * Optional. The address to redirect to. The target is a relative path in
+       * the current host. Example: "/blog/404.html".
        * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for path. */ @@ -1889,11 +1889,11 @@ public com.google.protobuf.ByteString getPathBytes() { * * *
-       * The address to redirect to. The target is a relative path in the
-       * current host. Example: "/blog/404.html".
+       * Optional. The address to redirect to. The target is a relative path in
+       * the current host. Example: "/blog/404.html".
        * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The path to set. * @return This builder for chaining. @@ -1911,11 +1911,11 @@ public Builder setPath(java.lang.String value) { * * *
-       * The address to redirect to. The target is a relative path in the
-       * current host. Example: "/blog/404.html".
+       * Optional. The address to redirect to. The target is a relative path in
+       * the current host. Example: "/blog/404.html".
        * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1929,11 +1929,11 @@ public Builder clearPath() { * * *
-       * The address to redirect to. The target is a relative path in the
-       * current host. Example: "/blog/404.html".
+       * Optional. The address to redirect to. The target is a relative path in
+       * the current host. Example: "/blog/404.html".
        * 
* - * string path = 1; + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for path to set. * @return This builder for chaining. @@ -2025,10 +2025,10 @@ public interface SetHeaderActionOrBuilder * * *
-     * The header key to set in the request to the backend server.
+     * Optional. The header key to set in the request to the backend server.
      * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The key. */ @@ -2037,10 +2037,10 @@ public interface SetHeaderActionOrBuilder * * *
-     * The header key to set in the request to the backend server.
+     * Optional. The header key to set in the request to the backend server.
      * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for key. */ @@ -2050,10 +2050,10 @@ public interface SetHeaderActionOrBuilder * * *
-     * The header value to set in the request to the backend server.
+     * Optional. The header value to set in the request to the backend server.
      * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -2062,10 +2062,10 @@ public interface SetHeaderActionOrBuilder * * *
-     * The header value to set in the request to the backend server.
+     * Optional. The header value to set in the request to the backend server.
      * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for value. */ @@ -2126,10 +2126,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * The header key to set in the request to the backend server.
+     * Optional. The header key to set in the request to the backend server.
      * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The key. */ @@ -2149,10 +2149,10 @@ public java.lang.String getKey() { * * *
-     * The header key to set in the request to the backend server.
+     * Optional. The header key to set in the request to the backend server.
      * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for key. */ @@ -2177,10 +2177,10 @@ public com.google.protobuf.ByteString getKeyBytes() { * * *
-     * The header value to set in the request to the backend server.
+     * Optional. The header value to set in the request to the backend server.
      * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -2200,10 +2200,10 @@ public java.lang.String getValue() { * * *
-     * The header value to set in the request to the backend server.
+     * Optional. The header value to set in the request to the backend server.
      * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for value. */ @@ -2606,10 +2606,10 @@ public Builder mergeFrom( * * *
-       * The header key to set in the request to the backend server.
+       * Optional. The header key to set in the request to the backend server.
        * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The key. */ @@ -2628,10 +2628,10 @@ public java.lang.String getKey() { * * *
-       * The header key to set in the request to the backend server.
+       * Optional. The header key to set in the request to the backend server.
        * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for key. */ @@ -2650,10 +2650,10 @@ public com.google.protobuf.ByteString getKeyBytes() { * * *
-       * The header key to set in the request to the backend server.
+       * Optional. The header key to set in the request to the backend server.
        * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The key to set. * @return This builder for chaining. @@ -2671,10 +2671,10 @@ public Builder setKey(java.lang.String value) { * * *
-       * The header key to set in the request to the backend server.
+       * Optional. The header key to set in the request to the backend server.
        * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2688,10 +2688,10 @@ public Builder clearKey() { * * *
-       * The header key to set in the request to the backend server.
+       * Optional. The header key to set in the request to the backend server.
        * 
* - * string key = 1; + * string key = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for key to set. * @return This builder for chaining. @@ -2712,10 +2712,10 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { * * *
-       * The header value to set in the request to the backend server.
+       * Optional. The header value to set in the request to the backend server.
        * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -2734,10 +2734,10 @@ public java.lang.String getValue() { * * *
-       * The header value to set in the request to the backend server.
+       * Optional. The header value to set in the request to the backend server.
        * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for value. */ @@ -2756,10 +2756,10 @@ public com.google.protobuf.ByteString getValueBytes() { * * *
-       * The header value to set in the request to the backend server.
+       * Optional. The header value to set in the request to the backend server.
        * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The value to set. * @return This builder for chaining. @@ -2777,10 +2777,10 @@ public Builder setValue(java.lang.String value) { * * *
-       * The header value to set in the request to the backend server.
+       * Optional. The header value to set in the request to the backend server.
        * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2794,10 +2794,10 @@ public Builder clearValue() { * * *
-       * The header value to set in the request to the backend server.
+       * Optional. The header value to set in the request to the backend server.
        * 
* - * string value = 2; + * string value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for value to set. * @return This builder for chaining. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicy.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicy.java index 3b2f70350eed..59f8b8f606e1 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicy.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicy.java @@ -128,11 +128,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * A description of what this policy aims to achieve, for convenience
-   * purposes. The description can at most include 256 UTF-8 characters.
+   * Optional. A description of what this policy aims to achieve, for
+   * convenience purposes. The description can at most include 256 UTF-8
+   * characters.
    * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -152,11 +153,12 @@ public java.lang.String getDescription() { * * *
-   * A description of what this policy aims to achieve, for convenience
-   * purposes. The description can at most include 256 UTF-8 characters.
+   * Optional. A description of what this policy aims to achieve, for
+   * convenience purposes. The description can at most include 256 UTF-8
+   * characters.
    * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -181,13 +183,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * The path for which this policy applies, specified as a glob pattern.
-   * For more information on glob, see the [manual
+   * Optional. The path for which this policy applies, specified as a glob
+   * pattern. For more information on glob, see the [manual
    * page](https://man7.org/linux/man-pages/man7/glob.7.html).
    * A path has a max length of 200 characters.
    * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The path. */ @@ -207,13 +209,13 @@ public java.lang.String getPath() { * * *
-   * The path for which this policy applies, specified as a glob pattern.
-   * For more information on glob, see the [manual
+   * Optional. The path for which this policy applies, specified as a glob
+   * pattern. For more information on glob, see the [manual
    * page](https://man7.org/linux/man-pages/man7/glob.7.html).
    * A path has a max length of 200 characters.
    * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for path. */ @@ -238,17 +240,18 @@ public com.google.protobuf.ByteString getPathBytes() { * * *
-   * A CEL (Common Expression Language) conditional expression that specifies if
-   * this policy applies to an incoming user request. If this condition
-   * evaluates to true and the requested path matched the path pattern, the
-   * associated actions should be executed by the caller. The condition string
-   * is checked for CEL syntax correctness on creation. For more information,
-   * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+   * Optional. A CEL (Common Expression Language) conditional expression that
+   * specifies if this policy applies to an incoming user request. If this
+   * condition evaluates to true and the requested path matched the path
+   * pattern, the associated actions should be executed by the caller. The
+   * condition string is checked for CEL syntax correctness on creation. For
+   * more information, see the [CEL spec](https://github.com/google/cel-spec)
+   * and its [language
    * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
    * A condition has a max length of 500 characters.
    * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The condition. */ @@ -268,17 +271,18 @@ public java.lang.String getCondition() { * * *
-   * A CEL (Common Expression Language) conditional expression that specifies if
-   * this policy applies to an incoming user request. If this condition
-   * evaluates to true and the requested path matched the path pattern, the
-   * associated actions should be executed by the caller. The condition string
-   * is checked for CEL syntax correctness on creation. For more information,
-   * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+   * Optional. A CEL (Common Expression Language) conditional expression that
+   * specifies if this policy applies to an incoming user request. If this
+   * condition evaluates to true and the requested path matched the path
+   * pattern, the associated actions should be executed by the caller. The
+   * condition string is checked for CEL syntax correctness on creation. For
+   * more information, see the [CEL spec](https://github.com/google/cel-spec)
+   * and its [language
    * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
    * A condition has a max length of 500 characters.
    * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for condition. */ @@ -303,7 +307,7 @@ public com.google.protobuf.ByteString getConditionBytes() { * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -311,7 +315,9 @@ public com.google.protobuf.ByteString getConditionBytes() {
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getActionsList() { @@ -321,7 +327,7 @@ public java.util.List getActio * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -329,7 +335,9 @@ public java.util.List getActio
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List @@ -340,7 +348,7 @@ public java.util.List getActio * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -348,7 +356,9 @@ public java.util.List getActio
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getActionsCount() { @@ -358,7 +368,7 @@ public int getActionsCount() { * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -366,7 +376,9 @@ public int getActionsCount() {
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.FirewallAction getActions(int index) { @@ -376,7 +388,7 @@ public com.google.recaptchaenterprise.v1.FirewallAction getActions(int index) { * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -384,7 +396,9 @@ public com.google.recaptchaenterprise.v1.FirewallAction getActions(int index) {
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.FirewallActionOrBuilder getActionsOrBuilder(int index) { @@ -995,11 +1009,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * A description of what this policy aims to achieve, for convenience
-     * purposes. The description can at most include 256 UTF-8 characters.
+     * Optional. A description of what this policy aims to achieve, for
+     * convenience purposes. The description can at most include 256 UTF-8
+     * characters.
      * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -1018,11 +1033,12 @@ public java.lang.String getDescription() { * * *
-     * A description of what this policy aims to achieve, for convenience
-     * purposes. The description can at most include 256 UTF-8 characters.
+     * Optional. A description of what this policy aims to achieve, for
+     * convenience purposes. The description can at most include 256 UTF-8
+     * characters.
      * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -1041,11 +1057,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * A description of what this policy aims to achieve, for convenience
-     * purposes. The description can at most include 256 UTF-8 characters.
+     * Optional. A description of what this policy aims to achieve, for
+     * convenience purposes. The description can at most include 256 UTF-8
+     * characters.
      * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The description to set. * @return This builder for chaining. @@ -1063,11 +1080,12 @@ public Builder setDescription(java.lang.String value) { * * *
-     * A description of what this policy aims to achieve, for convenience
-     * purposes. The description can at most include 256 UTF-8 characters.
+     * Optional. A description of what this policy aims to achieve, for
+     * convenience purposes. The description can at most include 256 UTF-8
+     * characters.
      * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1081,11 +1099,12 @@ public Builder clearDescription() { * * *
-     * A description of what this policy aims to achieve, for convenience
-     * purposes. The description can at most include 256 UTF-8 characters.
+     * Optional. A description of what this policy aims to achieve, for
+     * convenience purposes. The description can at most include 256 UTF-8
+     * characters.
      * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for description to set. * @return This builder for chaining. @@ -1106,13 +1125,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * The path for which this policy applies, specified as a glob pattern.
-     * For more information on glob, see the [manual
+     * Optional. The path for which this policy applies, specified as a glob
+     * pattern. For more information on glob, see the [manual
      * page](https://man7.org/linux/man-pages/man7/glob.7.html).
      * A path has a max length of 200 characters.
      * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The path. */ @@ -1131,13 +1150,13 @@ public java.lang.String getPath() { * * *
-     * The path for which this policy applies, specified as a glob pattern.
-     * For more information on glob, see the [manual
+     * Optional. The path for which this policy applies, specified as a glob
+     * pattern. For more information on glob, see the [manual
      * page](https://man7.org/linux/man-pages/man7/glob.7.html).
      * A path has a max length of 200 characters.
      * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for path. */ @@ -1156,13 +1175,13 @@ public com.google.protobuf.ByteString getPathBytes() { * * *
-     * The path for which this policy applies, specified as a glob pattern.
-     * For more information on glob, see the [manual
+     * Optional. The path for which this policy applies, specified as a glob
+     * pattern. For more information on glob, see the [manual
      * page](https://man7.org/linux/man-pages/man7/glob.7.html).
      * A path has a max length of 200 characters.
      * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The path to set. * @return This builder for chaining. @@ -1180,13 +1199,13 @@ public Builder setPath(java.lang.String value) { * * *
-     * The path for which this policy applies, specified as a glob pattern.
-     * For more information on glob, see the [manual
+     * Optional. The path for which this policy applies, specified as a glob
+     * pattern. For more information on glob, see the [manual
      * page](https://man7.org/linux/man-pages/man7/glob.7.html).
      * A path has a max length of 200 characters.
      * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1200,13 +1219,13 @@ public Builder clearPath() { * * *
-     * The path for which this policy applies, specified as a glob pattern.
-     * For more information on glob, see the [manual
+     * Optional. The path for which this policy applies, specified as a glob
+     * pattern. For more information on glob, see the [manual
      * page](https://man7.org/linux/man-pages/man7/glob.7.html).
      * A path has a max length of 200 characters.
      * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for path to set. * @return This builder for chaining. @@ -1227,17 +1246,18 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { * * *
-     * A CEL (Common Expression Language) conditional expression that specifies if
-     * this policy applies to an incoming user request. If this condition
-     * evaluates to true and the requested path matched the path pattern, the
-     * associated actions should be executed by the caller. The condition string
-     * is checked for CEL syntax correctness on creation. For more information,
-     * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+     * Optional. A CEL (Common Expression Language) conditional expression that
+     * specifies if this policy applies to an incoming user request. If this
+     * condition evaluates to true and the requested path matched the path
+     * pattern, the associated actions should be executed by the caller. The
+     * condition string is checked for CEL syntax correctness on creation. For
+     * more information, see the [CEL spec](https://github.com/google/cel-spec)
+     * and its [language
      * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
      * A condition has a max length of 500 characters.
      * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The condition. */ @@ -1256,17 +1276,18 @@ public java.lang.String getCondition() { * * *
-     * A CEL (Common Expression Language) conditional expression that specifies if
-     * this policy applies to an incoming user request. If this condition
-     * evaluates to true and the requested path matched the path pattern, the
-     * associated actions should be executed by the caller. The condition string
-     * is checked for CEL syntax correctness on creation. For more information,
-     * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+     * Optional. A CEL (Common Expression Language) conditional expression that
+     * specifies if this policy applies to an incoming user request. If this
+     * condition evaluates to true and the requested path matched the path
+     * pattern, the associated actions should be executed by the caller. The
+     * condition string is checked for CEL syntax correctness on creation. For
+     * more information, see the [CEL spec](https://github.com/google/cel-spec)
+     * and its [language
      * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
      * A condition has a max length of 500 characters.
      * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for condition. */ @@ -1285,17 +1306,18 @@ public com.google.protobuf.ByteString getConditionBytes() { * * *
-     * A CEL (Common Expression Language) conditional expression that specifies if
-     * this policy applies to an incoming user request. If this condition
-     * evaluates to true and the requested path matched the path pattern, the
-     * associated actions should be executed by the caller. The condition string
-     * is checked for CEL syntax correctness on creation. For more information,
-     * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+     * Optional. A CEL (Common Expression Language) conditional expression that
+     * specifies if this policy applies to an incoming user request. If this
+     * condition evaluates to true and the requested path matched the path
+     * pattern, the associated actions should be executed by the caller. The
+     * condition string is checked for CEL syntax correctness on creation. For
+     * more information, see the [CEL spec](https://github.com/google/cel-spec)
+     * and its [language
      * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
      * A condition has a max length of 500 characters.
      * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The condition to set. * @return This builder for chaining. @@ -1313,17 +1335,18 @@ public Builder setCondition(java.lang.String value) { * * *
-     * A CEL (Common Expression Language) conditional expression that specifies if
-     * this policy applies to an incoming user request. If this condition
-     * evaluates to true and the requested path matched the path pattern, the
-     * associated actions should be executed by the caller. The condition string
-     * is checked for CEL syntax correctness on creation. For more information,
-     * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+     * Optional. A CEL (Common Expression Language) conditional expression that
+     * specifies if this policy applies to an incoming user request. If this
+     * condition evaluates to true and the requested path matched the path
+     * pattern, the associated actions should be executed by the caller. The
+     * condition string is checked for CEL syntax correctness on creation. For
+     * more information, see the [CEL spec](https://github.com/google/cel-spec)
+     * and its [language
      * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
      * A condition has a max length of 500 characters.
      * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1337,17 +1360,18 @@ public Builder clearCondition() { * * *
-     * A CEL (Common Expression Language) conditional expression that specifies if
-     * this policy applies to an incoming user request. If this condition
-     * evaluates to true and the requested path matched the path pattern, the
-     * associated actions should be executed by the caller. The condition string
-     * is checked for CEL syntax correctness on creation. For more information,
-     * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+     * Optional. A CEL (Common Expression Language) conditional expression that
+     * specifies if this policy applies to an incoming user request. If this
+     * condition evaluates to true and the requested path matched the path
+     * pattern, the associated actions should be executed by the caller. The
+     * condition string is checked for CEL syntax correctness on creation. For
+     * more information, see the [CEL spec](https://github.com/google/cel-spec)
+     * and its [language
      * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
      * A condition has a max length of 500 characters.
      * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for condition to set. * @return This builder for chaining. @@ -1384,7 +1408,7 @@ private void ensureActionsIsMutable() { * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1392,7 +1416,9 @@ private void ensureActionsIsMutable() {
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getActionsList() { if (actionsBuilder_ == null) { @@ -1405,7 +1431,7 @@ public java.util.List getActio * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1413,7 +1439,9 @@ public java.util.List getActio
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getActionsCount() { if (actionsBuilder_ == null) { @@ -1426,7 +1454,7 @@ public int getActionsCount() { * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1434,7 +1462,9 @@ public int getActionsCount() {
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.FirewallAction getActions(int index) { if (actionsBuilder_ == null) { @@ -1447,7 +1477,7 @@ public com.google.recaptchaenterprise.v1.FirewallAction getActions(int index) { * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1455,7 +1485,9 @@ public com.google.recaptchaenterprise.v1.FirewallAction getActions(int index) {
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setActions(int index, com.google.recaptchaenterprise.v1.FirewallAction value) { if (actionsBuilder_ == null) { @@ -1474,7 +1506,7 @@ public Builder setActions(int index, com.google.recaptchaenterprise.v1.FirewallA * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1482,7 +1514,9 @@ public Builder setActions(int index, com.google.recaptchaenterprise.v1.FirewallA
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setActions( int index, com.google.recaptchaenterprise.v1.FirewallAction.Builder builderForValue) { @@ -1499,7 +1533,7 @@ public Builder setActions( * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1507,7 +1541,9 @@ public Builder setActions(
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addActions(com.google.recaptchaenterprise.v1.FirewallAction value) { if (actionsBuilder_ == null) { @@ -1526,7 +1562,7 @@ public Builder addActions(com.google.recaptchaenterprise.v1.FirewallAction value * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1534,7 +1570,9 @@ public Builder addActions(com.google.recaptchaenterprise.v1.FirewallAction value
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addActions(int index, com.google.recaptchaenterprise.v1.FirewallAction value) { if (actionsBuilder_ == null) { @@ -1553,7 +1591,7 @@ public Builder addActions(int index, com.google.recaptchaenterprise.v1.FirewallA * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1561,7 +1599,9 @@ public Builder addActions(int index, com.google.recaptchaenterprise.v1.FirewallA
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addActions( com.google.recaptchaenterprise.v1.FirewallAction.Builder builderForValue) { @@ -1578,7 +1618,7 @@ public Builder addActions( * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1586,7 +1626,9 @@ public Builder addActions(
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addActions( int index, com.google.recaptchaenterprise.v1.FirewallAction.Builder builderForValue) { @@ -1603,7 +1645,7 @@ public Builder addActions( * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1611,7 +1653,9 @@ public Builder addActions(
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllActions( java.lang.Iterable values) { @@ -1628,7 +1672,7 @@ public Builder addAllActions( * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1636,7 +1680,9 @@ public Builder addAllActions(
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearActions() { if (actionsBuilder_ == null) { @@ -1652,7 +1698,7 @@ public Builder clearActions() { * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1660,7 +1706,9 @@ public Builder clearActions() {
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeActions(int index) { if (actionsBuilder_ == null) { @@ -1676,7 +1724,7 @@ public Builder removeActions(int index) { * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1684,7 +1732,9 @@ public Builder removeActions(int index) {
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.FirewallAction.Builder getActionsBuilder(int index) { return getActionsFieldBuilder().getBuilder(index); @@ -1693,7 +1743,7 @@ public com.google.recaptchaenterprise.v1.FirewallAction.Builder getActionsBuilde * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1701,7 +1751,9 @@ public com.google.recaptchaenterprise.v1.FirewallAction.Builder getActionsBuilde
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.FirewallActionOrBuilder getActionsOrBuilder( int index) { @@ -1715,7 +1767,7 @@ public com.google.recaptchaenterprise.v1.FirewallActionOrBuilder getActionsOrBui * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1723,7 +1775,9 @@ public com.google.recaptchaenterprise.v1.FirewallActionOrBuilder getActionsOrBui
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getActionsOrBuilderList() { @@ -1737,7 +1791,7 @@ public com.google.recaptchaenterprise.v1.FirewallActionOrBuilder getActionsOrBui * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1745,7 +1799,9 @@ public com.google.recaptchaenterprise.v1.FirewallActionOrBuilder getActionsOrBui
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.FirewallAction.Builder addActionsBuilder() { return getActionsFieldBuilder() @@ -1755,7 +1811,7 @@ public com.google.recaptchaenterprise.v1.FirewallAction.Builder addActionsBuilde * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1763,7 +1819,9 @@ public com.google.recaptchaenterprise.v1.FirewallAction.Builder addActionsBuilde
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.FirewallAction.Builder addActionsBuilder(int index) { return getActionsFieldBuilder() @@ -1773,7 +1831,7 @@ public com.google.recaptchaenterprise.v1.FirewallAction.Builder addActionsBuilde * * *
-     * The actions that the caller should take regarding user access.
+     * Optional. The actions that the caller should take regarding user access.
      * There should be at most one terminal action. A terminal action is any
      * action that forces a response, such as `AllowAction`,
      * `BlockAction` or `SubstituteAction`.
@@ -1781,7 +1839,9 @@ public com.google.recaptchaenterprise.v1.FirewallAction.Builder addActionsBuilde
      * specified. A single policy can contain up to 16 actions.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getActionsBuilderList() { diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyAssessment.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyAssessment.java index 115b7b6ada0c..90dd8af1f107 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyAssessment.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyAssessment.java @@ -66,11 +66,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * If the processing of a policy config fails, an error will be populated
-   * and the firewall_policy will be left empty.
+   * Output only. If the processing of a policy config fails, an error will be
+   * populated and the firewall_policy will be left empty.
    * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return Whether the error field is set. */ @@ -82,11 +82,11 @@ public boolean hasError() { * * *
-   * If the processing of a policy config fails, an error will be populated
-   * and the firewall_policy will be left empty.
+   * Output only. If the processing of a policy config fails, an error will be
+   * populated and the firewall_policy will be left empty.
    * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The error. */ @@ -98,11 +98,11 @@ public com.google.rpc.Status getError() { * * *
-   * If the processing of a policy config fails, an error will be populated
-   * and the firewall_policy will be left empty.
+   * Output only. If the processing of a policy config fails, an error will be
+   * populated and the firewall_policy will be left empty.
    * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { @@ -561,11 +561,11 @@ public Builder mergeFrom( * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return Whether the error field is set. */ @@ -576,11 +576,11 @@ public boolean hasError() { * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The error. */ @@ -595,11 +595,11 @@ public com.google.rpc.Status getError() { * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setError(com.google.rpc.Status value) { if (errorBuilder_ == null) { @@ -618,11 +618,11 @@ public Builder setError(com.google.rpc.Status value) { * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { @@ -638,11 +638,11 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { @@ -664,11 +664,11 @@ public Builder mergeError(com.google.rpc.Status value) { * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearError() { bitField0_ = (bitField0_ & ~0x00000001); @@ -684,11 +684,11 @@ public Builder clearError() { * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getErrorBuilder() { bitField0_ |= 0x00000001; @@ -699,11 +699,11 @@ public com.google.rpc.Status.Builder getErrorBuilder() { * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { @@ -716,11 +716,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * * *
-     * If the processing of a policy config fails, an error will be populated
-     * and the firewall_policy will be left empty.
+     * Output only. If the processing of a policy config fails, an error will be
+     * populated and the firewall_policy will be left empty.
      * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyAssessmentOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyAssessmentOrBuilder.java index 82c6862ad915..1bbe128776c0 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyAssessmentOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyAssessmentOrBuilder.java @@ -27,11 +27,11 @@ public interface FirewallPolicyAssessmentOrBuilder * * *
-   * If the processing of a policy config fails, an error will be populated
-   * and the firewall_policy will be left empty.
+   * Output only. If the processing of a policy config fails, an error will be
+   * populated and the firewall_policy will be left empty.
    * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return Whether the error field is set. */ @@ -40,11 +40,11 @@ public interface FirewallPolicyAssessmentOrBuilder * * *
-   * If the processing of a policy config fails, an error will be populated
-   * and the firewall_policy will be left empty.
+   * Output only. If the processing of a policy config fails, an error will be
+   * populated and the firewall_policy will be left empty.
    * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The error. */ @@ -53,11 +53,11 @@ public interface FirewallPolicyAssessmentOrBuilder * * *
-   * If the processing of a policy config fails, an error will be populated
-   * and the firewall_policy will be left empty.
+   * Output only. If the processing of a policy config fails, an error will be
+   * populated and the firewall_policy will be left empty.
    * 
* - * .google.rpc.Status error = 5; + * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyOrBuilder.java index d93bc495e1fa..ec17ad10366e 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FirewallPolicyOrBuilder.java @@ -54,11 +54,12 @@ public interface FirewallPolicyOrBuilder * * *
-   * A description of what this policy aims to achieve, for convenience
-   * purposes. The description can at most include 256 UTF-8 characters.
+   * Optional. A description of what this policy aims to achieve, for
+   * convenience purposes. The description can at most include 256 UTF-8
+   * characters.
    * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -67,11 +68,12 @@ public interface FirewallPolicyOrBuilder * * *
-   * A description of what this policy aims to achieve, for convenience
-   * purposes. The description can at most include 256 UTF-8 characters.
+   * Optional. A description of what this policy aims to achieve, for
+   * convenience purposes. The description can at most include 256 UTF-8
+   * characters.
    * 
* - * string description = 2; + * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -81,13 +83,13 @@ public interface FirewallPolicyOrBuilder * * *
-   * The path for which this policy applies, specified as a glob pattern.
-   * For more information on glob, see the [manual
+   * Optional. The path for which this policy applies, specified as a glob
+   * pattern. For more information on glob, see the [manual
    * page](https://man7.org/linux/man-pages/man7/glob.7.html).
    * A path has a max length of 200 characters.
    * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The path. */ @@ -96,13 +98,13 @@ public interface FirewallPolicyOrBuilder * * *
-   * The path for which this policy applies, specified as a glob pattern.
-   * For more information on glob, see the [manual
+   * Optional. The path for which this policy applies, specified as a glob
+   * pattern. For more information on glob, see the [manual
    * page](https://man7.org/linux/man-pages/man7/glob.7.html).
    * A path has a max length of 200 characters.
    * 
* - * string path = 4; + * string path = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for path. */ @@ -112,17 +114,18 @@ public interface FirewallPolicyOrBuilder * * *
-   * A CEL (Common Expression Language) conditional expression that specifies if
-   * this policy applies to an incoming user request. If this condition
-   * evaluates to true and the requested path matched the path pattern, the
-   * associated actions should be executed by the caller. The condition string
-   * is checked for CEL syntax correctness on creation. For more information,
-   * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+   * Optional. A CEL (Common Expression Language) conditional expression that
+   * specifies if this policy applies to an incoming user request. If this
+   * condition evaluates to true and the requested path matched the path
+   * pattern, the associated actions should be executed by the caller. The
+   * condition string is checked for CEL syntax correctness on creation. For
+   * more information, see the [CEL spec](https://github.com/google/cel-spec)
+   * and its [language
    * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
    * A condition has a max length of 500 characters.
    * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The condition. */ @@ -131,17 +134,18 @@ public interface FirewallPolicyOrBuilder * * *
-   * A CEL (Common Expression Language) conditional expression that specifies if
-   * this policy applies to an incoming user request. If this condition
-   * evaluates to true and the requested path matched the path pattern, the
-   * associated actions should be executed by the caller. The condition string
-   * is checked for CEL syntax correctness on creation. For more information,
-   * see the [CEL spec](https://github.com/google/cel-spec) and its [language
+   * Optional. A CEL (Common Expression Language) conditional expression that
+   * specifies if this policy applies to an incoming user request. If this
+   * condition evaluates to true and the requested path matched the path
+   * pattern, the associated actions should be executed by the caller. The
+   * condition string is checked for CEL syntax correctness on creation. For
+   * more information, see the [CEL spec](https://github.com/google/cel-spec)
+   * and its [language
    * definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md).
    * A condition has a max length of 500 characters.
    * 
* - * string condition = 5; + * string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for condition. */ @@ -151,7 +155,7 @@ public interface FirewallPolicyOrBuilder * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -159,14 +163,16 @@ public interface FirewallPolicyOrBuilder
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getActionsList(); /** * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -174,14 +180,16 @@ public interface FirewallPolicyOrBuilder
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.FirewallAction getActions(int index); /** * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -189,14 +197,16 @@ public interface FirewallPolicyOrBuilder
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getActionsCount(); /** * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -204,7 +214,9 @@ public interface FirewallPolicyOrBuilder
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getActionsOrBuilderList(); @@ -212,7 +224,7 @@ public interface FirewallPolicyOrBuilder * * *
-   * The actions that the caller should take regarding user access.
+   * Optional. The actions that the caller should take regarding user access.
    * There should be at most one terminal action. A terminal action is any
    * action that forces a response, such as `AllowAction`,
    * `BlockAction` or `SubstituteAction`.
@@ -220,7 +232,9 @@ public interface FirewallPolicyOrBuilder
    * specified. A single policy can contain up to 16 actions.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6; + * + * repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.FirewallActionOrBuilder getActionsOrBuilder(int index); } diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FraudPreventionAssessment.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FraudPreventionAssessment.java index 05542bf17e98..42e5581a0fb5 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FraudPreventionAssessment.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FraudPreventionAssessment.java @@ -69,11 +69,11 @@ public interface StolenInstrumentVerdictOrBuilder * * *
-     * Probability of this transaction being executed with a stolen instrument.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction being executed with a stolen
+     * instrument. Values are from 0.0 (lowest) to 1.0 (highest).
      * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The risk. */ @@ -131,11 +131,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Probability of this transaction being executed with a stolen instrument.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction being executed with a stolen
+     * instrument. Values are from 0.0 (lowest) to 1.0 (highest).
      * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The risk. */ @@ -537,11 +537,11 @@ public Builder mergeFrom( * * *
-       * Probability of this transaction being executed with a stolen instrument.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction being executed with a stolen
+       * instrument. Values are from 0.0 (lowest) to 1.0 (highest).
        * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The risk. */ @@ -553,11 +553,11 @@ public float getRisk() { * * *
-       * Probability of this transaction being executed with a stolen instrument.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction being executed with a stolen
+       * instrument. Values are from 0.0 (lowest) to 1.0 (highest).
        * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The risk to set. * @return This builder for chaining. @@ -573,11 +573,11 @@ public Builder setRisk(float value) { * * *
-       * Probability of this transaction being executed with a stolen instrument.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction being executed with a stolen
+       * instrument. Values are from 0.0 (lowest) to 1.0 (highest).
        * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -667,12 +667,11 @@ public interface CardTestingVerdictOrBuilder * * *
-     * Probability of this transaction attempt being part of a card testing
-     * attack.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction attempt being part of a card
+     * testing attack. Values are from 0.0 (lowest) to 1.0 (highest).
      * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The risk. */ @@ -729,12 +728,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Probability of this transaction attempt being part of a card testing
-     * attack.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction attempt being part of a card
+     * testing attack. Values are from 0.0 (lowest) to 1.0 (highest).
      * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The risk. */ @@ -1120,12 +1118,11 @@ public Builder mergeFrom( * * *
-       * Probability of this transaction attempt being part of a card testing
-       * attack.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction attempt being part of a card
+       * testing attack. Values are from 0.0 (lowest) to 1.0 (highest).
        * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The risk. */ @@ -1137,12 +1134,11 @@ public float getRisk() { * * *
-       * Probability of this transaction attempt being part of a card testing
-       * attack.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction attempt being part of a card
+       * testing attack. Values are from 0.0 (lowest) to 1.0 (highest).
        * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The risk to set. * @return This builder for chaining. @@ -1158,12 +1154,11 @@ public Builder setRisk(float value) { * * *
-       * Probability of this transaction attempt being part of a card testing
-       * attack.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction attempt being part of a card
+       * testing attack. Values are from 0.0 (lowest) to 1.0 (highest).
        * 
* - * float risk = 1; + * float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1252,12 +1247,12 @@ public interface BehavioralTrustVerdictOrBuilder * * *
-     * Probability of this transaction attempt being executed in a behaviorally
-     * trustworthy way.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction attempt being executed in a
+     * behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0
+     * (highest).
      * 
* - * float trust = 1; + * float trust = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The trust. */ @@ -1314,12 +1309,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Probability of this transaction attempt being executed in a behaviorally
-     * trustworthy way.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction attempt being executed in a
+     * behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0
+     * (highest).
      * 
* - * float trust = 1; + * float trust = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The trust. */ @@ -1708,12 +1703,12 @@ public Builder mergeFrom( * * *
-       * Probability of this transaction attempt being executed in a behaviorally
-       * trustworthy way.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction attempt being executed in a
+       * behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0
+       * (highest).
        * 
* - * float trust = 1; + * float trust = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The trust. */ @@ -1725,12 +1720,12 @@ public float getTrust() { * * *
-       * Probability of this transaction attempt being executed in a behaviorally
-       * trustworthy way.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction attempt being executed in a
+       * behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0
+       * (highest).
        * 
* - * float trust = 1; + * float trust = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The trust to set. * @return This builder for chaining. @@ -1746,12 +1741,12 @@ public Builder setTrust(float value) { * * *
-       * Probability of this transaction attempt being executed in a behaviorally
-       * trustworthy way.
-       * Values are from 0.0 (lowest) to 1.0 (highest).
+       * Output only. Probability of this transaction attempt being executed in a
+       * behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0
+       * (highest).
        * 
* - * float trust = 1; + * float trust = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1837,12 +1832,12 @@ public com.google.protobuf.Parser getParserForType() { * * *
-   * Probability of this transaction being fraudulent. Summarizes the combined
-   * risk of attack vectors below.
-   * Values are from 0.0 (lowest) to 1.0 (highest).
+   * Output only. Probability of this transaction being fraudulent. Summarizes
+   * the combined risk of attack vectors below. Values are from 0.0 (lowest)
+   * to 1.0 (highest).
    * 
* - * float transaction_risk = 1; + * float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The transactionRisk. */ @@ -1858,11 +1853,12 @@ public float getTransactionRisk() { * * *
-   * Assessment of this transaction for risk of a stolen instrument.
+   * Output only. Assessment of this transaction for risk of a stolen
+   * instrument.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the stolenInstrumentVerdict field is set. @@ -1875,11 +1871,12 @@ public boolean hasStolenInstrumentVerdict() { * * *
-   * Assessment of this transaction for risk of a stolen instrument.
+   * Output only. Assessment of this transaction for risk of a stolen
+   * instrument.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The stolenInstrumentVerdict. @@ -1896,11 +1893,12 @@ public boolean hasStolenInstrumentVerdict() { * * *
-   * Assessment of this transaction for risk of a stolen instrument.
+   * Output only. Assessment of this transaction for risk of a stolen
+   * instrument.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override @@ -1920,12 +1918,12 @@ public boolean hasStolenInstrumentVerdict() { * * *
-   * Assessment of this transaction for risk of being part of a card testing
-   * attack.
+   * Output only. Assessment of this transaction for risk of being part of a
+   * card testing attack.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the cardTestingVerdict field is set. @@ -1938,12 +1936,12 @@ public boolean hasCardTestingVerdict() { * * *
-   * Assessment of this transaction for risk of being part of a card testing
-   * attack.
+   * Output only. Assessment of this transaction for risk of being part of a
+   * card testing attack.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The cardTestingVerdict. @@ -1960,12 +1958,12 @@ public boolean hasCardTestingVerdict() { * * *
-   * Assessment of this transaction for risk of being part of a card testing
-   * attack.
+   * Output only. Assessment of this transaction for risk of being part of a
+   * card testing attack.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override @@ -1984,11 +1982,11 @@ public boolean hasCardTestingVerdict() { * * *
-   * Assessment of this transaction for behavioral trust.
+   * Output only. Assessment of this transaction for behavioral trust.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the behavioralTrustVerdict field is set. @@ -2001,11 +1999,11 @@ public boolean hasBehavioralTrustVerdict() { * * *
-   * Assessment of this transaction for behavioral trust.
+   * Output only. Assessment of this transaction for behavioral trust.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The behavioralTrustVerdict. @@ -2022,11 +2020,11 @@ public boolean hasBehavioralTrustVerdict() { * * *
-   * Assessment of this transaction for behavioral trust.
+   * Output only. Assessment of this transaction for behavioral trust.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override @@ -2492,12 +2490,12 @@ public Builder mergeFrom( * * *
-     * Probability of this transaction being fraudulent. Summarizes the combined
-     * risk of attack vectors below.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction being fraudulent. Summarizes
+     * the combined risk of attack vectors below. Values are from 0.0 (lowest)
+     * to 1.0 (highest).
      * 
* - * float transaction_risk = 1; + * float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The transactionRisk. */ @@ -2509,12 +2507,12 @@ public float getTransactionRisk() { * * *
-     * Probability of this transaction being fraudulent. Summarizes the combined
-     * risk of attack vectors below.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction being fraudulent. Summarizes
+     * the combined risk of attack vectors below. Values are from 0.0 (lowest)
+     * to 1.0 (highest).
      * 
* - * float transaction_risk = 1; + * float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The transactionRisk to set. * @return This builder for chaining. @@ -2530,12 +2528,12 @@ public Builder setTransactionRisk(float value) { * * *
-     * Probability of this transaction being fraudulent. Summarizes the combined
-     * risk of attack vectors below.
-     * Values are from 0.0 (lowest) to 1.0 (highest).
+     * Output only. Probability of this transaction being fraudulent. Summarizes
+     * the combined risk of attack vectors below. Values are from 0.0 (lowest)
+     * to 1.0 (highest).
      * 
* - * float transaction_risk = 1; + * float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -2559,11 +2557,12 @@ public Builder clearTransactionRisk() { * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the stolenInstrumentVerdict field is set. @@ -2575,11 +2574,12 @@ public boolean hasStolenInstrumentVerdict() { * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The stolenInstrumentVerdict. @@ -2599,11 +2599,12 @@ public boolean hasStolenInstrumentVerdict() { * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setStolenInstrumentVerdict( @@ -2624,11 +2625,12 @@ public Builder setStolenInstrumentVerdict( * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setStolenInstrumentVerdict( @@ -2647,11 +2649,12 @@ public Builder setStolenInstrumentVerdict( * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeStolenInstrumentVerdict( @@ -2677,11 +2680,12 @@ public Builder mergeStolenInstrumentVerdict( * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearStolenInstrumentVerdict() { @@ -2698,11 +2702,12 @@ public Builder clearStolenInstrumentVerdict() { * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict @@ -2716,11 +2721,12 @@ public Builder clearStolenInstrumentVerdict() { * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FraudPreventionAssessment @@ -2739,11 +2745,12 @@ public Builder clearStolenInstrumentVerdict() { * * *
-     * Assessment of this transaction for risk of a stolen instrument.
+     * Output only. Assessment of this transaction for risk of a stolen
+     * instrument.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -2778,12 +2785,12 @@ public Builder clearStolenInstrumentVerdict() { * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the cardTestingVerdict field is set. @@ -2795,12 +2802,12 @@ public boolean hasCardTestingVerdict() { * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The cardTestingVerdict. @@ -2820,12 +2827,12 @@ public boolean hasCardTestingVerdict() { * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setCardTestingVerdict( @@ -2846,12 +2853,12 @@ public Builder setCardTestingVerdict( * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setCardTestingVerdict( @@ -2870,12 +2877,12 @@ public Builder setCardTestingVerdict( * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeCardTestingVerdict( @@ -2901,12 +2908,12 @@ public Builder mergeCardTestingVerdict( * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearCardTestingVerdict() { @@ -2923,12 +2930,12 @@ public Builder clearCardTestingVerdict() { * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict.Builder @@ -2941,12 +2948,12 @@ public Builder clearCardTestingVerdict() { * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdictOrBuilder @@ -2964,12 +2971,12 @@ public Builder clearCardTestingVerdict() { * * *
-     * Assessment of this transaction for risk of being part of a card testing
-     * attack.
+     * Output only. Assessment of this transaction for risk of being part of a
+     * card testing attack.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -3004,11 +3011,11 @@ public Builder clearCardTestingVerdict() { * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the behavioralTrustVerdict field is set. @@ -3020,11 +3027,11 @@ public boolean hasBehavioralTrustVerdict() { * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The behavioralTrustVerdict. @@ -3044,11 +3051,11 @@ public boolean hasBehavioralTrustVerdict() { * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setBehavioralTrustVerdict( @@ -3069,11 +3076,11 @@ public Builder setBehavioralTrustVerdict( * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setBehavioralTrustVerdict( @@ -3092,11 +3099,11 @@ public Builder setBehavioralTrustVerdict( * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeBehavioralTrustVerdict( @@ -3122,11 +3129,11 @@ public Builder mergeBehavioralTrustVerdict( * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearBehavioralTrustVerdict() { @@ -3143,11 +3150,11 @@ public Builder clearBehavioralTrustVerdict() { * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict @@ -3161,11 +3168,11 @@ public Builder clearBehavioralTrustVerdict() { * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.recaptchaenterprise.v1.FraudPreventionAssessment @@ -3184,11 +3191,11 @@ public Builder clearBehavioralTrustVerdict() { * * *
-     * Assessment of this transaction for behavioral trust.
+     * Output only. Assessment of this transaction for behavioral trust.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FraudPreventionAssessmentOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FraudPreventionAssessmentOrBuilder.java index 4a04b8e8488e..94cb70af7ce4 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FraudPreventionAssessmentOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/FraudPreventionAssessmentOrBuilder.java @@ -27,12 +27,12 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Probability of this transaction being fraudulent. Summarizes the combined
-   * risk of attack vectors below.
-   * Values are from 0.0 (lowest) to 1.0 (highest).
+   * Output only. Probability of this transaction being fraudulent. Summarizes
+   * the combined risk of attack vectors below. Values are from 0.0 (lowest)
+   * to 1.0 (highest).
    * 
* - * float transaction_risk = 1; + * float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The transactionRisk. */ @@ -42,11 +42,12 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for risk of a stolen instrument.
+   * Output only. Assessment of this transaction for risk of a stolen
+   * instrument.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the stolenInstrumentVerdict field is set. @@ -56,11 +57,12 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for risk of a stolen instrument.
+   * Output only. Assessment of this transaction for risk of a stolen
+   * instrument.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The stolenInstrumentVerdict. @@ -71,11 +73,12 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for risk of a stolen instrument.
+   * Output only. Assessment of this transaction for risk of a stolen
+   * instrument.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdictOrBuilder @@ -85,12 +88,12 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for risk of being part of a card testing
-   * attack.
+   * Output only. Assessment of this transaction for risk of being part of a
+   * card testing attack.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the cardTestingVerdict field is set. @@ -100,12 +103,12 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for risk of being part of a card testing
-   * attack.
+   * Output only. Assessment of this transaction for risk of being part of a
+   * card testing attack.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The cardTestingVerdict. @@ -116,12 +119,12 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for risk of being part of a card testing
-   * attack.
+   * Output only. Assessment of this transaction for risk of being part of a
+   * card testing attack.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdictOrBuilder @@ -131,11 +134,11 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for behavioral trust.
+   * Output only. Assessment of this transaction for behavioral trust.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the behavioralTrustVerdict field is set. @@ -145,11 +148,11 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for behavioral trust.
+   * Output only. Assessment of this transaction for behavioral trust.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The behavioralTrustVerdict. @@ -160,11 +163,11 @@ public interface FraudPreventionAssessmentOrBuilder * * *
-   * Assessment of this transaction for behavioral trust.
+   * Output only. Assessment of this transaction for behavioral trust.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4; + * .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdictOrBuilder diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/IOSKeySettings.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/IOSKeySettings.java index 449de49a1b5f..6be6fd1ba1f8 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/IOSKeySettings.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/IOSKeySettings.java @@ -68,10 +68,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * If set to true, allowed_bundle_ids are not enforced.
+   * Optional. If set to true, allowed_bundle_ids are not enforced.
    * 
* - * bool allow_all_bundle_ids = 2; + * bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllBundleIds. */ @@ -89,11 +89,11 @@ public boolean getAllowAllBundleIds() { * * *
-   * iOS bundle ids of apps allowed to use the key.
+   * Optional. iOS bundle ids of apps allowed to use the key.
    * Example: 'com.companyname.productname.appname'
    * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the allowedBundleIds. */ @@ -104,11 +104,11 @@ public com.google.protobuf.ProtocolStringList getAllowedBundleIdsList() { * * *
-   * iOS bundle ids of apps allowed to use the key.
+   * Optional. iOS bundle ids of apps allowed to use the key.
    * Example: 'com.companyname.productname.appname'
    * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of allowedBundleIds. */ @@ -119,11 +119,11 @@ public int getAllowedBundleIdsCount() { * * *
-   * iOS bundle ids of apps allowed to use the key.
+   * Optional. iOS bundle ids of apps allowed to use the key.
    * Example: 'com.companyname.productname.appname'
    * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The allowedBundleIds at the given index. @@ -135,11 +135,11 @@ public java.lang.String getAllowedBundleIds(int index) { * * *
-   * iOS bundle ids of apps allowed to use the key.
+   * Optional. iOS bundle ids of apps allowed to use the key.
    * Example: 'com.companyname.productname.appname'
    * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the allowedBundleIds at the given index. @@ -154,14 +154,16 @@ public com.google.protobuf.ByteString getAllowedBundleIdsBytes(int index) { * * *
-   * Apple Developer account details for the app that is protected by the
-   * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-   * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+   * Optional. Apple Developer account details for the app that is protected by
+   * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+   * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
    * Providing these fields allows reCAPTCHA Enterprise to get a better
    * assessment of the integrity of your app.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the appleDeveloperId field is set. */ @@ -173,14 +175,16 @@ public boolean hasAppleDeveloperId() { * * *
-   * Apple Developer account details for the app that is protected by the
-   * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-   * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+   * Optional. Apple Developer account details for the app that is protected by
+   * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+   * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
    * Providing these fields allows reCAPTCHA Enterprise to get a better
    * assessment of the integrity of your app.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The appleDeveloperId. */ @@ -194,14 +198,16 @@ public com.google.recaptchaenterprise.v1.AppleDeveloperId getAppleDeveloperId() * * *
-   * Apple Developer account details for the app that is protected by the
-   * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-   * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+   * Optional. Apple Developer account details for the app that is protected by
+   * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+   * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
    * Providing these fields allows reCAPTCHA Enterprise to get a better
    * assessment of the integrity of your app.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.AppleDeveloperIdOrBuilder @@ -627,10 +633,10 @@ public Builder mergeFrom( * * *
-     * If set to true, allowed_bundle_ids are not enforced.
+     * Optional. If set to true, allowed_bundle_ids are not enforced.
      * 
* - * bool allow_all_bundle_ids = 2; + * bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllBundleIds. */ @@ -642,10 +648,10 @@ public boolean getAllowAllBundleIds() { * * *
-     * If set to true, allowed_bundle_ids are not enforced.
+     * Optional. If set to true, allowed_bundle_ids are not enforced.
      * 
* - * bool allow_all_bundle_ids = 2; + * bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The allowAllBundleIds to set. * @return This builder for chaining. @@ -661,10 +667,10 @@ public Builder setAllowAllBundleIds(boolean value) { * * *
-     * If set to true, allowed_bundle_ids are not enforced.
+     * Optional. If set to true, allowed_bundle_ids are not enforced.
      * 
* - * bool allow_all_bundle_ids = 2; + * bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -688,11 +694,12 @@ private void ensureAllowedBundleIdsIsMutable() { * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return A list containing the allowedBundleIds. */ @@ -704,11 +711,12 @@ public com.google.protobuf.ProtocolStringList getAllowedBundleIdsList() { * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The count of allowedBundleIds. */ @@ -719,11 +727,12 @@ public int getAllowedBundleIdsCount() { * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index of the element to return. * @return The allowedBundleIds at the given index. @@ -735,11 +744,12 @@ public java.lang.String getAllowedBundleIds(int index) { * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index of the value to return. * @return The bytes of the allowedBundleIds at the given index. @@ -751,11 +761,12 @@ public com.google.protobuf.ByteString getAllowedBundleIdsBytes(int index) { * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param index The index to set the value at. * @param value The allowedBundleIds to set. @@ -775,11 +786,12 @@ public Builder setAllowedBundleIds(int index, java.lang.String value) { * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The allowedBundleIds to add. * @return This builder for chaining. @@ -798,11 +810,12 @@ public Builder addAllowedBundleIds(java.lang.String value) { * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param values The allowedBundleIds to add. * @return This builder for chaining. @@ -818,11 +831,12 @@ public Builder addAllAllowedBundleIds(java.lang.Iterable value * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return This builder for chaining. */ @@ -837,11 +851,12 @@ public Builder clearAllowedBundleIds() { * * *
-     * iOS bundle ids of apps allowed to use the key.
+     * Optional. iOS bundle ids of apps allowed to use the key.
      * Example: 'com.companyname.productname.appname'
      * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The bytes of the allowedBundleIds to add. * @return This builder for chaining. @@ -868,14 +883,16 @@ public Builder addAllowedBundleIdsBytes(com.google.protobuf.ByteString value) { * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the appleDeveloperId field is set. */ @@ -886,14 +903,16 @@ public boolean hasAppleDeveloperId() { * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The appleDeveloperId. */ @@ -910,14 +929,16 @@ public com.google.recaptchaenterprise.v1.AppleDeveloperId getAppleDeveloperId() * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAppleDeveloperId(com.google.recaptchaenterprise.v1.AppleDeveloperId value) { if (appleDeveloperIdBuilder_ == null) { @@ -936,14 +957,16 @@ public Builder setAppleDeveloperId(com.google.recaptchaenterprise.v1.AppleDevelo * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAppleDeveloperId( com.google.recaptchaenterprise.v1.AppleDeveloperId.Builder builderForValue) { @@ -960,14 +983,16 @@ public Builder setAppleDeveloperId( * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeAppleDeveloperId(com.google.recaptchaenterprise.v1.AppleDeveloperId value) { if (appleDeveloperIdBuilder_ == null) { @@ -990,14 +1015,16 @@ public Builder mergeAppleDeveloperId(com.google.recaptchaenterprise.v1.AppleDeve * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAppleDeveloperId() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1013,14 +1040,16 @@ public Builder clearAppleDeveloperId() { * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.AppleDeveloperId.Builder getAppleDeveloperIdBuilder() { bitField0_ |= 0x00000004; @@ -1031,14 +1060,16 @@ public com.google.recaptchaenterprise.v1.AppleDeveloperId.Builder getAppleDevelo * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.AppleDeveloperIdOrBuilder getAppleDeveloperIdOrBuilder() { @@ -1054,14 +1085,16 @@ public com.google.recaptchaenterprise.v1.AppleDeveloperId.Builder getAppleDevelo * * *
-     * Apple Developer account details for the app that is protected by the
-     * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-     * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+     * Optional. Apple Developer account details for the app that is protected by
+     * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+     * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
      * Providing these fields allows reCAPTCHA Enterprise to get a better
      * assessment of the integrity of your app.
      * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.recaptchaenterprise.v1.AppleDeveloperId, diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/IOSKeySettingsOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/IOSKeySettingsOrBuilder.java index a8b0c93cba97..5428d5f5ae6d 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/IOSKeySettingsOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/IOSKeySettingsOrBuilder.java @@ -27,10 +27,10 @@ public interface IOSKeySettingsOrBuilder * * *
-   * If set to true, allowed_bundle_ids are not enforced.
+   * Optional. If set to true, allowed_bundle_ids are not enforced.
    * 
* - * bool allow_all_bundle_ids = 2; + * bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllBundleIds. */ @@ -40,11 +40,11 @@ public interface IOSKeySettingsOrBuilder * * *
-   * iOS bundle ids of apps allowed to use the key.
+   * Optional. iOS bundle ids of apps allowed to use the key.
    * Example: 'com.companyname.productname.appname'
    * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the allowedBundleIds. */ @@ -53,11 +53,11 @@ public interface IOSKeySettingsOrBuilder * * *
-   * iOS bundle ids of apps allowed to use the key.
+   * Optional. iOS bundle ids of apps allowed to use the key.
    * Example: 'com.companyname.productname.appname'
    * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of allowedBundleIds. */ @@ -66,11 +66,11 @@ public interface IOSKeySettingsOrBuilder * * *
-   * iOS bundle ids of apps allowed to use the key.
+   * Optional. iOS bundle ids of apps allowed to use the key.
    * Example: 'com.companyname.productname.appname'
    * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The allowedBundleIds at the given index. @@ -80,11 +80,11 @@ public interface IOSKeySettingsOrBuilder * * *
-   * iOS bundle ids of apps allowed to use the key.
+   * Optional. iOS bundle ids of apps allowed to use the key.
    * Example: 'com.companyname.productname.appname'
    * 
* - * repeated string allowed_bundle_ids = 1; + * repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the allowedBundleIds at the given index. @@ -95,14 +95,16 @@ public interface IOSKeySettingsOrBuilder * * *
-   * Apple Developer account details for the app that is protected by the
-   * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-   * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+   * Optional. Apple Developer account details for the app that is protected by
+   * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+   * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
    * Providing these fields allows reCAPTCHA Enterprise to get a better
    * assessment of the integrity of your app.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the appleDeveloperId field is set. */ @@ -111,14 +113,16 @@ public interface IOSKeySettingsOrBuilder * * *
-   * Apple Developer account details for the app that is protected by the
-   * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-   * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+   * Optional. Apple Developer account details for the app that is protected by
+   * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+   * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
    * Providing these fields allows reCAPTCHA Enterprise to get a better
    * assessment of the integrity of your app.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The appleDeveloperId. */ @@ -127,14 +131,16 @@ public interface IOSKeySettingsOrBuilder * * *
-   * Apple Developer account details for the app that is protected by the
-   * reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like
-   * Apple App Attest and Apple DeviceCheck to protect your app from abuse.
+   * Optional. Apple Developer account details for the app that is protected by
+   * the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks
+   * like Apple App Attest and Apple DeviceCheck to protect your app from abuse.
    * Providing these fields allows reCAPTCHA Enterprise to get a better
    * assessment of the integrity of your app.
    * 
* - * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3; + * + * .google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.AppleDeveloperIdOrBuilder getAppleDeveloperIdOrBuilder(); } diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Key.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Key.java index 6fe65f70e660..0b2be6e83061 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Key.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/Key.java @@ -188,10 +188,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Human-readable display name of this key. Modifiable by user.
+   * Required. Human-readable display name of this key. Modifiable by user.
    * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The displayName. */ @@ -211,10 +211,10 @@ public java.lang.String getDisplayName() { * * *
-   * Human-readable display name of this key. Modifiable by user.
+   * Required. Human-readable display name of this key. Modifiable by user.
    * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for displayName. */ @@ -415,11 +415,11 @@ public int getLabelsCount() { * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public boolean containsLabels(java.lang.String key) { @@ -438,11 +438,11 @@ public java.util.Map getLabels() { * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getLabelsMap() { @@ -452,11 +452,11 @@ public java.util.Map getLabelsMap() { * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( @@ -473,11 +473,11 @@ public java.util.Map getLabelsMap() { * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { @@ -546,10 +546,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * Options for user acceptance testing.
+   * Optional. Options for user acceptance testing.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the testingOptions field is set. */ @@ -561,10 +563,12 @@ public boolean hasTestingOptions() { * * *
-   * Options for user acceptance testing.
+   * Optional. Options for user acceptance testing.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The testingOptions. */ @@ -578,10 +582,12 @@ public com.google.recaptchaenterprise.v1.TestingOptions getTestingOptions() { * * *
-   * Options for user acceptance testing.
+   * Optional. Options for user acceptance testing.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.TestingOptionsOrBuilder getTestingOptionsOrBuilder() { @@ -596,10 +602,12 @@ public com.google.recaptchaenterprise.v1.TestingOptionsOrBuilder getTestingOptio * * *
-   * Settings for WAF
+   * Optional. Settings for WAF
    * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the wafSettings field is set. */ @@ -611,10 +619,12 @@ public boolean hasWafSettings() { * * *
-   * Settings for WAF
+   * Optional. Settings for WAF
    * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The wafSettings. */ @@ -628,10 +638,12 @@ public com.google.recaptchaenterprise.v1.WafSettings getWafSettings() { * * *
-   * Settings for WAF
+   * Optional. Settings for WAF
    * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.WafSettingsOrBuilder getWafSettingsOrBuilder() { @@ -1405,10 +1417,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Human-readable display name of this key. Modifiable by user.
+     * Required. Human-readable display name of this key. Modifiable by user.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The displayName. */ @@ -1427,10 +1439,10 @@ public java.lang.String getDisplayName() { * * *
-     * Human-readable display name of this key. Modifiable by user.
+     * Required. Human-readable display name of this key. Modifiable by user.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for displayName. */ @@ -1449,10 +1461,10 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * Human-readable display name of this key. Modifiable by user.
+     * Required. Human-readable display name of this key. Modifiable by user.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The displayName to set. * @return This builder for chaining. @@ -1470,10 +1482,10 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * Human-readable display name of this key. Modifiable by user.
+     * Required. Human-readable display name of this key. Modifiable by user.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -1487,10 +1499,10 @@ public Builder clearDisplayName() { * * *
-     * Human-readable display name of this key. Modifiable by user.
+     * Required. Human-readable display name of this key. Modifiable by user.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for displayName to set. * @return This builder for chaining. @@ -2169,11 +2181,11 @@ public int getLabelsCount() { * * *
-     * See [Creating and managing labels]
+     * Optional. See [Creating and managing labels]
      * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
      * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public boolean containsLabels(java.lang.String key) { @@ -2192,11 +2204,11 @@ public java.util.Map getLabels() { * * *
-     * See [Creating and managing labels]
+     * Optional. See [Creating and managing labels]
      * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
      * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getLabelsMap() { @@ -2206,11 +2218,11 @@ public java.util.Map getLabelsMap() { * * *
-     * See [Creating and managing labels]
+     * Optional. See [Creating and managing labels]
      * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
      * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( @@ -2227,11 +2239,11 @@ public java.util.Map getLabelsMap() { * * *
-     * See [Creating and managing labels]
+     * Optional. See [Creating and managing labels]
      * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
      * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { @@ -2254,11 +2266,11 @@ public Builder clearLabels() { * * *
-     * See [Creating and managing labels]
+     * Optional. See [Creating and managing labels]
      * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
      * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeLabels(java.lang.String key) { if (key == null) { @@ -2277,11 +2289,11 @@ public java.util.Map getMutableLabels() { * * *
-     * See [Creating and managing labels]
+     * Optional. See [Creating and managing labels]
      * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
      * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putLabels(java.lang.String key, java.lang.String value) { if (key == null) { @@ -2298,11 +2310,11 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * * *
-     * See [Creating and managing labels]
+     * Optional. See [Creating and managing labels]
      * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
      * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllLabels(java.util.Map values) { internalGetMutableLabels().getMutableMap().putAll(values); @@ -2521,10 +2533,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the testingOptions field is set. */ @@ -2535,10 +2549,12 @@ public boolean hasTestingOptions() { * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The testingOptions. */ @@ -2555,10 +2571,12 @@ public com.google.recaptchaenterprise.v1.TestingOptions getTestingOptions() { * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTestingOptions(com.google.recaptchaenterprise.v1.TestingOptions value) { if (testingOptionsBuilder_ == null) { @@ -2577,10 +2595,12 @@ public Builder setTestingOptions(com.google.recaptchaenterprise.v1.TestingOption * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTestingOptions( com.google.recaptchaenterprise.v1.TestingOptions.Builder builderForValue) { @@ -2597,10 +2617,12 @@ public Builder setTestingOptions( * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeTestingOptions(com.google.recaptchaenterprise.v1.TestingOptions value) { if (testingOptionsBuilder_ == null) { @@ -2623,10 +2645,12 @@ public Builder mergeTestingOptions(com.google.recaptchaenterprise.v1.TestingOpti * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTestingOptions() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2642,10 +2666,12 @@ public Builder clearTestingOptions() { * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TestingOptions.Builder getTestingOptionsBuilder() { bitField0_ |= 0x00000080; @@ -2656,10 +2682,12 @@ public com.google.recaptchaenterprise.v1.TestingOptions.Builder getTestingOption * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TestingOptionsOrBuilder getTestingOptionsOrBuilder() { if (testingOptionsBuilder_ != null) { @@ -2674,10 +2702,12 @@ public com.google.recaptchaenterprise.v1.TestingOptionsOrBuilder getTestingOptio * * *
-     * Options for user acceptance testing.
+     * Optional. Options for user acceptance testing.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.recaptchaenterprise.v1.TestingOptions, @@ -2706,10 +2736,12 @@ public com.google.recaptchaenterprise.v1.TestingOptionsOrBuilder getTestingOptio * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the wafSettings field is set. */ @@ -2720,10 +2752,12 @@ public boolean hasWafSettings() { * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The wafSettings. */ @@ -2740,10 +2774,12 @@ public com.google.recaptchaenterprise.v1.WafSettings getWafSettings() { * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWafSettings(com.google.recaptchaenterprise.v1.WafSettings value) { if (wafSettingsBuilder_ == null) { @@ -2762,10 +2798,12 @@ public Builder setWafSettings(com.google.recaptchaenterprise.v1.WafSettings valu * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setWafSettings( com.google.recaptchaenterprise.v1.WafSettings.Builder builderForValue) { @@ -2782,10 +2820,12 @@ public Builder setWafSettings( * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeWafSettings(com.google.recaptchaenterprise.v1.WafSettings value) { if (wafSettingsBuilder_ == null) { @@ -2807,10 +2847,12 @@ public Builder mergeWafSettings(com.google.recaptchaenterprise.v1.WafSettings va * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearWafSettings() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2826,10 +2868,12 @@ public Builder clearWafSettings() { * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.WafSettings.Builder getWafSettingsBuilder() { bitField0_ |= 0x00000100; @@ -2840,10 +2884,12 @@ public com.google.recaptchaenterprise.v1.WafSettings.Builder getWafSettingsBuild * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.WafSettingsOrBuilder getWafSettingsOrBuilder() { if (wafSettingsBuilder_ != null) { @@ -2858,10 +2904,12 @@ public com.google.recaptchaenterprise.v1.WafSettingsOrBuilder getWafSettingsOrBu * * *
-     * Settings for WAF
+     * Optional. Settings for WAF
      * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.recaptchaenterprise.v1.WafSettings, diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/KeyOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/KeyOrBuilder.java index d4c68936862c..fad973e48430 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/KeyOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/KeyOrBuilder.java @@ -54,10 +54,10 @@ public interface KeyOrBuilder * * *
-   * Human-readable display name of this key. Modifiable by user.
+   * Required. Human-readable display name of this key. Modifiable by user.
    * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The displayName. */ @@ -66,10 +66,10 @@ public interface KeyOrBuilder * * *
-   * Human-readable display name of this key. Modifiable by user.
+   * Required. Human-readable display name of this key. Modifiable by user.
    * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for displayName. */ @@ -184,22 +184,22 @@ public interface KeyOrBuilder * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ int getLabelsCount(); /** * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @@ -209,22 +209,22 @@ public interface KeyOrBuilder * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map getLabelsMap(); /** * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ java.lang.String getLabelsOrDefault( @@ -235,11 +235,11 @@ java.lang.String getLabelsOrDefault( * * *
-   * See [Creating and managing labels]
+   * Optional. See [Creating and managing labels]
    * (https://cloud.google.com/recaptcha-enterprise/docs/labels).
    * 
* - * map<string, string> labels = 6; + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ java.lang.String getLabelsOrThrow(java.lang.String key); @@ -285,10 +285,12 @@ java.lang.String getLabelsOrDefault( * * *
-   * Options for user acceptance testing.
+   * Optional. Options for user acceptance testing.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the testingOptions field is set. */ @@ -297,10 +299,12 @@ java.lang.String getLabelsOrDefault( * * *
-   * Options for user acceptance testing.
+   * Optional. Options for user acceptance testing.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The testingOptions. */ @@ -309,10 +313,12 @@ java.lang.String getLabelsOrDefault( * * *
-   * Options for user acceptance testing.
+   * Optional. Options for user acceptance testing.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9; + * + * .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.TestingOptionsOrBuilder getTestingOptionsOrBuilder(); @@ -320,10 +326,12 @@ java.lang.String getLabelsOrDefault( * * *
-   * Settings for WAF
+   * Optional. Settings for WAF
    * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the wafSettings field is set. */ @@ -332,10 +340,12 @@ java.lang.String getLabelsOrDefault( * * *
-   * Settings for WAF
+   * Optional. Settings for WAF
    * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The wafSettings. */ @@ -344,10 +354,12 @@ java.lang.String getLabelsOrDefault( * * *
-   * Settings for WAF
+   * Optional. Settings for WAF
    * 
* - * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10; + * + * .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.WafSettingsOrBuilder getWafSettingsOrBuilder(); diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/PrivatePasswordLeakVerification.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/PrivatePasswordLeakVerification.java index 1504131516a6..a8227b21320d 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/PrivatePasswordLeakVerification.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/PrivatePasswordLeakVerification.java @@ -72,12 +72,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
+   * Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
    * username. It is used to look up password leaks associated with that hash
    * prefix.
    * 
* - * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = OPTIONAL]; + * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The lookupHashPrefix. */ @@ -640,12 +640,12 @@ public Builder mergeFrom( * * *
-     * Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
+     * Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
      * username. It is used to look up password leaks associated with that hash
      * prefix.
      * 
* - * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = OPTIONAL]; + * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The lookupHashPrefix. */ @@ -657,12 +657,12 @@ public com.google.protobuf.ByteString getLookupHashPrefix() { * * *
-     * Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
+     * Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
      * username. It is used to look up password leaks associated with that hash
      * prefix.
      * 
* - * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = OPTIONAL]; + * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The lookupHashPrefix to set. * @return This builder for chaining. @@ -680,12 +680,12 @@ public Builder setLookupHashPrefix(com.google.protobuf.ByteString value) { * * *
-     * Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
+     * Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
      * username. It is used to look up password leaks associated with that hash
      * prefix.
      * 
* - * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = OPTIONAL]; + * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/PrivatePasswordLeakVerificationOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/PrivatePasswordLeakVerificationOrBuilder.java index 36c791075a0a..8fae8be5611e 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/PrivatePasswordLeakVerificationOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/PrivatePasswordLeakVerificationOrBuilder.java @@ -27,12 +27,12 @@ public interface PrivatePasswordLeakVerificationOrBuilder * * *
-   * Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
+   * Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
    * username. It is used to look up password leaks associated with that hash
    * prefix.
    * 
* - * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = OPTIONAL]; + * bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The lookupHashPrefix. */ diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RecaptchaEnterpriseProto.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RecaptchaEnterpriseProto.java index 9be69d280f42..c8cb5f66a1ab 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RecaptchaEnterpriseProto.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RecaptchaEnterpriseProto.java @@ -372,440 +372,452 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "mail_address\030\001 \001(\tH\000\022\026\n\014phone_number\030\002 \001" + "(\tH\000\022\033\n\rrequest_token\030\003 \001(\tB\004\342A\001\003\022@\n\026las" + "t_verification_time\030\004 \001(\0132\032.google.proto" - + "buf.TimestampB\004\342A\001\003B\n\n\010endpoint\"\322\004\n\027Acco" - + "untVerificationInfo\022P\n\tendpoints\030\001 \003(\0132=" + + "buf.TimestampB\004\342A\001\003B\n\n\010endpoint\"\336\004\n\027Acco" + + "untVerificationInfo\022V\n\tendpoints\030\001 \003(\0132=" + ".google.cloud.recaptchaenterprise.v1.End" - + "pointVerificationInfo\022\025\n\rlanguage_code\030\003" - + " \001(\t\022m\n\032latest_verification_result\030\007 \001(\016" - + "2C.google.cloud.recaptchaenterprise.v1.A" - + "ccountVerificationInfo.ResultB\004\342A\001\003\022\024\n\010u" - + "sername\030\002 \001(\tB\002\030\001\"\310\002\n\006Result\022\026\n\022RESULT_U" - + "NSPECIFIED\020\000\022\031\n\025SUCCESS_USER_VERIFIED\020\001\022" - + "\033\n\027ERROR_USER_NOT_VERIFIED\020\002\022$\n ERROR_SI" - + "TE_ONBOARDING_INCOMPLETE\020\003\022\037\n\033ERROR_RECI" - + "PIENT_NOT_ALLOWED\020\004\022)\n%ERROR_RECIPIENT_A" - + "BUSE_LIMIT_EXHAUSTED\020\005\022\033\n\027ERROR_CRITICAL" - + "_INTERNAL\020\006\022\"\n\036ERROR_CUSTOMER_QUOTA_EXHA" - + "USTED\020\007\022\037\n\033ERROR_VERIFICATION_BYPASSED\020\010" - + "\022\032\n\026ERROR_VERDICT_MISMATCH\020\t\"\320\001\n\037Private" - + "PasswordLeakVerification\022 \n\022lookup_hash_" - + "prefix\030\001 \001(\014B\004\342A\001\001\022-\n\037encrypted_user_cre" - + "dentials_hash\030\002 \001(\014B\004\342A\001\001\022+\n\035encrypted_l" - + "eak_match_prefixes\030\003 \003(\014B\004\342A\001\003\022/\n!reencr" - + "ypted_user_credentials_hash\030\004 \001(\014B\004\342A\001\003\"" - + "\255\007\n\nAssessment\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0229\n\005ev" - + "ent\030\002 \001(\0132*.google.cloud.recaptchaenterp" - + "rise.v1.Event\022N\n\rrisk_analysis\030\003 \001(\01321.g" - + "oogle.cloud.recaptchaenterprise.v1.RiskA" - + "nalysisB\004\342A\001\003\022T\n\020token_properties\030\004 \001(\0132" - + "4.google.cloud.recaptchaenterprise.v1.To" - + "kenPropertiesB\004\342A\001\003\022Z\n\024account_verificat" - + "ion\030\005 \001(\0132<.google.cloud.recaptchaenterp" - + "rise.v1.AccountVerificationInfo\022c\n\033accou" - + "nt_defender_assessment\030\006 \001(\0132>.google.cl" - + "oud.recaptchaenterprise.v1.AccountDefend" - + "erAssessment\022p\n\"private_password_leak_ve" - + "rification\030\010 \001(\0132D.google.cloud.recaptch" - + "aenterprise.v1.PrivatePasswordLeakVerifi" - + "cation\022a\n\032firewall_policy_assessment\030\n \001" - + "(\0132=.google.cloud.recaptchaenterprise.v1" - + ".FirewallPolicyAssessment\022c\n\033fraud_preve" - + "ntion_assessment\030\013 \001(\0132>.google.cloud.re" - + "captchaenterprise.v1.FraudPreventionAsse" - + "ssment\022N\n\rfraud_signals\030\r \001(\01321.google.c" - + "loud.recaptchaenterprise.v1.FraudSignals" - + "B\004\342A\001\003:_\352A\\\n-recaptchaenterprise.googlea" - + "pis.com/Assessment\022+projects/{project}/a" - + "ssessments/{assessment}\"\257\003\n\005Event\022\023\n\005tok" - + "en\030\001 \001(\tB\004\342A\001\001\022\026\n\010site_key\030\002 \001(\tB\004\342A\001\001\022\030" - + "\n\nuser_agent\030\003 \001(\tB\004\342A\001\001\022\035\n\017user_ip_addr" - + "ess\030\004 \001(\tB\004\342A\001\001\022\035\n\017expected_action\030\005 \001(\t" - + "B\004\342A\001\001\022\037\n\021hashed_account_id\030\006 \001(\014B\004\342A\001\001\022" - + "\025\n\007express\030\016 \001(\010B\004\342A\001\001\022\033\n\rrequested_uri\030" - + "\010 \001(\tB\004\342A\001\001\022\"\n\024waf_token_assessment\030\t \001(" - + "\010B\004\342A\001\001\022\021\n\003ja3\030\n \001(\tB\004\342A\001\001\022\025\n\007headers\030\013 " - + "\003(\tB\004\342A\001\001\022(\n\032firewall_policy_evaluation\030" - + "\014 \001(\010B\004\342A\001\001\022T\n\020transaction_data\030\r \001(\01324." - + "google.cloud.recaptchaenterprise.v1.Tran" - + "sactionDataB\004\342A\001\001\"\377\010\n\017TransactionData\022\033\n" - + "\016transaction_id\030\013 \001(\tH\000\210\001\001\022\026\n\016payment_me" - + "thod\030\001 \001(\t\022\020\n\010card_bin\030\002 \001(\t\022\026\n\016card_las" - + "t_four\030\003 \001(\t\022\025\n\rcurrency_code\030\004 \001(\t\022\r\n\005v" - + "alue\030\005 \001(\001\022\026\n\016shipping_value\030\014 \001(\001\022V\n\020sh" - + "ipping_address\030\006 \001(\0132<.google.cloud.reca" - + "ptchaenterprise.v1.TransactionData.Addre" - + "ss\022U\n\017billing_address\030\007 \001(\0132<.google.clo" - + "ud.recaptchaenterprise.v1.TransactionDat" - + "a.Address\022G\n\004user\030\010 \001(\01329.google.cloud.r" - + "ecaptchaenterprise.v1.TransactionData.Us" - + "er\022L\n\tmerchants\030\r \003(\01329.google.cloud.rec" - + "aptchaenterprise.v1.TransactionData.User" - + "\022H\n\005items\030\016 \003(\01329.google.cloud.recaptcha" - + "enterprise.v1.TransactionData.Item\022V\n\014ga" - + "teway_info\030\n \001(\0132@.google.cloud.recaptch" - + "aenterprise.v1.TransactionData.GatewayIn" - + "fo\032\206\001\n\007Address\022\021\n\trecipient\030\001 \001(\t\022\017\n\007add" - + "ress\030\002 \003(\t\022\020\n\010locality\030\003 \001(\t\022\033\n\023administ" - + "rative_area\030\004 \001(\t\022\023\n\013region_code\030\005 \001(\t\022\023" - + "\n\013postal_code\030\006 \001(\t\032\204\001\n\004User\022\022\n\naccount_" - + "id\030\006 \001(\t\022\023\n\013creation_ms\030\001 \001(\003\022\r\n\005email\030\002" - + " \001(\t\022\026\n\016email_verified\030\003 \001(\010\022\024\n\014phone_nu" - + "mber\030\004 \001(\t\022\026\n\016phone_verified\030\005 \001(\010\032R\n\004It" - + "em\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\001\022\020\n\010quant" - + "ity\030\003 \001(\003\022\033\n\023merchant_account_id\030\004 \001(\t\032p" - + "\n\013GatewayInfo\022\014\n\004name\030\001 \001(\t\022\035\n\025gateway_r" - + "esponse_code\030\002 \001(\t\022\031\n\021avs_response_code\030" - + "\003 \001(\t\022\031\n\021cvv_response_code\030\004 \001(\tB\021\n\017_tra" - + "nsaction_id\"\204\003\n\014RiskAnalysis\022\r\n\005score\030\001 " - + "\001(\002\022W\n\007reasons\030\002 \003(\0162F.google.cloud.reca" - + "ptchaenterprise.v1.RiskAnalysis.Classifi" - + "cationReason\022 \n\030extended_verdict_reasons" - + "\030\003 \003(\t\"\351\001\n\024ClassificationReason\022%\n!CLASS" - + "IFICATION_REASON_UNSPECIFIED\020\000\022\016\n\nAUTOMA" - + "TION\020\001\022\032\n\026UNEXPECTED_ENVIRONMENT\020\002\022\024\n\020TO" - + "O_MUCH_TRAFFIC\020\003\022\035\n\031UNEXPECTED_USAGE_PAT" - + "TERNS\020\004\022\030\n\024LOW_CONFIDENCE_SCORE\020\005\022\025\n\021SUS" - + "PECTED_CARDING\020\006\022\030\n\024SUSPECTED_CHARGEBACK" - + "\020\007\"\230\003\n\017TokenProperties\022\r\n\005valid\030\001 \001(\010\022Z\n" - + "\016invalid_reason\030\002 \001(\0162B.google.cloud.rec" - + "aptchaenterprise.v1.TokenProperties.Inva" - + "lidReason\022/\n\013create_time\030\003 \001(\0132\032.google." - + "protobuf.Timestamp\022\020\n\010hostname\030\004 \001(\t\022\034\n\024" - + "android_package_name\030\010 \001(\t\022\025\n\rios_bundle" - + "_id\030\t \001(\t\022\016\n\006action\030\005 \001(\t\"\221\001\n\rInvalidRea" - + "son\022\036\n\032INVALID_REASON_UNSPECIFIED\020\000\022\032\n\026U" - + "NKNOWN_INVALID_REASON\020\001\022\r\n\tMALFORMED\020\002\022\013" - + "\n\007EXPIRED\020\003\022\010\n\004DUPE\020\004\022\013\n\007MISSING\020\005\022\021\n\rBR" - + "OWSER_ERROR\020\006\"\220\004\n\031FraudPreventionAssessm" - + "ent\022\030\n\020transaction_risk\030\001 \001(\002\022y\n\031stolen_" - + "instrument_verdict\030\002 \001(\0132V.google.cloud." + + "pointVerificationInfoB\004\342A\001\001\022\033\n\rlanguage_" + + "code\030\003 \001(\tB\004\342A\001\001\022m\n\032latest_verification_" + + "result\030\007 \001(\0162C.google.cloud.recaptchaent" + + "erprise.v1.AccountVerificationInfo.Resul" + + "tB\004\342A\001\003\022\024\n\010username\030\002 \001(\tB\002\030\001\"\310\002\n\006Result" + + "\022\026\n\022RESULT_UNSPECIFIED\020\000\022\031\n\025SUCCESS_USER" + + "_VERIFIED\020\001\022\033\n\027ERROR_USER_NOT_VERIFIED\020\002" + + "\022$\n ERROR_SITE_ONBOARDING_INCOMPLETE\020\003\022\037" + + "\n\033ERROR_RECIPIENT_NOT_ALLOWED\020\004\022)\n%ERROR" + + "_RECIPIENT_ABUSE_LIMIT_EXHAUSTED\020\005\022\033\n\027ER" + + "ROR_CRITICAL_INTERNAL\020\006\022\"\n\036ERROR_CUSTOME" + + "R_QUOTA_EXHAUSTED\020\007\022\037\n\033ERROR_VERIFICATIO" + + "N_BYPASSED\020\010\022\032\n\026ERROR_VERDICT_MISMATCH\020\t" + + "\"\320\001\n\037PrivatePasswordLeakVerification\022 \n\022" + + "lookup_hash_prefix\030\001 \001(\014B\004\342A\001\002\022-\n\037encryp" + + "ted_user_credentials_hash\030\002 \001(\014B\004\342A\001\001\022+\n" + + "\035encrypted_leak_match_prefixes\030\003 \003(\014B\004\342A" + + "\001\003\022/\n!reencrypted_user_credentials_hash\030" + + "\004 \001(\014B\004\342A\001\003\"\321\007\n\nAssessment\022\022\n\004name\030\001 \001(\t" + + "B\004\342A\001\003\022?\n\005event\030\002 \001(\0132*.google.cloud.rec" + + "aptchaenterprise.v1.EventB\004\342A\001\001\022N\n\rrisk_" + + "analysis\030\003 \001(\01321.google.cloud.recaptchae" + + "nterprise.v1.RiskAnalysisB\004\342A\001\003\022T\n\020token" + + "_properties\030\004 \001(\01324.google.cloud.recaptc" + + "haenterprise.v1.TokenPropertiesB\004\342A\001\003\022`\n" + + "\024account_verification\030\005 \001(\0132<.google.clo" + + "ud.recaptchaenterprise.v1.AccountVerific" + + "ationInfoB\004\342A\001\001\022i\n\033account_defender_asse" + + "ssment\030\006 \001(\0132>.google.cloud.recaptchaent" + + "erprise.v1.AccountDefenderAssessmentB\004\342A" + + "\001\003\022v\n\"private_password_leak_verification" + + "\030\010 \001(\0132D.google.cloud.recaptchaenterpris" + + "e.v1.PrivatePasswordLeakVerificationB\004\342A" + + "\001\001\022g\n\032firewall_policy_assessment\030\n \001(\0132=" + + ".google.cloud.recaptchaenterprise.v1.Fir" + + "ewallPolicyAssessmentB\004\342A\001\003\022i\n\033fraud_pre" + + "vention_assessment\030\013 \001(\0132>.google.cloud." + "recaptchaenterprise.v1.FraudPreventionAs" - + "sessment.StolenInstrumentVerdict\022o\n\024card" - + "_testing_verdict\030\003 \001(\0132Q.google.cloud.re" - + "captchaenterprise.v1.FraudPreventionAsse" - + "ssment.CardTestingVerdict\022w\n\030behavioral_" - + "trust_verdict\030\004 \001(\0132U.google.cloud.recap" - + "tchaenterprise.v1.FraudPreventionAssessm" - + "ent.BehavioralTrustVerdict\032\'\n\027StolenInst" - + "rumentVerdict\022\014\n\004risk\030\001 \001(\002\032\"\n\022CardTesti" - + "ngVerdict\022\014\n\004risk\030\001 \001(\002\032\'\n\026BehavioralTru" - + "stVerdict\022\r\n\005trust\030\001 \001(\002\"\350\003\n\014FraudSignal" - + "s\022Y\n\014user_signals\030\001 \001(\0132=.google.cloud.r" - + "ecaptchaenterprise.v1.FraudSignals.UserS" - + "ignalsB\004\342A\001\003\022Y\n\014card_signals\030\002 \001(\0132=.goo" - + "gle.cloud.recaptchaenterprise.v1.FraudSi" - + "gnals.CardSignalsB\004\342A\001\003\032R\n\013UserSignals\022%" - + "\n\027active_days_lower_bound\030\001 \001(\005B\004\342A\001\003\022\034\n" - + "\016synthetic_risk\030\002 \001(\002B\004\342A\001\003\032\315\001\n\013CardSign" - + "als\022b\n\013card_labels\030\001 \003(\0162G.google.cloud." - + "recaptchaenterprise.v1.FraudSignals.Card" - + "Signals.CardLabelB\004\342A\001\003\"Z\n\tCardLabel\022\032\n\026" - + "CARD_LABEL_UNSPECIFIED\020\000\022\013\n\007PREPAID\020\001\022\013\n" - + "\007VIRTUAL\020\002\022\027\n\023UNEXPECTED_LOCATION\020\003\"\266\002\n\031" - + "AccountDefenderAssessment\022c\n\006labels\030\001 \003(" - + "\0162S.google.cloud.recaptchaenterprise.v1." - + "AccountDefenderAssessment.AccountDefende" - + "rLabel\"\263\001\n\024AccountDefenderLabel\022&\n\"ACCOU" - + "NT_DEFENDER_LABEL_UNSPECIFIED\020\000\022\021\n\rPROFI" - + "LE_MATCH\020\001\022\035\n\031SUSPICIOUS_LOGIN_ACTIVITY\020" - + "\002\022\037\n\033SUSPICIOUS_ACCOUNT_CREATION\020\003\022 \n\034RE" - + "LATED_ACCOUNTS_NUMBER_HIGH\020\004\"\225\001\n\020CreateK" - + "eyRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+clou" - + "dresourcemanager.googleapis.com/Project\022" - + ";\n\003key\030\002 \001(\0132(.google.cloud.recaptchaent" - + "erprise.v1.KeyB\004\342A\001\002\"\212\001\n\017ListKeysRequest" - + "\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresource" - + "manager.googleapis.com/Project\022\027\n\tpage_s" - + "ize\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001" - + "\001\"c\n\020ListKeysResponse\0226\n\004keys\030\001 \003(\0132(.go" - + "ogle.cloud.recaptchaenterprise.v1.Key\022\027\n" - + "\017next_page_token\030\002 \001(\t\"^\n\036RetrieveLegacy" - + "SecretKeyRequest\022<\n\003key\030\001 \001(\tB/\342A\001\002\372A(\n&" - + "recaptchaenterprise.googleapis.com/Key\"N" - + "\n\rGetKeyRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&" - + "recaptchaenterprise.googleapis.com/Key\"\206" - + "\001\n\020UpdateKeyRequest\022;\n\003key\030\001 \001(\0132(.googl" - + "e.cloud.recaptchaenterprise.v1.KeyB\004\342A\001\002" - + "\0225\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMaskB\004\342A\001\001\"Q\n\020DeleteKeyRequest\022=\n\004n" - + "ame\030\001 \001(\tB/\342A\001\002\372A(\n&recaptchaenterprise." - + "googleapis.com/Key\"\267\001\n\033CreateFirewallPol" - + "icyRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+clo" - + "udresourcemanager.googleapis.com/Project" - + "\022R\n\017firewall_policy\030\002 \001(\01323.google.cloud" - + ".recaptchaenterprise.v1.FirewallPolicyB\004" - + "\342A\001\002\"\226\001\n\033ListFirewallPoliciesRequest\022D\n\006" - + "parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcemana" - + "ger.googleapis.com/Project\022\027\n\tpage_size\030" - + "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"\207\001" - + "\n\034ListFirewallPoliciesResponse\022N\n\021firewa" - + "ll_policies\030\001 \003(\01323.google.cloud.recaptc" - + "haenterprise.v1.FirewallPolicy\022\027\n\017next_p" - + "age_token\030\002 \001(\t\"d\n\030GetFirewallPolicyRequ" - + "est\022H\n\004name\030\001 \001(\tB:\342A\001\002\372A3\n1recaptchaent" - + "erprise.googleapis.com/FirewallPolicy\"\250\001" - + "\n\033UpdateFirewallPolicyRequest\022R\n\017firewal" - + "l_policy\030\001 \001(\01323.google.cloud.recaptchae" - + "nterprise.v1.FirewallPolicyB\004\342A\001\002\0225\n\013upd" - + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" - + "skB\004\342A\001\001\"g\n\033DeleteFirewallPolicyRequest\022" - + "H\n\004name\030\001 \001(\tB:\342A\001\002\372A3\n1recaptchaenterpr" - + "ise.googleapis.com/FirewallPolicy\"t\n\021Mig" - + "rateKeyRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&r" - + "ecaptchaenterprise.googleapis.com/Key\022 \n" - + "\022skip_billing_check\030\002 \001(\010B\004\342A\001\001\"V\n\021GetMe" - + "tricsRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*rec" - + "aptchaenterprise.googleapis.com/Metrics\"" - + "\301\002\n\007Metrics\022\022\n\004name\030\004 \001(\tB\004\342A\001\003\022.\n\nstart" - + "_time\030\001 \001(\0132\032.google.protobuf.Timestamp\022" - + "H\n\rscore_metrics\030\002 \003(\01321.google.cloud.re" - + "captchaenterprise.v1.ScoreMetrics\022P\n\021cha" - + "llenge_metrics\030\003 \003(\01325.google.cloud.reca" - + "ptchaenterprise.v1.ChallengeMetrics:V\352AS" - + "\n*recaptchaenterprise.googleapis.com/Met" - + "rics\022%projects/{project}/keys/{key}/metr" - + "ics\"<\n\037RetrieveLegacySecretKeyResponse\022\031" - + "\n\021legacy_secret_key\030\001 \001(\t\"\273\005\n\003Key\022\014\n\004nam" - + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022K\n\014web_set" - + "tings\030\003 \001(\01323.google.cloud.recaptchaente" - + "rprise.v1.WebKeySettingsH\000\022S\n\020android_se" - + "ttings\030\004 \001(\01327.google.cloud.recaptchaent" - + "erprise.v1.AndroidKeySettingsH\000\022K\n\014ios_s" - + "ettings\030\005 \001(\01323.google.cloud.recaptchaen" - + "terprise.v1.IOSKeySettingsH\000\022D\n\006labels\030\006" - + " \003(\01324.google.cloud.recaptchaenterprise." - + "v1.Key.LabelsEntry\0225\n\013create_time\030\007 \001(\0132" - + "\032.google.protobuf.TimestampB\004\342A\001\003\022L\n\017tes" - + "ting_options\030\t \001(\01323.google.cloud.recapt" - + "chaenterprise.v1.TestingOptions\022F\n\014waf_s" - + "ettings\030\n \001(\01320.google.cloud.recaptchaen" - + "terprise.v1.WafSettings\032-\n\013LabelsEntry\022\013" - + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:J\352AG\n&rec" - + "aptchaenterprise.googleapis.com/Key\022\035pro" - + "jects/{project}/keys/{key}B\023\n\021platform_s" - + "ettings\"\350\001\n\016TestingOptions\022\025\n\rtesting_sc" - + "ore\030\001 \001(\002\022_\n\021testing_challenge\030\002 \001(\0162D.g" - + "oogle.cloud.recaptchaenterprise.v1.Testi" - + "ngOptions.TestingChallenge\"^\n\020TestingCha" - + "llenge\022!\n\035TESTING_CHALLENGE_UNSPECIFIED\020" - + "\000\022\r\n\tNOCAPTCHA\020\001\022\030\n\024UNSOLVABLE_CHALLENGE" - + "\020\002\"\221\004\n\016WebKeySettings\022\031\n\021allow_all_domai" - + "ns\030\003 \001(\010\022\027\n\017allowed_domains\030\001 \003(\t\022\031\n\021all" - + "ow_amp_traffic\030\002 \001(\010\022c\n\020integration_type" - + "\030\004 \001(\0162C.google.cloud.recaptchaenterpris" - + "e.v1.WebKeySettings.IntegrationTypeB\004\342A\001" - + "\002\022v\n\035challenge_security_preference\030\005 \001(\016" - + "2O.google.cloud.recaptchaenterprise.v1.W" - + "ebKeySettings.ChallengeSecurityPreferenc" - + "e\"[\n\017IntegrationType\022 \n\034INTEGRATION_TYPE" - + "_UNSPECIFIED\020\000\022\t\n\005SCORE\020\001\022\014\n\010CHECKBOX\020\002\022" - + "\r\n\tINVISIBLE\020\003\"v\n\033ChallengeSecurityPrefe" - + "rence\022-\n)CHALLENGE_SECURITY_PREFERENCE_U" - + "NSPECIFIED\020\000\022\r\n\tUSABILITY\020\001\022\013\n\007BALANCE\020\002" - + "\022\014\n\010SECURITY\020\003\"\207\001\n\022AndroidKeySettings\022\037\n" - + "\027allow_all_package_names\030\002 \001(\010\022\035\n\025allowe" - + "d_package_names\030\001 \003(\t\0221\n)support_non_goo" - + "gle_app_store_distribution\030\003 \001(\010\"\235\001\n\016IOS" - + "KeySettings\022\034\n\024allow_all_bundle_ids\030\002 \001(" - + "\010\022\032\n\022allowed_bundle_ids\030\001 \003(\t\022Q\n\022apple_d" - + "eveloper_id\030\003 \001(\01325.google.cloud.recaptc" - + "haenterprise.v1.AppleDeveloperId\"[\n\020Appl" - + "eDeveloperId\022\032\n\013private_key\030\001 \001(\tB\005\342A\002\002\004" - + "\022\024\n\006key_id\030\002 \001(\tB\004\342A\001\002\022\025\n\007team_id\030\003 \001(\tB" - + "\004\342A\001\002\"\251\001\n\021ScoreDistribution\022_\n\rscore_buc" - + "kets\030\001 \003(\0132H.google.cloud.recaptchaenter" - + "prise.v1.ScoreDistribution.ScoreBucketsE" - + "ntry\0323\n\021ScoreBucketsEntry\022\013\n\003key\030\001 \001(\005\022\r" - + "\n\005value\030\002 \001(\003:\0028\001\"\253\002\n\014ScoreMetrics\022O\n\017ov" - + "erall_metrics\030\001 \001(\01326.google.cloud.recap" - + "tchaenterprise.v1.ScoreDistribution\022\\\n\016a" - + "ction_metrics\030\002 \003(\0132D.google.cloud.recap" - + "tchaenterprise.v1.ScoreMetrics.ActionMet" - + "ricsEntry\032l\n\022ActionMetricsEntry\022\013\n\003key\030\001" - + " \001(\t\022E\n\005value\030\002 \001(\01326.google.cloud.recap" - + "tchaenterprise.v1.ScoreDistribution:\0028\001\"" - + "o\n\020ChallengeMetrics\022\026\n\016pageload_count\030\001 " - + "\001(\003\022\027\n\017nocaptcha_count\030\002 \001(\003\022\024\n\014failed_c" - + "ount\030\003 \001(\003\022\024\n\014passed_count\030\004 \001(\003\"\221\001\n\030Fir" - + "ewallPolicyAssessment\022!\n\005error\030\005 \001(\0132\022.g" - + "oogle.rpc.Status\022R\n\017firewall_policy\030\010 \001(" - + "\01323.google.cloud.recaptchaenterprise.v1." - + "FirewallPolicyB\004\342A\001\003\"\335\004\n\016FirewallAction\022" - + "P\n\005allow\030\001 \001(\0132?.google.cloud.recaptchae" - + "nterprise.v1.FirewallAction.AllowActionH" - + "\000\022P\n\005block\030\002 \001(\0132?.google.cloud.recaptch" - + "aenterprise.v1.FirewallAction.BlockActio" - + "nH\000\022V\n\010redirect\030\005 \001(\0132B.google.cloud.rec" - + "aptchaenterprise.v1.FirewallAction.Redir" - + "ectActionH\000\022Z\n\nsubstitute\030\003 \001(\0132D.google" - + ".cloud.recaptchaenterprise.v1.FirewallAc" - + "tion.SubstituteActionH\000\022Y\n\nset_header\030\004 " - + "\001(\0132C.google.cloud.recaptchaenterprise.v" - + "1.FirewallAction.SetHeaderActionH\000\032\r\n\013Al" - + "lowAction\032\r\n\013BlockAction\032\020\n\016RedirectActi" - + "on\032 \n\020SubstituteAction\022\014\n\004path\030\001 \001(\t\032-\n\017" - + "SetHeaderAction\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\tB\027\n\025firewall_action_oneof\"\210\002\n\016Firewal" - + "lPolicy\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001" - + "(\t\022\014\n\004path\030\004 \001(\t\022\021\n\tcondition\030\005 \001(\t\022D\n\007a" - + "ctions\030\006 \003(\01323.google.cloud.recaptchaent" - + "erprise.v1.FirewallAction:l\352Ai\n1recaptch" - + "aenterprise.googleapis.com/FirewallPolic" - + "y\0224projects/{project}/firewallpolicies/{" - + "firewallpolicy}\"\271\001\n)ListRelatedAccountGr" - + "oupMembershipsRequest\022Y\n\006parent\030\001 \001(\tBI\342" - + "A\001\002\372AB\022@recaptchaenterprise.googleapis.c" - + "om/RelatedAccountGroupMembership\022\027\n\tpage" - + "_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342" - + "A\001\001\"\264\001\n*ListRelatedAccountGroupMembershi" - + "psResponse\022m\n!related_account_group_memb" - + "erships\030\001 \003(\0132B.google.cloud.recaptchaen" - + "terprise.v1.RelatedAccountGroupMembershi" - + "p\022\027\n\017next_page_token\030\002 \001(\t\"\245\001\n\037ListRelat" - + "edAccountGroupsRequest\022O\n\006parent\030\001 \001(\tB?" - + "\342A\001\002\372A8\0226recaptchaenterprise.googleapis." - + "com/RelatedAccountGroup\022\027\n\tpage_size\030\002 \001" - + "(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"\225\001\n L" - + "istRelatedAccountGroupsResponse\022X\n\026relat" - + "ed_account_groups\030\001 \003(\01328.google.cloud.r" - + "ecaptchaenterprise.v1.RelatedAccountGrou" - + "p\022\027\n\017next_page_token\030\002 \001(\t\"\335\001\n+SearchRel" - + "atedAccountGroupMembershipsRequest\022Z\n\007pr" - + "oject\030\001 \001(\tBI\342A\001\002\372AB\022@recaptchaenterpris" - + "e.googleapis.com/RelatedAccountGroupMemb" - + "ership\022\037\n\021hashed_account_id\030\002 \001(\014B\004\342A\001\001\022" - + "\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\004" - + " \001(\tB\004\342A\001\001\"\266\001\n,SearchRelatedAccountGroup" - + "MembershipsResponse\022m\n!related_account_g" - + "roup_memberships\030\001 \003(\0132B.google.cloud.re" - + "captchaenterprise.v1.RelatedAccountGroup" - + "Membership\022\027\n\017next_page_token\030\002 \001(\t\"\264\002\n\035" - + "RelatedAccountGroupMembership\022W\n\004name\030\001 " - + "\001(\tBI\342A\001\002\372AB\n@recaptchaenterprise.google" - + "apis.com/RelatedAccountGroupMembership\022\031" - + "\n\021hashed_account_id\030\002 \001(\014:\236\001\352A\232\001\n@recapt" - + "chaenterprise.googleapis.com/RelatedAcco" - + "untGroupMembership\022Vprojects/{project}/r" - + "elatedaccountgroups/{relatedaccountgroup" - + "}/memberships/{membership}\"\340\001\n\023RelatedAc" - + "countGroup\022M\n\004name\030\001 \001(\tB?\342A\001\002\372A8\n6recap" + + "sessmentB\004\342A\001\003\022N\n\rfraud_signals\030\r \001(\01321." + + "google.cloud.recaptchaenterprise.v1.Frau" + + "dSignalsB\004\342A\001\003:_\352A\\\n-recaptchaenterprise" + + ".googleapis.com/Assessment\022+projects/{pr" + + "oject}/assessments/{assessment}\"\257\003\n\005Even" + + "t\022\023\n\005token\030\001 \001(\tB\004\342A\001\001\022\026\n\010site_key\030\002 \001(\t" + + "B\004\342A\001\001\022\030\n\nuser_agent\030\003 \001(\tB\004\342A\001\001\022\035\n\017user" + + "_ip_address\030\004 \001(\tB\004\342A\001\001\022\035\n\017expected_acti" + + "on\030\005 \001(\tB\004\342A\001\001\022\037\n\021hashed_account_id\030\006 \001(" + + "\014B\004\342A\001\001\022\025\n\007express\030\016 \001(\010B\004\342A\001\001\022\033\n\rreques" + + "ted_uri\030\010 \001(\tB\004\342A\001\001\022\"\n\024waf_token_assessm" + + "ent\030\t \001(\010B\004\342A\001\001\022\021\n\003ja3\030\n \001(\tB\004\342A\001\001\022\025\n\007he" + + "aders\030\013 \003(\tB\004\342A\001\001\022(\n\032firewall_policy_eva" + + "luation\030\014 \001(\010B\004\342A\001\001\022T\n\020transaction_data\030" + + "\r \001(\01324.google.cloud.recaptchaenterprise" + + ".v1.TransactionDataB\004\342A\001\001\"\300\n\n\017Transactio" + + "nData\022\033\n\016transaction_id\030\013 \001(\tH\000\210\001\001\022\034\n\016pa" + + "yment_method\030\001 \001(\tB\004\342A\001\001\022\026\n\010card_bin\030\002 \001" + + "(\tB\004\342A\001\001\022\034\n\016card_last_four\030\003 \001(\tB\004\342A\001\001\022\033" + + "\n\rcurrency_code\030\004 \001(\tB\004\342A\001\001\022\023\n\005value\030\005 \001" + + "(\001B\004\342A\001\001\022\034\n\016shipping_value\030\014 \001(\001B\004\342A\001\001\022\\" + + "\n\020shipping_address\030\006 \001(\0132<.google.cloud." + + "recaptchaenterprise.v1.TransactionData.A" + + "ddressB\004\342A\001\001\022[\n\017billing_address\030\007 \001(\0132<." + + "google.cloud.recaptchaenterprise.v1.Tran" + + "sactionData.AddressB\004\342A\001\001\022M\n\004user\030\010 \001(\0132" + + "9.google.cloud.recaptchaenterprise.v1.Tr" + + "ansactionData.UserB\004\342A\001\001\022R\n\tmerchants\030\r " + + "\003(\01329.google.cloud.recaptchaenterprise.v" + + "1.TransactionData.UserB\004\342A\001\001\022N\n\005items\030\016 " + + "\003(\01329.google.cloud.recaptchaenterprise.v" + + "1.TransactionData.ItemB\004\342A\001\001\022\\\n\014gateway_" + + "info\030\n \001(\0132@.google.cloud.recaptchaenter" + + "prise.v1.TransactionData.GatewayInfoB\004\342A" + + "\001\001\032\252\001\n\007Address\022\027\n\trecipient\030\001 \001(\tB\004\342A\001\001\022" + + "\025\n\007address\030\002 \003(\tB\004\342A\001\001\022\026\n\010locality\030\003 \001(\t" + + "B\004\342A\001\001\022!\n\023administrative_area\030\004 \001(\tB\004\342A\001" + + "\001\022\031\n\013region_code\030\005 \001(\tB\004\342A\001\001\022\031\n\013postal_c" + + "ode\030\006 \001(\tB\004\342A\001\001\032\250\001\n\004User\022\030\n\naccount_id\030\006" + + " \001(\tB\004\342A\001\001\022\031\n\013creation_ms\030\001 \001(\003B\004\342A\001\001\022\023\n" + + "\005email\030\002 \001(\tB\004\342A\001\001\022\034\n\016email_verified\030\003 \001" + + "(\010B\004\342A\001\001\022\032\n\014phone_number\030\004 \001(\tB\004\342A\001\001\022\034\n\016" + + "phone_verified\030\005 \001(\010B\004\342A\001\001\032j\n\004Item\022\022\n\004na" + + "me\030\001 \001(\tB\004\342A\001\001\022\023\n\005value\030\002 \001(\001B\004\342A\001\001\022\026\n\010q" + + "uantity\030\003 \001(\003B\004\342A\001\001\022!\n\023merchant_account_" + + "id\030\004 \001(\tB\004\342A\001\001\032\210\001\n\013GatewayInfo\022\022\n\004name\030\001" + + " \001(\tB\004\342A\001\001\022#\n\025gateway_response_code\030\002 \001(" + + "\tB\004\342A\001\001\022\037\n\021avs_response_code\030\003 \001(\tB\004\342A\001\001" + + "\022\037\n\021cvv_response_code\030\004 \001(\tB\004\342A\001\001B\021\n\017_tr" + + "ansaction_id\"\226\003\n\014RiskAnalysis\022\023\n\005score\030\001" + + " \001(\002B\004\342A\001\003\022]\n\007reasons\030\002 \003(\0162F.google.clo" + + "ud.recaptchaenterprise.v1.RiskAnalysis.C" + + "lassificationReasonB\004\342A\001\003\022&\n\030extended_ve" + + "rdict_reasons\030\003 \003(\tB\004\342A\001\003\"\351\001\n\024Classifica" + + "tionReason\022%\n!CLASSIFICATION_REASON_UNSP" + + "ECIFIED\020\000\022\016\n\nAUTOMATION\020\001\022\032\n\026UNEXPECTED_" + + "ENVIRONMENT\020\002\022\024\n\020TOO_MUCH_TRAFFIC\020\003\022\035\n\031U" + + "NEXPECTED_USAGE_PATTERNS\020\004\022\030\n\024LOW_CONFID" + + "ENCE_SCORE\020\005\022\025\n\021SUSPECTED_CARDING\020\006\022\030\n\024S" + + "USPECTED_CHARGEBACK\020\007\"\302\003\n\017TokenPropertie" + + "s\022\023\n\005valid\030\001 \001(\010B\004\342A\001\003\022`\n\016invalid_reason" + + "\030\002 \001(\0162B.google.cloud.recaptchaenterpris" + + "e.v1.TokenProperties.InvalidReasonB\004\342A\001\003" + + "\0225\n\013create_time\030\003 \001(\0132\032.google.protobuf." + + "TimestampB\004\342A\001\003\022\026\n\010hostname\030\004 \001(\tB\004\342A\001\003\022" + + "\"\n\024android_package_name\030\010 \001(\tB\004\342A\001\003\022\033\n\ri" + + "os_bundle_id\030\t \001(\tB\004\342A\001\003\022\024\n\006action\030\005 \001(\t" + + "B\004\342A\001\003\"\221\001\n\rInvalidReason\022\036\n\032INVALID_REAS" + + "ON_UNSPECIFIED\020\000\022\032\n\026UNKNOWN_INVALID_REAS" + + "ON\020\001\022\r\n\tMALFORMED\020\002\022\013\n\007EXPIRED\020\003\022\010\n\004DUPE" + + "\020\004\022\013\n\007MISSING\020\005\022\021\n\rBROWSER_ERROR\020\006\"\272\004\n\031F" + + "raudPreventionAssessment\022\036\n\020transaction_" + + "risk\030\001 \001(\002B\004\342A\001\003\022\177\n\031stolen_instrument_ve" + + "rdict\030\002 \001(\0132V.google.cloud.recaptchaente" + + "rprise.v1.FraudPreventionAssessment.Stol" + + "enInstrumentVerdictB\004\342A\001\003\022u\n\024card_testin" + + "g_verdict\030\003 \001(\0132Q.google.cloud.recaptcha" + + "enterprise.v1.FraudPreventionAssessment." + + "CardTestingVerdictB\004\342A\001\003\022}\n\030behavioral_t" + + "rust_verdict\030\004 \001(\0132U.google.cloud.recapt" + + "chaenterprise.v1.FraudPreventionAssessme" + + "nt.BehavioralTrustVerdictB\004\342A\001\003\032-\n\027Stole" + + "nInstrumentVerdict\022\022\n\004risk\030\001 \001(\002B\004\342A\001\003\032(" + + "\n\022CardTestingVerdict\022\022\n\004risk\030\001 \001(\002B\004\342A\001\003" + + "\032-\n\026BehavioralTrustVerdict\022\023\n\005trust\030\001 \001(" + + "\002B\004\342A\001\003\"\350\003\n\014FraudSignals\022Y\n\014user_signals" + + "\030\001 \001(\0132=.google.cloud.recaptchaenterpris" + + "e.v1.FraudSignals.UserSignalsB\004\342A\001\003\022Y\n\014c" + + "ard_signals\030\002 \001(\0132=.google.cloud.recaptc" + + "haenterprise.v1.FraudSignals.CardSignals" + + "B\004\342A\001\003\032R\n\013UserSignals\022%\n\027active_days_low" + + "er_bound\030\001 \001(\005B\004\342A\001\003\022\034\n\016synthetic_risk\030\002" + + " \001(\002B\004\342A\001\003\032\315\001\n\013CardSignals\022b\n\013card_label" + + "s\030\001 \003(\0162G.google.cloud.recaptchaenterpri" + + "se.v1.FraudSignals.CardSignals.CardLabel" + + "B\004\342A\001\003\"Z\n\tCardLabel\022\032\n\026CARD_LABEL_UNSPEC" + + "IFIED\020\000\022\013\n\007PREPAID\020\001\022\013\n\007VIRTUAL\020\002\022\027\n\023UNE" + + "XPECTED_LOCATION\020\003\"\274\002\n\031AccountDefenderAs" + + "sessment\022i\n\006labels\030\001 \003(\0162S.google.cloud." + + "recaptchaenterprise.v1.AccountDefenderAs" + + "sessment.AccountDefenderLabelB\004\342A\001\003\"\263\001\n\024" + + "AccountDefenderLabel\022&\n\"ACCOUNT_DEFENDER" + + "_LABEL_UNSPECIFIED\020\000\022\021\n\rPROFILE_MATCH\020\001\022" + + "\035\n\031SUSPICIOUS_LOGIN_ACTIVITY\020\002\022\037\n\033SUSPIC" + + "IOUS_ACCOUNT_CREATION\020\003\022 \n\034RELATED_ACCOU" + + "NTS_NUMBER_HIGH\020\004\"\225\001\n\020CreateKeyRequest\022D" + + "\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcema" + + "nager.googleapis.com/Project\022;\n\003key\030\002 \001(" + + "\0132(.google.cloud.recaptchaenterprise.v1." + + "KeyB\004\342A\001\002\"\212\001\n\017ListKeysRequest\022D\n\006parent\030" + + "\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcemanager.goo" + + "gleapis.com/Project\022\027\n\tpage_size\030\002 \001(\005B\004" + + "\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"c\n\020ListKe" + + "ysResponse\0226\n\004keys\030\001 \003(\0132(.google.cloud." + + "recaptchaenterprise.v1.Key\022\027\n\017next_page_" + + "token\030\002 \001(\t\"^\n\036RetrieveLegacySecretKeyRe" + + "quest\022<\n\003key\030\001 \001(\tB/\342A\001\002\372A(\n&recaptchaen" + + "terprise.googleapis.com/Key\"N\n\rGetKeyReq" + + "uest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&recaptchaen" + + "terprise.googleapis.com/Key\"\206\001\n\020UpdateKe" + + "yRequest\022;\n\003key\030\001 \001(\0132(.google.cloud.rec" + + "aptchaenterprise.v1.KeyB\004\342A\001\002\0225\n\013update_" + + "mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004" + + "\342A\001\001\"Q\n\020DeleteKeyRequest\022=\n\004name\030\001 \001(\tB/" + + "\342A\001\002\372A(\n&recaptchaenterprise.googleapis." + + "com/Key\"\267\001\n\033CreateFirewallPolicyRequest\022" + + "D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcem" + + "anager.googleapis.com/Project\022R\n\017firewal" + + "l_policy\030\002 \001(\01323.google.cloud.recaptchae" + + "nterprise.v1.FirewallPolicyB\004\342A\001\002\"\226\001\n\033Li" + + "stFirewallPoliciesRequest\022D\n\006parent\030\001 \001(" + + "\tB4\342A\001\002\372A-\n+cloudresourcemanager.googlea" + + "pis.com/Project\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001" + + "\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"\207\001\n\034ListFirew" + + "allPoliciesResponse\022N\n\021firewall_policies" + + "\030\001 \003(\01323.google.cloud.recaptchaenterpris" + + "e.v1.FirewallPolicy\022\027\n\017next_page_token\030\002" + + " \001(\t\"d\n\030GetFirewallPolicyRequest\022H\n\004name" + + "\030\001 \001(\tB:\342A\001\002\372A3\n1recaptchaenterprise.goo" + + "gleapis.com/FirewallPolicy\"\250\001\n\033UpdateFir" + + "ewallPolicyRequest\022R\n\017firewall_policy\030\001 " + + "\001(\01323.google.cloud.recaptchaenterprise.v" + + "1.FirewallPolicyB\004\342A\001\002\0225\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\"g\n" + + "\033DeleteFirewallPolicyRequest\022H\n\004name\030\001 \001" + + "(\tB:\342A\001\002\372A3\n1recaptchaenterprise.googlea" + + "pis.com/FirewallPolicy\"t\n\021MigrateKeyRequ" + + "est\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&recaptchaent" + + "erprise.googleapis.com/Key\022 \n\022skip_billi" + + "ng_check\030\002 \001(\010B\004\342A\001\001\"V\n\021GetMetricsReques" + + "t\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*recaptchaenter" + + "prise.googleapis.com/Metrics\"\301\002\n\007Metrics" + + "\022\022\n\004name\030\004 \001(\tB\004\342A\001\003\022.\n\nstart_time\030\001 \001(\013" + + "2\032.google.protobuf.Timestamp\022H\n\rscore_me" + + "trics\030\002 \003(\01321.google.cloud.recaptchaente" + + "rprise.v1.ScoreMetrics\022P\n\021challenge_metr" + + "ics\030\003 \003(\01325.google.cloud.recaptchaenterp" + + "rise.v1.ChallengeMetrics:V\352AS\n*recaptcha" + + "enterprise.googleapis.com/Metrics\022%proje" + + "cts/{project}/keys/{key}/metrics\"<\n\037Retr" + + "ieveLegacySecretKeyResponse\022\031\n\021legacy_se" + + "cret_key\030\001 \001(\t\"\323\005\n\003Key\022\014\n\004name\030\001 \001(\t\022\032\n\014" + + "display_name\030\002 \001(\tB\004\342A\001\002\022K\n\014web_settings" + + "\030\003 \001(\01323.google.cloud.recaptchaenterpris" + + "e.v1.WebKeySettingsH\000\022S\n\020android_setting" + + "s\030\004 \001(\01327.google.cloud.recaptchaenterpri" + + "se.v1.AndroidKeySettingsH\000\022K\n\014ios_settin" + + "gs\030\005 \001(\01323.google.cloud.recaptchaenterpr" + + "ise.v1.IOSKeySettingsH\000\022J\n\006labels\030\006 \003(\0132" + + "4.google.cloud.recaptchaenterprise.v1.Ke" + + "y.LabelsEntryB\004\342A\001\001\0225\n\013create_time\030\007 \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\022R\n\017te" + + "sting_options\030\t \001(\01323.google.cloud.recap" + + "tchaenterprise.v1.TestingOptionsB\004\342A\001\001\022L" + + "\n\014waf_settings\030\n \001(\01320.google.cloud.reca" + + "ptchaenterprise.v1.WafSettingsB\004\342A\001\001\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001:J\352AG\n&recaptchaenterprise.googleapis" + + ".com/Key\022\035projects/{project}/keys/{key}B" + + "\023\n\021platform_settings\"\364\001\n\016TestingOptions\022" + + "\033\n\rtesting_score\030\001 \001(\002B\004\342A\001\001\022e\n\021testing_" + + "challenge\030\002 \001(\0162D.google.cloud.recaptcha" + + "enterprise.v1.TestingOptions.TestingChal" + + "lengeB\004\342A\001\001\"^\n\020TestingChallenge\022!\n\035TESTI" + + "NG_CHALLENGE_UNSPECIFIED\020\000\022\r\n\tNOCAPTCHA\020" + + "\001\022\030\n\024UNSOLVABLE_CHALLENGE\020\002\"\251\004\n\016WebKeySe" + + "ttings\022\037\n\021allow_all_domains\030\003 \001(\010B\004\342A\001\001\022" + + "\035\n\017allowed_domains\030\001 \003(\tB\004\342A\001\001\022\037\n\021allow_" + + "amp_traffic\030\002 \001(\010B\004\342A\001\001\022c\n\020integration_t" + + "ype\030\004 \001(\0162C.google.cloud.recaptchaenterp" + + "rise.v1.WebKeySettings.IntegrationTypeB\004" + + "\342A\001\002\022|\n\035challenge_security_preference\030\005 " + + "\001(\0162O.google.cloud.recaptchaenterprise.v" + + "1.WebKeySettings.ChallengeSecurityPrefer" + + "enceB\004\342A\001\001\"[\n\017IntegrationType\022 \n\034INTEGRA" + + "TION_TYPE_UNSPECIFIED\020\000\022\t\n\005SCORE\020\001\022\014\n\010CH" + + "ECKBOX\020\002\022\r\n\tINVISIBLE\020\003\"v\n\033ChallengeSecu" + + "rityPreference\022-\n)CHALLENGE_SECURITY_PRE" + + "FERENCE_UNSPECIFIED\020\000\022\r\n\tUSABILITY\020\001\022\013\n\007" + + "BALANCE\020\002\022\014\n\010SECURITY\020\003\"\231\001\n\022AndroidKeySe" + + "ttings\022%\n\027allow_all_package_names\030\002 \001(\010B" + + "\004\342A\001\001\022#\n\025allowed_package_names\030\001 \003(\tB\004\342A" + + "\001\001\0227\n)support_non_google_app_store_distr" + + "ibution\030\003 \001(\010B\004\342A\001\001\"\257\001\n\016IOSKeySettings\022\"" + + "\n\024allow_all_bundle_ids\030\002 \001(\010B\004\342A\001\001\022 \n\022al" + + "lowed_bundle_ids\030\001 \003(\tB\004\342A\001\001\022W\n\022apple_de" + + "veloper_id\030\003 \001(\01325.google.cloud.recaptch" + + "aenterprise.v1.AppleDeveloperIdB\004\342A\001\001\"[\n" + + "\020AppleDeveloperId\022\032\n\013private_key\030\001 \001(\tB\005" + + "\342A\002\002\004\022\024\n\006key_id\030\002 \001(\tB\004\342A\001\002\022\025\n\007team_id\030\003" + + " \001(\tB\004\342A\001\002\"\251\001\n\021ScoreDistribution\022_\n\rscor" + + "e_buckets\030\001 \003(\0132H.google.cloud.recaptcha" + + "enterprise.v1.ScoreDistribution.ScoreBuc" + + "ketsEntry\0323\n\021ScoreBucketsEntry\022\013\n\003key\030\001 " + + "\001(\005\022\r\n\005value\030\002 \001(\003:\0028\001\"\253\002\n\014ScoreMetrics\022" + + "O\n\017overall_metrics\030\001 \001(\01326.google.cloud." + + "recaptchaenterprise.v1.ScoreDistribution" + + "\022\\\n\016action_metrics\030\002 \003(\0132D.google.cloud." + + "recaptchaenterprise.v1.ScoreMetrics.Acti" + + "onMetricsEntry\032l\n\022ActionMetricsEntry\022\013\n\003" + + "key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google.cloud." + + "recaptchaenterprise.v1.ScoreDistribution" + + ":\0028\001\"o\n\020ChallengeMetrics\022\026\n\016pageload_cou" + + "nt\030\001 \001(\003\022\027\n\017nocaptcha_count\030\002 \001(\003\022\024\n\014fai" + + "led_count\030\003 \001(\003\022\024\n\014passed_count\030\004 \001(\003\"\227\001" + + "\n\030FirewallPolicyAssessment\022\'\n\005error\030\005 \001(" + + "\0132\022.google.rpc.StatusB\004\342A\001\003\022R\n\017firewall_" + + "policy\030\010 \001(\01323.google.cloud.recaptchaent" + + "erprise.v1.FirewallPolicyB\004\342A\001\003\"\357\004\n\016Fire" + + "wallAction\022P\n\005allow\030\001 \001(\0132?.google.cloud" + + ".recaptchaenterprise.v1.FirewallAction.A" + + "llowActionH\000\022P\n\005block\030\002 \001(\0132?.google.clo" + + "ud.recaptchaenterprise.v1.FirewallAction" + + ".BlockActionH\000\022V\n\010redirect\030\005 \001(\0132B.googl" + + "e.cloud.recaptchaenterprise.v1.FirewallA" + + "ction.RedirectActionH\000\022Z\n\nsubstitute\030\003 \001" + + "(\0132D.google.cloud.recaptchaenterprise.v1" + + ".FirewallAction.SubstituteActionH\000\022Y\n\nse" + + "t_header\030\004 \001(\0132C.google.cloud.recaptchae" + + "nterprise.v1.FirewallAction.SetHeaderAct" + + "ionH\000\032\r\n\013AllowAction\032\r\n\013BlockAction\032\020\n\016R" + + "edirectAction\032&\n\020SubstituteAction\022\022\n\004pat" + + "h\030\001 \001(\tB\004\342A\001\001\0329\n\017SetHeaderAction\022\021\n\003key\030" + + "\001 \001(\tB\004\342A\001\001\022\023\n\005value\030\002 \001(\tB\004\342A\001\001B\027\n\025fire" + + "wall_action_oneof\"\240\002\n\016FirewallPolicy\022\014\n\004" + + "name\030\001 \001(\t\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022\022\n" + + "\004path\030\004 \001(\tB\004\342A\001\001\022\027\n\tcondition\030\005 \001(\tB\004\342A" + + "\001\001\022J\n\007actions\030\006 \003(\01323.google.cloud.recap" + + "tchaenterprise.v1.FirewallActionB\004\342A\001\001:l" + + "\352Ai\n1recaptchaenterprise.googleapis.com/" + + "FirewallPolicy\0224projects/{project}/firew" + + "allpolicies/{firewallpolicy}\"\271\001\n)ListRel" + + "atedAccountGroupMembershipsRequest\022Y\n\006pa" + + "rent\030\001 \001(\tBI\342A\001\002\372AB\022@recaptchaenterprise" + + ".googleapis.com/RelatedAccountGroupMembe" + + "rship\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_t" + + "oken\030\003 \001(\tB\004\342A\001\001\"\264\001\n*ListRelatedAccountG" + + "roupMembershipsResponse\022m\n!related_accou" + + "nt_group_memberships\030\001 \003(\0132B.google.clou" + + "d.recaptchaenterprise.v1.RelatedAccountG" + + "roupMembership\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\245\001\n\037ListRelatedAccountGroupsRequest\022O\n\006p" + + "arent\030\001 \001(\tB?\342A\001\002\372A8\0226recaptchaenterpris" + + "e.googleapis.com/RelatedAccountGroup\022\027\n\t" + + "page_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(" + + "\tB\004\342A\001\001\"\225\001\n ListRelatedAccountGroupsResp" + + "onse\022X\n\026related_account_groups\030\001 \003(\01328.g" + + "oogle.cloud.recaptchaenterprise.v1.Relat" + + "edAccountGroup\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\335\001\n+SearchRelatedAccountGroupMemberships" + + "Request\022Z\n\007project\030\001 \001(\tBI\342A\001\002\372AB\022@recap" + "tchaenterprise.googleapis.com/RelatedAcc" - + "ountGroup:z\352Aw\n6recaptchaenterprise.goog" - + "leapis.com/RelatedAccountGroup\022=projects" - + "/{project}/relatedaccountgroups/{related" - + "accountgroup}\"\355\002\n\013WafSettings\022V\n\013waf_ser" - + "vice\030\001 \001(\0162;.google.cloud.recaptchaenter" - + "prise.v1.WafSettings.WafServiceB\004\342A\001\002\022V\n" - + "\013waf_feature\030\002 \001(\0162;.google.cloud.recapt" - + "chaenterprise.v1.WafSettings.WafFeatureB" - + "\004\342A\001\002\"o\n\nWafFeature\022\033\n\027WAF_FEATURE_UNSPE" - + "CIFIED\020\000\022\022\n\016CHALLENGE_PAGE\020\001\022\021\n\rSESSION_" - + "TOKEN\020\002\022\020\n\014ACTION_TOKEN\020\003\022\013\n\007EXPRESS\020\005\"=" - + "\n\nWafService\022\033\n\027WAF_SERVICE_UNSPECIFIED\020" - + "\000\022\006\n\002CA\020\001\022\n\n\006FASTLY\020\0032\346\035\n\032RecaptchaEnter" - + "priseService\022\316\001\n\020CreateAssessment\022<.goog" - + "le.cloud.recaptchaenterprise.v1.CreateAs" - + "sessmentRequest\032/.google.cloud.recaptcha" - + "enterprise.v1.Assessment\"K\332A\021parent,asse" - + "ssment\202\323\344\223\0021\"#/v1/{parent=projects/*}/as" - + "sessments:\nassessment\022\340\001\n\022AnnotateAssess" - + "ment\022>.google.cloud.recaptchaenterprise." - + "v1.AnnotateAssessmentRequest\032?.google.cl" - + "oud.recaptchaenterprise.v1.AnnotateAsses" - + "smentResponse\"I\332A\017name,annotation\202\323\344\223\0021\"" - + ",/v1/{name=projects/*/assessments/*}:ann" - + "otate:\001*\022\244\001\n\tCreateKey\0225.google.cloud.re" - + "captchaenterprise.v1.CreateKeyRequest\032(.", - "google.cloud.recaptchaenterprise.v1.Key\"" - + "6\332A\nparent,key\202\323\344\223\002#\"\034/v1/{parent=projec" - + "ts/*}/keys:\003key\022\246\001\n\010ListKeys\0224.google.cl" - + "oud.recaptchaenterprise.v1.ListKeysReque" - + "st\0325.google.cloud.recaptchaenterprise.v1" - + ".ListKeysResponse\"-\332A\006parent\202\323\344\223\002\036\022\034/v1/" - + "{parent=projects/*}/keys\022\347\001\n\027RetrieveLeg" - + "acySecretKey\022C.google.cloud.recaptchaent" - + "erprise.v1.RetrieveLegacySecretKeyReques" - + "t\032D.google.cloud.recaptchaenterprise.v1." - + "RetrieveLegacySecretKeyResponse\"A\332A\003key\202" - + "\323\344\223\0025\0223/v1/{key=projects/*/keys/*}:retri" - + "eveLegacySecretKey\022\223\001\n\006GetKey\0222.google.c" - + "loud.recaptchaenterprise.v1.GetKeyReques" - + "t\032(.google.cloud.recaptchaenterprise.v1." - + "Key\"+\332A\004name\202\323\344\223\002\036\022\034/v1/{name=projects/*" - + "/keys/*}\022\255\001\n\tUpdateKey\0225.google.cloud.re" - + "captchaenterprise.v1.UpdateKeyRequest\032(." - + "google.cloud.recaptchaenterprise.v1.Key\"" - + "?\332A\017key,update_mask\202\323\344\223\002\'2 /v1/{key.name" - + "=projects/*/keys/*}:\003key\022\207\001\n\tDeleteKey\0225" - + ".google.cloud.recaptchaenterprise.v1.Del" - + "eteKeyRequest\032\026.google.protobuf.Empty\"+\332" - + "A\004name\202\323\344\223\002\036*\034/v1/{name=projects/*/keys/" - + "*}\022\237\001\n\nMigrateKey\0226.google.cloud.recaptc" - + "haenterprise.v1.MigrateKeyRequest\032(.goog" - + "le.cloud.recaptchaenterprise.v1.Key\"/\202\323\344" - + "\223\002)\"$/v1/{name=projects/*/keys/*}:migrat" - + "e:\001*\022\247\001\n\nGetMetrics\0226.google.cloud.recap" - + "tchaenterprise.v1.GetMetricsRequest\032,.go" - + "ogle.cloud.recaptchaenterprise.v1.Metric" - + "s\"3\332A\004name\202\323\344\223\002&\022$/v1/{name=projects/*/k" - + "eys/*/metrics}\022\351\001\n\024CreateFirewallPolicy\022" - + "@.google.cloud.recaptchaenterprise.v1.Cr" - + "eateFirewallPolicyRequest\0323.google.cloud" - + ".recaptchaenterprise.v1.FirewallPolicy\"Z" - + "\332A\026parent,firewall_policy\202\323\344\223\002;\"(/v1/{pa" - + "rent=projects/*}/firewallpolicies:\017firew" - + "all_policy\022\326\001\n\024ListFirewallPolicies\022@.go" - + "ogle.cloud.recaptchaenterprise.v1.ListFi" - + "rewallPoliciesRequest\032A.google.cloud.rec" - + "aptchaenterprise.v1.ListFirewallPolicies" - + "Response\"9\332A\006parent\202\323\344\223\002*\022(/v1/{parent=p" - + "rojects/*}/firewallpolicies\022\300\001\n\021GetFirew" - + "allPolicy\022=.google.cloud.recaptchaenterp" - + "rise.v1.GetFirewallPolicyRequest\0323.googl" - + "e.cloud.recaptchaenterprise.v1.FirewallP" - + "olicy\"7\332A\004name\202\323\344\223\002*\022(/v1/{name=projects" - + "/*/firewallpolicies/*}\022\376\001\n\024UpdateFirewal" - + "lPolicy\022@.google.cloud.recaptchaenterpri" - + "se.v1.UpdateFirewallPolicyRequest\0323.goog" - + "le.cloud.recaptchaenterprise.v1.Firewall" - + "Policy\"o\332A\033firewall_policy,update_mask\202\323" - + "\344\223\002K28/v1/{firewall_policy.name=projects" - + "/*/firewallpolicies/*}:\017firewall_policy\022" - + "\251\001\n\024DeleteFirewallPolicy\022@.google.cloud." - + "recaptchaenterprise.v1.DeleteFirewallPol" - + "icyRequest\032\026.google.protobuf.Empty\"7\332A\004n" - + "ame\202\323\344\223\002**(/v1/{name=projects/*/firewall" - + "policies/*}\022\346\001\n\030ListRelatedAccountGroups" - + "\022D.google.cloud.recaptchaenterprise.v1.L" - + "istRelatedAccountGroupsRequest\032E.google." - + "cloud.recaptchaenterprise.v1.ListRelated" - + "AccountGroupsResponse\"=\332A\006parent\202\323\344\223\002.\022," - + "/v1/{parent=projects/*}/relatedaccountgr" - + "oups\022\222\002\n\"ListRelatedAccountGroupMembersh" - + "ips\022N.google.cloud.recaptchaenterprise.v" - + "1.ListRelatedAccountGroupMembershipsRequ" - + "est\032O.google.cloud.recaptchaenterprise.v" - + "1.ListRelatedAccountGroupMembershipsResp" - + "onse\"K\332A\006parent\202\323\344\223\002<\022:/v1/{parent=proje" - + "cts/*/relatedaccountgroups/*}/membership" - + "s\022\262\002\n$SearchRelatedAccountGroupMembershi" - + "ps\022P.google.cloud.recaptchaenterprise.v1" - + ".SearchRelatedAccountGroupMembershipsReq" - + "uest\032Q.google.cloud.recaptchaenterprise." - + "v1.SearchRelatedAccountGroupMembershipsR" - + "esponse\"e\332A\031project,hashed_account_id\202\323\344" - + "\223\002C\">/v1/{project=projects/*}/relatedacc" - + "ountgroupmemberships:search:\001*\032V\312A\"recap" - + "tchaenterprise.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\231" - + "\002\n!com.google.recaptchaenterprise.v1B\030Re" - + "captchaEnterpriseProtoP\001Z\\cloud.google.c" - + "om/go/recaptchaenterprise/v2/apiv1/recap" - + "tchaenterprisepb;recaptchaenterprisepb\242\002" - + "\004GCRE\252\002#Google.Cloud.RecaptchaEnterprise" - + ".V1\312\002#Google\\Cloud\\RecaptchaEnterprise\\V" - + "1\352\002&Google::Cloud::RecaptchaEnterprise::" - + "V1b\006proto3" + + "ountGroupMembership\022\037\n\021hashed_account_id" + + "\030\002 \001(\014B\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n" + + "\npage_token\030\004 \001(\tB\004\342A\001\001\"\266\001\n,SearchRelate" + + "dAccountGroupMembershipsResponse\022m\n!rela" + + "ted_account_group_memberships\030\001 \003(\0132B.go" + + "ogle.cloud.recaptchaenterprise.v1.Relate" + + "dAccountGroupMembership\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\264\002\n\035RelatedAccountGroupMembersh" + + "ip\022W\n\004name\030\001 \001(\tBI\342A\001\002\372AB\n@recaptchaente" + + "rprise.googleapis.com/RelatedAccountGrou" + + "pMembership\022\031\n\021hashed_account_id\030\002 \001(\014:\236" + + "\001\352A\232\001\n@recaptchaenterprise.googleapis.co" + + "m/RelatedAccountGroupMembership\022Vproject" + + "s/{project}/relatedaccountgroups/{relate" + + "daccountgroup}/memberships/{membership}\"" + + "\340\001\n\023RelatedAccountGroup\022M\n\004name\030\001 \001(\tB?\342" + + "A\001\002\372A8\n6recaptchaenterprise.googleapis.c" + + "om/RelatedAccountGroup:z\352Aw\n6recaptchaen" + + "terprise.googleapis.com/RelatedAccountGr" + + "oup\022=projects/{project}/relatedaccountgr" + + "oups/{relatedaccountgroup}\"\355\002\n\013WafSettin" + + "gs\022V\n\013waf_service\030\001 \001(\0162;.google.cloud.r" + + "ecaptchaenterprise.v1.WafSettings.WafSer" + + "viceB\004\342A\001\002\022V\n\013waf_feature\030\002 \001(\0162;.google" + + ".cloud.recaptchaenterprise.v1.WafSetting" + + "s.WafFeatureB\004\342A\001\002\"o\n\nWafFeature\022\033\n\027WAF_" + + "FEATURE_UNSPECIFIED\020\000\022\022\n\016CHALLENGE_PAGE\020" + + "\001\022\021\n\rSESSION_TOKEN\020\002\022\020\n\014ACTION_TOKEN\020\003\022\013" + + "\n\007EXPRESS\020\005\"=\n\nWafService\022\033\n\027WAF_SERVICE" + + "_UNSPECIFIED\020\000\022\006\n\002CA\020\001\022\n\n\006FASTLY\020\0032\346\035\n\032R" + + "ecaptchaEnterpriseService\022\316\001\n\020CreateAsse", + "ssment\022<.google.cloud.recaptchaenterpris" + + "e.v1.CreateAssessmentRequest\032/.google.cl" + + "oud.recaptchaenterprise.v1.Assessment\"K\332" + + "A\021parent,assessment\202\323\344\223\0021\"#/v1/{parent=p" + + "rojects/*}/assessments:\nassessment\022\340\001\n\022A" + + "nnotateAssessment\022>.google.cloud.recaptc" + + "haenterprise.v1.AnnotateAssessmentReques" + + "t\032?.google.cloud.recaptchaenterprise.v1." + + "AnnotateAssessmentResponse\"I\332A\017name,anno" + + "tation\202\323\344\223\0021\",/v1/{name=projects/*/asses" + + "sments/*}:annotate:\001*\022\244\001\n\tCreateKey\0225.go" + + "ogle.cloud.recaptchaenterprise.v1.Create" + + "KeyRequest\032(.google.cloud.recaptchaenter" + + "prise.v1.Key\"6\332A\nparent,key\202\323\344\223\002#\"\034/v1/{" + + "parent=projects/*}/keys:\003key\022\246\001\n\010ListKey" + + "s\0224.google.cloud.recaptchaenterprise.v1." + + "ListKeysRequest\0325.google.cloud.recaptcha" + + "enterprise.v1.ListKeysResponse\"-\332A\006paren" + + "t\202\323\344\223\002\036\022\034/v1/{parent=projects/*}/keys\022\347\001" + + "\n\027RetrieveLegacySecretKey\022C.google.cloud" + + ".recaptchaenterprise.v1.RetrieveLegacySe" + + "cretKeyRequest\032D.google.cloud.recaptchae" + + "nterprise.v1.RetrieveLegacySecretKeyResp" + + "onse\"A\332A\003key\202\323\344\223\0025\0223/v1/{key=projects/*/" + + "keys/*}:retrieveLegacySecretKey\022\223\001\n\006GetK" + + "ey\0222.google.cloud.recaptchaenterprise.v1" + + ".GetKeyRequest\032(.google.cloud.recaptchae" + + "nterprise.v1.Key\"+\332A\004name\202\323\344\223\002\036\022\034/v1/{na" + + "me=projects/*/keys/*}\022\255\001\n\tUpdateKey\0225.go" + + "ogle.cloud.recaptchaenterprise.v1.Update" + + "KeyRequest\032(.google.cloud.recaptchaenter" + + "prise.v1.Key\"?\332A\017key,update_mask\202\323\344\223\002\'2 " + + "/v1/{key.name=projects/*/keys/*}:\003key\022\207\001" + + "\n\tDeleteKey\0225.google.cloud.recaptchaente" + + "rprise.v1.DeleteKeyRequest\032\026.google.prot" + + "obuf.Empty\"+\332A\004name\202\323\344\223\002\036*\034/v1/{name=pro" + + "jects/*/keys/*}\022\237\001\n\nMigrateKey\0226.google." + + "cloud.recaptchaenterprise.v1.MigrateKeyR" + + "equest\032(.google.cloud.recaptchaenterpris" + + "e.v1.Key\"/\202\323\344\223\002)\"$/v1/{name=projects/*/k" + + "eys/*}:migrate:\001*\022\247\001\n\nGetMetrics\0226.googl" + + "e.cloud.recaptchaenterprise.v1.GetMetric" + + "sRequest\032,.google.cloud.recaptchaenterpr" + + "ise.v1.Metrics\"3\332A\004name\202\323\344\223\002&\022$/v1/{name" + + "=projects/*/keys/*/metrics}\022\351\001\n\024CreateFi" + + "rewallPolicy\022@.google.cloud.recaptchaent" + + "erprise.v1.CreateFirewallPolicyRequest\0323" + + ".google.cloud.recaptchaenterprise.v1.Fir" + + "ewallPolicy\"Z\332A\026parent,firewall_policy\202\323" + + "\344\223\002;\"(/v1/{parent=projects/*}/firewallpo" + + "licies:\017firewall_policy\022\326\001\n\024ListFirewall" + + "Policies\022@.google.cloud.recaptchaenterpr" + + "ise.v1.ListFirewallPoliciesRequest\032A.goo" + + "gle.cloud.recaptchaenterprise.v1.ListFir" + + "ewallPoliciesResponse\"9\332A\006parent\202\323\344\223\002*\022(" + + "/v1/{parent=projects/*}/firewallpolicies" + + "\022\300\001\n\021GetFirewallPolicy\022=.google.cloud.re" + + "captchaenterprise.v1.GetFirewallPolicyRe" + + "quest\0323.google.cloud.recaptchaenterprise" + + ".v1.FirewallPolicy\"7\332A\004name\202\323\344\223\002*\022(/v1/{" + + "name=projects/*/firewallpolicies/*}\022\376\001\n\024" + + "UpdateFirewallPolicy\022@.google.cloud.reca" + + "ptchaenterprise.v1.UpdateFirewallPolicyR" + + "equest\0323.google.cloud.recaptchaenterpris" + + "e.v1.FirewallPolicy\"o\332A\033firewall_policy," + + "update_mask\202\323\344\223\002K28/v1/{firewall_policy." + + "name=projects/*/firewallpolicies/*}:\017fir" + + "ewall_policy\022\251\001\n\024DeleteFirewallPolicy\022@." + + "google.cloud.recaptchaenterprise.v1.Dele" + + "teFirewallPolicyRequest\032\026.google.protobu" + + "f.Empty\"7\332A\004name\202\323\344\223\002**(/v1/{name=projec" + + "ts/*/firewallpolicies/*}\022\346\001\n\030ListRelated" + + "AccountGroups\022D.google.cloud.recaptchaen" + + "terprise.v1.ListRelatedAccountGroupsRequ" + + "est\032E.google.cloud.recaptchaenterprise.v" + + "1.ListRelatedAccountGroupsResponse\"=\332A\006p" + + "arent\202\323\344\223\002.\022,/v1/{parent=projects/*}/rel" + + "atedaccountgroups\022\222\002\n\"ListRelatedAccount" + + "GroupMemberships\022N.google.cloud.recaptch" + + "aenterprise.v1.ListRelatedAccountGroupMe" + + "mbershipsRequest\032O.google.cloud.recaptch" + + "aenterprise.v1.ListRelatedAccountGroupMe" + + "mbershipsResponse\"K\332A\006parent\202\323\344\223\002<\022:/v1/" + + "{parent=projects/*/relatedaccountgroups/" + + "*}/memberships\022\262\002\n$SearchRelatedAccountG" + + "roupMemberships\022P.google.cloud.recaptcha" + + "enterprise.v1.SearchRelatedAccountGroupM" + + "embershipsRequest\032Q.google.cloud.recaptc" + + "haenterprise.v1.SearchRelatedAccountGrou" + + "pMembershipsResponse\"e\332A\031project,hashed_" + + "account_id\202\323\344\223\002C\">/v1/{project=projects/" + + "*}/relatedaccountgroupmemberships:search" + + ":\001*\032V\312A\"recaptchaenterprise.googleapis.c" + + "om\322A.https://www.googleapis.com/auth/clo" + + "ud-platformB\231\002\n!com.google.recaptchaente" + + "rprise.v1B\030RecaptchaEnterpriseProtoP\001Z\\c" + + "loud.google.com/go/recaptchaenterprise/v" + + "2/apiv1/recaptchaenterprisepb;recaptchae" + + "nterprisepb\242\002\004GCRE\252\002#Google.Cloud.Recapt" + + "chaEnterprise.V1\312\002#Google\\Cloud\\Recaptch" + + "aEnterprise\\V1\352\002&Google::Cloud::Recaptch" + + "aEnterprise::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RiskAnalysis.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RiskAnalysis.java index 63510271eefb..b497ab4dcf4c 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RiskAnalysis.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RiskAnalysis.java @@ -343,12 +343,12 @@ private ClassificationReason(int value) { * * *
-   * Legitimate event score from 0.0 to 1.0.
+   * Output only. Legitimate event score from 0.0 to 1.0.
    * (1.0 means very likely legitimate traffic while 0.0 means very likely
    * non-legitimate traffic).
    * 
* - * float score = 1; + * float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The score. */ @@ -382,11 +382,11 @@ public com.google.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason conve * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the reasons. @@ -402,11 +402,11 @@ public com.google.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason conve * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The count of reasons. @@ -419,11 +419,11 @@ public int getReasonsCount() { * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the element to return. @@ -437,11 +437,11 @@ public com.google.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason getRe * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the enum numeric values on the wire for reasons. @@ -454,11 +454,11 @@ public java.util.List getReasonsValueList() { * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the value to return. @@ -480,11 +480,13 @@ public int getReasonsValue(int index) { * * *
-   * Extended verdict reasons to be used for experimentation only. The set of
-   * possible reasons is subject to change.
+   * Output only. Extended verdict reasons to be used for experimentation only.
+   * The set of possible reasons is subject to change.
    * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return A list containing the extendedVerdictReasons. */ @@ -495,11 +497,13 @@ public com.google.protobuf.ProtocolStringList getExtendedVerdictReasonsList() { * * *
-   * Extended verdict reasons to be used for experimentation only. The set of
-   * possible reasons is subject to change.
+   * Output only. Extended verdict reasons to be used for experimentation only.
+   * The set of possible reasons is subject to change.
    * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The count of extendedVerdictReasons. */ @@ -510,11 +514,13 @@ public int getExtendedVerdictReasonsCount() { * * *
-   * Extended verdict reasons to be used for experimentation only. The set of
-   * possible reasons is subject to change.
+   * Output only. Extended verdict reasons to be used for experimentation only.
+   * The set of possible reasons is subject to change.
    * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param index The index of the element to return. * @return The extendedVerdictReasons at the given index. @@ -526,11 +532,13 @@ public java.lang.String getExtendedVerdictReasons(int index) { * * *
-   * Extended verdict reasons to be used for experimentation only. The set of
-   * possible reasons is subject to change.
+   * Output only. Extended verdict reasons to be used for experimentation only.
+   * The set of possible reasons is subject to change.
    * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param index The index of the value to return. * @return The bytes of the extendedVerdictReasons at the given index. @@ -989,12 +997,12 @@ public Builder mergeFrom( * * *
-     * Legitimate event score from 0.0 to 1.0.
+     * Output only. Legitimate event score from 0.0 to 1.0.
      * (1.0 means very likely legitimate traffic while 0.0 means very likely
      * non-legitimate traffic).
      * 
* - * float score = 1; + * float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The score. */ @@ -1006,12 +1014,12 @@ public float getScore() { * * *
-     * Legitimate event score from 0.0 to 1.0.
+     * Output only. Legitimate event score from 0.0 to 1.0.
      * (1.0 means very likely legitimate traffic while 0.0 means very likely
      * non-legitimate traffic).
      * 
* - * float score = 1; + * float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The score to set. * @return This builder for chaining. @@ -1027,12 +1035,12 @@ public Builder setScore(float value) { * * *
-     * Legitimate event score from 0.0 to 1.0.
+     * Output only. Legitimate event score from 0.0 to 1.0.
      * (1.0 means very likely legitimate traffic while 0.0 means very likely
      * non-legitimate traffic).
      * 
* - * float score = 1; + * float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1055,11 +1063,11 @@ private void ensureReasonsIsMutable() { * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the reasons. @@ -1074,11 +1082,11 @@ private void ensureReasonsIsMutable() { * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The count of reasons. @@ -1090,11 +1098,11 @@ public int getReasonsCount() { * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the element to return. @@ -1108,11 +1116,11 @@ public com.google.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason getRe * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index to set the value at. @@ -1133,11 +1141,11 @@ public Builder setReasons( * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The reasons to add. @@ -1157,11 +1165,11 @@ public Builder addReasons( * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param values The reasons to add. @@ -1182,11 +1190,11 @@ public Builder addAllReasons( * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return This builder for chaining. @@ -1201,11 +1209,11 @@ public Builder clearReasons() { * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the enum numeric values on the wire for reasons. @@ -1217,11 +1225,11 @@ public java.util.List getReasonsValueList() { * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the value to return. @@ -1234,11 +1242,11 @@ public int getReasonsValue(int index) { * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index to set the value at. @@ -1255,11 +1263,11 @@ public Builder setReasonsValue(int index, int value) { * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The enum numeric value on the wire for reasons to add. @@ -1275,11 +1283,11 @@ public Builder addReasonsValue(int value) { * * *
-     * Reasons contributing to the risk analysis verdict.
+     * Output only. Reasons contributing to the risk analysis verdict.
      * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param values The enum numeric values on the wire for reasons to add. @@ -1308,11 +1316,13 @@ private void ensureExtendedVerdictReasonsIsMutable() { * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return A list containing the extendedVerdictReasons. */ @@ -1324,11 +1334,13 @@ public com.google.protobuf.ProtocolStringList getExtendedVerdictReasonsList() { * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The count of extendedVerdictReasons. */ @@ -1339,11 +1351,13 @@ public int getExtendedVerdictReasonsCount() { * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param index The index of the element to return. * @return The extendedVerdictReasons at the given index. @@ -1355,11 +1369,13 @@ public java.lang.String getExtendedVerdictReasons(int index) { * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param index The index of the value to return. * @return The bytes of the extendedVerdictReasons at the given index. @@ -1371,11 +1387,13 @@ public com.google.protobuf.ByteString getExtendedVerdictReasonsBytes(int index) * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param index The index to set the value at. * @param value The extendedVerdictReasons to set. @@ -1395,11 +1413,13 @@ public Builder setExtendedVerdictReasons(int index, java.lang.String value) { * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param value The extendedVerdictReasons to add. * @return This builder for chaining. @@ -1418,11 +1438,13 @@ public Builder addExtendedVerdictReasons(java.lang.String value) { * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param values The extendedVerdictReasons to add. * @return This builder for chaining. @@ -1438,11 +1460,13 @@ public Builder addAllExtendedVerdictReasons(java.lang.Iterable * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return This builder for chaining. */ @@ -1457,11 +1481,13 @@ public Builder clearExtendedVerdictReasons() { * * *
-     * Extended verdict reasons to be used for experimentation only. The set of
-     * possible reasons is subject to change.
+     * Output only. Extended verdict reasons to be used for experimentation only.
+     * The set of possible reasons is subject to change.
      * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param value The bytes of the extendedVerdictReasons to add. * @return This builder for chaining. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RiskAnalysisOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RiskAnalysisOrBuilder.java index 630f334b74ec..04ae7defa32c 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RiskAnalysisOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RiskAnalysisOrBuilder.java @@ -27,12 +27,12 @@ public interface RiskAnalysisOrBuilder * * *
-   * Legitimate event score from 0.0 to 1.0.
+   * Output only. Legitimate event score from 0.0 to 1.0.
    * (1.0 means very likely legitimate traffic while 0.0 means very likely
    * non-legitimate traffic).
    * 
* - * float score = 1; + * float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The score. */ @@ -42,11 +42,11 @@ public interface RiskAnalysisOrBuilder * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the reasons. @@ -57,11 +57,11 @@ public interface RiskAnalysisOrBuilder * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The count of reasons. @@ -71,11 +71,11 @@ public interface RiskAnalysisOrBuilder * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the element to return. @@ -86,11 +86,11 @@ public interface RiskAnalysisOrBuilder * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return A list containing the enum numeric values on the wire for reasons. @@ -100,11 +100,11 @@ public interface RiskAnalysisOrBuilder * * *
-   * Reasons contributing to the risk analysis verdict.
+   * Output only. Reasons contributing to the risk analysis verdict.
    * 
* * - * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2; + * repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param index The index of the value to return. @@ -116,11 +116,13 @@ public interface RiskAnalysisOrBuilder * * *
-   * Extended verdict reasons to be used for experimentation only. The set of
-   * possible reasons is subject to change.
+   * Output only. Extended verdict reasons to be used for experimentation only.
+   * The set of possible reasons is subject to change.
    * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return A list containing the extendedVerdictReasons. */ @@ -129,11 +131,13 @@ public interface RiskAnalysisOrBuilder * * *
-   * Extended verdict reasons to be used for experimentation only. The set of
-   * possible reasons is subject to change.
+   * Output only. Extended verdict reasons to be used for experimentation only.
+   * The set of possible reasons is subject to change.
    * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The count of extendedVerdictReasons. */ @@ -142,11 +146,13 @@ public interface RiskAnalysisOrBuilder * * *
-   * Extended verdict reasons to be used for experimentation only. The set of
-   * possible reasons is subject to change.
+   * Output only. Extended verdict reasons to be used for experimentation only.
+   * The set of possible reasons is subject to change.
    * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param index The index of the element to return. * @return The extendedVerdictReasons at the given index. @@ -156,11 +162,13 @@ public interface RiskAnalysisOrBuilder * * *
-   * Extended verdict reasons to be used for experimentation only. The set of
-   * possible reasons is subject to change.
+   * Output only. Extended verdict reasons to be used for experimentation only.
+   * The set of possible reasons is subject to change.
    * 
* - * repeated string extended_verdict_reasons = 3; + * + * repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param index The index of the value to return. * @return The bytes of the extendedVerdictReasons at the given index. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TestingOptions.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TestingOptions.java index 46839d3e1581..8a9fe4def0f1 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TestingOptions.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TestingOptions.java @@ -234,11 +234,11 @@ private TestingChallenge(int value) { * * *
-   * All assessments for this Key will return this score. Must be between 0
-   * (likely not legitimate) and 1 (likely legitimate) inclusive.
+   * Optional. All assessments for this Key will return this score. Must be
+   * between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
    * 
* - * float testing_score = 1; + * float testing_score = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The testingScore. */ @@ -253,13 +253,13 @@ public float getTestingScore() { * * *
-   * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-   * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-   * challenge if CHALLENGE.
+   * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+   * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+   * unsolvable challenge if CHALLENGE.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for testingChallenge. @@ -272,13 +272,13 @@ public int getTestingChallengeValue() { * * *
-   * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-   * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-   * challenge if CHALLENGE.
+   * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+   * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+   * unsolvable challenge if CHALLENGE.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The testingChallenge. @@ -667,11 +667,11 @@ public Builder mergeFrom( * * *
-     * All assessments for this Key will return this score. Must be between 0
-     * (likely not legitimate) and 1 (likely legitimate) inclusive.
+     * Optional. All assessments for this Key will return this score. Must be
+     * between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
      * 
* - * float testing_score = 1; + * float testing_score = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The testingScore. */ @@ -683,11 +683,11 @@ public float getTestingScore() { * * *
-     * All assessments for this Key will return this score. Must be between 0
-     * (likely not legitimate) and 1 (likely legitimate) inclusive.
+     * Optional. All assessments for this Key will return this score. Must be
+     * between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
      * 
* - * float testing_score = 1; + * float testing_score = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The testingScore to set. * @return This builder for chaining. @@ -703,11 +703,11 @@ public Builder setTestingScore(float value) { * * *
-     * All assessments for this Key will return this score. Must be between 0
-     * (likely not legitimate) and 1 (likely legitimate) inclusive.
+     * Optional. All assessments for this Key will return this score. Must be
+     * between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
      * 
* - * float testing_score = 1; + * float testing_score = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -723,13 +723,13 @@ public Builder clearTestingScore() { * * *
-     * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-     * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-     * challenge if CHALLENGE.
+     * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+     * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+     * unsolvable challenge if CHALLENGE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for testingChallenge. @@ -742,13 +742,13 @@ public int getTestingChallengeValue() { * * *
-     * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-     * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-     * challenge if CHALLENGE.
+     * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+     * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+     * unsolvable challenge if CHALLENGE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @param value The enum numeric value on the wire for testingChallenge to set. @@ -764,13 +764,13 @@ public Builder setTestingChallengeValue(int value) { * * *
-     * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-     * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-     * challenge if CHALLENGE.
+     * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+     * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+     * unsolvable challenge if CHALLENGE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The testingChallenge. @@ -788,13 +788,13 @@ public com.google.recaptchaenterprise.v1.TestingOptions.TestingChallenge getTest * * *
-     * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-     * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-     * challenge if CHALLENGE.
+     * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+     * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+     * unsolvable challenge if CHALLENGE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @param value The testingChallenge to set. @@ -814,13 +814,13 @@ public Builder setTestingChallenge( * * *
-     * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-     * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-     * challenge if CHALLENGE.
+     * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+     * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+     * unsolvable challenge if CHALLENGE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return This builder for chaining. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TestingOptionsOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TestingOptionsOrBuilder.java index 088737edac9c..75025a0d3f2d 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TestingOptionsOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TestingOptionsOrBuilder.java @@ -27,11 +27,11 @@ public interface TestingOptionsOrBuilder * * *
-   * All assessments for this Key will return this score. Must be between 0
-   * (likely not legitimate) and 1 (likely legitimate) inclusive.
+   * Optional. All assessments for this Key will return this score. Must be
+   * between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
    * 
* - * float testing_score = 1; + * float testing_score = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The testingScore. */ @@ -41,13 +41,13 @@ public interface TestingOptionsOrBuilder * * *
-   * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-   * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-   * challenge if CHALLENGE.
+   * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+   * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+   * unsolvable challenge if CHALLENGE.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for testingChallenge. @@ -57,13 +57,13 @@ public interface TestingOptionsOrBuilder * * *
-   * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
-   * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
-   * challenge if CHALLENGE.
+   * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all
+   * challenge requests for this site will return nocaptcha if NOCAPTCHA, or an
+   * unsolvable challenge if CHALLENGE.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2; + * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The testingChallenge. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TokenProperties.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TokenProperties.java index 6173d23a8dad..bfce0d7eba98 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TokenProperties.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TokenProperties.java @@ -321,14 +321,14 @@ private InvalidReason(int value) { * * *
-   * Whether the provided user response token is valid. When valid = false, the
-   * reason could be specified in invalid_reason or it could also be due to
-   * a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey
-   * used to generate the token was different than the one specified in the
-   * assessment).
+   * Output only. Whether the provided user response token is valid. When valid
+   * = false, the reason could be specified in invalid_reason or it could also
+   * be due to a user failing to solve a challenge or a sitekey mismatch (i.e
+   * the sitekey used to generate the token was different than the one specified
+   * in the assessment).
    * 
* - * bool valid = 1; + * bool valid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The valid. */ @@ -343,10 +343,11 @@ public boolean getValid() { * * *
-   * Reason associated with the response when valid = false.
+   * Output only. Reason associated with the response when valid = false.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for invalidReason. @@ -359,10 +360,11 @@ public int getInvalidReasonValue() { * * *
-   * Reason associated with the response when valid = false.
+   * Output only. Reason associated with the response when valid = false.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The invalidReason. @@ -382,10 +384,11 @@ public com.google.recaptchaenterprise.v1.TokenProperties.InvalidReason getInvali * * *
-   * The timestamp corresponding to the generation of the token.
+   * Output only. The timestamp corresponding to the generation of the token.
    * 
* - * .google.protobuf.Timestamp create_time = 3; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return Whether the createTime field is set. */ @@ -397,10 +400,11 @@ public boolean hasCreateTime() { * * *
-   * The timestamp corresponding to the generation of the token.
+   * Output only. The timestamp corresponding to the generation of the token.
    * 
* - * .google.protobuf.Timestamp create_time = 3; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The createTime. */ @@ -412,10 +416,11 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * The timestamp corresponding to the generation of the token.
+   * Output only. The timestamp corresponding to the generation of the token.
    * 
* - * .google.protobuf.Timestamp create_time = 3; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -430,10 +435,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * The hostname of the page on which the token was generated (Web keys only).
+   * Output only. The hostname of the page on which the token was generated (Web
+   * keys only).
    * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The hostname. */ @@ -453,10 +459,11 @@ public java.lang.String getHostname() { * * *
-   * The hostname of the page on which the token was generated (Web keys only).
+   * Output only. The hostname of the page on which the token was generated (Web
+   * keys only).
    * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for hostname. */ @@ -481,11 +488,11 @@ public com.google.protobuf.ByteString getHostnameBytes() { * * *
-   * The name of the Android package with which the token was generated (Android
-   * keys only).
+   * Output only. The name of the Android package with which the token was
+   * generated (Android keys only).
    * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The androidPackageName. */ @@ -505,11 +512,11 @@ public java.lang.String getAndroidPackageName() { * * *
-   * The name of the Android package with which the token was generated (Android
-   * keys only).
+   * Output only. The name of the Android package with which the token was
+   * generated (Android keys only).
    * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for androidPackageName. */ @@ -534,11 +541,11 @@ public com.google.protobuf.ByteString getAndroidPackageNameBytes() { * * *
-   * The ID of the iOS bundle with which the token was generated (iOS keys
-   * only).
+   * Output only. The ID of the iOS bundle with which the token was generated
+   * (iOS keys only).
    * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The iosBundleId. */ @@ -558,11 +565,11 @@ public java.lang.String getIosBundleId() { * * *
-   * The ID of the iOS bundle with which the token was generated (iOS keys
-   * only).
+   * Output only. The ID of the iOS bundle with which the token was generated
+   * (iOS keys only).
    * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for iosBundleId. */ @@ -587,10 +594,10 @@ public com.google.protobuf.ByteString getIosBundleIdBytes() { * * *
-   * Action name provided at token generation.
+   * Output only. Action name provided at token generation.
    * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The action. */ @@ -610,10 +617,10 @@ public java.lang.String getAction() { * * *
-   * Action name provided at token generation.
+   * Output only. Action name provided at token generation.
    * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for action. */ @@ -1130,14 +1137,14 @@ public Builder mergeFrom( * * *
-     * Whether the provided user response token is valid. When valid = false, the
-     * reason could be specified in invalid_reason or it could also be due to
-     * a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey
-     * used to generate the token was different than the one specified in the
-     * assessment).
+     * Output only. Whether the provided user response token is valid. When valid
+     * = false, the reason could be specified in invalid_reason or it could also
+     * be due to a user failing to solve a challenge or a sitekey mismatch (i.e
+     * the sitekey used to generate the token was different than the one specified
+     * in the assessment).
      * 
* - * bool valid = 1; + * bool valid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The valid. */ @@ -1149,14 +1156,14 @@ public boolean getValid() { * * *
-     * Whether the provided user response token is valid. When valid = false, the
-     * reason could be specified in invalid_reason or it could also be due to
-     * a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey
-     * used to generate the token was different than the one specified in the
-     * assessment).
+     * Output only. Whether the provided user response token is valid. When valid
+     * = false, the reason could be specified in invalid_reason or it could also
+     * be due to a user failing to solve a challenge or a sitekey mismatch (i.e
+     * the sitekey used to generate the token was different than the one specified
+     * in the assessment).
      * 
* - * bool valid = 1; + * bool valid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The valid to set. * @return This builder for chaining. @@ -1172,14 +1179,14 @@ public Builder setValid(boolean value) { * * *
-     * Whether the provided user response token is valid. When valid = false, the
-     * reason could be specified in invalid_reason or it could also be due to
-     * a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey
-     * used to generate the token was different than the one specified in the
-     * assessment).
+     * Output only. Whether the provided user response token is valid. When valid
+     * = false, the reason could be specified in invalid_reason or it could also
+     * be due to a user failing to solve a challenge or a sitekey mismatch (i.e
+     * the sitekey used to generate the token was different than the one specified
+     * in the assessment).
      * 
* - * bool valid = 1; + * bool valid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1195,10 +1202,11 @@ public Builder clearValid() { * * *
-     * Reason associated with the response when valid = false.
+     * Output only. Reason associated with the response when valid = false.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for invalidReason. @@ -1211,10 +1219,11 @@ public int getInvalidReasonValue() { * * *
-     * Reason associated with the response when valid = false.
+     * Output only. Reason associated with the response when valid = false.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The enum numeric value on the wire for invalidReason to set. @@ -1230,10 +1239,11 @@ public Builder setInvalidReasonValue(int value) { * * *
-     * Reason associated with the response when valid = false.
+     * Output only. Reason associated with the response when valid = false.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The invalidReason. @@ -1250,10 +1260,11 @@ public com.google.recaptchaenterprise.v1.TokenProperties.InvalidReason getInvali * * *
-     * Reason associated with the response when valid = false.
+     * Output only. Reason associated with the response when valid = false.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The invalidReason to set. @@ -1273,10 +1284,11 @@ public Builder setInvalidReason( * * *
-     * Reason associated with the response when valid = false.
+     * Output only. Reason associated with the response when valid = false.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return This builder for chaining. @@ -1298,10 +1310,12 @@ public Builder clearInvalidReason() { * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return Whether the createTime field is set. */ @@ -1312,10 +1326,12 @@ public boolean hasCreateTime() { * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The createTime. */ @@ -1332,10 +1348,12 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1354,10 +1372,12 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { @@ -1373,10 +1393,12 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1398,10 +1420,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1417,10 +1441,12 @@ public Builder clearCreateTime() { * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1431,10 +1457,12 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { @@ -1449,10 +1477,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The timestamp corresponding to the generation of the token.
+     * Output only. The timestamp corresponding to the generation of the token.
      * 
* - * .google.protobuf.Timestamp create_time = 3; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, @@ -1476,10 +1506,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The hostname of the page on which the token was generated (Web keys only).
+     * Output only. The hostname of the page on which the token was generated (Web
+     * keys only).
      * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The hostname. */ @@ -1498,10 +1529,11 @@ public java.lang.String getHostname() { * * *
-     * The hostname of the page on which the token was generated (Web keys only).
+     * Output only. The hostname of the page on which the token was generated (Web
+     * keys only).
      * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for hostname. */ @@ -1520,10 +1552,11 @@ public com.google.protobuf.ByteString getHostnameBytes() { * * *
-     * The hostname of the page on which the token was generated (Web keys only).
+     * Output only. The hostname of the page on which the token was generated (Web
+     * keys only).
      * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The hostname to set. * @return This builder for chaining. @@ -1541,10 +1574,11 @@ public Builder setHostname(java.lang.String value) { * * *
-     * The hostname of the page on which the token was generated (Web keys only).
+     * Output only. The hostname of the page on which the token was generated (Web
+     * keys only).
      * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1558,10 +1592,11 @@ public Builder clearHostname() { * * *
-     * The hostname of the page on which the token was generated (Web keys only).
+     * Output only. The hostname of the page on which the token was generated (Web
+     * keys only).
      * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for hostname to set. * @return This builder for chaining. @@ -1582,11 +1617,11 @@ public Builder setHostnameBytes(com.google.protobuf.ByteString value) { * * *
-     * The name of the Android package with which the token was generated (Android
-     * keys only).
+     * Output only. The name of the Android package with which the token was
+     * generated (Android keys only).
      * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The androidPackageName. */ @@ -1605,11 +1640,11 @@ public java.lang.String getAndroidPackageName() { * * *
-     * The name of the Android package with which the token was generated (Android
-     * keys only).
+     * Output only. The name of the Android package with which the token was
+     * generated (Android keys only).
      * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for androidPackageName. */ @@ -1628,11 +1663,11 @@ public com.google.protobuf.ByteString getAndroidPackageNameBytes() { * * *
-     * The name of the Android package with which the token was generated (Android
-     * keys only).
+     * Output only. The name of the Android package with which the token was
+     * generated (Android keys only).
      * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The androidPackageName to set. * @return This builder for chaining. @@ -1650,11 +1685,11 @@ public Builder setAndroidPackageName(java.lang.String value) { * * *
-     * The name of the Android package with which the token was generated (Android
-     * keys only).
+     * Output only. The name of the Android package with which the token was
+     * generated (Android keys only).
      * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1668,11 +1703,11 @@ public Builder clearAndroidPackageName() { * * *
-     * The name of the Android package with which the token was generated (Android
-     * keys only).
+     * Output only. The name of the Android package with which the token was
+     * generated (Android keys only).
      * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for androidPackageName to set. * @return This builder for chaining. @@ -1693,11 +1728,11 @@ public Builder setAndroidPackageNameBytes(com.google.protobuf.ByteString value) * * *
-     * The ID of the iOS bundle with which the token was generated (iOS keys
-     * only).
+     * Output only. The ID of the iOS bundle with which the token was generated
+     * (iOS keys only).
      * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The iosBundleId. */ @@ -1716,11 +1751,11 @@ public java.lang.String getIosBundleId() { * * *
-     * The ID of the iOS bundle with which the token was generated (iOS keys
-     * only).
+     * Output only. The ID of the iOS bundle with which the token was generated
+     * (iOS keys only).
      * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for iosBundleId. */ @@ -1739,11 +1774,11 @@ public com.google.protobuf.ByteString getIosBundleIdBytes() { * * *
-     * The ID of the iOS bundle with which the token was generated (iOS keys
-     * only).
+     * Output only. The ID of the iOS bundle with which the token was generated
+     * (iOS keys only).
      * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The iosBundleId to set. * @return This builder for chaining. @@ -1761,11 +1796,11 @@ public Builder setIosBundleId(java.lang.String value) { * * *
-     * The ID of the iOS bundle with which the token was generated (iOS keys
-     * only).
+     * Output only. The ID of the iOS bundle with which the token was generated
+     * (iOS keys only).
      * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1779,11 +1814,11 @@ public Builder clearIosBundleId() { * * *
-     * The ID of the iOS bundle with which the token was generated (iOS keys
-     * only).
+     * Output only. The ID of the iOS bundle with which the token was generated
+     * (iOS keys only).
      * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for iosBundleId to set. * @return This builder for chaining. @@ -1804,10 +1839,10 @@ public Builder setIosBundleIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Action name provided at token generation.
+     * Output only. Action name provided at token generation.
      * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The action. */ @@ -1826,10 +1861,10 @@ public java.lang.String getAction() { * * *
-     * Action name provided at token generation.
+     * Output only. Action name provided at token generation.
      * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for action. */ @@ -1848,10 +1883,10 @@ public com.google.protobuf.ByteString getActionBytes() { * * *
-     * Action name provided at token generation.
+     * Output only. Action name provided at token generation.
      * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The action to set. * @return This builder for chaining. @@ -1869,10 +1904,10 @@ public Builder setAction(java.lang.String value) { * * *
-     * Action name provided at token generation.
+     * Output only. Action name provided at token generation.
      * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1886,10 +1921,10 @@ public Builder clearAction() { * * *
-     * Action name provided at token generation.
+     * Output only. Action name provided at token generation.
      * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for action to set. * @return This builder for chaining. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TokenPropertiesOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TokenPropertiesOrBuilder.java index c8cca7803efc..1ef770aed63c 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TokenPropertiesOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TokenPropertiesOrBuilder.java @@ -27,14 +27,14 @@ public interface TokenPropertiesOrBuilder * * *
-   * Whether the provided user response token is valid. When valid = false, the
-   * reason could be specified in invalid_reason or it could also be due to
-   * a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey
-   * used to generate the token was different than the one specified in the
-   * assessment).
+   * Output only. Whether the provided user response token is valid. When valid
+   * = false, the reason could be specified in invalid_reason or it could also
+   * be due to a user failing to solve a challenge or a sitekey mismatch (i.e
+   * the sitekey used to generate the token was different than the one specified
+   * in the assessment).
    * 
* - * bool valid = 1; + * bool valid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The valid. */ @@ -44,10 +44,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * Reason associated with the response when valid = false.
+   * Output only. Reason associated with the response when valid = false.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for invalidReason. @@ -57,10 +58,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * Reason associated with the response when valid = false.
+   * Output only. Reason associated with the response when valid = false.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2; + * + * .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The invalidReason. @@ -71,10 +73,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The timestamp corresponding to the generation of the token.
+   * Output only. The timestamp corresponding to the generation of the token.
    * 
* - * .google.protobuf.Timestamp create_time = 3; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return Whether the createTime field is set. */ @@ -83,10 +86,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The timestamp corresponding to the generation of the token.
+   * Output only. The timestamp corresponding to the generation of the token.
    * 
* - * .google.protobuf.Timestamp create_time = 3; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The createTime. */ @@ -95,10 +99,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The timestamp corresponding to the generation of the token.
+   * Output only. The timestamp corresponding to the generation of the token.
    * 
* - * .google.protobuf.Timestamp create_time = 3; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); @@ -106,10 +111,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The hostname of the page on which the token was generated (Web keys only).
+   * Output only. The hostname of the page on which the token was generated (Web
+   * keys only).
    * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The hostname. */ @@ -118,10 +124,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The hostname of the page on which the token was generated (Web keys only).
+   * Output only. The hostname of the page on which the token was generated (Web
+   * keys only).
    * 
* - * string hostname = 4; + * string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for hostname. */ @@ -131,11 +138,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The name of the Android package with which the token was generated (Android
-   * keys only).
+   * Output only. The name of the Android package with which the token was
+   * generated (Android keys only).
    * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The androidPackageName. */ @@ -144,11 +151,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The name of the Android package with which the token was generated (Android
-   * keys only).
+   * Output only. The name of the Android package with which the token was
+   * generated (Android keys only).
    * 
* - * string android_package_name = 8; + * string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for androidPackageName. */ @@ -158,11 +165,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The ID of the iOS bundle with which the token was generated (iOS keys
-   * only).
+   * Output only. The ID of the iOS bundle with which the token was generated
+   * (iOS keys only).
    * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The iosBundleId. */ @@ -171,11 +178,11 @@ public interface TokenPropertiesOrBuilder * * *
-   * The ID of the iOS bundle with which the token was generated (iOS keys
-   * only).
+   * Output only. The ID of the iOS bundle with which the token was generated
+   * (iOS keys only).
    * 
* - * string ios_bundle_id = 9; + * string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for iosBundleId. */ @@ -185,10 +192,10 @@ public interface TokenPropertiesOrBuilder * * *
-   * Action name provided at token generation.
+   * Output only. Action name provided at token generation.
    * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The action. */ @@ -197,10 +204,10 @@ public interface TokenPropertiesOrBuilder * * *
-   * Action name provided at token generation.
+   * Output only. Action name provided at token generation.
    * 
* - * string action = 5; + * string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for action. */ diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TransactionData.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TransactionData.java index 601690eaea8e..4a94c85a404f 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TransactionData.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TransactionData.java @@ -23,7 +23,6 @@ * *
  * Transaction data associated with a payment protected by reCAPTCHA Enterprise.
- * All fields are optional.
  * 
* * Protobuf type {@code google.cloud.recaptchaenterprise.v1.TransactionData} @@ -78,10 +77,11 @@ public interface AddressOrBuilder * * *
-     * The recipient name, potentially including information such as "care of".
+     * Optional. The recipient name, potentially including information such as
+     * "care of".
      * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The recipient. */ @@ -90,10 +90,11 @@ public interface AddressOrBuilder * * *
-     * The recipient name, potentially including information such as "care of".
+     * Optional. The recipient name, potentially including information such as
+     * "care of".
      * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for recipient. */ @@ -103,12 +104,12 @@ public interface AddressOrBuilder * * *
-     * The first lines of the address. The first line generally contains the
-     * street name and number, and further lines may include information such as
-     * an apartment number.
+     * Optional. The first lines of the address. The first line generally
+     * contains the street name and number, and further lines may include
+     * information such as an apartment number.
      * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the address. */ @@ -117,12 +118,12 @@ public interface AddressOrBuilder * * *
-     * The first lines of the address. The first line generally contains the
-     * street name and number, and further lines may include information such as
-     * an apartment number.
+     * Optional. The first lines of the address. The first line generally
+     * contains the street name and number, and further lines may include
+     * information such as an apartment number.
      * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of address. */ @@ -131,12 +132,12 @@ public interface AddressOrBuilder * * *
-     * The first lines of the address. The first line generally contains the
-     * street name and number, and further lines may include information such as
-     * an apartment number.
+     * Optional. The first lines of the address. The first line generally
+     * contains the street name and number, and further lines may include
+     * information such as an apartment number.
      * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The address at the given index. @@ -146,12 +147,12 @@ public interface AddressOrBuilder * * *
-     * The first lines of the address. The first line generally contains the
-     * street name and number, and further lines may include information such as
-     * an apartment number.
+     * Optional. The first lines of the address. The first line generally
+     * contains the street name and number, and further lines may include
+     * information such as an apartment number.
      * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the address at the given index. @@ -162,10 +163,10 @@ public interface AddressOrBuilder * * *
-     * The town/city of the address.
+     * Optional. The town/city of the address.
      * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The locality. */ @@ -174,10 +175,10 @@ public interface AddressOrBuilder * * *
-     * The town/city of the address.
+     * Optional. The town/city of the address.
      * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for locality. */ @@ -187,10 +188,11 @@ public interface AddressOrBuilder * * *
-     * The state, province, or otherwise administrative area of the address.
+     * Optional. The state, province, or otherwise administrative area of the
+     * address.
      * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The administrativeArea. */ @@ -199,10 +201,11 @@ public interface AddressOrBuilder * * *
-     * The state, province, or otherwise administrative area of the address.
+     * Optional. The state, province, or otherwise administrative area of the
+     * address.
      * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for administrativeArea. */ @@ -212,10 +215,10 @@ public interface AddressOrBuilder * * *
-     * The CLDR country/region of the address.
+     * Optional. The CLDR country/region of the address.
      * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The regionCode. */ @@ -224,10 +227,10 @@ public interface AddressOrBuilder * * *
-     * The CLDR country/region of the address.
+     * Optional. The CLDR country/region of the address.
      * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for regionCode. */ @@ -237,10 +240,10 @@ public interface AddressOrBuilder * * *
-     * The postal or ZIP code of the address.
+     * Optional. The postal or ZIP code of the address.
      * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The postalCode. */ @@ -249,10 +252,10 @@ public interface AddressOrBuilder * * *
-     * The postal or ZIP code of the address.
+     * Optional. The postal or ZIP code of the address.
      * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for postalCode. */ @@ -315,10 +318,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * The recipient name, potentially including information such as "care of".
+     * Optional. The recipient name, potentially including information such as
+     * "care of".
      * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The recipient. */ @@ -338,10 +342,11 @@ public java.lang.String getRecipient() { * * *
-     * The recipient name, potentially including information such as "care of".
+     * Optional. The recipient name, potentially including information such as
+     * "care of".
      * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for recipient. */ @@ -367,12 +372,12 @@ public com.google.protobuf.ByteString getRecipientBytes() { * * *
-     * The first lines of the address. The first line generally contains the
-     * street name and number, and further lines may include information such as
-     * an apartment number.
+     * Optional. The first lines of the address. The first line generally
+     * contains the street name and number, and further lines may include
+     * information such as an apartment number.
      * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the address. */ @@ -383,12 +388,12 @@ public com.google.protobuf.ProtocolStringList getAddressList() { * * *
-     * The first lines of the address. The first line generally contains the
-     * street name and number, and further lines may include information such as
-     * an apartment number.
+     * Optional. The first lines of the address. The first line generally
+     * contains the street name and number, and further lines may include
+     * information such as an apartment number.
      * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of address. */ @@ -399,12 +404,12 @@ public int getAddressCount() { * * *
-     * The first lines of the address. The first line generally contains the
-     * street name and number, and further lines may include information such as
-     * an apartment number.
+     * Optional. The first lines of the address. The first line generally
+     * contains the street name and number, and further lines may include
+     * information such as an apartment number.
      * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The address at the given index. @@ -416,12 +421,12 @@ public java.lang.String getAddress(int index) { * * *
-     * The first lines of the address. The first line generally contains the
-     * street name and number, and further lines may include information such as
-     * an apartment number.
+     * Optional. The first lines of the address. The first line generally
+     * contains the street name and number, and further lines may include
+     * information such as an apartment number.
      * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the address at the given index. @@ -438,10 +443,10 @@ public com.google.protobuf.ByteString getAddressBytes(int index) { * * *
-     * The town/city of the address.
+     * Optional. The town/city of the address.
      * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The locality. */ @@ -461,10 +466,10 @@ public java.lang.String getLocality() { * * *
-     * The town/city of the address.
+     * Optional. The town/city of the address.
      * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for locality. */ @@ -489,10 +494,11 @@ public com.google.protobuf.ByteString getLocalityBytes() { * * *
-     * The state, province, or otherwise administrative area of the address.
+     * Optional. The state, province, or otherwise administrative area of the
+     * address.
      * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The administrativeArea. */ @@ -512,10 +518,11 @@ public java.lang.String getAdministrativeArea() { * * *
-     * The state, province, or otherwise administrative area of the address.
+     * Optional. The state, province, or otherwise administrative area of the
+     * address.
      * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for administrativeArea. */ @@ -540,10 +547,10 @@ public com.google.protobuf.ByteString getAdministrativeAreaBytes() { * * *
-     * The CLDR country/region of the address.
+     * Optional. The CLDR country/region of the address.
      * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The regionCode. */ @@ -563,10 +570,10 @@ public java.lang.String getRegionCode() { * * *
-     * The CLDR country/region of the address.
+     * Optional. The CLDR country/region of the address.
      * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for regionCode. */ @@ -591,10 +598,10 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { * * *
-     * The postal or ZIP code of the address.
+     * Optional. The postal or ZIP code of the address.
      * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The postalCode. */ @@ -614,10 +621,10 @@ public java.lang.String getPostalCode() { * * *
-     * The postal or ZIP code of the address.
+     * Optional. The postal or ZIP code of the address.
      * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for postalCode. */ @@ -1120,10 +1127,11 @@ public Builder mergeFrom( * * *
-       * The recipient name, potentially including information such as "care of".
+       * Optional. The recipient name, potentially including information such as
+       * "care of".
        * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The recipient. */ @@ -1142,10 +1150,11 @@ public java.lang.String getRecipient() { * * *
-       * The recipient name, potentially including information such as "care of".
+       * Optional. The recipient name, potentially including information such as
+       * "care of".
        * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for recipient. */ @@ -1164,10 +1173,11 @@ public com.google.protobuf.ByteString getRecipientBytes() { * * *
-       * The recipient name, potentially including information such as "care of".
+       * Optional. The recipient name, potentially including information such as
+       * "care of".
        * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The recipient to set. * @return This builder for chaining. @@ -1185,10 +1195,11 @@ public Builder setRecipient(java.lang.String value) { * * *
-       * The recipient name, potentially including information such as "care of".
+       * Optional. The recipient name, potentially including information such as
+       * "care of".
        * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1202,10 +1213,11 @@ public Builder clearRecipient() { * * *
-       * The recipient name, potentially including information such as "care of".
+       * Optional. The recipient name, potentially including information such as
+       * "care of".
        * 
* - * string recipient = 1; + * string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for recipient to set. * @return This builder for chaining. @@ -1234,12 +1246,12 @@ private void ensureAddressIsMutable() { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the address. */ @@ -1251,12 +1263,12 @@ public com.google.protobuf.ProtocolStringList getAddressList() { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of address. */ @@ -1267,12 +1279,12 @@ public int getAddressCount() { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The address at the given index. @@ -1284,12 +1296,12 @@ public java.lang.String getAddress(int index) { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the address at the given index. @@ -1301,12 +1313,12 @@ public com.google.protobuf.ByteString getAddressBytes(int index) { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index to set the value at. * @param value The address to set. @@ -1326,12 +1338,12 @@ public Builder setAddress(int index, java.lang.String value) { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The address to add. * @return This builder for chaining. @@ -1350,12 +1362,12 @@ public Builder addAddress(java.lang.String value) { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param values The address to add. * @return This builder for chaining. @@ -1371,12 +1383,12 @@ public Builder addAllAddress(java.lang.Iterable values) { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1391,12 +1403,12 @@ public Builder clearAddress() { * * *
-       * The first lines of the address. The first line generally contains the
-       * street name and number, and further lines may include information such as
-       * an apartment number.
+       * Optional. The first lines of the address. The first line generally
+       * contains the street name and number, and further lines may include
+       * information such as an apartment number.
        * 
* - * repeated string address = 2; + * repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes of the address to add. * @return This builder for chaining. @@ -1418,10 +1430,10 @@ public Builder addAddressBytes(com.google.protobuf.ByteString value) { * * *
-       * The town/city of the address.
+       * Optional. The town/city of the address.
        * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The locality. */ @@ -1440,10 +1452,10 @@ public java.lang.String getLocality() { * * *
-       * The town/city of the address.
+       * Optional. The town/city of the address.
        * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for locality. */ @@ -1462,10 +1474,10 @@ public com.google.protobuf.ByteString getLocalityBytes() { * * *
-       * The town/city of the address.
+       * Optional. The town/city of the address.
        * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The locality to set. * @return This builder for chaining. @@ -1483,10 +1495,10 @@ public Builder setLocality(java.lang.String value) { * * *
-       * The town/city of the address.
+       * Optional. The town/city of the address.
        * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1500,10 +1512,10 @@ public Builder clearLocality() { * * *
-       * The town/city of the address.
+       * Optional. The town/city of the address.
        * 
* - * string locality = 3; + * string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for locality to set. * @return This builder for chaining. @@ -1524,10 +1536,11 @@ public Builder setLocalityBytes(com.google.protobuf.ByteString value) { * * *
-       * The state, province, or otherwise administrative area of the address.
+       * Optional. The state, province, or otherwise administrative area of the
+       * address.
        * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The administrativeArea. */ @@ -1546,10 +1559,11 @@ public java.lang.String getAdministrativeArea() { * * *
-       * The state, province, or otherwise administrative area of the address.
+       * Optional. The state, province, or otherwise administrative area of the
+       * address.
        * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for administrativeArea. */ @@ -1568,10 +1582,11 @@ public com.google.protobuf.ByteString getAdministrativeAreaBytes() { * * *
-       * The state, province, or otherwise administrative area of the address.
+       * Optional. The state, province, or otherwise administrative area of the
+       * address.
        * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The administrativeArea to set. * @return This builder for chaining. @@ -1589,10 +1604,11 @@ public Builder setAdministrativeArea(java.lang.String value) { * * *
-       * The state, province, or otherwise administrative area of the address.
+       * Optional. The state, province, or otherwise administrative area of the
+       * address.
        * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1606,10 +1622,11 @@ public Builder clearAdministrativeArea() { * * *
-       * The state, province, or otherwise administrative area of the address.
+       * Optional. The state, province, or otherwise administrative area of the
+       * address.
        * 
* - * string administrative_area = 4; + * string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for administrativeArea to set. * @return This builder for chaining. @@ -1630,10 +1647,10 @@ public Builder setAdministrativeAreaBytes(com.google.protobuf.ByteString value) * * *
-       * The CLDR country/region of the address.
+       * Optional. The CLDR country/region of the address.
        * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The regionCode. */ @@ -1652,10 +1669,10 @@ public java.lang.String getRegionCode() { * * *
-       * The CLDR country/region of the address.
+       * Optional. The CLDR country/region of the address.
        * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for regionCode. */ @@ -1674,10 +1691,10 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { * * *
-       * The CLDR country/region of the address.
+       * Optional. The CLDR country/region of the address.
        * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The regionCode to set. * @return This builder for chaining. @@ -1695,10 +1712,10 @@ public Builder setRegionCode(java.lang.String value) { * * *
-       * The CLDR country/region of the address.
+       * Optional. The CLDR country/region of the address.
        * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1712,10 +1729,10 @@ public Builder clearRegionCode() { * * *
-       * The CLDR country/region of the address.
+       * Optional. The CLDR country/region of the address.
        * 
* - * string region_code = 5; + * string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for regionCode to set. * @return This builder for chaining. @@ -1736,10 +1753,10 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { * * *
-       * The postal or ZIP code of the address.
+       * Optional. The postal or ZIP code of the address.
        * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The postalCode. */ @@ -1758,10 +1775,10 @@ public java.lang.String getPostalCode() { * * *
-       * The postal or ZIP code of the address.
+       * Optional. The postal or ZIP code of the address.
        * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for postalCode. */ @@ -1780,10 +1797,10 @@ public com.google.protobuf.ByteString getPostalCodeBytes() { * * *
-       * The postal or ZIP code of the address.
+       * Optional. The postal or ZIP code of the address.
        * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The postalCode to set. * @return This builder for chaining. @@ -1801,10 +1818,10 @@ public Builder setPostalCode(java.lang.String value) { * * *
-       * The postal or ZIP code of the address.
+       * Optional. The postal or ZIP code of the address.
        * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1818,10 +1835,10 @@ public Builder clearPostalCode() { * * *
-       * The postal or ZIP code of the address.
+       * Optional. The postal or ZIP code of the address.
        * 
* - * string postal_code = 6; + * string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for postalCode to set. * @return This builder for chaining. @@ -1910,12 +1927,12 @@ public interface UserOrBuilder * * *
-     * Unique account identifier for this user. If using account defender,
-     * this should match the hashed_account_id field. Otherwise, a unique and
-     * persistent identifier for this account.
+     * Optional. Unique account identifier for this user. If using account
+     * defender, this should match the hashed_account_id field. Otherwise, a
+     * unique and persistent identifier for this account.
      * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The accountId. */ @@ -1924,12 +1941,12 @@ public interface UserOrBuilder * * *
-     * Unique account identifier for this user. If using account defender,
-     * this should match the hashed_account_id field. Otherwise, a unique and
-     * persistent identifier for this account.
+     * Optional. Unique account identifier for this user. If using account
+     * defender, this should match the hashed_account_id field. Otherwise, a
+     * unique and persistent identifier for this account.
      * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for accountId. */ @@ -1939,10 +1956,10 @@ public interface UserOrBuilder * * *
-     * The epoch milliseconds of the user's account creation.
+     * Optional. The epoch milliseconds of the user's account creation.
      * 
* - * int64 creation_ms = 1; + * int64 creation_ms = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The creationMs. */ @@ -1952,10 +1969,10 @@ public interface UserOrBuilder * * *
-     * The email address of the user.
+     * Optional. The email address of the user.
      * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The email. */ @@ -1964,10 +1981,10 @@ public interface UserOrBuilder * * *
-     * The email address of the user.
+     * Optional. The email address of the user.
      * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for email. */ @@ -1977,11 +1994,11 @@ public interface UserOrBuilder * * *
-     * Whether the email has been verified to be accessible by the user (OTP or
-     * similar).
+     * Optional. Whether the email has been verified to be accessible by the
+     * user (OTP or similar).
      * 
* - * bool email_verified = 3; + * bool email_verified = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The emailVerified. */ @@ -1991,10 +2008,10 @@ public interface UserOrBuilder * * *
-     * The phone number of the user, with country code.
+     * Optional. The phone number of the user, with country code.
      * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The phoneNumber. */ @@ -2003,10 +2020,10 @@ public interface UserOrBuilder * * *
-     * The phone number of the user, with country code.
+     * Optional. The phone number of the user, with country code.
      * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for phoneNumber. */ @@ -2016,11 +2033,11 @@ public interface UserOrBuilder * * *
-     * Whether the phone number has been verified to be accessible by the user
-     * (OTP or similar).
+     * Optional. Whether the phone number has been verified to be accessible by
+     * the user (OTP or similar).
      * 
* - * bool phone_verified = 5; + * bool phone_verified = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The phoneVerified. */ @@ -2080,12 +2097,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Unique account identifier for this user. If using account defender,
-     * this should match the hashed_account_id field. Otherwise, a unique and
-     * persistent identifier for this account.
+     * Optional. Unique account identifier for this user. If using account
+     * defender, this should match the hashed_account_id field. Otherwise, a
+     * unique and persistent identifier for this account.
      * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The accountId. */ @@ -2105,12 +2122,12 @@ public java.lang.String getAccountId() { * * *
-     * Unique account identifier for this user. If using account defender,
-     * this should match the hashed_account_id field. Otherwise, a unique and
-     * persistent identifier for this account.
+     * Optional. Unique account identifier for this user. If using account
+     * defender, this should match the hashed_account_id field. Otherwise, a
+     * unique and persistent identifier for this account.
      * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for accountId. */ @@ -2133,10 +2150,10 @@ public com.google.protobuf.ByteString getAccountIdBytes() { * * *
-     * The epoch milliseconds of the user's account creation.
+     * Optional. The epoch milliseconds of the user's account creation.
      * 
* - * int64 creation_ms = 1; + * int64 creation_ms = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The creationMs. */ @@ -2153,10 +2170,10 @@ public long getCreationMs() { * * *
-     * The email address of the user.
+     * Optional. The email address of the user.
      * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The email. */ @@ -2176,10 +2193,10 @@ public java.lang.String getEmail() { * * *
-     * The email address of the user.
+     * Optional. The email address of the user.
      * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for email. */ @@ -2202,11 +2219,11 @@ public com.google.protobuf.ByteString getEmailBytes() { * * *
-     * Whether the email has been verified to be accessible by the user (OTP or
-     * similar).
+     * Optional. Whether the email has been verified to be accessible by the
+     * user (OTP or similar).
      * 
* - * bool email_verified = 3; + * bool email_verified = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The emailVerified. */ @@ -2223,10 +2240,10 @@ public boolean getEmailVerified() { * * *
-     * The phone number of the user, with country code.
+     * Optional. The phone number of the user, with country code.
      * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The phoneNumber. */ @@ -2246,10 +2263,10 @@ public java.lang.String getPhoneNumber() { * * *
-     * The phone number of the user, with country code.
+     * Optional. The phone number of the user, with country code.
      * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for phoneNumber. */ @@ -2272,11 +2289,11 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { * * *
-     * Whether the phone number has been verified to be accessible by the user
-     * (OTP or similar).
+     * Optional. Whether the phone number has been verified to be accessible by
+     * the user (OTP or similar).
      * 
* - * bool phone_verified = 5; + * bool phone_verified = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The phoneVerified. */ @@ -2751,12 +2768,12 @@ public Builder mergeFrom( * * *
-       * Unique account identifier for this user. If using account defender,
-       * this should match the hashed_account_id field. Otherwise, a unique and
-       * persistent identifier for this account.
+       * Optional. Unique account identifier for this user. If using account
+       * defender, this should match the hashed_account_id field. Otherwise, a
+       * unique and persistent identifier for this account.
        * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The accountId. */ @@ -2775,12 +2792,12 @@ public java.lang.String getAccountId() { * * *
-       * Unique account identifier for this user. If using account defender,
-       * this should match the hashed_account_id field. Otherwise, a unique and
-       * persistent identifier for this account.
+       * Optional. Unique account identifier for this user. If using account
+       * defender, this should match the hashed_account_id field. Otherwise, a
+       * unique and persistent identifier for this account.
        * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for accountId. */ @@ -2799,12 +2816,12 @@ public com.google.protobuf.ByteString getAccountIdBytes() { * * *
-       * Unique account identifier for this user. If using account defender,
-       * this should match the hashed_account_id field. Otherwise, a unique and
-       * persistent identifier for this account.
+       * Optional. Unique account identifier for this user. If using account
+       * defender, this should match the hashed_account_id field. Otherwise, a
+       * unique and persistent identifier for this account.
        * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The accountId to set. * @return This builder for chaining. @@ -2822,12 +2839,12 @@ public Builder setAccountId(java.lang.String value) { * * *
-       * Unique account identifier for this user. If using account defender,
-       * this should match the hashed_account_id field. Otherwise, a unique and
-       * persistent identifier for this account.
+       * Optional. Unique account identifier for this user. If using account
+       * defender, this should match the hashed_account_id field. Otherwise, a
+       * unique and persistent identifier for this account.
        * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2841,12 +2858,12 @@ public Builder clearAccountId() { * * *
-       * Unique account identifier for this user. If using account defender,
-       * this should match the hashed_account_id field. Otherwise, a unique and
-       * persistent identifier for this account.
+       * Optional. Unique account identifier for this user. If using account
+       * defender, this should match the hashed_account_id field. Otherwise, a
+       * unique and persistent identifier for this account.
        * 
* - * string account_id = 6; + * string account_id = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for accountId to set. * @return This builder for chaining. @@ -2867,10 +2884,10 @@ public Builder setAccountIdBytes(com.google.protobuf.ByteString value) { * * *
-       * The epoch milliseconds of the user's account creation.
+       * Optional. The epoch milliseconds of the user's account creation.
        * 
* - * int64 creation_ms = 1; + * int64 creation_ms = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The creationMs. */ @@ -2882,10 +2899,10 @@ public long getCreationMs() { * * *
-       * The epoch milliseconds of the user's account creation.
+       * Optional. The epoch milliseconds of the user's account creation.
        * 
* - * int64 creation_ms = 1; + * int64 creation_ms = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The creationMs to set. * @return This builder for chaining. @@ -2901,10 +2918,10 @@ public Builder setCreationMs(long value) { * * *
-       * The epoch milliseconds of the user's account creation.
+       * Optional. The epoch milliseconds of the user's account creation.
        * 
* - * int64 creation_ms = 1; + * int64 creation_ms = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2920,10 +2937,10 @@ public Builder clearCreationMs() { * * *
-       * The email address of the user.
+       * Optional. The email address of the user.
        * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The email. */ @@ -2942,10 +2959,10 @@ public java.lang.String getEmail() { * * *
-       * The email address of the user.
+       * Optional. The email address of the user.
        * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for email. */ @@ -2964,10 +2981,10 @@ public com.google.protobuf.ByteString getEmailBytes() { * * *
-       * The email address of the user.
+       * Optional. The email address of the user.
        * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The email to set. * @return This builder for chaining. @@ -2985,10 +3002,10 @@ public Builder setEmail(java.lang.String value) { * * *
-       * The email address of the user.
+       * Optional. The email address of the user.
        * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -3002,10 +3019,10 @@ public Builder clearEmail() { * * *
-       * The email address of the user.
+       * Optional. The email address of the user.
        * 
* - * string email = 2; + * string email = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for email to set. * @return This builder for chaining. @@ -3026,11 +3043,11 @@ public Builder setEmailBytes(com.google.protobuf.ByteString value) { * * *
-       * Whether the email has been verified to be accessible by the user (OTP or
-       * similar).
+       * Optional. Whether the email has been verified to be accessible by the
+       * user (OTP or similar).
        * 
* - * bool email_verified = 3; + * bool email_verified = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The emailVerified. */ @@ -3042,11 +3059,11 @@ public boolean getEmailVerified() { * * *
-       * Whether the email has been verified to be accessible by the user (OTP or
-       * similar).
+       * Optional. Whether the email has been verified to be accessible by the
+       * user (OTP or similar).
        * 
* - * bool email_verified = 3; + * bool email_verified = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The emailVerified to set. * @return This builder for chaining. @@ -3062,11 +3079,11 @@ public Builder setEmailVerified(boolean value) { * * *
-       * Whether the email has been verified to be accessible by the user (OTP or
-       * similar).
+       * Optional. Whether the email has been verified to be accessible by the
+       * user (OTP or similar).
        * 
* - * bool email_verified = 3; + * bool email_verified = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -3082,10 +3099,10 @@ public Builder clearEmailVerified() { * * *
-       * The phone number of the user, with country code.
+       * Optional. The phone number of the user, with country code.
        * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The phoneNumber. */ @@ -3104,10 +3121,10 @@ public java.lang.String getPhoneNumber() { * * *
-       * The phone number of the user, with country code.
+       * Optional. The phone number of the user, with country code.
        * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for phoneNumber. */ @@ -3126,10 +3143,10 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { * * *
-       * The phone number of the user, with country code.
+       * Optional. The phone number of the user, with country code.
        * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The phoneNumber to set. * @return This builder for chaining. @@ -3147,10 +3164,10 @@ public Builder setPhoneNumber(java.lang.String value) { * * *
-       * The phone number of the user, with country code.
+       * Optional. The phone number of the user, with country code.
        * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -3164,10 +3181,10 @@ public Builder clearPhoneNumber() { * * *
-       * The phone number of the user, with country code.
+       * Optional. The phone number of the user, with country code.
        * 
* - * string phone_number = 4; + * string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. @@ -3188,11 +3205,11 @@ public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { * * *
-       * Whether the phone number has been verified to be accessible by the user
-       * (OTP or similar).
+       * Optional. Whether the phone number has been verified to be accessible by
+       * the user (OTP or similar).
        * 
* - * bool phone_verified = 5; + * bool phone_verified = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The phoneVerified. */ @@ -3204,11 +3221,11 @@ public boolean getPhoneVerified() { * * *
-       * Whether the phone number has been verified to be accessible by the user
-       * (OTP or similar).
+       * Optional. Whether the phone number has been verified to be accessible by
+       * the user (OTP or similar).
        * 
* - * bool phone_verified = 5; + * bool phone_verified = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The phoneVerified to set. * @return This builder for chaining. @@ -3224,11 +3241,11 @@ public Builder setPhoneVerified(boolean value) { * * *
-       * Whether the phone number has been verified to be accessible by the user
-       * (OTP or similar).
+       * Optional. Whether the phone number has been verified to be accessible by
+       * the user (OTP or similar).
        * 
* - * bool phone_verified = 5; + * bool phone_verified = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -3312,10 +3329,10 @@ public interface ItemOrBuilder * * *
-     * The full name of the item.
+     * Optional. The full name of the item.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -3324,10 +3341,10 @@ public interface ItemOrBuilder * * *
-     * The full name of the item.
+     * Optional. The full name of the item.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ @@ -3337,11 +3354,11 @@ public interface ItemOrBuilder * * *
-     * The value per item that the user is paying, in the transaction currency,
-     * after discounts.
+     * Optional. The value per item that the user is paying, in the transaction
+     * currency, after discounts.
      * 
* - * double value = 2; + * double value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -3351,10 +3368,10 @@ public interface ItemOrBuilder * * *
-     * The quantity of this item that is being purchased.
+     * Optional. The quantity of this item that is being purchased.
      * 
* - * int64 quantity = 3; + * int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The quantity. */ @@ -3364,11 +3381,11 @@ public interface ItemOrBuilder * * *
-     * When a merchant is specified, its corresponding account_id. Necessary to
-     * populate marketplace-style transactions.
+     * Optional. When a merchant is specified, its corresponding account_id.
+     * Necessary to populate marketplace-style transactions.
      * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The merchantAccountId. */ @@ -3377,11 +3394,11 @@ public interface ItemOrBuilder * * *
-     * When a merchant is specified, its corresponding account_id. Necessary to
-     * populate marketplace-style transactions.
+     * Optional. When a merchant is specified, its corresponding account_id.
+     * Necessary to populate marketplace-style transactions.
      * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for merchantAccountId. */ @@ -3440,10 +3457,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * The full name of the item.
+     * Optional. The full name of the item.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -3463,10 +3480,10 @@ public java.lang.String getName() { * * *
-     * The full name of the item.
+     * Optional. The full name of the item.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ @@ -3489,11 +3506,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The value per item that the user is paying, in the transaction currency,
-     * after discounts.
+     * Optional. The value per item that the user is paying, in the transaction
+     * currency, after discounts.
      * 
* - * double value = 2; + * double value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -3508,10 +3525,10 @@ public double getValue() { * * *
-     * The quantity of this item that is being purchased.
+     * Optional. The quantity of this item that is being purchased.
      * 
* - * int64 quantity = 3; + * int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The quantity. */ @@ -3528,11 +3545,11 @@ public long getQuantity() { * * *
-     * When a merchant is specified, its corresponding account_id. Necessary to
-     * populate marketplace-style transactions.
+     * Optional. When a merchant is specified, its corresponding account_id.
+     * Necessary to populate marketplace-style transactions.
      * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The merchantAccountId. */ @@ -3552,11 +3569,11 @@ public java.lang.String getMerchantAccountId() { * * *
-     * When a merchant is specified, its corresponding account_id. Necessary to
-     * populate marketplace-style transactions.
+     * Optional. When a merchant is specified, its corresponding account_id.
+     * Necessary to populate marketplace-style transactions.
      * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for merchantAccountId. */ @@ -3997,10 +4014,10 @@ public Builder mergeFrom( * * *
-       * The full name of the item.
+       * Optional. The full name of the item.
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -4019,10 +4036,10 @@ public java.lang.String getName() { * * *
-       * The full name of the item.
+       * Optional. The full name of the item.
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ @@ -4041,10 +4058,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-       * The full name of the item.
+       * Optional. The full name of the item.
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The name to set. * @return This builder for chaining. @@ -4062,10 +4079,10 @@ public Builder setName(java.lang.String value) { * * *
-       * The full name of the item.
+       * Optional. The full name of the item.
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -4079,10 +4096,10 @@ public Builder clearName() { * * *
-       * The full name of the item.
+       * Optional. The full name of the item.
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -4103,11 +4120,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-       * The value per item that the user is paying, in the transaction currency,
-       * after discounts.
+       * Optional. The value per item that the user is paying, in the transaction
+       * currency, after discounts.
        * 
* - * double value = 2; + * double value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -4119,11 +4136,11 @@ public double getValue() { * * *
-       * The value per item that the user is paying, in the transaction currency,
-       * after discounts.
+       * Optional. The value per item that the user is paying, in the transaction
+       * currency, after discounts.
        * 
* - * double value = 2; + * double value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The value to set. * @return This builder for chaining. @@ -4139,11 +4156,11 @@ public Builder setValue(double value) { * * *
-       * The value per item that the user is paying, in the transaction currency,
-       * after discounts.
+       * Optional. The value per item that the user is paying, in the transaction
+       * currency, after discounts.
        * 
* - * double value = 2; + * double value = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -4159,10 +4176,10 @@ public Builder clearValue() { * * *
-       * The quantity of this item that is being purchased.
+       * Optional. The quantity of this item that is being purchased.
        * 
* - * int64 quantity = 3; + * int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The quantity. */ @@ -4174,10 +4191,10 @@ public long getQuantity() { * * *
-       * The quantity of this item that is being purchased.
+       * Optional. The quantity of this item that is being purchased.
        * 
* - * int64 quantity = 3; + * int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The quantity to set. * @return This builder for chaining. @@ -4193,10 +4210,10 @@ public Builder setQuantity(long value) { * * *
-       * The quantity of this item that is being purchased.
+       * Optional. The quantity of this item that is being purchased.
        * 
* - * int64 quantity = 3; + * int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -4212,11 +4229,11 @@ public Builder clearQuantity() { * * *
-       * When a merchant is specified, its corresponding account_id. Necessary to
-       * populate marketplace-style transactions.
+       * Optional. When a merchant is specified, its corresponding account_id.
+       * Necessary to populate marketplace-style transactions.
        * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The merchantAccountId. */ @@ -4235,11 +4252,11 @@ public java.lang.String getMerchantAccountId() { * * *
-       * When a merchant is specified, its corresponding account_id. Necessary to
-       * populate marketplace-style transactions.
+       * Optional. When a merchant is specified, its corresponding account_id.
+       * Necessary to populate marketplace-style transactions.
        * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for merchantAccountId. */ @@ -4258,11 +4275,11 @@ public com.google.protobuf.ByteString getMerchantAccountIdBytes() { * * *
-       * When a merchant is specified, its corresponding account_id. Necessary to
-       * populate marketplace-style transactions.
+       * Optional. When a merchant is specified, its corresponding account_id.
+       * Necessary to populate marketplace-style transactions.
        * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The merchantAccountId to set. * @return This builder for chaining. @@ -4280,11 +4297,11 @@ public Builder setMerchantAccountId(java.lang.String value) { * * *
-       * When a merchant is specified, its corresponding account_id. Necessary to
-       * populate marketplace-style transactions.
+       * Optional. When a merchant is specified, its corresponding account_id.
+       * Necessary to populate marketplace-style transactions.
        * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -4298,11 +4315,11 @@ public Builder clearMerchantAccountId() { * * *
-       * When a merchant is specified, its corresponding account_id. Necessary to
-       * populate marketplace-style transactions.
+       * Optional. When a merchant is specified, its corresponding account_id.
+       * Necessary to populate marketplace-style transactions.
        * 
* - * string merchant_account_id = 4; + * string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for merchantAccountId to set. * @return This builder for chaining. @@ -4391,10 +4408,11 @@ public interface GatewayInfoOrBuilder * * *
-     * Name of the gateway service (for example, stripe, square, paypal).
+     * Optional. Name of the gateway service (for example, stripe, square,
+     * paypal).
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -4403,10 +4421,11 @@ public interface GatewayInfoOrBuilder * * *
-     * Name of the gateway service (for example, stripe, square, paypal).
+     * Optional. Name of the gateway service (for example, stripe, square,
+     * paypal).
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ @@ -4416,10 +4435,10 @@ public interface GatewayInfoOrBuilder * * *
-     * Gateway response code describing the state of the transaction.
+     * Optional. Gateway response code describing the state of the transaction.
      * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The gatewayResponseCode. */ @@ -4428,10 +4447,10 @@ public interface GatewayInfoOrBuilder * * *
-     * Gateway response code describing the state of the transaction.
+     * Optional. Gateway response code describing the state of the transaction.
      * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for gatewayResponseCode. */ @@ -4441,11 +4460,11 @@ public interface GatewayInfoOrBuilder * * *
-     * AVS response code from the gateway
+     * Optional. AVS response code from the gateway
      * (available only when reCAPTCHA Enterprise is called after authorization).
      * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The avsResponseCode. */ @@ -4454,11 +4473,11 @@ public interface GatewayInfoOrBuilder * * *
-     * AVS response code from the gateway
+     * Optional. AVS response code from the gateway
      * (available only when reCAPTCHA Enterprise is called after authorization).
      * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for avsResponseCode. */ @@ -4468,11 +4487,11 @@ public interface GatewayInfoOrBuilder * * *
-     * CVV response code from the gateway
+     * Optional. CVV response code from the gateway
      * (available only when reCAPTCHA Enterprise is called after authorization).
      * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cvvResponseCode. */ @@ -4481,11 +4500,11 @@ public interface GatewayInfoOrBuilder * * *
-     * CVV response code from the gateway
+     * Optional. CVV response code from the gateway
      * (available only when reCAPTCHA Enterprise is called after authorization).
      * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cvvResponseCode. */ @@ -4546,10 +4565,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Name of the gateway service (for example, stripe, square, paypal).
+     * Optional. Name of the gateway service (for example, stripe, square,
+     * paypal).
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -4569,10 +4589,11 @@ public java.lang.String getName() { * * *
-     * Name of the gateway service (for example, stripe, square, paypal).
+     * Optional. Name of the gateway service (for example, stripe, square,
+     * paypal).
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ @@ -4597,10 +4618,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Gateway response code describing the state of the transaction.
+     * Optional. Gateway response code describing the state of the transaction.
      * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The gatewayResponseCode. */ @@ -4620,10 +4641,10 @@ public java.lang.String getGatewayResponseCode() { * * *
-     * Gateway response code describing the state of the transaction.
+     * Optional. Gateway response code describing the state of the transaction.
      * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for gatewayResponseCode. */ @@ -4648,11 +4669,11 @@ public com.google.protobuf.ByteString getGatewayResponseCodeBytes() { * * *
-     * AVS response code from the gateway
+     * Optional. AVS response code from the gateway
      * (available only when reCAPTCHA Enterprise is called after authorization).
      * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The avsResponseCode. */ @@ -4672,11 +4693,11 @@ public java.lang.String getAvsResponseCode() { * * *
-     * AVS response code from the gateway
+     * Optional. AVS response code from the gateway
      * (available only when reCAPTCHA Enterprise is called after authorization).
      * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for avsResponseCode. */ @@ -4701,11 +4722,11 @@ public com.google.protobuf.ByteString getAvsResponseCodeBytes() { * * *
-     * CVV response code from the gateway
+     * Optional. CVV response code from the gateway
      * (available only when reCAPTCHA Enterprise is called after authorization).
      * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cvvResponseCode. */ @@ -4725,11 +4746,11 @@ public java.lang.String getCvvResponseCode() { * * *
-     * CVV response code from the gateway
+     * Optional. CVV response code from the gateway
      * (available only when reCAPTCHA Enterprise is called after authorization).
      * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cvvResponseCode. */ @@ -5174,10 +5195,11 @@ public Builder mergeFrom( * * *
-       * Name of the gateway service (for example, stripe, square, paypal).
+       * Optional. Name of the gateway service (for example, stripe, square,
+       * paypal).
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The name. */ @@ -5196,10 +5218,11 @@ public java.lang.String getName() { * * *
-       * Name of the gateway service (for example, stripe, square, paypal).
+       * Optional. Name of the gateway service (for example, stripe, square,
+       * paypal).
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for name. */ @@ -5218,10 +5241,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-       * Name of the gateway service (for example, stripe, square, paypal).
+       * Optional. Name of the gateway service (for example, stripe, square,
+       * paypal).
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The name to set. * @return This builder for chaining. @@ -5239,10 +5263,11 @@ public Builder setName(java.lang.String value) { * * *
-       * Name of the gateway service (for example, stripe, square, paypal).
+       * Optional. Name of the gateway service (for example, stripe, square,
+       * paypal).
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -5256,10 +5281,11 @@ public Builder clearName() { * * *
-       * Name of the gateway service (for example, stripe, square, paypal).
+       * Optional. Name of the gateway service (for example, stripe, square,
+       * paypal).
        * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -5280,10 +5306,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-       * Gateway response code describing the state of the transaction.
+       * Optional. Gateway response code describing the state of the transaction.
        * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The gatewayResponseCode. */ @@ -5302,10 +5328,10 @@ public java.lang.String getGatewayResponseCode() { * * *
-       * Gateway response code describing the state of the transaction.
+       * Optional. Gateway response code describing the state of the transaction.
        * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for gatewayResponseCode. */ @@ -5324,10 +5350,10 @@ public com.google.protobuf.ByteString getGatewayResponseCodeBytes() { * * *
-       * Gateway response code describing the state of the transaction.
+       * Optional. Gateway response code describing the state of the transaction.
        * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The gatewayResponseCode to set. * @return This builder for chaining. @@ -5345,10 +5371,10 @@ public Builder setGatewayResponseCode(java.lang.String value) { * * *
-       * Gateway response code describing the state of the transaction.
+       * Optional. Gateway response code describing the state of the transaction.
        * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -5362,10 +5388,10 @@ public Builder clearGatewayResponseCode() { * * *
-       * Gateway response code describing the state of the transaction.
+       * Optional. Gateway response code describing the state of the transaction.
        * 
* - * string gateway_response_code = 2; + * string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for gatewayResponseCode to set. * @return This builder for chaining. @@ -5386,11 +5412,11 @@ public Builder setGatewayResponseCodeBytes(com.google.protobuf.ByteString value) * * *
-       * AVS response code from the gateway
+       * Optional. AVS response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The avsResponseCode. */ @@ -5409,11 +5435,11 @@ public java.lang.String getAvsResponseCode() { * * *
-       * AVS response code from the gateway
+       * Optional. AVS response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for avsResponseCode. */ @@ -5432,11 +5458,11 @@ public com.google.protobuf.ByteString getAvsResponseCodeBytes() { * * *
-       * AVS response code from the gateway
+       * Optional. AVS response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The avsResponseCode to set. * @return This builder for chaining. @@ -5454,11 +5480,11 @@ public Builder setAvsResponseCode(java.lang.String value) { * * *
-       * AVS response code from the gateway
+       * Optional. AVS response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -5472,11 +5498,11 @@ public Builder clearAvsResponseCode() { * * *
-       * AVS response code from the gateway
+       * Optional. AVS response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string avs_response_code = 3; + * string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for avsResponseCode to set. * @return This builder for chaining. @@ -5497,11 +5523,11 @@ public Builder setAvsResponseCodeBytes(com.google.protobuf.ByteString value) { * * *
-       * CVV response code from the gateway
+       * Optional. CVV response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cvvResponseCode. */ @@ -5520,11 +5546,11 @@ public java.lang.String getCvvResponseCode() { * * *
-       * CVV response code from the gateway
+       * Optional. CVV response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cvvResponseCode. */ @@ -5543,11 +5569,11 @@ public com.google.protobuf.ByteString getCvvResponseCodeBytes() { * * *
-       * CVV response code from the gateway
+       * Optional. CVV response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The cvvResponseCode to set. * @return This builder for chaining. @@ -5565,11 +5591,11 @@ public Builder setCvvResponseCode(java.lang.String value) { * * *
-       * CVV response code from the gateway
+       * Optional. CVV response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -5583,11 +5609,11 @@ public Builder clearCvvResponseCode() { * * *
-       * CVV response code from the gateway
+       * Optional. CVV response code from the gateway
        * (available only when reCAPTCHA Enterprise is called after authorization).
        * 
* - * string cvv_response_code = 4; + * string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for cvvResponseCode to set. * @return This builder for chaining. @@ -5754,7 +5780,7 @@ public com.google.protobuf.ByteString getTransactionIdBytes() { * * *
-   * The payment method for the transaction. The allowed values are:
+   * Optional. The payment method for the transaction. The allowed values are:
    *
    * * credit-card
    * * debit-card
@@ -5765,7 +5791,7 @@ public com.google.protobuf.ByteString getTransactionIdBytes() {
    * custom-crypto)
    * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The paymentMethod. */ @@ -5785,7 +5811,7 @@ public java.lang.String getPaymentMethod() { * * *
-   * The payment method for the transaction. The allowed values are:
+   * Optional. The payment method for the transaction. The allowed values are:
    *
    * * credit-card
    * * debit-card
@@ -5796,7 +5822,7 @@ public java.lang.String getPaymentMethod() {
    * custom-crypto)
    * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for paymentMethod. */ @@ -5821,11 +5847,11 @@ public com.google.protobuf.ByteString getPaymentMethodBytes() { * * *
-   * The Bank Identification Number - generally the first 6 or 8 digits of the
-   * card.
+   * Optional. The Bank Identification Number - generally the first 6 or 8
+   * digits of the card.
    * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cardBin. */ @@ -5845,11 +5871,11 @@ public java.lang.String getCardBin() { * * *
-   * The Bank Identification Number - generally the first 6 or 8 digits of the
-   * card.
+   * Optional. The Bank Identification Number - generally the first 6 or 8
+   * digits of the card.
    * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cardBin. */ @@ -5874,10 +5900,10 @@ public com.google.protobuf.ByteString getCardBinBytes() { * * *
-   * The last four digits of the card.
+   * Optional. The last four digits of the card.
    * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cardLastFour. */ @@ -5897,10 +5923,10 @@ public java.lang.String getCardLastFour() { * * *
-   * The last four digits of the card.
+   * Optional. The last four digits of the card.
    * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cardLastFour. */ @@ -5925,10 +5951,10 @@ public com.google.protobuf.ByteString getCardLastFourBytes() { * * *
-   * The currency code in ISO-4217 format.
+   * Optional. The currency code in ISO-4217 format.
    * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The currencyCode. */ @@ -5948,10 +5974,10 @@ public java.lang.String getCurrencyCode() { * * *
-   * The currency code in ISO-4217 format.
+   * Optional. The currency code in ISO-4217 format.
    * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for currencyCode. */ @@ -5974,10 +6000,10 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { * * *
-   * The decimal value of the transaction in the specified currency.
+   * Optional. The decimal value of the transaction in the specified currency.
    * 
* - * double value = 5; + * double value = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -5992,10 +6018,11 @@ public double getValue() { * * *
-   * The value of shipping in the specified currency. 0 for free or no shipping.
+   * Optional. The value of shipping in the specified currency. 0 for free or no
+   * shipping.
    * 
* - * double shipping_value = 12; + * double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return The shippingValue. */ @@ -6010,10 +6037,13 @@ public double getShippingValue() { * * *
-   * Destination address if this transaction involves shipping a physical item.
+   * Optional. Destination address if this transaction involves shipping a
+   * physical item.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the shippingAddress field is set. */ @@ -6025,10 +6055,13 @@ public boolean hasShippingAddress() { * * *
-   * Destination address if this transaction involves shipping a physical item.
+   * Optional. Destination address if this transaction involves shipping a
+   * physical item.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The shippingAddress. */ @@ -6042,10 +6075,13 @@ public com.google.recaptchaenterprise.v1.TransactionData.Address getShippingAddr * * *
-   * Destination address if this transaction involves shipping a physical item.
+   * Optional. Destination address if this transaction involves shipping a
+   * physical item.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.TransactionData.AddressOrBuilder @@ -6061,10 +6097,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Address getShippingAddr * * *
-   * Address associated with the payment method when applicable.
+   * Optional. Address associated with the payment method when applicable.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the billingAddress field is set. */ @@ -6076,10 +6114,12 @@ public boolean hasBillingAddress() { * * *
-   * Address associated with the payment method when applicable.
+   * Optional. Address associated with the payment method when applicable.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The billingAddress. */ @@ -6093,10 +6133,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Address getBillingAddre * * *
-   * Address associated with the payment method when applicable.
+   * Optional. Address associated with the payment method when applicable.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.TransactionData.AddressOrBuilder @@ -6112,10 +6154,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Address getBillingAddre * * *
-   * Information about the user paying/initiating the transaction.
+   * Optional. Information about the user paying/initiating the transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the user field is set. */ @@ -6127,10 +6171,12 @@ public boolean hasUser() { * * *
-   * Information about the user paying/initiating the transaction.
+   * Optional. Information about the user paying/initiating the transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The user. */ @@ -6144,10 +6190,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.User getUser() { * * *
-   * Information about the user paying/initiating the transaction.
+   * Optional. Information about the user paying/initiating the transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getUserOrBuilder() { @@ -6164,10 +6212,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getUserOr * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getMerchantsList() { @@ -6177,10 +6227,12 @@ public java.util.List ge * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List @@ -6191,10 +6243,12 @@ public java.util.List ge * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getMerchantsCount() { @@ -6204,10 +6258,12 @@ public int getMerchantsCount() { * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.TransactionData.User getMerchants(int index) { @@ -6217,10 +6273,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.User getMerchants(int i * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getMerchantsOrBuilder( @@ -6236,10 +6294,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getMercha * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getItemsList() { @@ -6249,10 +6309,12 @@ public java.util.List ge * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List @@ -6263,10 +6325,12 @@ public java.util.List ge * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getItemsCount() { @@ -6276,10 +6340,12 @@ public int getItemsCount() { * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.TransactionData.Item getItems(int index) { @@ -6289,10 +6355,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Item getItems(int index * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.recaptchaenterprise.v1.TransactionData.ItemOrBuilder getItemsOrBuilder( @@ -6306,10 +6374,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.ItemOrBuilder getItemsO * * *
-   * Information about the payment gateway's response to the transaction.
+   * Optional. Information about the payment gateway's response to the
+   * transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the gatewayInfo field is set. @@ -6322,10 +6392,12 @@ public boolean hasGatewayInfo() { * * *
-   * Information about the payment gateway's response to the transaction.
+   * Optional. Information about the payment gateway's response to the
+   * transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The gatewayInfo. @@ -6340,10 +6412,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.GatewayInfo getGatewayI * * *
-   * Information about the payment gateway's response to the transaction.
+   * Optional. Information about the payment gateway's response to the
+   * transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -6662,7 +6736,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Transaction data associated with a payment protected by reCAPTCHA Enterprise.
-   * All fields are optional.
    * 
* * Protobuf type {@code google.cloud.recaptchaenterprise.v1.TransactionData} @@ -7263,7 +7336,7 @@ public Builder setTransactionIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The payment method for the transaction. The allowed values are:
+     * Optional. The payment method for the transaction. The allowed values are:
      *
      * * credit-card
      * * debit-card
@@ -7274,7 +7347,7 @@ public Builder setTransactionIdBytes(com.google.protobuf.ByteString value) {
      * custom-crypto)
      * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The paymentMethod. */ @@ -7293,7 +7366,7 @@ public java.lang.String getPaymentMethod() { * * *
-     * The payment method for the transaction. The allowed values are:
+     * Optional. The payment method for the transaction. The allowed values are:
      *
      * * credit-card
      * * debit-card
@@ -7304,7 +7377,7 @@ public java.lang.String getPaymentMethod() {
      * custom-crypto)
      * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for paymentMethod. */ @@ -7323,7 +7396,7 @@ public com.google.protobuf.ByteString getPaymentMethodBytes() { * * *
-     * The payment method for the transaction. The allowed values are:
+     * Optional. The payment method for the transaction. The allowed values are:
      *
      * * credit-card
      * * debit-card
@@ -7334,7 +7407,7 @@ public com.google.protobuf.ByteString getPaymentMethodBytes() {
      * custom-crypto)
      * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The paymentMethod to set. * @return This builder for chaining. @@ -7352,7 +7425,7 @@ public Builder setPaymentMethod(java.lang.String value) { * * *
-     * The payment method for the transaction. The allowed values are:
+     * Optional. The payment method for the transaction. The allowed values are:
      *
      * * credit-card
      * * debit-card
@@ -7363,7 +7436,7 @@ public Builder setPaymentMethod(java.lang.String value) {
      * custom-crypto)
      * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -7377,7 +7450,7 @@ public Builder clearPaymentMethod() { * * *
-     * The payment method for the transaction. The allowed values are:
+     * Optional. The payment method for the transaction. The allowed values are:
      *
      * * credit-card
      * * debit-card
@@ -7388,7 +7461,7 @@ public Builder clearPaymentMethod() {
      * custom-crypto)
      * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for paymentMethod to set. * @return This builder for chaining. @@ -7409,11 +7482,11 @@ public Builder setPaymentMethodBytes(com.google.protobuf.ByteString value) { * * *
-     * The Bank Identification Number - generally the first 6 or 8 digits of the
-     * card.
+     * Optional. The Bank Identification Number - generally the first 6 or 8
+     * digits of the card.
      * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cardBin. */ @@ -7432,11 +7505,11 @@ public java.lang.String getCardBin() { * * *
-     * The Bank Identification Number - generally the first 6 or 8 digits of the
-     * card.
+     * Optional. The Bank Identification Number - generally the first 6 or 8
+     * digits of the card.
      * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cardBin. */ @@ -7455,11 +7528,11 @@ public com.google.protobuf.ByteString getCardBinBytes() { * * *
-     * The Bank Identification Number - generally the first 6 or 8 digits of the
-     * card.
+     * Optional. The Bank Identification Number - generally the first 6 or 8
+     * digits of the card.
      * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The cardBin to set. * @return This builder for chaining. @@ -7477,11 +7550,11 @@ public Builder setCardBin(java.lang.String value) { * * *
-     * The Bank Identification Number - generally the first 6 or 8 digits of the
-     * card.
+     * Optional. The Bank Identification Number - generally the first 6 or 8
+     * digits of the card.
      * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -7495,11 +7568,11 @@ public Builder clearCardBin() { * * *
-     * The Bank Identification Number - generally the first 6 or 8 digits of the
-     * card.
+     * Optional. The Bank Identification Number - generally the first 6 or 8
+     * digits of the card.
      * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for cardBin to set. * @return This builder for chaining. @@ -7520,10 +7593,10 @@ public Builder setCardBinBytes(com.google.protobuf.ByteString value) { * * *
-     * The last four digits of the card.
+     * Optional. The last four digits of the card.
      * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cardLastFour. */ @@ -7542,10 +7615,10 @@ public java.lang.String getCardLastFour() { * * *
-     * The last four digits of the card.
+     * Optional. The last four digits of the card.
      * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cardLastFour. */ @@ -7564,10 +7637,10 @@ public com.google.protobuf.ByteString getCardLastFourBytes() { * * *
-     * The last four digits of the card.
+     * Optional. The last four digits of the card.
      * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The cardLastFour to set. * @return This builder for chaining. @@ -7585,10 +7658,10 @@ public Builder setCardLastFour(java.lang.String value) { * * *
-     * The last four digits of the card.
+     * Optional. The last four digits of the card.
      * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -7602,10 +7675,10 @@ public Builder clearCardLastFour() { * * *
-     * The last four digits of the card.
+     * Optional. The last four digits of the card.
      * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for cardLastFour to set. * @return This builder for chaining. @@ -7626,10 +7699,10 @@ public Builder setCardLastFourBytes(com.google.protobuf.ByteString value) { * * *
-     * The currency code in ISO-4217 format.
+     * Optional. The currency code in ISO-4217 format.
      * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The currencyCode. */ @@ -7648,10 +7721,10 @@ public java.lang.String getCurrencyCode() { * * *
-     * The currency code in ISO-4217 format.
+     * Optional. The currency code in ISO-4217 format.
      * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for currencyCode. */ @@ -7670,10 +7743,10 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { * * *
-     * The currency code in ISO-4217 format.
+     * Optional. The currency code in ISO-4217 format.
      * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The currencyCode to set. * @return This builder for chaining. @@ -7691,10 +7764,10 @@ public Builder setCurrencyCode(java.lang.String value) { * * *
-     * The currency code in ISO-4217 format.
+     * Optional. The currency code in ISO-4217 format.
      * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -7708,10 +7781,10 @@ public Builder clearCurrencyCode() { * * *
-     * The currency code in ISO-4217 format.
+     * Optional. The currency code in ISO-4217 format.
      * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for currencyCode to set. * @return This builder for chaining. @@ -7732,10 +7805,10 @@ public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { * * *
-     * The decimal value of the transaction in the specified currency.
+     * Optional. The decimal value of the transaction in the specified currency.
      * 
* - * double value = 5; + * double value = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -7747,10 +7820,10 @@ public double getValue() { * * *
-     * The decimal value of the transaction in the specified currency.
+     * Optional. The decimal value of the transaction in the specified currency.
      * 
* - * double value = 5; + * double value = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The value to set. * @return This builder for chaining. @@ -7766,10 +7839,10 @@ public Builder setValue(double value) { * * *
-     * The decimal value of the transaction in the specified currency.
+     * Optional. The decimal value of the transaction in the specified currency.
      * 
* - * double value = 5; + * double value = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -7785,10 +7858,11 @@ public Builder clearValue() { * * *
-     * The value of shipping in the specified currency. 0 for free or no shipping.
+     * Optional. The value of shipping in the specified currency. 0 for free or no
+     * shipping.
      * 
* - * double shipping_value = 12; + * double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return The shippingValue. */ @@ -7800,10 +7874,11 @@ public double getShippingValue() { * * *
-     * The value of shipping in the specified currency. 0 for free or no shipping.
+     * Optional. The value of shipping in the specified currency. 0 for free or no
+     * shipping.
      * 
* - * double shipping_value = 12; + * double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The shippingValue to set. * @return This builder for chaining. @@ -7819,10 +7894,11 @@ public Builder setShippingValue(double value) { * * *
-     * The value of shipping in the specified currency. 0 for free or no shipping.
+     * Optional. The value of shipping in the specified currency. 0 for free or no
+     * shipping.
      * 
* - * double shipping_value = 12; + * double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -7843,10 +7919,12 @@ public Builder clearShippingValue() { * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the shippingAddress field is set. @@ -7858,10 +7936,12 @@ public boolean hasShippingAddress() { * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The shippingAddress. @@ -7879,10 +7959,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Address getShippingAddr * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setShippingAddress( @@ -7903,10 +7985,12 @@ public Builder setShippingAddress( * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setShippingAddress( @@ -7924,10 +8008,12 @@ public Builder setShippingAddress( * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeShippingAddress( @@ -7952,10 +8038,12 @@ public Builder mergeShippingAddress( * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearShippingAddress() { @@ -7972,10 +8060,12 @@ public Builder clearShippingAddress() { * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.Address.Builder @@ -7988,10 +8078,12 @@ public Builder clearShippingAddress() { * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.AddressOrBuilder @@ -8008,10 +8100,12 @@ public Builder clearShippingAddress() { * * *
-     * Destination address if this transaction involves shipping a physical item.
+     * Optional. Destination address if this transaction involves shipping a
+     * physical item.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -8041,10 +8135,11 @@ public Builder clearShippingAddress() { * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the billingAddress field is set. @@ -8056,10 +8151,11 @@ public boolean hasBillingAddress() { * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The billingAddress. @@ -8077,10 +8173,11 @@ public com.google.recaptchaenterprise.v1.TransactionData.Address getBillingAddre * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setBillingAddress( @@ -8101,10 +8198,11 @@ public Builder setBillingAddress( * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setBillingAddress( @@ -8122,10 +8220,11 @@ public Builder setBillingAddress( * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeBillingAddress( @@ -8150,10 +8249,11 @@ public Builder mergeBillingAddress( * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearBillingAddress() { @@ -8170,10 +8270,11 @@ public Builder clearBillingAddress() { * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.Address.Builder @@ -8186,10 +8287,11 @@ public Builder clearBillingAddress() { * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.AddressOrBuilder @@ -8206,10 +8308,11 @@ public Builder clearBillingAddress() { * * *
-     * Address associated with the payment method when applicable.
+     * Optional. Address associated with the payment method when applicable.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -8239,10 +8342,12 @@ public Builder clearBillingAddress() { * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the user field is set. */ @@ -8253,10 +8358,12 @@ public boolean hasUser() { * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The user. */ @@ -8273,10 +8380,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.User getUser() { * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUser(com.google.recaptchaenterprise.v1.TransactionData.User value) { if (userBuilder_ == null) { @@ -8295,10 +8404,12 @@ public Builder setUser(com.google.recaptchaenterprise.v1.TransactionData.User va * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUser( com.google.recaptchaenterprise.v1.TransactionData.User.Builder builderForValue) { @@ -8315,10 +8426,12 @@ public Builder setUser( * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUser(com.google.recaptchaenterprise.v1.TransactionData.User value) { if (userBuilder_ == null) { @@ -8341,10 +8454,12 @@ public Builder mergeUser(com.google.recaptchaenterprise.v1.TransactionData.User * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000200); @@ -8360,10 +8475,12 @@ public Builder clearUser() { * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TransactionData.User.Builder getUserBuilder() { bitField0_ |= 0x00000200; @@ -8374,10 +8491,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.User.Builder getUserBui * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { @@ -8392,10 +8511,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getUserOr * * *
-     * Information about the user paying/initiating the transaction.
+     * Optional. Information about the user paying/initiating the transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.recaptchaenterprise.v1.TransactionData.User, @@ -8436,10 +8557,11 @@ private void ensureMerchantsIsMutable() { * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List @@ -8454,10 +8576,11 @@ private void ensureMerchantsIsMutable() { * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public int getMerchantsCount() { @@ -8471,10 +8594,11 @@ public int getMerchantsCount() { * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.User getMerchants(int index) { @@ -8488,10 +8612,11 @@ public com.google.recaptchaenterprise.v1.TransactionData.User getMerchants(int i * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setMerchants( @@ -8512,10 +8637,11 @@ public Builder setMerchants( * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setMerchants( @@ -8533,10 +8659,11 @@ public Builder setMerchants( * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addMerchants(com.google.recaptchaenterprise.v1.TransactionData.User value) { @@ -8556,10 +8683,11 @@ public Builder addMerchants(com.google.recaptchaenterprise.v1.TransactionData.Us * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addMerchants( @@ -8580,10 +8708,11 @@ public Builder addMerchants( * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addMerchants( @@ -8601,10 +8730,11 @@ public Builder addMerchants( * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addMerchants( @@ -8622,10 +8752,11 @@ public Builder addMerchants( * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addAllMerchants( @@ -8644,10 +8775,11 @@ public Builder addAllMerchants( * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearMerchants() { @@ -8664,10 +8796,11 @@ public Builder clearMerchants() { * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder removeMerchants(int index) { @@ -8684,10 +8817,11 @@ public Builder removeMerchants(int index) { * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.User.Builder getMerchantsBuilder( @@ -8698,10 +8832,11 @@ public com.google.recaptchaenterprise.v1.TransactionData.User.Builder getMerchan * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getMerchantsOrBuilder( @@ -8716,10 +8851,11 @@ public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getMercha * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List @@ -8734,10 +8870,11 @@ public com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getMercha * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.User.Builder addMerchantsBuilder() { @@ -8748,10 +8885,11 @@ public com.google.recaptchaenterprise.v1.TransactionData.User.Builder addMerchan * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.User.Builder addMerchantsBuilder( @@ -8764,10 +8902,11 @@ public com.google.recaptchaenterprise.v1.TransactionData.User.Builder addMerchan * * *
-     * Information about the user or users fulfilling the transaction.
+     * Optional. Information about the user or users fulfilling the transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List @@ -8813,10 +8952,12 @@ private void ensureItemsIsMutable() { * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getItemsList() { if (itemsBuilder_ == null) { @@ -8829,10 +8970,12 @@ public java.util.List ge * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getItemsCount() { if (itemsBuilder_ == null) { @@ -8845,10 +8988,12 @@ public int getItemsCount() { * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TransactionData.Item getItems(int index) { if (itemsBuilder_ == null) { @@ -8861,10 +9006,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Item getItems(int index * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setItems( int index, com.google.recaptchaenterprise.v1.TransactionData.Item value) { @@ -8884,10 +9031,12 @@ public Builder setItems( * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setItems( int index, com.google.recaptchaenterprise.v1.TransactionData.Item.Builder builderForValue) { @@ -8904,10 +9053,12 @@ public Builder setItems( * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addItems(com.google.recaptchaenterprise.v1.TransactionData.Item value) { if (itemsBuilder_ == null) { @@ -8926,10 +9077,12 @@ public Builder addItems(com.google.recaptchaenterprise.v1.TransactionData.Item v * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addItems( int index, com.google.recaptchaenterprise.v1.TransactionData.Item value) { @@ -8949,10 +9102,12 @@ public Builder addItems( * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addItems( com.google.recaptchaenterprise.v1.TransactionData.Item.Builder builderForValue) { @@ -8969,10 +9124,12 @@ public Builder addItems( * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addItems( int index, com.google.recaptchaenterprise.v1.TransactionData.Item.Builder builderForValue) { @@ -8989,10 +9146,12 @@ public Builder addItems( * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllItems( java.lang.Iterable @@ -9010,10 +9169,12 @@ public Builder addAllItems( * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearItems() { if (itemsBuilder_ == null) { @@ -9029,10 +9190,12 @@ public Builder clearItems() { * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { @@ -9048,10 +9211,12 @@ public Builder removeItems(int index) { * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TransactionData.Item.Builder getItemsBuilder( int index) { @@ -9061,10 +9226,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Item.Builder getItemsBu * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TransactionData.ItemOrBuilder getItemsOrBuilder( int index) { @@ -9078,10 +9245,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.ItemOrBuilder getItemsO * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getItemsOrBuilderList() { @@ -9095,10 +9264,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.ItemOrBuilder getItemsO * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TransactionData.Item.Builder addItemsBuilder() { return getItemsFieldBuilder() @@ -9108,10 +9279,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Item.Builder addItemsBu * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.recaptchaenterprise.v1.TransactionData.Item.Builder addItemsBuilder( int index) { @@ -9123,10 +9296,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Item.Builder addItemsBu * * *
-     * Items purchased in this transaction.
+     * Optional. Items purchased in this transaction.
      * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getItemsBuilderList() { @@ -9160,10 +9335,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.Item.Builder addItemsBu * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the gatewayInfo field is set. @@ -9175,10 +9352,12 @@ public boolean hasGatewayInfo() { * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The gatewayInfo. @@ -9196,10 +9375,12 @@ public com.google.recaptchaenterprise.v1.TransactionData.GatewayInfo getGatewayI * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setGatewayInfo( @@ -9220,10 +9401,12 @@ public Builder setGatewayInfo( * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setGatewayInfo( @@ -9241,10 +9424,12 @@ public Builder setGatewayInfo( * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeGatewayInfo( @@ -9270,10 +9455,12 @@ public Builder mergeGatewayInfo( * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearGatewayInfo() { @@ -9290,10 +9477,12 @@ public Builder clearGatewayInfo() { * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.GatewayInfo.Builder @@ -9306,10 +9495,12 @@ public Builder clearGatewayInfo() { * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.recaptchaenterprise.v1.TransactionData.GatewayInfoOrBuilder @@ -9326,10 +9517,12 @@ public Builder clearGatewayInfo() { * * *
-     * Information about the payment gateway's response to the transaction.
+     * Optional. Information about the payment gateway's response to the
+     * transaction.
      * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TransactionDataOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TransactionDataOrBuilder.java index 533faef4b99c..e8dcf0d16e07 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TransactionDataOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/TransactionDataOrBuilder.java @@ -73,7 +73,7 @@ public interface TransactionDataOrBuilder * * *
-   * The payment method for the transaction. The allowed values are:
+   * Optional. The payment method for the transaction. The allowed values are:
    *
    * * credit-card
    * * debit-card
@@ -84,7 +84,7 @@ public interface TransactionDataOrBuilder
    * custom-crypto)
    * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The paymentMethod. */ @@ -93,7 +93,7 @@ public interface TransactionDataOrBuilder * * *
-   * The payment method for the transaction. The allowed values are:
+   * Optional. The payment method for the transaction. The allowed values are:
    *
    * * credit-card
    * * debit-card
@@ -104,7 +104,7 @@ public interface TransactionDataOrBuilder
    * custom-crypto)
    * 
* - * string payment_method = 1; + * string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for paymentMethod. */ @@ -114,11 +114,11 @@ public interface TransactionDataOrBuilder * * *
-   * The Bank Identification Number - generally the first 6 or 8 digits of the
-   * card.
+   * Optional. The Bank Identification Number - generally the first 6 or 8
+   * digits of the card.
    * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cardBin. */ @@ -127,11 +127,11 @@ public interface TransactionDataOrBuilder * * *
-   * The Bank Identification Number - generally the first 6 or 8 digits of the
-   * card.
+   * Optional. The Bank Identification Number - generally the first 6 or 8
+   * digits of the card.
    * 
* - * string card_bin = 2; + * string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cardBin. */ @@ -141,10 +141,10 @@ public interface TransactionDataOrBuilder * * *
-   * The last four digits of the card.
+   * Optional. The last four digits of the card.
    * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The cardLastFour. */ @@ -153,10 +153,10 @@ public interface TransactionDataOrBuilder * * *
-   * The last four digits of the card.
+   * Optional. The last four digits of the card.
    * 
* - * string card_last_four = 3; + * string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for cardLastFour. */ @@ -166,10 +166,10 @@ public interface TransactionDataOrBuilder * * *
-   * The currency code in ISO-4217 format.
+   * Optional. The currency code in ISO-4217 format.
    * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The currencyCode. */ @@ -178,10 +178,10 @@ public interface TransactionDataOrBuilder * * *
-   * The currency code in ISO-4217 format.
+   * Optional. The currency code in ISO-4217 format.
    * 
* - * string currency_code = 4; + * string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for currencyCode. */ @@ -191,10 +191,10 @@ public interface TransactionDataOrBuilder * * *
-   * The decimal value of the transaction in the specified currency.
+   * Optional. The decimal value of the transaction in the specified currency.
    * 
* - * double value = 5; + * double value = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The value. */ @@ -204,10 +204,11 @@ public interface TransactionDataOrBuilder * * *
-   * The value of shipping in the specified currency. 0 for free or no shipping.
+   * Optional. The value of shipping in the specified currency. 0 for free or no
+   * shipping.
    * 
* - * double shipping_value = 12; + * double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return The shippingValue. */ @@ -217,10 +218,13 @@ public interface TransactionDataOrBuilder * * *
-   * Destination address if this transaction involves shipping a physical item.
+   * Optional. Destination address if this transaction involves shipping a
+   * physical item.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the shippingAddress field is set. */ @@ -229,10 +233,13 @@ public interface TransactionDataOrBuilder * * *
-   * Destination address if this transaction involves shipping a physical item.
+   * Optional. Destination address if this transaction involves shipping a
+   * physical item.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The shippingAddress. */ @@ -241,10 +248,13 @@ public interface TransactionDataOrBuilder * * *
-   * Destination address if this transaction involves shipping a physical item.
+   * Optional. Destination address if this transaction involves shipping a
+   * physical item.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.TransactionData.AddressOrBuilder getShippingAddressOrBuilder(); @@ -252,10 +262,12 @@ public interface TransactionDataOrBuilder * * *
-   * Address associated with the payment method when applicable.
+   * Optional. Address associated with the payment method when applicable.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the billingAddress field is set. */ @@ -264,10 +276,12 @@ public interface TransactionDataOrBuilder * * *
-   * Address associated with the payment method when applicable.
+   * Optional. Address associated with the payment method when applicable.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The billingAddress. */ @@ -276,10 +290,12 @@ public interface TransactionDataOrBuilder * * *
-   * Address associated with the payment method when applicable.
+   * Optional. Address associated with the payment method when applicable.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.TransactionData.AddressOrBuilder getBillingAddressOrBuilder(); @@ -287,10 +303,12 @@ public interface TransactionDataOrBuilder * * *
-   * Information about the user paying/initiating the transaction.
+   * Optional. Information about the user paying/initiating the transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the user field is set. */ @@ -299,10 +317,12 @@ public interface TransactionDataOrBuilder * * *
-   * Information about the user paying/initiating the transaction.
+   * Optional. Information about the user paying/initiating the transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The user. */ @@ -311,10 +331,12 @@ public interface TransactionDataOrBuilder * * *
-   * Information about the user paying/initiating the transaction.
+   * Optional. Information about the user paying/initiating the transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getUserOrBuilder(); @@ -322,40 +344,48 @@ public interface TransactionDataOrBuilder * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getMerchantsList(); /** * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.TransactionData.User getMerchants(int index); /** * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getMerchantsCount(); /** * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getMerchantsOrBuilderList(); @@ -363,10 +393,12 @@ public interface TransactionDataOrBuilder * * *
-   * Information about the user or users fulfilling the transaction.
+   * Optional. Information about the user or users fulfilling the transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder getMerchantsOrBuilder(int index); @@ -374,40 +406,48 @@ public interface TransactionDataOrBuilder * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getItemsList(); /** * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.TransactionData.Item getItems(int index); /** * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getItemsCount(); /** * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getItemsOrBuilderList(); @@ -415,10 +455,12 @@ public interface TransactionDataOrBuilder * * *
-   * Items purchased in this transaction.
+   * Optional. Items purchased in this transaction.
    * 
* - * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14; + * + * repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.recaptchaenterprise.v1.TransactionData.ItemOrBuilder getItemsOrBuilder(int index); @@ -426,10 +468,12 @@ public interface TransactionDataOrBuilder * * *
-   * Information about the payment gateway's response to the transaction.
+   * Optional. Information about the payment gateway's response to the
+   * transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the gatewayInfo field is set. @@ -439,10 +483,12 @@ public interface TransactionDataOrBuilder * * *
-   * Information about the payment gateway's response to the transaction.
+   * Optional. Information about the payment gateway's response to the
+   * transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The gatewayInfo. @@ -452,10 +498,12 @@ public interface TransactionDataOrBuilder * * *
-   * Information about the payment gateway's response to the transaction.
+   * Optional. Information about the payment gateway's response to the
+   * transaction.
    * 
* - * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10; + * + * .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.recaptchaenterprise.v1.TransactionData.GatewayInfoOrBuilder getGatewayInfoOrBuilder(); diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/WebKeySettings.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/WebKeySettings.java index d0881abf78a8..a4fcfcaf626b 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/WebKeySettings.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/WebKeySettings.java @@ -445,10 +445,10 @@ private ChallengeSecurityPreference(int value) { * * *
-   * If set to true, it means allowed_domains will not be enforced.
+   * Optional. If set to true, it means allowed_domains will not be enforced.
    * 
* - * bool allow_all_domains = 3; + * bool allow_all_domains = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllDomains. */ @@ -466,13 +466,13 @@ public boolean getAllowAllDomains() { * * *
-   * Domains or subdomains of websites allowed to use the key. All subdomains
-   * of an allowed domain are automatically allowed. A valid domain requires a
-   * host and must not include any path, port, query or fragment.
+   * Optional. Domains or subdomains of websites allowed to use the key. All
+   * subdomains of an allowed domain are automatically allowed. A valid domain
+   * requires a host and must not include any path, port, query or fragment.
    * Examples: 'example.com' or 'subdomain.example.com'
    * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the allowedDomains. */ @@ -483,13 +483,13 @@ public com.google.protobuf.ProtocolStringList getAllowedDomainsList() { * * *
-   * Domains or subdomains of websites allowed to use the key. All subdomains
-   * of an allowed domain are automatically allowed. A valid domain requires a
-   * host and must not include any path, port, query or fragment.
+   * Optional. Domains or subdomains of websites allowed to use the key. All
+   * subdomains of an allowed domain are automatically allowed. A valid domain
+   * requires a host and must not include any path, port, query or fragment.
    * Examples: 'example.com' or 'subdomain.example.com'
    * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of allowedDomains. */ @@ -500,13 +500,13 @@ public int getAllowedDomainsCount() { * * *
-   * Domains or subdomains of websites allowed to use the key. All subdomains
-   * of an allowed domain are automatically allowed. A valid domain requires a
-   * host and must not include any path, port, query or fragment.
+   * Optional. Domains or subdomains of websites allowed to use the key. All
+   * subdomains of an allowed domain are automatically allowed. A valid domain
+   * requires a host and must not include any path, port, query or fragment.
    * Examples: 'example.com' or 'subdomain.example.com'
    * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The allowedDomains at the given index. @@ -518,13 +518,13 @@ public java.lang.String getAllowedDomains(int index) { * * *
-   * Domains or subdomains of websites allowed to use the key. All subdomains
-   * of an allowed domain are automatically allowed. A valid domain requires a
-   * host and must not include any path, port, query or fragment.
+   * Optional. Domains or subdomains of websites allowed to use the key. All
+   * subdomains of an allowed domain are automatically allowed. A valid domain
+   * requires a host and must not include any path, port, query or fragment.
    * Examples: 'example.com' or 'subdomain.example.com'
    * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the allowedDomains at the given index. @@ -539,11 +539,11 @@ public com.google.protobuf.ByteString getAllowedDomainsBytes(int index) { * * *
-   * If set to true, the key can be used on AMP (Accelerated Mobile Pages)
-   * websites. This is supported only for the SCORE integration type.
+   * Optional. If set to true, the key can be used on AMP (Accelerated Mobile
+   * Pages) websites. This is supported only for the SCORE integration type.
    * 
* - * bool allow_amp_traffic = 2; + * bool allow_amp_traffic = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAmpTraffic. */ @@ -600,13 +600,13 @@ public com.google.recaptchaenterprise.v1.WebKeySettings.IntegrationType getInteg * * *
-   * Settings for the frequency and difficulty at which this key triggers
-   * captcha challenges. This should only be specified for IntegrationTypes
-   * CHECKBOX and INVISIBLE.
+   * Optional. Settings for the frequency and difficulty at which this key
+   * triggers captcha challenges. This should only be specified for
+   * IntegrationTypes CHECKBOX and INVISIBLE.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for challengeSecurityPreference. @@ -619,13 +619,13 @@ public int getChallengeSecurityPreferenceValue() { * * *
-   * Settings for the frequency and difficulty at which this key triggers
-   * captcha challenges. This should only be specified for IntegrationTypes
-   * CHECKBOX and INVISIBLE.
+   * Optional. Settings for the frequency and difficulty at which this key
+   * triggers captcha challenges. This should only be specified for
+   * IntegrationTypes CHECKBOX and INVISIBLE.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The challengeSecurityPreference. @@ -1103,10 +1103,10 @@ public Builder mergeFrom( * * *
-     * If set to true, it means allowed_domains will not be enforced.
+     * Optional. If set to true, it means allowed_domains will not be enforced.
      * 
* - * bool allow_all_domains = 3; + * bool allow_all_domains = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllDomains. */ @@ -1118,10 +1118,10 @@ public boolean getAllowAllDomains() { * * *
-     * If set to true, it means allowed_domains will not be enforced.
+     * Optional. If set to true, it means allowed_domains will not be enforced.
      * 
* - * bool allow_all_domains = 3; + * bool allow_all_domains = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The allowAllDomains to set. * @return This builder for chaining. @@ -1137,10 +1137,10 @@ public Builder setAllowAllDomains(boolean value) { * * *
-     * If set to true, it means allowed_domains will not be enforced.
+     * Optional. If set to true, it means allowed_domains will not be enforced.
      * 
* - * bool allow_all_domains = 3; + * bool allow_all_domains = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1164,13 +1164,13 @@ private void ensureAllowedDomainsIsMutable() { * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the allowedDomains. */ @@ -1182,13 +1182,13 @@ public com.google.protobuf.ProtocolStringList getAllowedDomainsList() { * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of allowedDomains. */ @@ -1199,13 +1199,13 @@ public int getAllowedDomainsCount() { * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The allowedDomains at the given index. @@ -1217,13 +1217,13 @@ public java.lang.String getAllowedDomains(int index) { * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the allowedDomains at the given index. @@ -1235,13 +1235,13 @@ public com.google.protobuf.ByteString getAllowedDomainsBytes(int index) { * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index to set the value at. * @param value The allowedDomains to set. @@ -1261,13 +1261,13 @@ public Builder setAllowedDomains(int index, java.lang.String value) { * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The allowedDomains to add. * @return This builder for chaining. @@ -1286,13 +1286,13 @@ public Builder addAllowedDomains(java.lang.String value) { * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param values The allowedDomains to add. * @return This builder for chaining. @@ -1308,13 +1308,13 @@ public Builder addAllAllowedDomains(java.lang.Iterable values) * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1329,13 +1329,13 @@ public Builder clearAllowedDomains() { * * *
-     * Domains or subdomains of websites allowed to use the key. All subdomains
-     * of an allowed domain are automatically allowed. A valid domain requires a
-     * host and must not include any path, port, query or fragment.
+     * Optional. Domains or subdomains of websites allowed to use the key. All
+     * subdomains of an allowed domain are automatically allowed. A valid domain
+     * requires a host and must not include any path, port, query or fragment.
      * Examples: 'example.com' or 'subdomain.example.com'
      * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes of the allowedDomains to add. * @return This builder for chaining. @@ -1357,11 +1357,11 @@ public Builder addAllowedDomainsBytes(com.google.protobuf.ByteString value) { * * *
-     * If set to true, the key can be used on AMP (Accelerated Mobile Pages)
-     * websites. This is supported only for the SCORE integration type.
+     * Optional. If set to true, the key can be used on AMP (Accelerated Mobile
+     * Pages) websites. This is supported only for the SCORE integration type.
      * 
* - * bool allow_amp_traffic = 2; + * bool allow_amp_traffic = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAmpTraffic. */ @@ -1373,11 +1373,11 @@ public boolean getAllowAmpTraffic() { * * *
-     * If set to true, the key can be used on AMP (Accelerated Mobile Pages)
-     * websites. This is supported only for the SCORE integration type.
+     * Optional. If set to true, the key can be used on AMP (Accelerated Mobile
+     * Pages) websites. This is supported only for the SCORE integration type.
      * 
* - * bool allow_amp_traffic = 2; + * bool allow_amp_traffic = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The allowAmpTraffic to set. * @return This builder for chaining. @@ -1393,11 +1393,11 @@ public Builder setAllowAmpTraffic(boolean value) { * * *
-     * If set to true, the key can be used on AMP (Accelerated Mobile Pages)
-     * websites. This is supported only for the SCORE integration type.
+     * Optional. If set to true, the key can be used on AMP (Accelerated Mobile
+     * Pages) websites. This is supported only for the SCORE integration type.
      * 
* - * bool allow_amp_traffic = 2; + * bool allow_amp_traffic = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1517,13 +1517,13 @@ public Builder clearIntegrationType() { * * *
-     * Settings for the frequency and difficulty at which this key triggers
-     * captcha challenges. This should only be specified for IntegrationTypes
-     * CHECKBOX and INVISIBLE.
+     * Optional. Settings for the frequency and difficulty at which this key
+     * triggers captcha challenges. This should only be specified for
+     * IntegrationTypes CHECKBOX and INVISIBLE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for challengeSecurityPreference. @@ -1536,13 +1536,13 @@ public int getChallengeSecurityPreferenceValue() { * * *
-     * Settings for the frequency and difficulty at which this key triggers
-     * captcha challenges. This should only be specified for IntegrationTypes
-     * CHECKBOX and INVISIBLE.
+     * Optional. Settings for the frequency and difficulty at which this key
+     * triggers captcha challenges. This should only be specified for
+     * IntegrationTypes CHECKBOX and INVISIBLE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @param value The enum numeric value on the wire for challengeSecurityPreference to set. @@ -1558,13 +1558,13 @@ public Builder setChallengeSecurityPreferenceValue(int value) { * * *
-     * Settings for the frequency and difficulty at which this key triggers
-     * captcha challenges. This should only be specified for IntegrationTypes
-     * CHECKBOX and INVISIBLE.
+     * Optional. Settings for the frequency and difficulty at which this key
+     * triggers captcha challenges. This should only be specified for
+     * IntegrationTypes CHECKBOX and INVISIBLE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The challengeSecurityPreference. @@ -1584,13 +1584,13 @@ public Builder setChallengeSecurityPreferenceValue(int value) { * * *
-     * Settings for the frequency and difficulty at which this key triggers
-     * captcha challenges. This should only be specified for IntegrationTypes
-     * CHECKBOX and INVISIBLE.
+     * Optional. Settings for the frequency and difficulty at which this key
+     * triggers captcha challenges. This should only be specified for
+     * IntegrationTypes CHECKBOX and INVISIBLE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @param value The challengeSecurityPreference to set. @@ -1610,13 +1610,13 @@ public Builder setChallengeSecurityPreference( * * *
-     * Settings for the frequency and difficulty at which this key triggers
-     * captcha challenges. This should only be specified for IntegrationTypes
-     * CHECKBOX and INVISIBLE.
+     * Optional. Settings for the frequency and difficulty at which this key
+     * triggers captcha challenges. This should only be specified for
+     * IntegrationTypes CHECKBOX and INVISIBLE.
      * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return This builder for chaining. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/WebKeySettingsOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/WebKeySettingsOrBuilder.java index bcf6c4c163bb..681abafb5204 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/WebKeySettingsOrBuilder.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/WebKeySettingsOrBuilder.java @@ -27,10 +27,10 @@ public interface WebKeySettingsOrBuilder * * *
-   * If set to true, it means allowed_domains will not be enforced.
+   * Optional. If set to true, it means allowed_domains will not be enforced.
    * 
* - * bool allow_all_domains = 3; + * bool allow_all_domains = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAllDomains. */ @@ -40,13 +40,13 @@ public interface WebKeySettingsOrBuilder * * *
-   * Domains or subdomains of websites allowed to use the key. All subdomains
-   * of an allowed domain are automatically allowed. A valid domain requires a
-   * host and must not include any path, port, query or fragment.
+   * Optional. Domains or subdomains of websites allowed to use the key. All
+   * subdomains of an allowed domain are automatically allowed. A valid domain
+   * requires a host and must not include any path, port, query or fragment.
    * Examples: 'example.com' or 'subdomain.example.com'
    * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the allowedDomains. */ @@ -55,13 +55,13 @@ public interface WebKeySettingsOrBuilder * * *
-   * Domains or subdomains of websites allowed to use the key. All subdomains
-   * of an allowed domain are automatically allowed. A valid domain requires a
-   * host and must not include any path, port, query or fragment.
+   * Optional. Domains or subdomains of websites allowed to use the key. All
+   * subdomains of an allowed domain are automatically allowed. A valid domain
+   * requires a host and must not include any path, port, query or fragment.
    * Examples: 'example.com' or 'subdomain.example.com'
    * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of allowedDomains. */ @@ -70,13 +70,13 @@ public interface WebKeySettingsOrBuilder * * *
-   * Domains or subdomains of websites allowed to use the key. All subdomains
-   * of an allowed domain are automatically allowed. A valid domain requires a
-   * host and must not include any path, port, query or fragment.
+   * Optional. Domains or subdomains of websites allowed to use the key. All
+   * subdomains of an allowed domain are automatically allowed. A valid domain
+   * requires a host and must not include any path, port, query or fragment.
    * Examples: 'example.com' or 'subdomain.example.com'
    * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The allowedDomains at the given index. @@ -86,13 +86,13 @@ public interface WebKeySettingsOrBuilder * * *
-   * Domains or subdomains of websites allowed to use the key. All subdomains
-   * of an allowed domain are automatically allowed. A valid domain requires a
-   * host and must not include any path, port, query or fragment.
+   * Optional. Domains or subdomains of websites allowed to use the key. All
+   * subdomains of an allowed domain are automatically allowed. A valid domain
+   * requires a host and must not include any path, port, query or fragment.
    * Examples: 'example.com' or 'subdomain.example.com'
    * 
* - * repeated string allowed_domains = 1; + * repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the allowedDomains at the given index. @@ -103,11 +103,11 @@ public interface WebKeySettingsOrBuilder * * *
-   * If set to true, the key can be used on AMP (Accelerated Mobile Pages)
-   * websites. This is supported only for the SCORE integration type.
+   * Optional. If set to true, the key can be used on AMP (Accelerated Mobile
+   * Pages) websites. This is supported only for the SCORE integration type.
    * 
* - * bool allow_amp_traffic = 2; + * bool allow_amp_traffic = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The allowAmpTraffic. */ @@ -146,13 +146,13 @@ public interface WebKeySettingsOrBuilder * * *
-   * Settings for the frequency and difficulty at which this key triggers
-   * captcha challenges. This should only be specified for IntegrationTypes
-   * CHECKBOX and INVISIBLE.
+   * Optional. Settings for the frequency and difficulty at which this key
+   * triggers captcha challenges. This should only be specified for
+   * IntegrationTypes CHECKBOX and INVISIBLE.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for challengeSecurityPreference. @@ -162,13 +162,13 @@ public interface WebKeySettingsOrBuilder * * *
-   * Settings for the frequency and difficulty at which this key triggers
-   * captcha challenges. This should only be specified for IntegrationTypes
-   * CHECKBOX and INVISIBLE.
+   * Optional. Settings for the frequency and difficulty at which this key
+   * triggers captcha challenges. This should only be specified for
+   * IntegrationTypes CHECKBOX and INVISIBLE.
    * 
* * - * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5; + * .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The challengeSecurityPreference. diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/proto/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/proto/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto index 3dfa99480186..314f839c5887 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/proto/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/proto/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto @@ -537,12 +537,13 @@ message AccountVerificationInfo { ERROR_VERDICT_MISMATCH = 9; } - // Endpoints that can be used for identity verification. - repeated EndpointVerificationInfo endpoints = 1; + // Optional. Endpoints that can be used for identity verification. + repeated EndpointVerificationInfo endpoints = 1 + [(google.api.field_behavior) = OPTIONAL]; - // Language code preference for the verification message, set as a IETF BCP 47 - // language code. - string language_code = 3; + // Optional. Language code preference for the verification message, set as a + // IETF BCP 47 language code. + string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; // Output only. Result of the latest account verification challenge. Result latest_verification_result = 7 @@ -555,10 +556,10 @@ message AccountVerificationInfo { // Private password leak verification info. message PrivatePasswordLeakVerification { - // Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized + // Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized // username. It is used to look up password leaks associated with that hash // prefix. - bytes lookup_hash_prefix = 1 [(google.api.field_behavior) = OPTIONAL]; + bytes lookup_hash_prefix = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. Encrypted Scrypt hash of the canonicalized username+password. It // is re-encrypted by the server and returned through @@ -590,8 +591,8 @@ message Assessment { // `projects/{project}/assessments/{assessment}`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The event being assessed. - Event event = 2; + // Optional. The event being assessed. + Event event = 2 [(google.api.field_behavior) = OPTIONAL]; // Output only. The risk analysis result for the event being assessed. RiskAnalysis risk_analysis = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -600,24 +601,31 @@ message Assessment { TokenProperties token_properties = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Account verification information for identity verification. The assessment - // event must include a token and site key to use this feature. - AccountVerificationInfo account_verification = 5; + // Optional. Account verification information for identity verification. The + // assessment event must include a token and site key to use this feature. + AccountVerificationInfo account_verification = 5 + [(google.api.field_behavior) = OPTIONAL]; - // Assessment returned by account defender when a hashed_account_id is - // provided. - AccountDefenderAssessment account_defender_assessment = 6; + // Output only. Assessment returned by account defender when a + // hashed_account_id is provided. + AccountDefenderAssessment account_defender_assessment = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // The private password leak verification field contains the parameters that - // are used to to check for leaks privately without sharing user credentials. - PrivatePasswordLeakVerification private_password_leak_verification = 8; + // Optional. The private password leak verification field contains the + // parameters that are used to to check for leaks privately without sharing + // user credentials. + PrivatePasswordLeakVerification private_password_leak_verification = 8 + [(google.api.field_behavior) = OPTIONAL]; - // Assessment returned when firewall policies belonging to the project are - // evaluated using the field firewall_policy_evaluation. - FirewallPolicyAssessment firewall_policy_assessment = 10; + // Output only. Assessment returned when firewall policies belonging to the + // project are evaluated using the field firewall_policy_evaluation. + FirewallPolicyAssessment firewall_policy_assessment = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Assessment returned by Fraud Prevention when TransactionData is provided. - FraudPreventionAssessment fraud_prevention_assessment = 11; + // Output only. Assessment returned by Fraud Prevention when TransactionData + // is provided. + FraudPreventionAssessment fraud_prevention_assessment = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Fraud Signals specific to the users involved in a payment // transaction. @@ -664,7 +672,7 @@ message Event { // WAF-enabled key. bool waf_token_assessment = 9 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Optional JA3 fingerprint for SSL clients. + // Optional. JA3 fingerprint for SSL clients. string ja3 = 10 [(google.api.field_behavior) = OPTIONAL]; // Optional. HTTP header information about the request. @@ -683,88 +691,90 @@ message Event { } // Transaction data associated with a payment protected by reCAPTCHA Enterprise. -// All fields are optional. message TransactionData { // Structured address format for billing and shipping addresses. message Address { - // The recipient name, potentially including information such as "care of". - string recipient = 1; + // Optional. The recipient name, potentially including information such as + // "care of". + string recipient = 1 [(google.api.field_behavior) = OPTIONAL]; - // The first lines of the address. The first line generally contains the - // street name and number, and further lines may include information such as - // an apartment number. - repeated string address = 2; + // Optional. The first lines of the address. The first line generally + // contains the street name and number, and further lines may include + // information such as an apartment number. + repeated string address = 2 [(google.api.field_behavior) = OPTIONAL]; - // The town/city of the address. - string locality = 3; + // Optional. The town/city of the address. + string locality = 3 [(google.api.field_behavior) = OPTIONAL]; - // The state, province, or otherwise administrative area of the address. - string administrative_area = 4; + // Optional. The state, province, or otherwise administrative area of the + // address. + string administrative_area = 4 [(google.api.field_behavior) = OPTIONAL]; - // The CLDR country/region of the address. - string region_code = 5; + // Optional. The CLDR country/region of the address. + string region_code = 5 [(google.api.field_behavior) = OPTIONAL]; - // The postal or ZIP code of the address. - string postal_code = 6; + // Optional. The postal or ZIP code of the address. + string postal_code = 6 [(google.api.field_behavior) = OPTIONAL]; } // Details about a user's account involved in the transaction. message User { - // Unique account identifier for this user. If using account defender, - // this should match the hashed_account_id field. Otherwise, a unique and - // persistent identifier for this account. - string account_id = 6; + // Optional. Unique account identifier for this user. If using account + // defender, this should match the hashed_account_id field. Otherwise, a + // unique and persistent identifier for this account. + string account_id = 6 [(google.api.field_behavior) = OPTIONAL]; - // The epoch milliseconds of the user's account creation. - int64 creation_ms = 1; + // Optional. The epoch milliseconds of the user's account creation. + int64 creation_ms = 1 [(google.api.field_behavior) = OPTIONAL]; - // The email address of the user. - string email = 2; + // Optional. The email address of the user. + string email = 2 [(google.api.field_behavior) = OPTIONAL]; - // Whether the email has been verified to be accessible by the user (OTP or - // similar). - bool email_verified = 3; + // Optional. Whether the email has been verified to be accessible by the + // user (OTP or similar). + bool email_verified = 3 [(google.api.field_behavior) = OPTIONAL]; - // The phone number of the user, with country code. - string phone_number = 4; + // Optional. The phone number of the user, with country code. + string phone_number = 4 [(google.api.field_behavior) = OPTIONAL]; - // Whether the phone number has been verified to be accessible by the user - // (OTP or similar). - bool phone_verified = 5; + // Optional. Whether the phone number has been verified to be accessible by + // the user (OTP or similar). + bool phone_verified = 5 [(google.api.field_behavior) = OPTIONAL]; } // Line items being purchased in this transaction. message Item { - // The full name of the item. - string name = 1; + // Optional. The full name of the item. + string name = 1 [(google.api.field_behavior) = OPTIONAL]; - // The value per item that the user is paying, in the transaction currency, - // after discounts. - double value = 2; + // Optional. The value per item that the user is paying, in the transaction + // currency, after discounts. + double value = 2 [(google.api.field_behavior) = OPTIONAL]; - // The quantity of this item that is being purchased. - int64 quantity = 3; + // Optional. The quantity of this item that is being purchased. + int64 quantity = 3 [(google.api.field_behavior) = OPTIONAL]; - // When a merchant is specified, its corresponding account_id. Necessary to - // populate marketplace-style transactions. - string merchant_account_id = 4; + // Optional. When a merchant is specified, its corresponding account_id. + // Necessary to populate marketplace-style transactions. + string merchant_account_id = 4 [(google.api.field_behavior) = OPTIONAL]; } // Details about the transaction from the gateway. message GatewayInfo { - // Name of the gateway service (for example, stripe, square, paypal). - string name = 1; + // Optional. Name of the gateway service (for example, stripe, square, + // paypal). + string name = 1 [(google.api.field_behavior) = OPTIONAL]; - // Gateway response code describing the state of the transaction. - string gateway_response_code = 2; + // Optional. Gateway response code describing the state of the transaction. + string gateway_response_code = 2 [(google.api.field_behavior) = OPTIONAL]; - // AVS response code from the gateway + // Optional. AVS response code from the gateway // (available only when reCAPTCHA Enterprise is called after authorization). - string avs_response_code = 3; + string avs_response_code = 3 [(google.api.field_behavior) = OPTIONAL]; - // CVV response code from the gateway + // Optional. CVV response code from the gateway // (available only when reCAPTCHA Enterprise is called after authorization). - string cvv_response_code = 4; + string cvv_response_code = 4 [(google.api.field_behavior) = OPTIONAL]; } // Unique identifier for the transaction. This custom identifier can be used @@ -773,7 +783,7 @@ message TransactionData { // same transaction id. optional string transaction_id = 11; - // The payment method for the transaction. The allowed values are: + // Optional. The payment method for the transaction. The allowed values are: // // * credit-card // * debit-card @@ -782,41 +792,44 @@ message TransactionData { // processor-paypal) // * custom-{name} (If an alternative method is used, for example, // custom-crypto) - string payment_method = 1; + string payment_method = 1 [(google.api.field_behavior) = OPTIONAL]; - // The Bank Identification Number - generally the first 6 or 8 digits of the - // card. - string card_bin = 2; + // Optional. The Bank Identification Number - generally the first 6 or 8 + // digits of the card. + string card_bin = 2 [(google.api.field_behavior) = OPTIONAL]; - // The last four digits of the card. - string card_last_four = 3; + // Optional. The last four digits of the card. + string card_last_four = 3 [(google.api.field_behavior) = OPTIONAL]; - // The currency code in ISO-4217 format. - string currency_code = 4; + // Optional. The currency code in ISO-4217 format. + string currency_code = 4 [(google.api.field_behavior) = OPTIONAL]; - // The decimal value of the transaction in the specified currency. - double value = 5; + // Optional. The decimal value of the transaction in the specified currency. + double value = 5 [(google.api.field_behavior) = OPTIONAL]; - // The value of shipping in the specified currency. 0 for free or no shipping. - double shipping_value = 12; + // Optional. The value of shipping in the specified currency. 0 for free or no + // shipping. + double shipping_value = 12 [(google.api.field_behavior) = OPTIONAL]; - // Destination address if this transaction involves shipping a physical item. - Address shipping_address = 6; + // Optional. Destination address if this transaction involves shipping a + // physical item. + Address shipping_address = 6 [(google.api.field_behavior) = OPTIONAL]; - // Address associated with the payment method when applicable. - Address billing_address = 7; + // Optional. Address associated with the payment method when applicable. + Address billing_address = 7 [(google.api.field_behavior) = OPTIONAL]; - // Information about the user paying/initiating the transaction. - User user = 8; + // Optional. Information about the user paying/initiating the transaction. + User user = 8 [(google.api.field_behavior) = OPTIONAL]; - // Information about the user or users fulfilling the transaction. - repeated User merchants = 13; + // Optional. Information about the user or users fulfilling the transaction. + repeated User merchants = 13 [(google.api.field_behavior) = OPTIONAL]; - // Items purchased in this transaction. - repeated Item items = 14; + // Optional. Items purchased in this transaction. + repeated Item items = 14 [(google.api.field_behavior) = OPTIONAL]; - // Information about the payment gateway's response to the transaction. - GatewayInfo gateway_info = 10; + // Optional. Information about the payment gateway's response to the + // transaction. + GatewayInfo gateway_info = 10 [(google.api.field_behavior) = OPTIONAL]; } // Risk analysis result for an event. @@ -850,17 +863,19 @@ message RiskAnalysis { SUSPECTED_CHARGEBACK = 7; } - // Legitimate event score from 0.0 to 1.0. + // Output only. Legitimate event score from 0.0 to 1.0. // (1.0 means very likely legitimate traffic while 0.0 means very likely // non-legitimate traffic). - float score = 1; + float score = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Reasons contributing to the risk analysis verdict. - repeated ClassificationReason reasons = 2; + // Output only. Reasons contributing to the risk analysis verdict. + repeated ClassificationReason reasons = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Extended verdict reasons to be used for experimentation only. The set of - // possible reasons is subject to change. - repeated string extended_verdict_reasons = 3; + // Output only. Extended verdict reasons to be used for experimentation only. + // The set of possible reasons is subject to change. + repeated string extended_verdict_reasons = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Properties of the provided event token. @@ -890,32 +905,34 @@ message TokenProperties { BROWSER_ERROR = 6; } - // Whether the provided user response token is valid. When valid = false, the - // reason could be specified in invalid_reason or it could also be due to - // a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey - // used to generate the token was different than the one specified in the - // assessment). - bool valid = 1; - - // Reason associated with the response when valid = false. - InvalidReason invalid_reason = 2; + // Output only. Whether the provided user response token is valid. When valid + // = false, the reason could be specified in invalid_reason or it could also + // be due to a user failing to solve a challenge or a sitekey mismatch (i.e + // the sitekey used to generate the token was different than the one specified + // in the assessment). + bool valid = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The timestamp corresponding to the generation of the token. - google.protobuf.Timestamp create_time = 3; + // Output only. Reason associated with the response when valid = false. + InvalidReason invalid_reason = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The hostname of the page on which the token was generated (Web keys only). - string hostname = 4; + // Output only. The timestamp corresponding to the generation of the token. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // The name of the Android package with which the token was generated (Android + // Output only. The hostname of the page on which the token was generated (Web // keys only). - string android_package_name = 8; + string hostname = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The ID of the iOS bundle with which the token was generated (iOS keys - // only). - string ios_bundle_id = 9; + // Output only. The name of the Android package with which the token was + // generated (Android keys only). + string android_package_name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Action name provided at token generation. - string action = 5; + // Output only. The ID of the iOS bundle with which the token was generated + // (iOS keys only). + string ios_bundle_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Action name provided at token generation. + string action = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Assessment for Fraud Prevention. @@ -923,42 +940,45 @@ message FraudPreventionAssessment { // Information about stolen instrument fraud, where the user is not the // legitimate owner of the instrument being used for the purchase. message StolenInstrumentVerdict { - // Probability of this transaction being executed with a stolen instrument. - // Values are from 0.0 (lowest) to 1.0 (highest). - float risk = 1; + // Output only. Probability of this transaction being executed with a stolen + // instrument. Values are from 0.0 (lowest) to 1.0 (highest). + float risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Information about card testing fraud, where an adversary is testing // fraudulently obtained cards or brute forcing their details. message CardTestingVerdict { - // Probability of this transaction attempt being part of a card testing - // attack. - // Values are from 0.0 (lowest) to 1.0 (highest). - float risk = 1; + // Output only. Probability of this transaction attempt being part of a card + // testing attack. Values are from 0.0 (lowest) to 1.0 (highest). + float risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Information about behavioral trust of the transaction. message BehavioralTrustVerdict { - // Probability of this transaction attempt being executed in a behaviorally - // trustworthy way. - // Values are from 0.0 (lowest) to 1.0 (highest). - float trust = 1; + // Output only. Probability of this transaction attempt being executed in a + // behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0 + // (highest). + float trust = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Probability of this transaction being fraudulent. Summarizes the combined - // risk of attack vectors below. - // Values are from 0.0 (lowest) to 1.0 (highest). - float transaction_risk = 1; + // Output only. Probability of this transaction being fraudulent. Summarizes + // the combined risk of attack vectors below. Values are from 0.0 (lowest) + // to 1.0 (highest). + float transaction_risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Assessment of this transaction for risk of a stolen instrument. - StolenInstrumentVerdict stolen_instrument_verdict = 2; + // Output only. Assessment of this transaction for risk of a stolen + // instrument. + StolenInstrumentVerdict stolen_instrument_verdict = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Assessment of this transaction for risk of being part of a card testing - // attack. - CardTestingVerdict card_testing_verdict = 3; + // Output only. Assessment of this transaction for risk of being part of a + // card testing attack. + CardTestingVerdict card_testing_verdict = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Assessment of this transaction for behavioral trust. - BehavioralTrustVerdict behavioral_trust_verdict = 4; + // Output only. Assessment of this transaction for behavioral trust. + BehavioralTrustVerdict behavioral_trust_verdict = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Fraud signals describing users and cards involved in the transaction. @@ -1033,8 +1053,9 @@ message AccountDefenderAssessment { RELATED_ACCOUNTS_NUMBER_HIGH = 4; } - // Labels for this request. - repeated AccountDefenderLabel labels = 1; + // Output only. Labels for this request. + repeated AccountDefenderLabel labels = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The create key request message. @@ -1289,8 +1310,8 @@ message Key { // `projects/{project}/keys/{key}`. string name = 1; - // Human-readable display name of this key. Modifiable by user. - string display_name = 2; + // Required. Human-readable display name of this key. Modifiable by user. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Platform-specific settings for this key. The key can only be used on a // platform for which the settings are enabled. @@ -1305,19 +1326,19 @@ message Key { IOSKeySettings ios_settings = 5; } - // See [Creating and managing labels] + // Optional. See [Creating and managing labels] // (https://cloud.google.com/recaptcha-enterprise/docs/labels). - map labels = 6; + map labels = 6 [(google.api.field_behavior) = OPTIONAL]; // Output only. The timestamp corresponding to the creation of this key. google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Options for user acceptance testing. - TestingOptions testing_options = 9; + // Optional. Options for user acceptance testing. + TestingOptions testing_options = 9 [(google.api.field_behavior) = OPTIONAL]; - // Settings for WAF - WafSettings waf_settings = 10; + // Optional. Settings for WAF + WafSettings waf_settings = 10 [(google.api.field_behavior) = OPTIONAL]; } // Options for user acceptance testing. @@ -1338,14 +1359,15 @@ message TestingOptions { UNSOLVABLE_CHALLENGE = 2; } - // All assessments for this Key will return this score. Must be between 0 - // (likely not legitimate) and 1 (likely legitimate) inclusive. - float testing_score = 1; + // Optional. All assessments for this Key will return this score. Must be + // between 0 (likely not legitimate) and 1 (likely legitimate) inclusive. + float testing_score = 1 [(google.api.field_behavior) = OPTIONAL]; - // For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests - // for this site will return nocaptcha if NOCAPTCHA, or an unsolvable - // challenge if CHALLENGE. - TestingChallenge testing_challenge = 2; + // Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all + // challenge requests for this site will return nocaptcha if NOCAPTCHA, or an + // unsolvable challenge if CHALLENGE. + TestingChallenge testing_challenge = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Settings specific to keys that can be used by websites. @@ -1386,57 +1408,63 @@ message WebKeySettings { SECURITY = 3; } - // If set to true, it means allowed_domains will not be enforced. - bool allow_all_domains = 3; + // Optional. If set to true, it means allowed_domains will not be enforced. + bool allow_all_domains = 3 [(google.api.field_behavior) = OPTIONAL]; - // Domains or subdomains of websites allowed to use the key. All subdomains - // of an allowed domain are automatically allowed. A valid domain requires a - // host and must not include any path, port, query or fragment. + // Optional. Domains or subdomains of websites allowed to use the key. All + // subdomains of an allowed domain are automatically allowed. A valid domain + // requires a host and must not include any path, port, query or fragment. // Examples: 'example.com' or 'subdomain.example.com' - repeated string allowed_domains = 1; + repeated string allowed_domains = 1 [(google.api.field_behavior) = OPTIONAL]; - // If set to true, the key can be used on AMP (Accelerated Mobile Pages) - // websites. This is supported only for the SCORE integration type. - bool allow_amp_traffic = 2; + // Optional. If set to true, the key can be used on AMP (Accelerated Mobile + // Pages) websites. This is supported only for the SCORE integration type. + bool allow_amp_traffic = 2 [(google.api.field_behavior) = OPTIONAL]; // Required. Describes how this key is integrated with the website. IntegrationType integration_type = 4 [(google.api.field_behavior) = REQUIRED]; - // Settings for the frequency and difficulty at which this key triggers - // captcha challenges. This should only be specified for IntegrationTypes - // CHECKBOX and INVISIBLE. - ChallengeSecurityPreference challenge_security_preference = 5; + // Optional. Settings for the frequency and difficulty at which this key + // triggers captcha challenges. This should only be specified for + // IntegrationTypes CHECKBOX and INVISIBLE. + ChallengeSecurityPreference challenge_security_preference = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Settings specific to keys that can be used by Android apps. message AndroidKeySettings { - // If set to true, allowed_package_names are not enforced. - bool allow_all_package_names = 2; + // Optional. If set to true, allowed_package_names are not enforced. + bool allow_all_package_names = 2 [(google.api.field_behavior) = OPTIONAL]; - // Android package names of apps allowed to use the key. + // Optional. Android package names of apps allowed to use the key. // Example: 'com.companyname.appname' - repeated string allowed_package_names = 1; + repeated string allowed_package_names = 1 + [(google.api.field_behavior) = OPTIONAL]; - // Set to true for keys that are used in an Android application that is - // available for download in app stores in addition to the Google Play Store. - bool support_non_google_app_store_distribution = 3; + // Optional. Set to true for keys that are used in an Android application that + // is available for download in app stores in addition to the Google Play + // Store. + bool support_non_google_app_store_distribution = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Settings specific to keys that can be used by iOS apps. message IOSKeySettings { - // If set to true, allowed_bundle_ids are not enforced. - bool allow_all_bundle_ids = 2; + // Optional. If set to true, allowed_bundle_ids are not enforced. + bool allow_all_bundle_ids = 2 [(google.api.field_behavior) = OPTIONAL]; - // iOS bundle ids of apps allowed to use the key. + // Optional. iOS bundle ids of apps allowed to use the key. // Example: 'com.companyname.productname.appname' - repeated string allowed_bundle_ids = 1; + repeated string allowed_bundle_ids = 1 + [(google.api.field_behavior) = OPTIONAL]; - // Apple Developer account details for the app that is protected by the - // reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like - // Apple App Attest and Apple DeviceCheck to protect your app from abuse. + // Optional. Apple Developer account details for the app that is protected by + // the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks + // like Apple App Attest and Apple DeviceCheck to protect your app from abuse. // Providing these fields allows reCAPTCHA Enterprise to get a better // assessment of the integrity of your app. - AppleDeveloperId apple_developer_id = 3; + AppleDeveloperId apple_developer_id = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Contains fields that are required to perform Apple-specific integrity checks. @@ -1496,9 +1524,9 @@ message ChallengeMetrics { // Policy config assessment. message FirewallPolicyAssessment { - // If the processing of a policy config fails, an error will be populated - // and the firewall_policy will be left empty. - google.rpc.Status error = 5; + // Output only. If the processing of a policy config fails, an error will be + // populated and the firewall_policy will be left empty. + google.rpc.Status error = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The policy that matched the request. If more than one policy // may match, this is the first match. If no policy matches the incoming @@ -1524,20 +1552,20 @@ message FirewallAction { // A substitute action transparently serves a different page than the one // requested. message SubstituteAction { - // The address to redirect to. The target is a relative path in the - // current host. Example: "/blog/404.html". - string path = 1; + // Optional. The address to redirect to. The target is a relative path in + // the current host. Example: "/blog/404.html". + string path = 1 [(google.api.field_behavior) = OPTIONAL]; } // A set header action sets a header and forwards the request to the // backend. This can be used to trigger custom protection implemented on the // backend. message SetHeaderAction { - // The header key to set in the request to the backend server. - string key = 1; + // Optional. The header key to set in the request to the backend server. + string key = 1 [(google.api.field_behavior) = OPTIONAL]; - // The header value to set in the request to the backend server. - string value = 2; + // Optional. The header value to set in the request to the backend server. + string value = 2 [(google.api.field_behavior) = OPTIONAL]; } oneof firewall_action_oneof { @@ -1575,33 +1603,35 @@ message FirewallPolicy { // `projects/{project}/firewallpolicies/{firewallpolicy}`. string name = 1; - // A description of what this policy aims to achieve, for convenience - // purposes. The description can at most include 256 UTF-8 characters. - string description = 2; + // Optional. A description of what this policy aims to achieve, for + // convenience purposes. The description can at most include 256 UTF-8 + // characters. + string description = 2 [(google.api.field_behavior) = OPTIONAL]; - // The path for which this policy applies, specified as a glob pattern. - // For more information on glob, see the [manual + // Optional. The path for which this policy applies, specified as a glob + // pattern. For more information on glob, see the [manual // page](https://man7.org/linux/man-pages/man7/glob.7.html). // A path has a max length of 200 characters. - string path = 4; - - // A CEL (Common Expression Language) conditional expression that specifies if - // this policy applies to an incoming user request. If this condition - // evaluates to true and the requested path matched the path pattern, the - // associated actions should be executed by the caller. The condition string - // is checked for CEL syntax correctness on creation. For more information, - // see the [CEL spec](https://github.com/google/cel-spec) and its [language + string path = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A CEL (Common Expression Language) conditional expression that + // specifies if this policy applies to an incoming user request. If this + // condition evaluates to true and the requested path matched the path + // pattern, the associated actions should be executed by the caller. The + // condition string is checked for CEL syntax correctness on creation. For + // more information, see the [CEL spec](https://github.com/google/cel-spec) + // and its [language // definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md). // A condition has a max length of 500 characters. - string condition = 5; + string condition = 5 [(google.api.field_behavior) = OPTIONAL]; - // The actions that the caller should take regarding user access. + // Optional. The actions that the caller should take regarding user access. // There should be at most one terminal action. A terminal action is any // action that forces a response, such as `AllowAction`, // `BlockAction` or `SubstituteAction`. // Zero or more non-terminal actions such as `SetHeader` might be // specified. A single policy can contain up to 16 actions. - repeated FirewallAction actions = 6; + repeated FirewallAction actions = 6 [(google.api.field_behavior) = OPTIONAL]; } // The request message to list memberships in a related account group.