Skip to content

Commit

Permalink
fix!: [recaptchaenterprise] added required annotations (#10045)
Browse files Browse the repository at this point in the history
- [ ] 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=
  • Loading branch information
gcf-owl-bot[bot] committed Nov 16, 2023
1 parent a6880a0 commit 27888dd
Show file tree
Hide file tree
Showing 36 changed files with 3,657 additions and 2,980 deletions.
4 changes: 2 additions & 2 deletions java-recaptchaenterprise/README.md
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.24.0</version>
<version>26.26.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -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
Expand Down
Expand Up @@ -305,11 +305,11 @@ private AccountDefenderLabel(int value) {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return A list containing the labels.
Expand All @@ -327,11 +327,11 @@ private AccountDefenderLabel(int value) {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return The count of labels.
Expand All @@ -344,11 +344,11 @@ public int getLabelsCount() {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param index The index of the element to return.
Expand All @@ -363,11 +363,11 @@ public com.google.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefend
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return A list containing the enum numeric values on the wire for labels.
Expand All @@ -380,11 +380,11 @@ public java.util.List<java.lang.Integer> getLabelsValueList() {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param index The index of the value to return.
Expand Down Expand Up @@ -794,11 +794,11 @@ private void ensureLabelsIsMutable() {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return A list containing the labels.
Expand All @@ -815,11 +815,11 @@ private void ensureLabelsIsMutable() {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return The count of labels.
Expand All @@ -831,11 +831,11 @@ public int getLabelsCount() {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param index The index of the element to return.
Expand All @@ -849,11 +849,11 @@ public int getLabelsCount() {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param index The index to set the value at.
Expand All @@ -875,11 +875,11 @@ public Builder setLabels(
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param value The labels to add.
Expand All @@ -899,11 +899,11 @@ public Builder addLabels(
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param values The labels to add.
Expand All @@ -927,11 +927,11 @@ public Builder addAllLabels(
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return This builder for chaining.
Expand All @@ -946,11 +946,11 @@ public Builder clearLabels() {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return A list containing the enum numeric values on the wire for labels.
Expand All @@ -962,11 +962,11 @@ public java.util.List<java.lang.Integer> getLabelsValueList() {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param index The index of the value to return.
Expand All @@ -979,11 +979,11 @@ public int getLabelsValue(int index) {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param index The index to set the value at.
Expand All @@ -1000,11 +1000,11 @@ public Builder setLabelsValue(int index, int value) {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param value The enum numeric value on the wire for labels to add.
Expand All @@ -1020,11 +1020,11 @@ public Builder addLabelsValue(int value) {
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param values The enum numeric values on the wire for labels to add.
Expand Down
Expand Up @@ -27,11 +27,11 @@ public interface AccountDefenderAssessmentOrBuilder
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return A list containing the labels.
Expand All @@ -42,11 +42,11 @@ public interface AccountDefenderAssessmentOrBuilder
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return The count of labels.
Expand All @@ -56,11 +56,11 @@ public interface AccountDefenderAssessmentOrBuilder
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param index The index of the element to return.
Expand All @@ -72,11 +72,11 @@ com.google.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return A list containing the enum numeric values on the wire for labels.
Expand All @@ -86,11 +86,11 @@ com.google.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel
*
*
* <pre>
* Labels for this request.
* Output only. Labels for this request.
* </pre>
*
* <code>
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
* repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @param index The index of the value to return.
Expand Down

0 comments on commit 27888dd

Please sign in to comment.