diff --git a/generation_config.yaml b/generation_config.yaml index 616539ec8dd8..9dad5f950541 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.44.0 -googleapis_commitish: f17f11412a8770c52e7280fa0e66ab17cb2f3af9 +googleapis_commitish: a8f277295c12490d49c196b791e2101500864c30 libraries_bom_version: 26.44.0 # the libraries are ordered with respect to library name, which is diff --git a/java-aiplatform/README.md b/java-aiplatform/README.md index e5f24ffe5686..7e49d4e770ce 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -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-aiplatform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.48.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.49.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-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json index 8651a919718d..554140370ff5 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json @@ -323,6 +323,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json index 7d0aa1e03546..bb710bfccdd6 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json @@ -323,6 +323,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java index 1cdbd37e92ff..ff624bd9073c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java @@ -140,20 +140,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e_uri\030\001 \001(\tB\003\340A\002\022\031\n\014package_uris\030\002 \003(\tB\003" + "\340A\002\022\032\n\rpython_module\030\003 \001(\tB\003\340A\002\022\014\n\004args\030" + "\004 \003(\t\022/\n\003env\030\005 \003(\0132\".google.cloud.aiplat" - + "form.v1.EnvVar\"\250\002\n\nScheduling\022*\n\007timeout" + + "form.v1.EnvVar\"\343\002\n\nScheduling\022*\n\007timeout" + "\030\001 \001(\0132\031.google.protobuf.Duration\022%\n\035res" + "tart_job_on_worker_restart\030\003 \001(\010\022F\n\010stra" + "tegy\030\004 \001(\0162/.google.cloud.aiplatform.v1." + "Scheduling.StrategyB\003\340A\001\022\034\n\017disable_retr" - + "ies\030\005 \001(\010B\003\340A\001\"a\n\010Strategy\022\030\n\024STRATEGY_U" - + "NSPECIFIED\020\000\022\021\n\tON_DEMAND\020\001\032\002\010\001\022\020\n\010LOW_C" - + "OST\020\002\032\002\010\001\022\014\n\010STANDARD\020\003\022\010\n\004SPOT\020\004B\314\001\n\036co" - + "m.google.cloud.aiplatform.v1B\016CustomJobP" - + "rotoP\001Z>cloud.google.com/go/aiplatform/a" - + "piv1/aiplatformpb;aiplatformpb\252\002\032Google." - + "Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPla" - + "tform\\V1\352\002\035Google::Cloud::AIPlatform::V1" - + "b\006proto3" + + "ies\030\005 \001(\010B\003\340A\001\0229\n\021max_wait_duration\030\006 \001(" + + "\0132\031.google.protobuf.DurationB\003\340A\001\"a\n\010Str" + + "ategy\022\030\n\024STRATEGY_UNSPECIFIED\020\000\022\021\n\tON_DE" + + "MAND\020\001\032\002\010\001\022\020\n\010LOW_COST\020\002\032\002\010\001\022\014\n\010STANDARD" + + "\020\003\022\010\n\004SPOT\020\004B\314\001\n\036com.google.cloud.aiplat" + + "form.v1B\016CustomJobProtoP\001Z>cloud.google." + + "com/go/aiplatform/apiv1/aiplatformpb;aip" + + "latformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002" + + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl" + + "oud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -264,7 +265,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_Scheduling_descriptor, new java.lang.String[] { - "Timeout", "RestartJobOnWorkerRestart", "Strategy", "DisableRetries", + "Timeout", + "RestartJobOnWorkerRestart", + "Strategy", + "DisableRetries", + "MaxWaitDuration", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scheduling.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scheduling.java index 9c5950f850da..af2e4d150ca3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scheduling.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scheduling.java @@ -398,6 +398,71 @@ public boolean getDisableRetries() { return disableRetries_; } + public static final int MAX_WAIT_DURATION_FIELD_NUMBER = 6; + private com.google.protobuf.Duration maxWaitDuration_; + /** + * + * + *
+ * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the maxWaitDuration field is set.
+ */
+ @java.lang.Override
+ public boolean hasMaxWaitDuration() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The maxWaitDuration.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Duration getMaxWaitDuration() {
+ return maxWaitDuration_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : maxWaitDuration_;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.DurationOrBuilder getMaxWaitDurationOrBuilder() {
+ return maxWaitDuration_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : maxWaitDuration_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -425,6 +490,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (disableRetries_ != false) {
output.writeBool(5, disableRetries_);
}
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(6, getMaxWaitDuration());
+ }
getUnknownFields().writeTo(output);
}
@@ -447,6 +515,9 @@ public int getSerializedSize() {
if (disableRetries_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, disableRetries_);
}
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMaxWaitDuration());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -470,6 +541,10 @@ public boolean equals(final java.lang.Object obj) {
if (getRestartJobOnWorkerRestart() != other.getRestartJobOnWorkerRestart()) return false;
if (strategy_ != other.strategy_) return false;
if (getDisableRetries() != other.getDisableRetries()) return false;
+ if (hasMaxWaitDuration() != other.hasMaxWaitDuration()) return false;
+ if (hasMaxWaitDuration()) {
+ if (!getMaxWaitDuration().equals(other.getMaxWaitDuration())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -491,6 +566,10 @@ public int hashCode() {
hash = (53 * hash) + strategy_;
hash = (37 * hash) + DISABLE_RETRIES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableRetries());
+ if (hasMaxWaitDuration()) {
+ hash = (37 * hash) + MAX_WAIT_DURATION_FIELD_NUMBER;
+ hash = (53 * hash) + getMaxWaitDuration().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -632,6 +711,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getTimeoutFieldBuilder();
+ getMaxWaitDurationFieldBuilder();
}
}
@@ -647,6 +727,11 @@ public Builder clear() {
restartJobOnWorkerRestart_ = false;
strategy_ = 0;
disableRetries_ = false;
+ maxWaitDuration_ = null;
+ if (maxWaitDurationBuilder_ != null) {
+ maxWaitDurationBuilder_.dispose();
+ maxWaitDurationBuilder_ = null;
+ }
return this;
}
@@ -697,6 +782,11 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.Scheduling result) {
if (((from_bitField0_ & 0x00000008) != 0)) {
result.disableRetries_ = disableRetries_;
}
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.maxWaitDuration_ =
+ maxWaitDurationBuilder_ == null ? maxWaitDuration_ : maxWaitDurationBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -757,6 +847,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Scheduling other) {
if (other.getDisableRetries() != false) {
setDisableRetries(other.getDisableRetries());
}
+ if (other.hasMaxWaitDuration()) {
+ mergeMaxWaitDuration(other.getMaxWaitDuration());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -807,6 +900,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000008;
break;
} // case 40
+ case 50:
+ {
+ input.readMessage(getMaxWaitDurationFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1227,6 +1326,236 @@ public Builder clearDisableRetries() {
return this;
}
+ private com.google.protobuf.Duration maxWaitDuration_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ maxWaitDurationBuilder_;
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the maxWaitDuration field is set.
+ */
+ public boolean hasMaxWaitDuration() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The maxWaitDuration.
+ */
+ public com.google.protobuf.Duration getMaxWaitDuration() {
+ if (maxWaitDurationBuilder_ == null) {
+ return maxWaitDuration_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : maxWaitDuration_;
+ } else {
+ return maxWaitDurationBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setMaxWaitDuration(com.google.protobuf.Duration value) {
+ if (maxWaitDurationBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ maxWaitDuration_ = value;
+ } else {
+ maxWaitDurationBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setMaxWaitDuration(com.google.protobuf.Duration.Builder builderForValue) {
+ if (maxWaitDurationBuilder_ == null) {
+ maxWaitDuration_ = builderForValue.build();
+ } else {
+ maxWaitDurationBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeMaxWaitDuration(com.google.protobuf.Duration value) {
+ if (maxWaitDurationBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) != 0)
+ && maxWaitDuration_ != null
+ && maxWaitDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+ getMaxWaitDurationBuilder().mergeFrom(value);
+ } else {
+ maxWaitDuration_ = value;
+ }
+ } else {
+ maxWaitDurationBuilder_.mergeFrom(value);
+ }
+ if (maxWaitDuration_ != null) {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearMaxWaitDuration() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ maxWaitDuration_ = null;
+ if (maxWaitDurationBuilder_ != null) {
+ maxWaitDurationBuilder_.dispose();
+ maxWaitDurationBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.Duration.Builder getMaxWaitDurationBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return getMaxWaitDurationFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.DurationOrBuilder getMaxWaitDurationOrBuilder() {
+ if (maxWaitDurationBuilder_ != null) {
+ return maxWaitDurationBuilder_.getMessageOrBuilder();
+ } else {
+ return maxWaitDuration_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : maxWaitDuration_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ getMaxWaitDurationFieldBuilder() {
+ if (maxWaitDurationBuilder_ == null) {
+ maxWaitDurationBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>(
+ getMaxWaitDuration(), getParentForChildren(), isClean());
+ maxWaitDuration_ = null;
+ }
+ return maxWaitDurationBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SchedulingOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SchedulingOrBuilder.java
index 044562a09557..0865d0fbd1bb 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SchedulingOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SchedulingOrBuilder.java
@@ -117,4 +117,54 @@ public interface SchedulingOrBuilder
* @return The disableRetries.
*/
boolean getDisableRetries();
+
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the maxWaitDuration field is set.
+ */
+ boolean hasMaxWaitDuration();
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The maxWaitDuration.
+ */
+ com.google.protobuf.Duration getMaxWaitDuration();
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.protobuf.DurationOrBuilder getMaxWaitDurationOrBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
index 0cfeb63f2970..fd4d146e5fec 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
@@ -394,4 +394,11 @@ message Scheduling {
// job starts running. If true, overrides
// `Scheduling.restart_job_on_worker_restart` to false.
bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. This is the maximum duration that a job will wait for the
+ // requested resources to be provisioned if the scheduling strategy is set to
+ // [Strategy.DWS_FLEX_START].
+ // If set to 0, the job will wait indefinitely. The default is 24 hours.
+ google.protobuf.Duration max_wait_duration = 6
+ [(google.api.field_behavior) = OPTIONAL];
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java
index 0f3e8f187667..586409fca913 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java
@@ -143,20 +143,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\002\022\031\n\014package_uris\030\002 \003(\tB\003\340A\002\022\032\n\rpython_m"
+ "odule\030\003 \001(\tB\003\340A\002\022\014\n\004args\030\004 \003(\t\0224\n\003env\030\005 "
+ "\003(\0132\'.google.cloud.aiplatform.v1beta1.En"
- + "vVar\"\255\002\n\nScheduling\022*\n\007timeout\030\001 \001(\0132\031.g"
+ + "vVar\"\350\002\n\nScheduling\022*\n\007timeout\030\001 \001(\0132\031.g"
+ "oogle.protobuf.Duration\022%\n\035restart_job_o"
+ "n_worker_restart\030\003 \001(\010\022K\n\010strategy\030\004 \001(\016"
+ "24.google.cloud.aiplatform.v1beta1.Sched"
+ "uling.StrategyB\003\340A\001\022\034\n\017disable_retries\030\005"
- + " \001(\010B\003\340A\001\"a\n\010Strategy\022\030\n\024STRATEGY_UNSPEC"
- + "IFIED\020\000\022\021\n\tON_DEMAND\020\001\032\002\010\001\022\020\n\010LOW_COST\020\002"
- + "\032\002\010\001\022\014\n\010STANDARD\020\003\022\010\n\004SPOT\020\004B\345\001\n#com.goo"
- + "gle.cloud.aiplatform.v1beta1B\016CustomJobP"
- + "rotoP\001ZCcloud.google.com/go/aiplatform/a"
- + "piv1beta1/aiplatformpb;aiplatformpb\252\002\037Go"
- + "ogle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\C"
- + "loud\\AIPlatform\\V1beta1\352\002\"Google::Cloud:"
- + ":AIPlatform::V1beta1b\006proto3"
+ + " \001(\010B\003\340A\001\0229\n\021max_wait_duration\030\006 \001(\0132\031.g"
+ + "oogle.protobuf.DurationB\003\340A\001\"a\n\010Strategy"
+ + "\022\030\n\024STRATEGY_UNSPECIFIED\020\000\022\021\n\tON_DEMAND\020"
+ + "\001\032\002\010\001\022\020\n\010LOW_COST\020\002\032\002\010\001\022\014\n\010STANDARD\020\003\022\010\n"
+ + "\004SPOT\020\004B\345\001\n#com.google.cloud.aiplatform."
+ + "v1beta1B\016CustomJobProtoP\001ZCcloud.google."
+ + "com/go/aiplatform/apiv1beta1/aiplatformp"
+ + "b;aiplatformpb\252\002\037Google.Cloud.AIPlatform"
+ + ".V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1bet"
+ + "a1\352\002\"Google::Cloud::AIPlatform::V1beta1b"
+ + "\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -271,7 +273,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_Scheduling_descriptor,
new java.lang.String[] {
- "Timeout", "RestartJobOnWorkerRestart", "Strategy", "DisableRetries",
+ "Timeout",
+ "RestartJobOnWorkerRestart",
+ "Strategy",
+ "DisableRetries",
+ "MaxWaitDuration",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
index a5a09c92dae4..771cce3ccf9b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
@@ -398,6 +398,71 @@ public boolean getDisableRetries() {
return disableRetries_;
}
+ public static final int MAX_WAIT_DURATION_FIELD_NUMBER = 6;
+ private com.google.protobuf.Duration maxWaitDuration_;
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the maxWaitDuration field is set.
+ */
+ @java.lang.Override
+ public boolean hasMaxWaitDuration() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The maxWaitDuration.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Duration getMaxWaitDuration() {
+ return maxWaitDuration_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : maxWaitDuration_;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.DurationOrBuilder getMaxWaitDurationOrBuilder() {
+ return maxWaitDuration_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : maxWaitDuration_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -426,6 +491,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (disableRetries_ != false) {
output.writeBool(5, disableRetries_);
}
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(6, getMaxWaitDuration());
+ }
getUnknownFields().writeTo(output);
}
@@ -449,6 +517,9 @@ public int getSerializedSize() {
if (disableRetries_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, disableRetries_);
}
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMaxWaitDuration());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -472,6 +543,10 @@ public boolean equals(final java.lang.Object obj) {
if (getRestartJobOnWorkerRestart() != other.getRestartJobOnWorkerRestart()) return false;
if (strategy_ != other.strategy_) return false;
if (getDisableRetries() != other.getDisableRetries()) return false;
+ if (hasMaxWaitDuration() != other.hasMaxWaitDuration()) return false;
+ if (hasMaxWaitDuration()) {
+ if (!getMaxWaitDuration().equals(other.getMaxWaitDuration())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -493,6 +568,10 @@ public int hashCode() {
hash = (53 * hash) + strategy_;
hash = (37 * hash) + DISABLE_RETRIES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableRetries());
+ if (hasMaxWaitDuration()) {
+ hash = (37 * hash) + MAX_WAIT_DURATION_FIELD_NUMBER;
+ hash = (53 * hash) + getMaxWaitDuration().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -634,6 +713,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getTimeoutFieldBuilder();
+ getMaxWaitDurationFieldBuilder();
}
}
@@ -649,6 +729,11 @@ public Builder clear() {
restartJobOnWorkerRestart_ = false;
strategy_ = 0;
disableRetries_ = false;
+ maxWaitDuration_ = null;
+ if (maxWaitDurationBuilder_ != null) {
+ maxWaitDurationBuilder_.dispose();
+ maxWaitDurationBuilder_ = null;
+ }
return this;
}
@@ -699,6 +784,11 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.Scheduling result
if (((from_bitField0_ & 0x00000008) != 0)) {
result.disableRetries_ = disableRetries_;
}
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.maxWaitDuration_ =
+ maxWaitDurationBuilder_ == null ? maxWaitDuration_ : maxWaitDurationBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -759,6 +849,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Scheduling other) {
if (other.getDisableRetries() != false) {
setDisableRetries(other.getDisableRetries());
}
+ if (other.hasMaxWaitDuration()) {
+ mergeMaxWaitDuration(other.getMaxWaitDuration());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -809,6 +902,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000008;
break;
} // case 40
+ case 50:
+ {
+ input.readMessage(getMaxWaitDurationFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1229,6 +1328,236 @@ public Builder clearDisableRetries() {
return this;
}
+ private com.google.protobuf.Duration maxWaitDuration_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ maxWaitDurationBuilder_;
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the maxWaitDuration field is set.
+ */
+ public boolean hasMaxWaitDuration() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The maxWaitDuration.
+ */
+ public com.google.protobuf.Duration getMaxWaitDuration() {
+ if (maxWaitDurationBuilder_ == null) {
+ return maxWaitDuration_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : maxWaitDuration_;
+ } else {
+ return maxWaitDurationBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setMaxWaitDuration(com.google.protobuf.Duration value) {
+ if (maxWaitDurationBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ maxWaitDuration_ = value;
+ } else {
+ maxWaitDurationBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setMaxWaitDuration(com.google.protobuf.Duration.Builder builderForValue) {
+ if (maxWaitDurationBuilder_ == null) {
+ maxWaitDuration_ = builderForValue.build();
+ } else {
+ maxWaitDurationBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeMaxWaitDuration(com.google.protobuf.Duration value) {
+ if (maxWaitDurationBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) != 0)
+ && maxWaitDuration_ != null
+ && maxWaitDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+ getMaxWaitDurationBuilder().mergeFrom(value);
+ } else {
+ maxWaitDuration_ = value;
+ }
+ } else {
+ maxWaitDurationBuilder_.mergeFrom(value);
+ }
+ if (maxWaitDuration_ != null) {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearMaxWaitDuration() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ maxWaitDuration_ = null;
+ if (maxWaitDurationBuilder_ != null) {
+ maxWaitDurationBuilder_.dispose();
+ maxWaitDurationBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.Duration.Builder getMaxWaitDurationBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return getMaxWaitDurationFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.DurationOrBuilder getMaxWaitDurationOrBuilder() {
+ if (maxWaitDurationBuilder_ != null) {
+ return maxWaitDurationBuilder_.getMessageOrBuilder();
+ } else {
+ return maxWaitDuration_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : maxWaitDuration_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ getMaxWaitDurationFieldBuilder() {
+ if (maxWaitDurationBuilder_ == null) {
+ maxWaitDurationBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>(
+ getMaxWaitDuration(), getParentForChildren(), isClean());
+ maxWaitDuration_ = null;
+ }
+ return maxWaitDurationBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
index 7c41cb087963..cb4e443f83d9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
@@ -117,4 +117,54 @@ public interface SchedulingOrBuilder
* @return The disableRetries.
*/
boolean getDisableRetries();
+
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the maxWaitDuration field is set.
+ */
+ boolean hasMaxWaitDuration();
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The maxWaitDuration.
+ */
+ com.google.protobuf.Duration getMaxWaitDuration();
+ /**
+ *
+ *
+ * + * Optional. This is the maximum duration that a job will wait for the + * requested resources to be provisioned if the scheduling strategy is set to + * [Strategy.DWS_FLEX_START]. + * If set to 0, the job will wait indefinitely. The default is 24 hours. + *+ * + *
+ * .google.protobuf.Duration max_wait_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.protobuf.DurationOrBuilder getMaxWaitDurationOrBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto
index 405dd8480c38..5ad6c69f4bd5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto
@@ -394,4 +394,11 @@ message Scheduling {
// job starts running. If true, overrides
// `Scheduling.restart_job_on_worker_restart` to false.
bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. This is the maximum duration that a job will wait for the
+ // requested resources to be provisioned if the scheduling strategy is set to
+ // [Strategy.DWS_FLEX_START].
+ // If set to 0, the job will wait indefinitely. The default is 24 hours.
+ google.protobuf.Duration max_wait_duration = 6
+ [(google.api.field_behavior) = OPTIONAL];
}
diff --git a/java-container/README.md b/java-container/README.md
index e5012b0648a5..98ce0dae2f5e 100644
--- a/java-container/README.md
+++ b/java-container/README.md
@@ -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-container.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.50.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.51.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-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1/reflect-config.json b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1/reflect-config.json
index ab9a5a506678..22681a2dc201 100644
--- a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1/reflect-config.json
+++ b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1/reflect-config.json
@@ -305,6 +305,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.api.PythonSettings$ExperimentalFeatures",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.api.ResourceDescriptor",
"queryAllDeclaredConstructors": true,
diff --git a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json
index 624b7be45ae6..06155b5b8201 100644
--- a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json
+++ b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json
@@ -305,6 +305,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.api.PythonSettings$ExperimentalFeatures",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.api.ResourceDescriptor",
"queryAllDeclaredConstructors": true,
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
index c4a37549a47b..0b8d1dbdcb57 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
@@ -1746,432 +1746,432 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\020\002\022\037\n\033PASSED_WITH_OPTIONAL_CONFIG\020\003\"x\n#C"
+ "heckAutopilotCompatibilityResponse\022@\n\006is"
+ "sues\030\001 \003(\01320.google.container.v1.Autopil"
- + "otCompatibilityIssue\022\017\n\007summary\030\002 \001(\t\"\216\001"
+ + "otCompatibilityIssue\022\017\n\007summary\030\002 \001(\t\"\234\001"
+ "\n\016ReleaseChannel\022<\n\007channel\030\001 \001(\0162+.goog"
- + "le.container.v1.ReleaseChannel.Channel\">"
+ + "le.container.v1.ReleaseChannel.Channel\"L"
+ "\n\007Channel\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n"
- + "\007REGULAR\020\002\022\n\n\006STABLE\020\003\"\'\n\024CostManagement"
- + "Config\022\017\n\007enabled\030\001 \001(\010\",\n\031IntraNodeVisi"
- + "bilityConfig\022\017\n\007enabled\030\001 \001(\010\"&\n\023ILBSubs"
- + "ettingConfig\022\017\n\007enabled\030\001 \001(\010\"\367\002\n\tDNSCon"
- + "fig\022<\n\013cluster_dns\030\001 \001(\0162\'.google.contai"
- + "ner.v1.DNSConfig.Provider\022B\n\021cluster_dns"
- + "_scope\030\002 \001(\0162\'.google.container.v1.DNSCo"
- + "nfig.DNSScope\022\032\n\022cluster_dns_domain\030\003 \001("
- + "\t\022*\n\035additive_vpc_scope_dns_domain\030\005 \001(\t"
- + "B\003\340A\001\"W\n\010Provider\022\030\n\024PROVIDER_UNSPECIFIE"
- + "D\020\000\022\024\n\020PLATFORM_DEFAULT\020\001\022\r\n\tCLOUD_DNS\020\002"
- + "\022\014\n\010KUBE_DNS\020\003\"G\n\010DNSScope\022\031\n\025DNS_SCOPE_"
- + "UNSPECIFIED\020\000\022\021\n\rCLUSTER_SCOPE\020\001\022\r\n\tVPC_"
- + "SCOPE\020\002\".\n\021MaxPodsConstraint\022\031\n\021max_pods"
- + "_per_node\030\001 \001(\003\"/\n\026WorkloadIdentityConfi"
- + "g\022\025\n\rworkload_pool\030\002 \001(\t\"(\n\025IdentityServ"
- + "iceConfig\022\017\n\007enabled\030\001 \001(\010\"K\n\020MeshCertif"
- + "icates\0227\n\023enable_certificates\030\001 \001(\0132\032.go"
- + "ogle.protobuf.BoolValue\"\343\005\n\022DatabaseEncr"
- + "yption\022\020\n\010key_name\030\001 \001(\t\022<\n\005state\030\002 \001(\0162"
- + "-.google.container.v1.DatabaseEncryption"
- + ".State\022U\n\rcurrent_state\030\003 \001(\01624.google.c"
- + "ontainer.v1.DatabaseEncryption.CurrentSt"
- + "ateB\003\340A\003H\000\210\001\001\022\034\n\017decryption_keys\030\004 \003(\tB\003"
- + "\340A\003\022Z\n\025last_operation_errors\030\005 \003(\01326.goo"
- + "gle.container.v1.DatabaseEncryption.Oper"
- + "ationErrorB\003\340A\003\032h\n\016OperationError\022\020\n\010key"
- + "_name\030\001 \001(\t\022\025\n\rerror_message\030\002 \001(\t\022-\n\tti"
- + "mestamp\030\003 \001(\0132\032.google.protobuf.Timestam"
- + "p\"2\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r"
- + "\n\tDECRYPTED\020\002\"\373\001\n\014CurrentState\022\035\n\031CURREN"
- + "T_STATE_UNSPECIFIED\020\000\022\033\n\027CURRENT_STATE_E"
- + "NCRYPTED\020\007\022\033\n\027CURRENT_STATE_DECRYPTED\020\002\022"
- + "$\n CURRENT_STATE_ENCRYPTION_PENDING\020\003\022\"\n"
- + "\036CURRENT_STATE_ENCRYPTION_ERROR\020\004\022$\n CUR"
- + "RENT_STATE_DECRYPTION_PENDING\020\005\022\"\n\036CURRE"
- + "NT_STATE_DECRYPTION_ERROR\020\006B\020\n\016_current_"
- + "state\"e\n\034ListUsableSubnetworksRequest\022\016\n"
- + "\006parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si"
- + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"t\n\035ListUsab"
- + "leSubnetworksResponse\022:\n\013subnetworks\030\001 \003"
- + "(\0132%.google.container.v1.UsableSubnetwor"
- + "k\022\027\n\017next_page_token\030\002 \001(\t\"\200\002\n\036UsableSub"
- + "networkSecondaryRange\022\022\n\nrange_name\030\001 \001("
- + "\t\022\025\n\rip_cidr_range\030\002 \001(\t\022J\n\006status\030\003 \001(\016"
- + "2:.google.container.v1.UsableSubnetworkS"
- + "econdaryRange.Status\"g\n\006Status\022\013\n\007UNKNOW"
- + "N\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024I"
- + "N_USE_SHAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_"
- + "POD\020\004\"\270\001\n\020UsableSubnetwork\022\022\n\nsubnetwork"
- + "\030\001 \001(\t\022\017\n\007network\030\002 \001(\t\022\025\n\rip_cidr_range"
- + "\030\003 \001(\t\022P\n\023secondary_ip_ranges\030\004 \003(\01323.go"
- + "ogle.container.v1.UsableSubnetworkSecond"
- + "aryRange\022\026\n\016status_message\030\005 \001(\t\"\355\002\n\031Res"
- + "ourceUsageExportConfig\022`\n\024bigquery_desti"
- + "nation\030\001 \001(\0132B.google.container.v1.Resou"
- + "rceUsageExportConfig.BigQueryDestination"
- + "\022&\n\036enable_network_egress_metering\030\002 \001(\010"
- + "\022m\n\033consumption_metering_config\030\003 \001(\0132H."
- + "google.container.v1.ResourceUsageExportC"
- + "onfig.ConsumptionMeteringConfig\032)\n\023BigQu"
- + "eryDestination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Co"
- + "nsumptionMeteringConfig\022\017\n\007enabled\030\001 \001(\010"
- + "\")\n\026VerticalPodAutoscaling\022\017\n\007enabled\030\001 "
- + "\001(\010\"%\n\021DefaultSnatStatus\022\020\n\010disabled\030\001 \001"
- + "(\010\" \n\rShieldedNodes\022\017\n\007enabled\030\001 \001(\010\"\035\n\n"
- + "VirtualNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocke"
- + "t\022\017\n\007enabled\030\001 \001(\010\"\250\003\n\022NotificationConfi"
- + "g\022>\n\006pubsub\030\001 \001(\0132..google.container.v1."
- + "NotificationConfig.PubSub\032\212\001\n\006PubSub\022\017\n\007"
- + "enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsu"
- + "b.googleapis.com/Topic\022>\n\006filter\030\003 \001(\0132."
- + ".google.container.v1.NotificationConfig."
- + "Filter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\01621.g"
- + "oogle.container.v1.NotificationConfig.Ev"
- + "entType\"t\n\tEventType\022\032\n\026EVENT_TYPE_UNSPE"
- + "CIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n"
- + "\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETIN_EV"
- + "ENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007enabled\030\001 "
- + "\001(\010\"\337\001\n\014UpgradeEvent\022?\n\rresource_type\030\001 "
- + "\001(\0162(.google.container.v1.UpgradeResourc"
- + "eType\022\021\n\toperation\030\002 \001(\t\0228\n\024operation_st"
- + "art_time\030\003 \001(\0132\032.google.protobuf.Timesta"
- + "mp\022\027\n\017current_version\030\004 \001(\t\022\026\n\016target_ve"
- + "rsion\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025Upgrad"
- + "eAvailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\rreso"
- + "urce_type\030\002 \001(\0162(.google.container.v1.Up"
- + "gradeResourceType\022<\n\017release_channel\030\003 \001"
- + "(\0132#.google.container.v1.ReleaseChannel\022"
- + "\020\n\010resource\030\004 \001(\t\"\236\002\n\025SecurityBulletinEv"
- + "ent\022\036\n\026resource_type_affected\030\001 \001(\t\022\023\n\013b"
- + "ulletin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010sev"
- + "erity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021bri"
- + "ef_description\030\006 \001(\t\022!\n\031affected_support"
- + "ed_minors\030\007 \003(\t\022\030\n\020patched_versions\030\010 \003("
- + "\t\022 \n\030suggested_upgrade_target\030\t \001(\t\022\035\n\025m"
- + "anual_steps_required\030\n \001(\010\"g\n\tAutopilot\022"
- + "\017\n\007enabled\030\001 \001(\010\022I\n\026workload_policy_conf"
- + "ig\030\002 \001(\0132).google.container.v1.WorkloadP"
- + "olicyConfig\"H\n\024WorkloadPolicyConfig\022\034\n\017a"
- + "llow_net_admin\030\001 \001(\010H\000\210\001\001B\022\n\020_allow_net_"
- + "admin\"V\n\rLoggingConfig\022E\n\020component_conf"
- + "ig\030\001 \001(\0132+.google.container.v1.LoggingCo"
- + "mponentConfig\"\357\001\n\026LoggingComponentConfig"
- + "\022P\n\021enable_components\030\001 \003(\01625.google.con"
- + "tainer.v1.LoggingComponentConfig.Compone"
- + "nt\"\202\001\n\tComponent\022\031\n\025COMPONENT_UNSPECIFIE"
- + "D\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tWORKLOADS\020"
- + "\002\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTR"
- + "OLLER_MANAGER\020\005\"*\n\027RayClusterLoggingConf"
- + "ig\022\017\n\007enabled\030\001 \001(\010\"\227\002\n\020MonitoringConfig"
- + "\022H\n\020component_config\030\001 \001(\0132..google.cont"
- + "ainer.v1.MonitoringComponentConfig\022O\n\031ma"
- + "naged_prometheus_config\030\002 \001(\0132,.google.c"
- + "ontainer.v1.ManagedPrometheusConfig\022h\n&a"
- + "dvanced_datapath_observability_config\030\003 "
- + "\001(\01328.google.container.v1.AdvancedDatapa"
- + "thObservabilityConfig\"\236\002\n#AdvancedDatapa"
- + "thObservabilityConfig\022\026\n\016enable_metrics\030"
- + "\001 \001(\010\022V\n\nrelay_mode\030\002 \001(\0162B.google.conta"
- + "iner.v1.AdvancedDatapathObservabilityCon"
- + "fig.RelayMode\022\031\n\014enable_relay\030\003 \001(\010H\000\210\001\001"
- + "\"[\n\tRelayMode\022\032\n\026RELAY_MODE_UNSPECIFIED\020"
- + "\000\022\014\n\010DISABLED\020\001\022\023\n\017INTERNAL_VPC_LB\020\003\022\017\n\013"
- + "EXTERNAL_LB\020\004B\017\n\r_enable_relay\"-\n\032RayClu"
- + "sterMonitoringConfig\022\017\n\007enabled\030\001 \001(\010\"Z\n"
- + "\025NodePoolLoggingConfig\022A\n\016variant_config"
- + "\030\001 \001(\0132).google.container.v1.LoggingVari"
- + "antConfig\"\237\001\n\024LoggingVariantConfig\022B\n\007va"
- + "riant\030\001 \001(\01621.google.container.v1.Loggin"
- + "gVariantConfig.Variant\"C\n\007Variant\022\027\n\023VAR"
- + "IANT_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\022\n\016MAX_T"
- + "HROUGHPUT\020\002\"\332\002\n\031MonitoringComponentConfi"
- + "g\022S\n\021enable_components\030\001 \003(\01628.google.co"
- + "ntainer.v1.MonitoringComponentConfig.Com"
- + "ponent\"\347\001\n\tComponent\022\031\n\025COMPONENT_UNSPEC"
- + "IFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tAPISER"
- + "VER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTROLLER_MANAG"
- + "ER\020\005\022\013\n\007STORAGE\020\007\022\007\n\003HPA\020\010\022\007\n\003POD\020\t\022\r\n\tD"
- + "AEMONSET\020\n\022\016\n\nDEPLOYMENT\020\013\022\017\n\013STATEFULSE"
- + "T\020\014\022\014\n\010CADVISOR\020\r\022\013\n\007KUBELET\020\016\022\010\n\004DCGM\020\017"
- + "\"*\n\027ManagedPrometheusConfig\022\017\n\007enabled\030\001"
- + " \001(\010\"N\n\005Fleet\022\017\n\007project\030\001 \001(\t\022\027\n\nmember"
- + "ship\030\002 \001(\tB\003\340A\003\022\033\n\016pre_registered\030\003 \001(\010B"
- + "\003\340A\003\"2\n\027LocalNvmeSsdBlockConfig\022\027\n\017local"
- + "_ssd_count\030\001 \001(\005\"9\n\036EphemeralStorageLoca"
- + "lSsdConfig\022\027\n\017local_ssd_count\030\001 \001(\005\"\204\001\n\023"
- + "ResourceManagerTags\022@\n\004tags\030\001 \003(\01322.goog"
- + "le.container.v1.ResourceManagerTags.Tags"
- + "Entry\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value"
- + "\030\002 \001(\t:\0028\001\"\253\001\n\020EnterpriseConfig\022L\n\014clust"
- + "er_tier\030\001 \001(\01621.google.container.v1.Ente"
- + "rpriseConfig.ClusterTierB\003\340A\003\"I\n\013Cluster"
- + "Tier\022\034\n\030CLUSTER_TIER_UNSPECIFIED\020\000\022\014\n\010ST"
- + "ANDARD\020\001\022\016\n\nENTERPRISE\020\002\"\233\001\n\021SecondaryBo"
- + "otDisk\0229\n\004mode\030\001 \001(\0162+.google.container."
- + "v1.SecondaryBootDisk.Mode\022\022\n\ndisk_image\030"
- + "\002 \001(\t\"7\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\031\n\025C"
- + "ONTAINER_IMAGE_CACHE\020\001\"!\n\037SecondaryBootD"
- + "iskUpdateStrategy*\306\001\n\027PrivateIPv6GoogleA"
- + "ccess\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSP"
- + "ECIFIED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCESS_"
- + "DISABLED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCESS"
- + "_TO_GOOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_ACCE"
- + "SS_BIDIRECTIONAL\020\003*W\n\023UpgradeResourceTyp"
- + "e\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECIFIED\020\000"
- + "\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*a\n\020DatapathP"
- + "rovider\022!\n\035DATAPATH_PROVIDER_UNSPECIFIED"
- + "\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025\n\021ADVANCED_DATA"
- + "PATH\020\002*^\n\026NodePoolUpdateStrategy\022)\n%NODE"
- + "_POOL_UPDATE_STRATEGY_UNSPECIFIED\020\000\022\016\n\nB"
- + "LUE_GREEN\020\002\022\t\n\005SURGE\020\003*@\n\tStackType\022\032\n\026S"
- + "TACK_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV"
- + "4_IPV6\020\002*N\n\016IPv6AccessType\022 \n\034IPV6_ACCES"
- + "S_TYPE_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EX"
- + "TERNAL\020\002*\237\001\n\031InTransitEncryptionConfig\022,"
- + "\n(IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFI"
- + "ED\020\000\022\"\n\036IN_TRANSIT_ENCRYPTION_DISABLED\020\001"
- + "\0220\n,IN_TRANSIT_ENCRYPTION_INTER_NODE_TRA"
- + "NSPARENT\020\0022\262I\n\016ClusterManager\022\350\001\n\014ListCl"
- + "usters\022(.google.container.v1.ListCluster"
- + "sRequest\032).google.container.v1.ListClust"
- + "ersResponse\"\202\001\332A\017project_id,zone\332A\006paren"
- + "t\202\323\344\223\002a\022,/v1/{parent=projects/*/location"
- + "s/*}/clustersZ1\022//v1/projects/{project_i"
- + "d}/zones/{zone}/clusters\022\355\001\n\nGetCluster\022"
- + "&.google.container.v1.GetClusterRequest\032"
- + "\034.google.container.v1.Cluster\"\230\001\332A\032proje"
- + "ct_id,zone,cluster_id\332A\004name\202\323\344\223\002n\022,/v1/"
- + "{name=projects/*/locations/*/clusters/*}"
- + "Z>\022*\n\006pubsub\030\001 \001(\0132..google"
+ + ".container.v1.NotificationConfig.PubSub\032"
+ + "\212\001\n\006PubSub\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030\002 \001"
+ + "(\tB \372A\035\n\033pubsub.googleapis.com/Topic\022>\n\006"
+ + "filter\030\003 \001(\0132..google.container.v1.Notif"
+ + "icationConfig.Filter\032O\n\006Filter\022E\n\nevent_"
+ + "type\030\001 \003(\01621.google.container.v1.Notific"
+ + "ationConfig.EventType\"t\n\tEventType\022\032\n\026EV"
+ + "ENT_TYPE_UNSPECIFIED\020\000\022\033\n\027UPGRADE_AVAILA"
+ + "BLE_EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027SECURI"
+ + "TY_BULLETIN_EVENT\020\003\"$\n\021ConfidentialNodes"
+ + "\022\017\n\007enabled\030\001 \001(\010\"\337\001\n\014UpgradeEvent\022?\n\rre"
+ + "source_type\030\001 \001(\0162(.google.container.v1."
+ + "UpgradeResourceType\022\021\n\toperation\030\002 \001(\t\0228"
+ + "\n\024operation_start_time\030\003 \001(\0132\032.google.pr"
+ + "otobuf.Timestamp\022\027\n\017current_version\030\004 \001("
+ + "\t\022\026\n\016target_version\030\005 \001(\t\022\020\n\010resource\030\006 "
+ + "\001(\t\"\271\001\n\025UpgradeAvailableEvent\022\017\n\007version"
+ + "\030\001 \001(\t\022?\n\rresource_type\030\002 \001(\0162(.google.c"
+ + "ontainer.v1.UpgradeResourceType\022<\n\017relea"
+ + "se_channel\030\003 \001(\0132#.google.container.v1.R"
+ + "eleaseChannel\022\020\n\010resource\030\004 \001(\t\"\236\002\n\025Secu"
+ + "rityBulletinEvent\022\036\n\026resource_type_affec"
+ + "ted\030\001 \001(\t\022\023\n\013bulletin_id\030\002 \001(\t\022\017\n\007cve_id"
+ + "s\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014bulletin_ur"
+ + "i\030\005 \001(\t\022\031\n\021brief_description\030\006 \001(\t\022!\n\031af"
+ + "fected_supported_minors\030\007 \003(\t\022\030\n\020patched"
+ + "_versions\030\010 \003(\t\022 \n\030suggested_upgrade_tar"
+ + "get\030\t \001(\t\022\035\n\025manual_steps_required\030\n \001(\010"
+ + "\"g\n\tAutopilot\022\017\n\007enabled\030\001 \001(\010\022I\n\026worklo"
+ + "ad_policy_config\030\002 \001(\0132).google.containe"
+ + "r.v1.WorkloadPolicyConfig\"H\n\024WorkloadPol"
+ + "icyConfig\022\034\n\017allow_net_admin\030\001 \001(\010H\000\210\001\001B"
+ + "\022\n\020_allow_net_admin\"V\n\rLoggingConfig\022E\n\020"
+ + "component_config\030\001 \001(\0132+.google.containe"
+ + "r.v1.LoggingComponentConfig\"\357\001\n\026LoggingC"
+ + "omponentConfig\022P\n\021enable_components\030\001 \003("
+ + "\01625.google.container.v1.LoggingComponent"
+ + "Config.Component\"\202\001\n\tComponent\022\031\n\025COMPON"
+ + "ENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001"
+ + "\022\r\n\tWORKLOADS\020\002\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDU"
+ + "LER\020\004\022\026\n\022CONTROLLER_MANAGER\020\005\"*\n\027RayClus"
+ + "terLoggingConfig\022\017\n\007enabled\030\001 \001(\010\"\227\002\n\020Mo"
+ + "nitoringConfig\022H\n\020component_config\030\001 \001(\013"
+ + "2..google.container.v1.MonitoringCompone"
+ + "ntConfig\022O\n\031managed_prometheus_config\030\002 "
+ + "\001(\0132,.google.container.v1.ManagedPrometh"
+ + "eusConfig\022h\n&advanced_datapath_observabi"
+ + "lity_config\030\003 \001(\01328.google.container.v1."
+ + "AdvancedDatapathObservabilityConfig\"\236\002\n#"
+ + "AdvancedDatapathObservabilityConfig\022\026\n\016e"
+ + "nable_metrics\030\001 \001(\010\022V\n\nrelay_mode\030\002 \001(\0162"
+ + "B.google.container.v1.AdvancedDatapathOb"
+ + "servabilityConfig.RelayMode\022\031\n\014enable_re"
+ + "lay\030\003 \001(\010H\000\210\001\001\"[\n\tRelayMode\022\032\n\026RELAY_MOD"
+ + "E_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\023\n\017INTERNA"
+ + "L_VPC_LB\020\003\022\017\n\013EXTERNAL_LB\020\004B\017\n\r_enable_r"
+ + "elay\"-\n\032RayClusterMonitoringConfig\022\017\n\007en"
+ + "abled\030\001 \001(\010\"Z\n\025NodePoolLoggingConfig\022A\n\016"
+ + "variant_config\030\001 \001(\0132).google.container."
+ + "v1.LoggingVariantConfig\"\237\001\n\024LoggingVaria"
+ + "ntConfig\022B\n\007variant\030\001 \001(\01621.google.conta"
+ + "iner.v1.LoggingVariantConfig.Variant\"C\n\007"
+ + "Variant\022\027\n\023VARIANT_UNSPECIFIED\020\000\022\013\n\007DEFA"
+ + "ULT\020\001\022\022\n\016MAX_THROUGHPUT\020\002\"\332\002\n\031Monitoring"
+ + "ComponentConfig\022S\n\021enable_components\030\001 \003"
+ + "(\01628.google.container.v1.MonitoringCompo"
+ + "nentConfig.Component\"\347\001\n\tComponent\022\031\n\025CO"
+ + "MPONENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONEN"
+ + "TS\020\001\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CO"
+ + "NTROLLER_MANAGER\020\005\022\013\n\007STORAGE\020\007\022\007\n\003HPA\020\010"
+ + "\022\007\n\003POD\020\t\022\r\n\tDAEMONSET\020\n\022\016\n\nDEPLOYMENT\020\013"
+ + "\022\017\n\013STATEFULSET\020\014\022\014\n\010CADVISOR\020\r\022\013\n\007KUBEL"
+ + "ET\020\016\022\010\n\004DCGM\020\017\"*\n\027ManagedPrometheusConfi"
+ + "g\022\017\n\007enabled\030\001 \001(\010\"N\n\005Fleet\022\017\n\007project\030\001"
+ + " \001(\t\022\027\n\nmembership\030\002 \001(\tB\003\340A\003\022\033\n\016pre_reg"
+ + "istered\030\003 \001(\010B\003\340A\003\"2\n\027LocalNvmeSsdBlockC"
+ + "onfig\022\027\n\017local_ssd_count\030\001 \001(\005\"9\n\036Epheme"
+ + "ralStorageLocalSsdConfig\022\027\n\017local_ssd_co"
+ + "unt\030\001 \001(\005\"\204\001\n\023ResourceManagerTags\022@\n\004tag"
+ + "s\030\001 \003(\01322.google.container.v1.ResourceMa"
+ + "nagerTags.TagsEntry\032+\n\tTagsEntry\022\013\n\003key\030"
+ + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\253\001\n\020EnterpriseC"
+ + "onfig\022L\n\014cluster_tier\030\001 \001(\01621.google.con"
+ + "tainer.v1.EnterpriseConfig.ClusterTierB\003"
+ + "\340A\003\"I\n\013ClusterTier\022\034\n\030CLUSTER_TIER_UNSPE"
+ + "CIFIED\020\000\022\014\n\010STANDARD\020\001\022\016\n\nENTERPRISE\020\002\"\233"
+ + "\001\n\021SecondaryBootDisk\0229\n\004mode\030\001 \001(\0162+.goo"
+ + "gle.container.v1.SecondaryBootDisk.Mode\022"
+ + "\022\n\ndisk_image\030\002 \001(\t\"7\n\004Mode\022\024\n\020MODE_UNSP"
+ + "ECIFIED\020\000\022\031\n\025CONTAINER_IMAGE_CACHE\020\001\"!\n\037"
+ + "SecondaryBootDiskUpdateStrategy*\306\001\n\027Priv"
+ + "ateIPv6GoogleAccess\022*\n&PRIVATE_IPV6_GOOG"
+ + "LE_ACCESS_UNSPECIFIED\020\000\022\'\n#PRIVATE_IPV6_"
+ + "GOOGLE_ACCESS_DISABLED\020\001\022(\n$PRIVATE_IPV6"
+ + "_GOOGLE_ACCESS_TO_GOOGLE\020\002\022,\n(PRIVATE_IP"
+ + "V6_GOOGLE_ACCESS_BIDIRECTIONAL\020\003*W\n\023Upgr"
+ + "adeResourceType\022%\n!UPGRADE_RESOURCE_TYPE"
+ + "_UNSPECIFIED\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020"
+ + "\002*a\n\020DatapathProvider\022!\n\035DATAPATH_PROVID"
+ + "ER_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025\n"
+ + "\021ADVANCED_DATAPATH\020\002*^\n\026NodePoolUpdateSt"
+ + "rategy\022)\n%NODE_POOL_UPDATE_STRATEGY_UNSP"
+ + "ECIFIED\020\000\022\016\n\nBLUE_GREEN\020\002\022\t\n\005SURGE\020\003*@\n\t"
+ + "StackType\022\032\n\026STACK_TYPE_UNSPECIFIED\020\000\022\010\n"
+ + "\004IPV4\020\001\022\r\n\tIPV4_IPV6\020\002*N\n\016IPv6AccessType"
+ + "\022 \n\034IPV6_ACCESS_TYPE_UNSPECIFIED\020\000\022\014\n\010IN"
+ + "TERNAL\020\001\022\014\n\010EXTERNAL\020\002*\237\001\n\031InTransitEncr"
+ + "yptionConfig\022,\n(IN_TRANSIT_ENCRYPTION_CO"
+ + "NFIG_UNSPECIFIED\020\000\022\"\n\036IN_TRANSIT_ENCRYPT"
+ + "ION_DISABLED\020\001\0220\n,IN_TRANSIT_ENCRYPTION_"
+ + "INTER_NODE_TRANSPARENT\020\0022\262I\n\016ClusterMana"
+ + "ger\022\350\001\n\014ListClusters\022(.google.container."
+ + "v1.ListClustersRequest\032).google.containe"
+ + "r.v1.ListClustersResponse\"\202\001\332A\017project_i"
+ + "d,zone\332A\006parent\202\323\344\223\002a\022,/v1/{parent=proje"
+ + "cts/*/locations/*}/clustersZ1\022//v1/proje"
+ + "cts/{project_id}/zones/{zone}/clusters\022\355"
+ + "\001\n\nGetCluster\022&.google.container.v1.GetC"
+ + "lusterRequest\032\034.google.container.v1.Clus"
+ + "ter\"\230\001\332A\032project_id,zone,cluster_id\332A\004na"
+ + "me\202\323\344\223\002n\022,/v1/{name=projects/*/locations"
+ + "/*/clusters/*}Z>\022*/v1/{name=projects/*/locations/*/clust"
- + "ers/*}:setResourceLabels:\001*ZP\"K/v1/proje"
- + "cts/{project_id}/zones/{zone}/clusters/{"
- + "cluster_id}/resourceLabels:\001*\022\245\002\n\rSetLeg"
- + "acyAbac\022).google.container.v1.SetLegacyA"
- + "bacRequest\032\036.google.container.v1.Operati"
- + "on\"\310\001\332A\"project_id,zone,cluster_id,enabl"
- + "ed\332A\014name,enabled\202\323\344\223\002\215\001\":/v1/{name=proj"
- + "ects/*/locations/*/clusters/*}:setLegacy"
- + "Abac:\001*ZL\"G/v1/projects/{project_id}/zon"
- + "es/{zone}/clusters/{cluster_id}/legacyAb"
- + "ac:\001*\022\240\002\n\017StartIPRotation\022+.google.conta"
- + "iner.v1.StartIPRotationRequest\032\036.google."
- + "container.v1.Operation\"\277\001\332A\032project_id,z"
- + "one,cluster_id\332A\004name\202\323\344\223\002\224\001\"/v1/{name=projects/*/loc"
+ + "ations/*/clusters/*}:setResourceLabels:\001"
+ + "*ZP\"K/v1/projects/{project_id}/zones/{zo"
+ + "ne}/clusters/{cluster_id}/resourceLabels"
+ + ":\001*\022\245\002\n\rSetLegacyAbac\022).google.container"
+ + ".v1.SetLegacyAbacRequest\032\036.google.contai"
+ + "ner.v1.Operation\"\310\001\332A\"project_id,zone,cl"
+ + "uster_id,enabled\332A\014name,enabled\202\323\344\223\002\215\001\":"
+ + "/v1/{name=projects/*/locations/*/cluster"
+ + "s/*}:setLegacyAbac:\001*ZL\"G/v1/projects/{p"
+ "roject_id}/zones/{zone}/clusters/{cluste"
- + "r_id}:setMaintenancePolicy:\001*\022\274\001\n\025ListUs"
- + "ableSubnetworks\0221.google.container.v1.Li"
- + "stUsableSubnetworksRequest\0322.google.cont"
- + "ainer.v1.ListUsableSubnetworksResponse\"<"
- + "\202\323\344\223\0026\0224/v1/{parent=projects/*}/aggregat"
- + "ed/usableSubnetworks\022\342\001\n\033CheckAutopilotC"
- + "ompatibility\0227.google.container.v1.Check"
- + "AutopilotCompatibilityRequest\0328.google.c"
- + "ontainer.v1.CheckAutopilotCompatibilityR"
- + "esponse\"P\202\323\344\223\002J\022H/v1/{name=projects/*/lo"
- + "cations/*/clusters/*}:checkAutopilotComp"
- + "atibility\032L\312A\030container.googleapis.com\322A"
- + ".https://www.googleapis.com/auth/cloud-p"
- + "latformB\207\002\n\027com.google.container.v1B\023Clu"
- + "sterServiceProtoP\001Z;cloud.google.com/go/"
- + "container/apiv1/containerpb;containerpb\252"
- + "\002\031Google.Cloud.Container.V1\312\002\031Google\\Clo"
- + "ud\\Container\\V1\352\002\034Google::Cloud::Contain"
- + "er::V1\352A@\n\033pubsub.googleapis.com/Topic\022!"
- + "projects/{project}/topics/{topic}b\006proto"
- + "3"
+ + "r_id}/legacyAbac:\001*\022\240\002\n\017StartIPRotation\022"
+ + "+.google.container.v1.StartIPRotationReq"
+ + "uest\032\036.google.container.v1.Operation\"\277\001\332"
+ + "A\032project_id,zone,cluster_id\332A\004name\202\323\344\223\002"
+ + "\224\001\"STABLE = 3;
*/
STABLE(3),
+ /**
+ *
+ *
+ * + * Clusters subscribed to EXTENDED receive extended support and availability + * for versions which are known to be stable and reliable in production. + *+ * + *
EXTENDED = 4;
+ */
+ EXTENDED(4),
UNRECOGNIZED(-1),
;
@@ -177,6 +188,17 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
* STABLE = 3;
*/
public static final int STABLE_VALUE = 3;
+ /**
+ *
+ *
+ * + * Clusters subscribed to EXTENDED receive extended support and availability + * for versions which are known to be stable and reliable in production. + *+ * + *
EXTENDED = 4;
+ */
+ public static final int EXTENDED_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -210,6 +232,8 @@ public static Channel forNumber(int value) {
return REGULAR;
case 3:
return STABLE;
+ case 4:
+ return EXTENDED;
default:
return null;
}
diff --git a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto
index fe9b2daec239..ba8730d3d57f 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto
+++ b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto
@@ -4752,6 +4752,10 @@ message ReleaseChannel {
// Clusters subscribed to STABLE receive versions that are known to be
// stable and reliable in production.
STABLE = 3;
+
+ // Clusters subscribed to EXTENDED receive extended support and availability
+ // for versions which are known to be stable and reliable in production.
+ EXTENDED = 4;
}
// channel specifies which release channel the cluster is subscribed to.
diff --git a/java-recaptchaenterprise/README.md b/java-recaptchaenterprise/README.md
index 4034bb9cccee..2f241818c3bd 100644
--- a/java-recaptchaenterprise/README.md
+++ b/java-recaptchaenterprise/README.md
@@ -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.44.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.45.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/google-cloud-recaptchaenterprise/src/main/resources/META-INF/native-image/com.google.cloud.recaptchaenterprise.v1/reflect-config.json b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/resources/META-INF/native-image/com.google.cloud.recaptchaenterprise.v1/reflect-config.json
index a973d1d6daa3..867d64eae8ca 100644
--- a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/resources/META-INF/native-image/com.google.cloud.recaptchaenterprise.v1/reflect-config.json
+++ b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/resources/META-INF/native-image/com.google.cloud.recaptchaenterprise.v1/reflect-config.json
@@ -332,6 +332,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.api.PythonSettings$ExperimentalFeatures",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.api.ResourceDescriptor",
"queryAllDeclaredConstructors": true,
@@ -1439,6 +1457,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.recaptchaenterprise.v1.AssessmentEnvironment",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.recaptchaenterprise.v1.AssessmentEnvironment$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.recaptchaenterprise.v1.ChallengeMetrics",
"queryAllDeclaredConstructors": true,
diff --git a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/resources/META-INF/native-image/com.google.cloud.recaptchaenterprise.v1beta1/reflect-config.json b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/resources/META-INF/native-image/com.google.cloud.recaptchaenterprise.v1beta1/reflect-config.json
index 0295c1a03ecc..0a29baf1144a 100644
--- a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/resources/META-INF/native-image/com.google.cloud.recaptchaenterprise.v1beta1/reflect-config.json
+++ b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/resources/META-INF/native-image/com.google.cloud.recaptchaenterprise.v1beta1/reflect-config.json
@@ -305,6 +305,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.api.PythonSettings$ExperimentalFeatures",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.api.ResourceDescriptor",
"queryAllDeclaredConstructors": true,
diff --git a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/test/java/com/google/cloud/recaptchaenterprise/v1/RecaptchaEnterpriseServiceClientTest.java b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/test/java/com/google/cloud/recaptchaenterprise/v1/RecaptchaEnterpriseServiceClientTest.java
index f050069da652..0c870ccea055 100644
--- a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/test/java/com/google/cloud/recaptchaenterprise/v1/RecaptchaEnterpriseServiceClientTest.java
+++ b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/test/java/com/google/cloud/recaptchaenterprise/v1/RecaptchaEnterpriseServiceClientTest.java
@@ -42,6 +42,7 @@
import com.google.recaptchaenterprise.v1.AnnotateAssessmentRequest;
import com.google.recaptchaenterprise.v1.AnnotateAssessmentResponse;
import com.google.recaptchaenterprise.v1.Assessment;
+import com.google.recaptchaenterprise.v1.AssessmentEnvironment;
import com.google.recaptchaenterprise.v1.AssessmentName;
import com.google.recaptchaenterprise.v1.ChallengeMetrics;
import com.google.recaptchaenterprise.v1.CreateAssessmentRequest;
@@ -162,6 +163,7 @@ public void createAssessmentTest() throws Exception {
.setFraudPreventionAssessment(FraudPreventionAssessment.newBuilder().build())
.setFraudSignals(FraudSignals.newBuilder().build())
.setPhoneFraudAssessment(PhoneFraudAssessment.newBuilder().build())
+ .setAssessmentEnvironment(AssessmentEnvironment.newBuilder().build())
.build();
mockRecaptchaEnterpriseService.addResponse(expectedResponse);
@@ -214,6 +216,7 @@ public void createAssessmentTest2() throws Exception {
.setFraudPreventionAssessment(FraudPreventionAssessment.newBuilder().build())
.setFraudSignals(FraudSignals.newBuilder().build())
.setPhoneFraudAssessment(PhoneFraudAssessment.newBuilder().build())
+ .setAssessmentEnvironment(AssessmentEnvironment.newBuilder().build())
.build();
mockRecaptchaEnterpriseService.addResponse(expectedResponse);
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 d4f1ad92da49..31cdb9bb32e4 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
@@ -714,6 +714,69 @@ public com.google.recaptchaenterprise.v1.PhoneFraudAssessment getPhoneFraudAsses
: phoneFraudAssessment_;
}
+ public static final int ASSESSMENT_ENVIRONMENT_FIELD_NUMBER = 14;
+ private com.google.recaptchaenterprise.v1.AssessmentEnvironment assessmentEnvironment_;
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the assessmentEnvironment field is set.
+ */
+ @java.lang.Override
+ public boolean hasAssessmentEnvironment() {
+ return ((bitField0_ & 0x00000400) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The assessmentEnvironment.
+ */
+ @java.lang.Override
+ public com.google.recaptchaenterprise.v1.AssessmentEnvironment getAssessmentEnvironment() {
+ return assessmentEnvironment_ == null
+ ? com.google.recaptchaenterprise.v1.AssessmentEnvironment.getDefaultInstance()
+ : assessmentEnvironment_;
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.recaptchaenterprise.v1.AssessmentEnvironmentOrBuilder
+ getAssessmentEnvironmentOrBuilder() {
+ return assessmentEnvironment_ == null
+ ? com.google.recaptchaenterprise.v1.AssessmentEnvironment.getDefaultInstance()
+ : assessmentEnvironment_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -761,6 +824,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000100) != 0)) {
output.writeMessage(13, getFraudSignals());
}
+ if (((bitField0_ & 0x00000400) != 0)) {
+ output.writeMessage(14, getAssessmentEnvironment());
+ }
getUnknownFields().writeTo(output);
}
@@ -812,6 +878,10 @@ public int getSerializedSize() {
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getFraudSignals());
}
+ if (((bitField0_ & 0x00000400) != 0)) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(14, getAssessmentEnvironment());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -873,6 +943,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasPhoneFraudAssessment()) {
if (!getPhoneFraudAssessment().equals(other.getPhoneFraudAssessment())) return false;
}
+ if (hasAssessmentEnvironment() != other.hasAssessmentEnvironment()) return false;
+ if (hasAssessmentEnvironment()) {
+ if (!getAssessmentEnvironment().equals(other.getAssessmentEnvironment())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -926,6 +1000,10 @@ public int hashCode() {
hash = (37 * hash) + PHONE_FRAUD_ASSESSMENT_FIELD_NUMBER;
hash = (53 * hash) + getPhoneFraudAssessment().hashCode();
}
+ if (hasAssessmentEnvironment()) {
+ hash = (37 * hash) + ASSESSMENT_ENVIRONMENT_FIELD_NUMBER;
+ hash = (53 * hash) + getAssessmentEnvironment().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1076,6 +1154,7 @@ private void maybeForceBuilderInitialization() {
getFraudPreventionAssessmentFieldBuilder();
getFraudSignalsFieldBuilder();
getPhoneFraudAssessmentFieldBuilder();
+ getAssessmentEnvironmentFieldBuilder();
}
}
@@ -1134,6 +1213,11 @@ public Builder clear() {
phoneFraudAssessmentBuilder_.dispose();
phoneFraudAssessmentBuilder_ = null;
}
+ assessmentEnvironment_ = null;
+ if (assessmentEnvironmentBuilder_ != null) {
+ assessmentEnvironmentBuilder_.dispose();
+ assessmentEnvironmentBuilder_ = null;
+ }
return this;
}
@@ -1235,6 +1319,13 @@ private void buildPartial0(com.google.recaptchaenterprise.v1.Assessment result)
: phoneFraudAssessmentBuilder_.build();
to_bitField0_ |= 0x00000200;
}
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.assessmentEnvironment_ =
+ assessmentEnvironmentBuilder_ == null
+ ? assessmentEnvironment_
+ : assessmentEnvironmentBuilder_.build();
+ to_bitField0_ |= 0x00000400;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -1318,6 +1409,9 @@ public Builder mergeFrom(com.google.recaptchaenterprise.v1.Assessment other) {
if (other.hasPhoneFraudAssessment()) {
mergePhoneFraudAssessment(other.getPhoneFraudAssessment());
}
+ if (other.hasAssessmentEnvironment()) {
+ mergeAssessmentEnvironment(other.getAssessmentEnvironment());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1417,6 +1511,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00000200;
break;
} // case 106
+ case 114:
+ {
+ input.readMessage(
+ getAssessmentEnvironmentFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000800;
+ break;
+ } // case 114
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -3720,6 +3821,233 @@ public Builder clearPhoneFraudAssessment() {
return phoneFraudAssessmentBuilder_;
}
+ private com.google.recaptchaenterprise.v1.AssessmentEnvironment assessmentEnvironment_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment,
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment.Builder,
+ com.google.recaptchaenterprise.v1.AssessmentEnvironmentOrBuilder>
+ assessmentEnvironmentBuilder_;
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the assessmentEnvironment field is set.
+ */
+ public boolean hasAssessmentEnvironment() {
+ return ((bitField0_ & 0x00000800) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The assessmentEnvironment.
+ */
+ public com.google.recaptchaenterprise.v1.AssessmentEnvironment getAssessmentEnvironment() {
+ if (assessmentEnvironmentBuilder_ == null) {
+ return assessmentEnvironment_ == null
+ ? com.google.recaptchaenterprise.v1.AssessmentEnvironment.getDefaultInstance()
+ : assessmentEnvironment_;
+ } else {
+ return assessmentEnvironmentBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setAssessmentEnvironment(
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment value) {
+ if (assessmentEnvironmentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ assessmentEnvironment_ = value;
+ } else {
+ assessmentEnvironmentBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setAssessmentEnvironment(
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment.Builder builderForValue) {
+ if (assessmentEnvironmentBuilder_ == null) {
+ assessmentEnvironment_ = builderForValue.build();
+ } else {
+ assessmentEnvironmentBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeAssessmentEnvironment(
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment value) {
+ if (assessmentEnvironmentBuilder_ == null) {
+ if (((bitField0_ & 0x00000800) != 0)
+ && assessmentEnvironment_ != null
+ && assessmentEnvironment_
+ != com.google.recaptchaenterprise.v1.AssessmentEnvironment.getDefaultInstance()) {
+ getAssessmentEnvironmentBuilder().mergeFrom(value);
+ } else {
+ assessmentEnvironment_ = value;
+ }
+ } else {
+ assessmentEnvironmentBuilder_.mergeFrom(value);
+ }
+ if (assessmentEnvironment_ != null) {
+ bitField0_ |= 0x00000800;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearAssessmentEnvironment() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ assessmentEnvironment_ = null;
+ if (assessmentEnvironmentBuilder_ != null) {
+ assessmentEnvironmentBuilder_.dispose();
+ assessmentEnvironmentBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.recaptchaenterprise.v1.AssessmentEnvironment.Builder
+ getAssessmentEnvironmentBuilder() {
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return getAssessmentEnvironmentFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.recaptchaenterprise.v1.AssessmentEnvironmentOrBuilder
+ getAssessmentEnvironmentOrBuilder() {
+ if (assessmentEnvironmentBuilder_ != null) {
+ return assessmentEnvironmentBuilder_.getMessageOrBuilder();
+ } else {
+ return assessmentEnvironment_ == null
+ ? com.google.recaptchaenterprise.v1.AssessmentEnvironment.getDefaultInstance()
+ : assessmentEnvironment_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment,
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment.Builder,
+ com.google.recaptchaenterprise.v1.AssessmentEnvironmentOrBuilder>
+ getAssessmentEnvironmentFieldBuilder() {
+ if (assessmentEnvironmentBuilder_ == null) {
+ assessmentEnvironmentBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment,
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment.Builder,
+ com.google.recaptchaenterprise.v1.AssessmentEnvironmentOrBuilder>(
+ getAssessmentEnvironment(), getParentForChildren(), isClean());
+ assessmentEnvironment_ = null;
+ }
+ return assessmentEnvironmentBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AssessmentEnvironment.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AssessmentEnvironment.java
new file mode 100644
index 000000000000..042685034629
--- /dev/null
+++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/AssessmentEnvironment.java
@@ -0,0 +1,852 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto
+
+// Protobuf Java Version: 3.25.4
+package com.google.recaptchaenterprise.v1;
+
+/**
+ *
+ *
+ * + * The environment creating the assessment. This describes your environment + * (the system invoking CreateAssessment), NOT the environment of your user. + *+ * + * Protobuf type {@code google.cloud.recaptchaenterprise.v1.AssessmentEnvironment} + */ +public final class AssessmentEnvironment extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.recaptchaenterprise.v1.AssessmentEnvironment) + AssessmentEnvironmentOrBuilder { + private static final long serialVersionUID = 0L; + // Use AssessmentEnvironment.newBuilder() to construct. + private AssessmentEnvironment(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AssessmentEnvironment() { + client_ = ""; + version_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AssessmentEnvironment(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.recaptchaenterprise.v1.RecaptchaEnterpriseProto + .internal_static_google_cloud_recaptchaenterprise_v1_AssessmentEnvironment_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.recaptchaenterprise.v1.RecaptchaEnterpriseProto + .internal_static_google_cloud_recaptchaenterprise_v1_AssessmentEnvironment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.recaptchaenterprise.v1.AssessmentEnvironment.class, + com.google.recaptchaenterprise.v1.AssessmentEnvironment.Builder.class); + } + + public static final int CLIENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object client_ = ""; + /** + * + * + *
+ * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The client.
+ */
+ @java.lang.Override
+ public java.lang.String getClient() {
+ java.lang.Object ref = client_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ client_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for client.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getClientBytes() {
+ java.lang.Object ref = client_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ client_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VERSION_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object version_ = "";
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The version.
+ */
+ @java.lang.Override
+ public java.lang.String getVersion() {
+ java.lang.Object ref = version_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ version_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for version.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getVersionBytes() {
+ java.lang.Object ref = version_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ version_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(client_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, client_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(client_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, client_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.recaptchaenterprise.v1.AssessmentEnvironment)) {
+ return super.equals(obj);
+ }
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment other =
+ (com.google.recaptchaenterprise.v1.AssessmentEnvironment) obj;
+
+ if (!getClient().equals(other.getClient())) return false;
+ if (!getVersion().equals(other.getVersion())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + CLIENT_FIELD_NUMBER;
+ hash = (53 * hash) + getClient().hashCode();
+ hash = (37 * hash) + VERSION_FIELD_NUMBER;
+ hash = (53 * hash) + getVersion().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The environment creating the assessment. This describes your environment + * (the system invoking CreateAssessment), NOT the environment of your user. + *+ * + * Protobuf type {@code google.cloud.recaptchaenterprise.v1.AssessmentEnvironment} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The client.
+ */
+ public java.lang.String getClient() {
+ java.lang.Object ref = client_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ client_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for client.
+ */
+ public com.google.protobuf.ByteString getClientBytes() {
+ java.lang.Object ref = client_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ client_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The client to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClient(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ client_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearClient() {
+ client_ = getDefaultInstance().getClient();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for client to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClientBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ client_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object version_ = "";
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The version.
+ */
+ public java.lang.String getVersion() {
+ java.lang.Object ref = version_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ version_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for version.
+ */
+ public com.google.protobuf.ByteString getVersionBytes() {
+ java.lang.Object ref = version_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ version_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The version to set.
+ * @return This builder for chaining.
+ */
+ public Builder setVersion(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ version_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearVersion() {
+ version_ = getDefaultInstance().getVersion();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for version to set.
+ * @return This builder for chaining.
+ */
+ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ version_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.recaptchaenterprise.v1.AssessmentEnvironment)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.recaptchaenterprise.v1.AssessmentEnvironment)
+ private static final com.google.recaptchaenterprise.v1.AssessmentEnvironment DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.recaptchaenterprise.v1.AssessmentEnvironment();
+ }
+
+ public static com.google.recaptchaenterprise.v1.AssessmentEnvironment getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The client.
+ */
+ java.lang.String getClient();
+ /**
+ *
+ *
+ * + * Optional. Identifies the client module initiating the CreateAssessment + * request. This can be the link to the client module's project. Examples + * include: + * - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" + * - "cloud.google.com/recaptcha/docs/implement-waf-akamai" + * - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" + * - "wordpress.org/plugins/recaptcha-something" + *+ * + *
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for client.
+ */
+ com.google.protobuf.ByteString getClientBytes();
+
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The version.
+ */
+ java.lang.String getVersion();
+ /**
+ *
+ *
+ * + * Optional. The version of the client module. For example, "1.0.0". + *+ * + *
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for version.
+ */
+ com.google.protobuf.ByteString getVersionBytes();
+}
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 a3d0b58db436..97a4b6f5e457 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
@@ -498,4 +498,52 @@ public interface AssessmentOrBuilder
*/
com.google.recaptchaenterprise.v1.PhoneFraudAssessmentOrBuilder
getPhoneFraudAssessmentOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the assessmentEnvironment field is set.
+ */
+ boolean hasAssessmentEnvironment();
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The assessmentEnvironment.
+ */
+ com.google.recaptchaenterprise.v1.AssessmentEnvironment getAssessmentEnvironment();
+ /**
+ *
+ *
+ * + * Optional. The environment creating the assessment. This describes your + * environment (the system invoking CreateAssessment), NOT the environment of + * your user. + *+ * + *
+ * .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.recaptchaenterprise.v1.AssessmentEnvironmentOrBuilder
+ getAssessmentEnvironmentOrBuilder();
}
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 a0db1f32aa44..f55ce876d77f 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
@@ -530,7 +530,7 @@ public com.google.protobuf.ByteString getExpectedActionBytes() {
*
*
* @deprecated google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See
- * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=718
+ * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=724
* @return The hashedAccountId.
*/
@java.lang.Override
@@ -2230,7 +2230,7 @@ public Builder setExpectedActionBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See
- * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=718
+ * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=724
* @return The hashedAccountId.
*/
@java.lang.Override
@@ -2252,7 +2252,7 @@ public com.google.protobuf.ByteString getHashedAccountId() {
*
*
* @deprecated google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See
- * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=718
+ * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=724
* @param value The hashedAccountId to set.
* @return This builder for chaining.
*/
@@ -2280,7 +2280,7 @@ public Builder setHashedAccountId(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See
- * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=718
+ * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=724
* @return This builder for chaining.
*/
@java.lang.Deprecated
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 ad8beb244125..39ff68038d6d 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
@@ -178,7 +178,7 @@ public interface EventOrBuilder
*
*
* @deprecated google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See
- * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=718
+ * google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=724
* @return The hashedAccountId.
*/
@java.lang.Deprecated
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 761ca754299d..662597991167 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
@@ -348,6 +348,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_recaptchaenterprise_v1_WafSettings_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_recaptchaenterprise_v1_WafSettings_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_recaptchaenterprise_v1_AssessmentEnvironment_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_recaptchaenterprise_v1_AssessmentEnvironment_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_recaptchaenterprise_v1_IpOverrideData_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -439,7 +443,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_user_credentials_hash\030\002 \001(\014B\003\340A\001\022*\n\035enc"
+ "rypted_leak_match_prefixes\030\003 \003(\014B\003\340A\003\022.\n"
+ "!reencrypted_user_credentials_hash\030\004 \001(\014"
- + "B\003\340A\003\"\303\010\n\nAssessment\022\024\n\004name\030\001 \001(\tB\006\340A\003\340"
+ + "B\003\340A\003\"\244\t\n\nAssessment\022\024\n\004name\030\001 \001(\tB\006\340A\003\340"
+ "A\010\022>\n\005event\030\002 \001(\0132*.google.cloud.recaptc"
+ "haenterprise.v1.EventB\003\340A\001\022M\n\rrisk_analy"
+ "sis\030\003 \001(\01321.google.cloud.recaptchaenterp"
@@ -463,464 +467,468 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ".recaptchaenterprise.v1.FraudSignalsB\003\340A"
+ "\003\022^\n\026phone_fraud_assessment\030\014 \001(\01329.goog"
+ "le.cloud.recaptchaenterprise.v1.PhoneFra"
- + "udAssessmentB\003\340A\003:x\352Au\n-recaptchaenterpr"
- + "ise.googleapis.com/Assessment\022+projects/"
- + "{project}/assessments/{assessment}*\013asse"
- + "ssments2\nassessment\"\236\005\n\005Event\022\022\n\005token\030\001"
- + " \001(\tB\003\340A\001\022\025\n\010site_key\030\002 \001(\tB\003\340A\001\022\027\n\nuser"
- + "_agent\030\003 \001(\tB\003\340A\001\022$\n\017user_ip_address\030\004 \001"
- + "(\tB\013\340A\001\342\214\317\327\010\002\010\004\022\034\n\017expected_action\030\005 \001(\t"
- + "B\003\340A\001\022 \n\021hashed_account_id\030\006 \001(\014B\005\030\001\340A\001\022"
- + "\024\n\007express\030\016 \001(\010B\003\340A\001\022\032\n\rrequested_uri\030\010"
- + " \001(\tB\003\340A\001\022!\n\024waf_token_assessment\030\t \001(\010B"
- + "\003\340A\001\022\020\n\003ja3\030\n \001(\tB\003\340A\001\022\024\n\007headers\030\013 \003(\tB"
- + "\003\340A\001\022\'\n\032firewall_policy_evaluation\030\014 \001(\010"
- + "B\003\340A\001\022S\n\020transaction_data\030\r \001(\01324.google"
- + ".cloud.recaptchaenterprise.v1.Transactio"
- + "nDataB\003\340A\001\022E\n\tuser_info\030\017 \001(\0132-.google.c"
- + "loud.recaptchaenterprise.v1.UserInfoB\003\340A"
- + "\001\022Y\n\020fraud_prevention\030\021 \001(\0162:.google.clo"
- + "ud.recaptchaenterprise.v1.Event.FraudPre"
- + "ventionB\003\340A\001\"N\n\017FraudPrevention\022 \n\034FRAUD"
- + "_PREVENTION_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014"
- + "\n\010DISABLED\020\002\"\240\n\n\017TransactionData\022\033\n\016tran"
- + "saction_id\030\013 \001(\tH\000\210\001\001\022\033\n\016payment_method\030"
- + "\001 \001(\tB\003\340A\001\022\025\n\010card_bin\030\002 \001(\tB\003\340A\001\022\033\n\016car"
- + "d_last_four\030\003 \001(\tB\003\340A\001\022\032\n\rcurrency_code\030"
- + "\004 \001(\tB\003\340A\001\022\022\n\005value\030\005 \001(\001B\003\340A\001\022\033\n\016shippi"
- + "ng_value\030\014 \001(\001B\003\340A\001\022[\n\020shipping_address\030"
- + "\006 \001(\0132<.google.cloud.recaptchaenterprise"
- + ".v1.TransactionData.AddressB\003\340A\001\022Z\n\017bill"
- + "ing_address\030\007 \001(\0132<.google.cloud.recaptc"
- + "haenterprise.v1.TransactionData.AddressB"
- + "\003\340A\001\022L\n\004user\030\010 \001(\01329.google.cloud.recapt"
- + "chaenterprise.v1.TransactionData.UserB\003\340"
- + "A\001\022Q\n\tmerchants\030\r \003(\01329.google.cloud.rec"
- + "aptchaenterprise.v1.TransactionData.User"
- + "B\003\340A\001\022M\n\005items\030\016 \003(\01329.google.cloud.reca"
- + "ptchaenterprise.v1.TransactionData.ItemB"
- + "\003\340A\001\022[\n\014gateway_info\030\n \001(\0132@.google.clou"
- + "d.recaptchaenterprise.v1.TransactionData"
- + ".GatewayInfoB\003\340A\001\032\244\001\n\007Address\022\026\n\trecipie"
- + "nt\030\001 \001(\tB\003\340A\001\022\024\n\007address\030\002 \003(\tB\003\340A\001\022\025\n\010l"
- + "ocality\030\003 \001(\tB\003\340A\001\022 \n\023administrative_are"
- + "a\030\004 \001(\tB\003\340A\001\022\030\n\013region_code\030\005 \001(\tB\003\340A\001\022\030"
- + "\n\013postal_code\030\006 \001(\tB\003\340A\001\032\242\001\n\004User\022\027\n\nacc"
- + "ount_id\030\006 \001(\tB\003\340A\001\022\030\n\013creation_ms\030\001 \001(\003B"
- + "\003\340A\001\022\022\n\005email\030\002 \001(\tB\003\340A\001\022\033\n\016email_verifi"
- + "ed\030\003 \001(\010B\003\340A\001\022\031\n\014phone_number\030\004 \001(\tB\003\340A\001"
- + "\022\033\n\016phone_verified\030\005 \001(\010B\003\340A\001\032f\n\004Item\022\021\n"
- + "\004name\030\001 \001(\tB\003\340A\001\022\022\n\005value\030\002 \001(\001B\003\340A\001\022\025\n\010"
- + "quantity\030\003 \001(\003B\003\340A\001\022 \n\023merchant_account_"
- + "id\030\004 \001(\tB\003\340A\001\032\204\001\n\013GatewayInfo\022\021\n\004name\030\001 "
- + "\001(\tB\003\340A\001\022\"\n\025gateway_response_code\030\002 \001(\tB"
- + "\003\340A\001\022\036\n\021avs_response_code\030\003 \001(\tB\003\340A\001\022\036\n\021"
- + "cvv_response_code\030\004 \001(\tB\003\340A\001B\021\n\017_transac"
- + "tion_id\"\245\001\n\010UserInfo\022<\n\023create_account_t"
- + "ime\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340"
- + "A\001\022\027\n\naccount_id\030\002 \001(\tB\003\340A\001\022B\n\010user_ids\030"
- + "\003 \003(\0132+.google.cloud.recaptchaenterprise"
- + ".v1.UserIdB\003\340A\001\"`\n\006UserId\022\024\n\005email\030\001 \001(\t"
- + "B\003\340A\001H\000\022\033\n\014phone_number\030\002 \001(\tB\003\340A\001H\000\022\027\n\010"
- + "username\030\003 \001(\tB\003\340A\001H\000B\n\n\010id_oneof\"\223\003\n\014Ri"
- + "skAnalysis\022\022\n\005score\030\001 \001(\002B\003\340A\003\022\\\n\007reason"
- + "s\030\002 \003(\0162F.google.cloud.recaptchaenterpri"
- + "se.v1.RiskAnalysis.ClassificationReasonB"
- + "\003\340A\003\022%\n\030extended_verdict_reasons\030\003 \003(\tB\003"
- + "\340A\003\"\351\001\n\024ClassificationReason\022%\n!CLASSIFI"
- + "CATION_REASON_UNSPECIFIED\020\000\022\016\n\nAUTOMATIO"
- + "N\020\001\022\032\n\026UNEXPECTED_ENVIRONMENT\020\002\022\024\n\020TOO_M"
- + "UCH_TRAFFIC\020\003\022\035\n\031UNEXPECTED_USAGE_PATTER"
- + "NS\020\004\022\030\n\024LOW_CONFIDENCE_SCORE\020\005\022\025\n\021SUSPEC"
- + "TED_CARDING\020\006\022\030\n\024SUSPECTED_CHARGEBACK\020\007\""
- + "\273\003\n\017TokenProperties\022\022\n\005valid\030\001 \001(\010B\003\340A\003\022"
- + "_\n\016invalid_reason\030\002 \001(\0162B.google.cloud.r"
- + "ecaptchaenterprise.v1.TokenProperties.In"
- + "validReasonB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032."
- + "google.protobuf.TimestampB\003\340A\003\022\025\n\010hostna"
- + "me\030\004 \001(\tB\003\340A\003\022!\n\024android_package_name\030\010 "
- + "\001(\tB\003\340A\003\022\032\n\rios_bundle_id\030\t \001(\tB\003\340A\003\022\023\n\006"
- + "action\030\005 \001(\tB\003\340A\003\"\221\001\n\rInvalidReason\022\036\n\032I"
- + "NVALID_REASON_UNSPECIFIED\020\000\022\032\n\026UNKNOWN_I"
- + "NVALID_REASON\020\001\022\r\n\tMALFORMED\020\002\022\013\n\007EXPIRE"
- + "D\020\003\022\010\n\004DUPE\020\004\022\013\n\007MISSING\020\005\022\021\n\rBROWSER_ER"
- + "ROR\020\006\"\263\004\n\031FraudPreventionAssessment\022\035\n\020t"
- + "ransaction_risk\030\001 \001(\002B\003\340A\003\022~\n\031stolen_ins"
- + "trument_verdict\030\002 \001(\0132V.google.cloud.rec"
- + "aptchaenterprise.v1.FraudPreventionAsses"
- + "sment.StolenInstrumentVerdictB\003\340A\003\022t\n\024ca"
- + "rd_testing_verdict\030\003 \001(\0132Q.google.cloud."
- + "recaptchaenterprise.v1.FraudPreventionAs"
- + "sessment.CardTestingVerdictB\003\340A\003\022|\n\030beha"
- + "vioral_trust_verdict\030\004 \001(\0132U.google.clou"
- + "d.recaptchaenterprise.v1.FraudPrevention"
- + "Assessment.BehavioralTrustVerdictB\003\340A\003\032,"
- + "\n\027StolenInstrumentVerdict\022\021\n\004risk\030\001 \001(\002B"
- + "\003\340A\003\032\'\n\022CardTestingVerdict\022\021\n\004risk\030\001 \001(\002"
- + "B\003\340A\003\032,\n\026BehavioralTrustVerdict\022\022\n\005trust"
- + "\030\001 \001(\002B\003\340A\003\"\343\003\n\014FraudSignals\022X\n\014user_sig"
- + "nals\030\001 \001(\0132=.google.cloud.recaptchaenter"
- + "prise.v1.FraudSignals.UserSignalsB\003\340A\003\022X"
- + "\n\014card_signals\030\002 \001(\0132=.google.cloud.reca"
- + "ptchaenterprise.v1.FraudSignals.CardSign"
- + "alsB\003\340A\003\032P\n\013UserSignals\022$\n\027active_days_l"
- + "ower_bound\030\001 \001(\005B\003\340A\003\022\033\n\016synthetic_risk\030"
- + "\002 \001(\002B\003\340A\003\032\314\001\n\013CardSignals\022a\n\013card_label"
- + "s\030\001 \003(\0162G.google.cloud.recaptchaenterpri"
- + "se.v1.FraudSignals.CardSignals.CardLabel"
- + "B\003\340A\003\"Z\n\tCardLabel\022\032\n\026CARD_LABEL_UNSPECI"
- + "FIED\020\000\022\013\n\007PREPAID\020\001\022\013\n\007VIRTUAL\020\002\022\027\n\023UNEX"
- + "PECTED_LOCATION\020\003\"\342\001\n\023SmsTollFraudVerdic"
- + "t\022\021\n\004risk\030\001 \001(\002B\003\340A\003\022a\n\007reasons\030\002 \003(\0162K."
- + "google.cloud.recaptchaenterprise.v1.SmsT"
- + "ollFraudVerdict.SmsTollFraudReasonB\003\340A\003\""
- + "U\n\022SmsTollFraudReason\022%\n!SMS_TOLL_FRAUD_"
- + "REASON_UNSPECIFIED\020\000\022\030\n\024INVALID_PHONE_NU"
- + "MBER\020\001\"u\n\024PhoneFraudAssessment\022]\n\026sms_to"
- + "ll_fraud_verdict\030\001 \001(\01328.google.cloud.re"
- + "captchaenterprise.v1.SmsTollFraudVerdict"
- + "B\003\340A\003\"\273\002\n\031AccountDefenderAssessment\022h\n\006l"
- + "abels\030\001 \003(\0162S.google.cloud.recaptchaente"
- + "rprise.v1.AccountDefenderAssessment.Acco"
- + "untDefenderLabelB\003\340A\003\"\263\001\n\024AccountDefende"
- + "rLabel\022&\n\"ACCOUNT_DEFENDER_LABEL_UNSPECI"
- + "FIED\020\000\022\021\n\rPROFILE_MATCH\020\001\022\035\n\031SUSPICIOUS_"
- + "LOGIN_ACTIVITY\020\002\022\037\n\033SUSPICIOUS_ACCOUNT_C"
- + "REATION\020\003\022 \n\034RELATED_ACCOUNTS_NUMBER_HIG"
- + "H\020\004\"\223\001\n\020CreateKeyRequest\022C\n\006parent\030\001 \001(\t"
- + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi"
- + "s.com/Project\022:\n\003key\030\002 \001(\0132(.google.clou"
- + "d.recaptchaenterprise.v1.KeyB\003\340A\002\"\207\001\n\017Li"
- + "stKeysRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+c"
- + "loudresourcemanager.googleapis.com/Proje"
- + "ct\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token"
- + "\030\003 \001(\tB\003\340A\001\"c\n\020ListKeysResponse\0226\n\004keys\030"
- + "\001 \003(\0132(.google.cloud.recaptchaenterprise"
- + ".v1.Key\022\027\n\017next_page_token\030\002 \001(\t\"]\n\036Retr"
- + "ieveLegacySecretKeyRequest\022;\n\003key\030\001 \001(\tB"
- + ".\340A\002\372A(\n&recaptchaenterprise.googleapis."
- + "com/Key\"M\n\rGetKeyRequest\022<\n\004name\030\001 \001(\tB."
- + "\340A\002\372A(\n&recaptchaenterprise.googleapis.c"
- + "om/Key\"\204\001\n\020UpdateKeyRequest\022:\n\003key\030\001 \001(\013"
- + "2(.google.cloud.recaptchaenterprise.v1.K"
- + "eyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr"
- + "otobuf.FieldMaskB\003\340A\001\"P\n\020DeleteKeyReques"
+ + "udAssessmentB\003\340A\003\022_\n\026assessment_environm"
+ + "ent\030\016 \001(\0132:.google.cloud.recaptchaenterp"
+ + "rise.v1.AssessmentEnvironmentB\003\340A\001:x\352Au\n"
+ + "-recaptchaenterprise.googleapis.com/Asse"
+ + "ssment\022+projects/{project}/assessments/{"
+ + "assessment}*\013assessments2\nassessment\"\236\005\n"
+ + "\005Event\022\022\n\005token\030\001 \001(\tB\003\340A\001\022\025\n\010site_key\030\002"
+ + " \001(\tB\003\340A\001\022\027\n\nuser_agent\030\003 \001(\tB\003\340A\001\022$\n\017us"
+ + "er_ip_address\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\004\022\034\n\017expe"
+ + "cted_action\030\005 \001(\tB\003\340A\001\022 \n\021hashed_account"
+ + "_id\030\006 \001(\014B\005\030\001\340A\001\022\024\n\007express\030\016 \001(\010B\003\340A\001\022\032"
+ + "\n\rrequested_uri\030\010 \001(\tB\003\340A\001\022!\n\024waf_token_"
+ + "assessment\030\t \001(\010B\003\340A\001\022\020\n\003ja3\030\n \001(\tB\003\340A\001\022"
+ + "\024\n\007headers\030\013 \003(\tB\003\340A\001\022\'\n\032firewall_policy"
+ + "_evaluation\030\014 \001(\010B\003\340A\001\022S\n\020transaction_da"
+ + "ta\030\r \001(\01324.google.cloud.recaptchaenterpr"
+ + "ise.v1.TransactionDataB\003\340A\001\022E\n\tuser_info"
+ + "\030\017 \001(\0132-.google.cloud.recaptchaenterpris"
+ + "e.v1.UserInfoB\003\340A\001\022Y\n\020fraud_prevention\030\021"
+ + " \001(\0162:.google.cloud.recaptchaenterprise."
+ + "v1.Event.FraudPreventionB\003\340A\001\"N\n\017FraudPr"
+ + "evention\022 \n\034FRAUD_PREVENTION_UNSPECIFIED"
+ + "\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\"\240\n\n\017Transa"
+ + "ctionData\022\033\n\016transaction_id\030\013 \001(\tH\000\210\001\001\022\033"
+ + "\n\016payment_method\030\001 \001(\tB\003\340A\001\022\025\n\010card_bin\030"
+ + "\002 \001(\tB\003\340A\001\022\033\n\016card_last_four\030\003 \001(\tB\003\340A\001\022"
+ + "\032\n\rcurrency_code\030\004 \001(\tB\003\340A\001\022\022\n\005value\030\005 \001"
+ + "(\001B\003\340A\001\022\033\n\016shipping_value\030\014 \001(\001B\003\340A\001\022[\n\020"
+ + "shipping_address\030\006 \001(\0132<.google.cloud.re"
+ + "captchaenterprise.v1.TransactionData.Add"
+ + "ressB\003\340A\001\022Z\n\017billing_address\030\007 \001(\0132<.goo"
+ + "gle.cloud.recaptchaenterprise.v1.Transac"
+ + "tionData.AddressB\003\340A\001\022L\n\004user\030\010 \001(\01329.go"
+ + "ogle.cloud.recaptchaenterprise.v1.Transa"
+ + "ctionData.UserB\003\340A\001\022Q\n\tmerchants\030\r \003(\01329"
+ + ".google.cloud.recaptchaenterprise.v1.Tra"
+ + "nsactionData.UserB\003\340A\001\022M\n\005items\030\016 \003(\01329."
+ + "google.cloud.recaptchaenterprise.v1.Tran"
+ + "sactionData.ItemB\003\340A\001\022[\n\014gateway_info\030\n "
+ + "\001(\0132@.google.cloud.recaptchaenterprise.v"
+ + "1.TransactionData.GatewayInfoB\003\340A\001\032\244\001\n\007A"
+ + "ddress\022\026\n\trecipient\030\001 \001(\tB\003\340A\001\022\024\n\007addres"
+ + "s\030\002 \003(\tB\003\340A\001\022\025\n\010locality\030\003 \001(\tB\003\340A\001\022 \n\023a"
+ + "dministrative_area\030\004 \001(\tB\003\340A\001\022\030\n\013region_"
+ + "code\030\005 \001(\tB\003\340A\001\022\030\n\013postal_code\030\006 \001(\tB\003\340A"
+ + "\001\032\242\001\n\004User\022\027\n\naccount_id\030\006 \001(\tB\003\340A\001\022\030\n\013c"
+ + "reation_ms\030\001 \001(\003B\003\340A\001\022\022\n\005email\030\002 \001(\tB\003\340A"
+ + "\001\022\033\n\016email_verified\030\003 \001(\010B\003\340A\001\022\031\n\014phone_"
+ + "number\030\004 \001(\tB\003\340A\001\022\033\n\016phone_verified\030\005 \001("
+ + "\010B\003\340A\001\032f\n\004Item\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\022\n\005val"
+ + "ue\030\002 \001(\001B\003\340A\001\022\025\n\010quantity\030\003 \001(\003B\003\340A\001\022 \n\023"
+ + "merchant_account_id\030\004 \001(\tB\003\340A\001\032\204\001\n\013Gatew"
+ + "ayInfo\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\"\n\025gateway_res"
+ + "ponse_code\030\002 \001(\tB\003\340A\001\022\036\n\021avs_response_co"
+ + "de\030\003 \001(\tB\003\340A\001\022\036\n\021cvv_response_code\030\004 \001(\t"
+ + "B\003\340A\001B\021\n\017_transaction_id\"\245\001\n\010UserInfo\022<\n"
+ + "\023create_account_time\030\001 \001(\0132\032.google.prot"
+ + "obuf.TimestampB\003\340A\001\022\027\n\naccount_id\030\002 \001(\tB"
+ + "\003\340A\001\022B\n\010user_ids\030\003 \003(\0132+.google.cloud.re"
+ + "captchaenterprise.v1.UserIdB\003\340A\001\"`\n\006User"
+ + "Id\022\024\n\005email\030\001 \001(\tB\003\340A\001H\000\022\033\n\014phone_number"
+ + "\030\002 \001(\tB\003\340A\001H\000\022\027\n\010username\030\003 \001(\tB\003\340A\001H\000B\n"
+ + "\n\010id_oneof\"\223\003\n\014RiskAnalysis\022\022\n\005score\030\001 \001"
+ + "(\002B\003\340A\003\022\\\n\007reasons\030\002 \003(\0162F.google.cloud."
+ + "recaptchaenterprise.v1.RiskAnalysis.Clas"
+ + "sificationReasonB\003\340A\003\022%\n\030extended_verdic"
+ + "t_reasons\030\003 \003(\tB\003\340A\003\"\351\001\n\024ClassificationR"
+ + "eason\022%\n!CLASSIFICATION_REASON_UNSPECIFI"
+ + "ED\020\000\022\016\n\nAUTOMATION\020\001\022\032\n\026UNEXPECTED_ENVIR"
+ + "ONMENT\020\002\022\024\n\020TOO_MUCH_TRAFFIC\020\003\022\035\n\031UNEXPE"
+ + "CTED_USAGE_PATTERNS\020\004\022\030\n\024LOW_CONFIDENCE_"
+ + "SCORE\020\005\022\025\n\021SUSPECTED_CARDING\020\006\022\030\n\024SUSPEC"
+ + "TED_CHARGEBACK\020\007\"\273\003\n\017TokenProperties\022\022\n\005"
+ + "valid\030\001 \001(\010B\003\340A\003\022_\n\016invalid_reason\030\002 \001(\016"
+ + "2B.google.cloud.recaptchaenterprise.v1.T"
+ + "okenProperties.InvalidReasonB\003\340A\003\0224\n\013cre"
+ + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta"
+ + "mpB\003\340A\003\022\025\n\010hostname\030\004 \001(\tB\003\340A\003\022!\n\024androi"
+ + "d_package_name\030\010 \001(\tB\003\340A\003\022\032\n\rios_bundle_"
+ + "id\030\t \001(\tB\003\340A\003\022\023\n\006action\030\005 \001(\tB\003\340A\003\"\221\001\n\rI"
+ + "nvalidReason\022\036\n\032INVALID_REASON_UNSPECIFI"
+ + "ED\020\000\022\032\n\026UNKNOWN_INVALID_REASON\020\001\022\r\n\tMALF"
+ + "ORMED\020\002\022\013\n\007EXPIRED\020\003\022\010\n\004DUPE\020\004\022\013\n\007MISSIN"
+ + "G\020\005\022\021\n\rBROWSER_ERROR\020\006\"\263\004\n\031FraudPreventi"
+ + "onAssessment\022\035\n\020transaction_risk\030\001 \001(\002B\003"
+ + "\340A\003\022~\n\031stolen_instrument_verdict\030\002 \001(\0132V"
+ + ".google.cloud.recaptchaenterprise.v1.Fra"
+ + "udPreventionAssessment.StolenInstrumentV"
+ + "erdictB\003\340A\003\022t\n\024card_testing_verdict\030\003 \001("
+ + "\0132Q.google.cloud.recaptchaenterprise.v1."
+ + "FraudPreventionAssessment.CardTestingVer"
+ + "dictB\003\340A\003\022|\n\030behavioral_trust_verdict\030\004 "
+ + "\001(\0132U.google.cloud.recaptchaenterprise.v"
+ + "1.FraudPreventionAssessment.BehavioralTr"
+ + "ustVerdictB\003\340A\003\032,\n\027StolenInstrumentVerdi"
+ + "ct\022\021\n\004risk\030\001 \001(\002B\003\340A\003\032\'\n\022CardTestingVerd"
+ + "ict\022\021\n\004risk\030\001 \001(\002B\003\340A\003\032,\n\026BehavioralTrus"
+ + "tVerdict\022\022\n\005trust\030\001 \001(\002B\003\340A\003\"\343\003\n\014FraudSi"
+ + "gnals\022X\n\014user_signals\030\001 \001(\0132=.google.clo"
+ + "ud.recaptchaenterprise.v1.FraudSignals.U"
+ + "serSignalsB\003\340A\003\022X\n\014card_signals\030\002 \001(\0132=."
+ + "google.cloud.recaptchaenterprise.v1.Frau"
+ + "dSignals.CardSignalsB\003\340A\003\032P\n\013UserSignals"
+ + "\022$\n\027active_days_lower_bound\030\001 \001(\005B\003\340A\003\022\033"
+ + "\n\016synthetic_risk\030\002 \001(\002B\003\340A\003\032\314\001\n\013CardSign"
+ + "als\022a\n\013card_labels\030\001 \003(\0162G.google.cloud."
+ + "recaptchaenterprise.v1.FraudSignals.Card"
+ + "Signals.CardLabelB\003\340A\003\"Z\n\tCardLabel\022\032\n\026C"
+ + "ARD_LABEL_UNSPECIFIED\020\000\022\013\n\007PREPAID\020\001\022\013\n\007"
+ + "VIRTUAL\020\002\022\027\n\023UNEXPECTED_LOCATION\020\003\"\342\001\n\023S"
+ + "msTollFraudVerdict\022\021\n\004risk\030\001 \001(\002B\003\340A\003\022a\n"
+ + "\007reasons\030\002 \003(\0162K.google.cloud.recaptchae"
+ + "nterprise.v1.SmsTollFraudVerdict.SmsToll"
+ + "FraudReasonB\003\340A\003\"U\n\022SmsTollFraudReason\022%"
+ + "\n!SMS_TOLL_FRAUD_REASON_UNSPECIFIED\020\000\022\030\n"
+ + "\024INVALID_PHONE_NUMBER\020\001\"u\n\024PhoneFraudAss"
+ + "essment\022]\n\026sms_toll_fraud_verdict\030\001 \001(\0132"
+ + "8.google.cloud.recaptchaenterprise.v1.Sm"
+ + "sTollFraudVerdictB\003\340A\003\"\273\002\n\031AccountDefend"
+ + "erAssessment\022h\n\006labels\030\001 \003(\0162S.google.cl"
+ + "oud.recaptchaenterprise.v1.AccountDefend"
+ + "erAssessment.AccountDefenderLabelB\003\340A\003\"\263"
+ + "\001\n\024AccountDefenderLabel\022&\n\"ACCOUNT_DEFEN"
+ + "DER_LABEL_UNSPECIFIED\020\000\022\021\n\rPROFILE_MATCH"
+ + "\020\001\022\035\n\031SUSPICIOUS_LOGIN_ACTIVITY\020\002\022\037\n\033SUS"
+ + "PICIOUS_ACCOUNT_CREATION\020\003\022 \n\034RELATED_AC"
+ + "COUNTS_NUMBER_HIGH\020\004\"\223\001\n\020CreateKeyReques"
+ + "t\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresource"
+ + "manager.googleapis.com/Project\022:\n\003key\030\002 "
+ + "\001(\0132(.google.cloud.recaptchaenterprise.v"
+ + "1.KeyB\003\340A\002\"\207\001\n\017ListKeysRequest\022C\n\006parent"
+ + "\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goo"
+ + "gleapis.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003"
+ + "\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"c\n\020ListKeys"
+ + "Response\0226\n\004keys\030\001 \003(\0132(.google.cloud.re"
+ + "captchaenterprise.v1.Key\022\027\n\017next_page_to"
+ + "ken\030\002 \001(\t\"]\n\036RetrieveLegacySecretKeyRequ"
+ + "est\022;\n\003key\030\001 \001(\tB.\340A\002\372A(\n&recaptchaenter"
+ + "prise.googleapis.com/Key\"M\n\rGetKeyReques"
+ "t\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&recaptchaenterp"
- + "rise.googleapis.com/Key\"\265\001\n\033CreateFirewa"
- + "llPolicyRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n"
- + "+cloudresourcemanager.googleapis.com/Pro"
- + "ject\022Q\n\017firewall_policy\030\002 \001(\01323.google.c"
- + "loud.recaptchaenterprise.v1.FirewallPoli"
- + "cyB\003\340A\002\"\223\001\n\033ListFirewallPoliciesRequest\022"
- + "C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcema"
- + "nager.googleapis.com/Project\022\026\n\tpage_siz"
- + "e\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\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\"c\n\030GetFirewallPolicyRequ"
- + "est\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1recaptchaente"
- + "rprise.googleapis.com/FirewallPolicy\"\246\001\n"
- + "\033UpdateFirewallPolicyRequest\022Q\n\017firewall"
- + "_policy\030\001 \001(\01323.google.cloud.recaptchaen"
- + "terprise.v1.FirewallPolicyB\003\340A\002\0224\n\013updat"
- + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask"
- + "B\003\340A\001\"f\n\033DeleteFirewallPolicyRequest\022G\n\004"
- + "name\030\001 \001(\tB9\340A\002\372A3\n1recaptchaenterprise."
- + "googleapis.com/FirewallPolicy\"\257\001\n\036Reorde"
- + "rFirewallPoliciesRequest\022C\n\006parent\030\001 \001(\t"
- + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi"
- + "s.com/Project\022H\n\005names\030\002 \003(\tB9\340A\002\372A3\n1re"
- + "captchaenterprise.googleapis.com/Firewal"
- + "lPolicy\"!\n\037ReorderFirewallPoliciesRespon"
- + "se\"r\n\021MigrateKeyRequest\022<\n\004name\030\001 \001(\tB.\340"
- + "A\002\372A(\n&recaptchaenterprise.googleapis.co"
- + "m/Key\022\037\n\022skip_billing_check\030\002 \001(\010B\003\340A\001\"U"
- + "\n\021GetMetricsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A"
- + ",\n*recaptchaenterprise.googleapis.com/Me"
- + "trics\"\325\002\n\007Metrics\022\024\n\004name\030\004 \001(\tB\006\340A\010\340A\003\022"
- + ".\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Ti"
- + "mestamp\022H\n\rscore_metrics\030\002 \003(\01321.google."
- + "cloud.recaptchaenterprise.v1.ScoreMetric"
- + "s\022P\n\021challenge_metrics\030\003 \003(\01325.google.cl"
- + "oud.recaptchaenterprise.v1.ChallengeMetr"
- + "ics:h\352Ae\n*recaptchaenterprise.googleapis"
- + ".com/Metrics\022%projects/{project}/keys/{k"
- + "ey}/metrics*\007metrics2\007metrics\"<\n\037Retriev"
- + "eLegacySecretKeyResponse\022\031\n\021legacy_secre"
- + "t_key\030\001 \001(\t\"\263\006\n\003Key\022\021\n\004name\030\001 \001(\tB\003\340A\010\022\031"
- + "\n\014display_name\030\002 \001(\tB\003\340A\002\022K\n\014web_setting"
- + "s\030\003 \001(\01323.google.cloud.recaptchaenterpri"
- + "se.v1.WebKeySettingsH\000\022S\n\020android_settin"
- + "gs\030\004 \001(\01327.google.cloud.recaptchaenterpr"
- + "ise.v1.AndroidKeySettingsH\000\022K\n\014ios_setti"
- + "ngs\030\005 \001(\01323.google.cloud.recaptchaenterp"
- + "rise.v1.IOSKeySettingsH\000\022S\n\020express_sett"
- + "ings\030\013 \001(\01327.google.cloud.recaptchaenter"
- + "prise.v1.ExpressKeySettingsH\000\022I\n\006labels\030"
- + "\006 \003(\01324.google.cloud.recaptchaenterprise"
- + ".v1.Key.LabelsEntryB\003\340A\001\0224\n\013create_time\030"
- + "\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022Q"
- + "\n\017testing_options\030\t \001(\01323.google.cloud.r"
- + "ecaptchaenterprise.v1.TestingOptionsB\003\340A"
- + "\001\022K\n\014waf_settings\030\n \001(\01320.google.cloud.r"
- + "ecaptchaenterprise.v1.WafSettingsB\003\340A\001\032-"
- + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
- + "\t:\0028\001:U\352AR\n&recaptchaenterprise.googleap"
- + "is.com/Key\022\035projects/{project}/keys/{key"
- + "}*\004keys2\003keyB\023\n\021platform_settings\"\362\001\n\016Te"
- + "stingOptions\022\032\n\rtesting_score\030\001 \001(\002B\003\340A\001"
- + "\022d\n\021testing_challenge\030\002 \001(\0162D.google.clo"
- + "ud.recaptchaenterprise.v1.TestingOptions"
- + ".TestingChallengeB\003\340A\001\"^\n\020TestingChallen"
- + "ge\022!\n\035TESTING_CHALLENGE_UNSPECIFIED\020\000\022\r\n"
- + "\tNOCAPTCHA\020\001\022\030\n\024UNSOLVABLE_CHALLENGE\020\002\"\244"
- + "\004\n\016WebKeySettings\022\036\n\021allow_all_domains\030\003"
- + " \001(\010B\003\340A\001\022\034\n\017allowed_domains\030\001 \003(\tB\003\340A\001\022"
- + "\036\n\021allow_amp_traffic\030\002 \001(\010B\003\340A\001\022b\n\020integ"
- + "ration_type\030\004 \001(\0162C.google.cloud.recaptc"
- + "haenterprise.v1.WebKeySettings.Integrati"
- + "onTypeB\003\340A\002\022{\n\035challenge_security_prefer"
- + "ence\030\005 \001(\0162O.google.cloud.recaptchaenter"
- + "prise.v1.WebKeySettings.ChallengeSecurit"
- + "yPreferenceB\003\340A\001\"[\n\017IntegrationType\022 \n\034I"
- + "NTEGRATION_TYPE_UNSPECIFIED\020\000\022\t\n\005SCORE\020\001"
- + "\022\014\n\010CHECKBOX\020\002\022\r\n\tINVISIBLE\020\003\"v\n\033Challen"
- + "geSecurityPreference\022-\n)CHALLENGE_SECURI"
- + "TY_PREFERENCE_UNSPECIFIED\020\000\022\r\n\tUSABILITY"
- + "\020\001\022\013\n\007BALANCE\020\002\022\014\n\010SECURITY\020\003\"\226\001\n\022Androi"
- + "dKeySettings\022$\n\027allow_all_package_names\030"
- + "\002 \001(\010B\003\340A\001\022\"\n\025allowed_package_names\030\001 \003("
- + "\tB\003\340A\001\0226\n)support_non_google_app_store_d"
- + "istribution\030\003 \001(\010B\003\340A\001\"\254\001\n\016IOSKeySetting"
- + "s\022!\n\024allow_all_bundle_ids\030\002 \001(\010B\003\340A\001\022\037\n\022"
- + "allowed_bundle_ids\030\001 \003(\tB\003\340A\001\022V\n\022apple_d"
- + "eveloper_id\030\003 \001(\01325.google.cloud.recaptc"
- + "haenterprise.v1.AppleDeveloperIdB\003\340A\001\"\024\n"
- + "\022ExpressKeySettings\"Z\n\020AppleDeveloperId\022"
- + "\033\n\013private_key\030\001 \001(\tB\006\340A\002\340A\004\022\023\n\006key_id\030\002"
- + " \001(\tB\003\340A\002\022\024\n\007team_id\030\003 \001(\tB\003\340A\002\"\251\001\n\021Scor"
- + "eDistribution\022_\n\rscore_buckets\030\001 \003(\0132H.g"
- + "oogle.cloud.recaptchaenterprise.v1.Score"
- + "Distribution.ScoreBucketsEntry\0323\n\021ScoreB"
- + "ucketsEntry\022\013\n\003key\030\001 \001(\005\022\r\n\005value\030\002 \001(\003:"
- + "\0028\001\"\253\002\n\014ScoreMetrics\022O\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.ActionMetricsEntry\032l\n\022A"
- + "ctionMetricsEntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030"
- + "\002 \001(\01326.google.cloud.recaptchaenterprise"
- + ".v1.ScoreDistribution:\0028\001\"o\n\020ChallengeMe"
- + "trics\022\026\n\016pageload_count\030\001 \001(\003\022\027\n\017nocaptc"
- + "ha_count\030\002 \001(\003\022\024\n\014failed_count\030\003 \001(\003\022\024\n\014"
- + "passed_count\030\004 \001(\003\"\225\001\n\030FirewallPolicyAss"
- + "essment\022&\n\005error\030\005 \001(\0132\022.google.rpc.Stat"
- + "usB\003\340A\003\022Q\n\017firewall_policy\030\010 \001(\01323.googl"
- + "e.cloud.recaptchaenterprise.v1.FirewallP"
- + "olicyB\003\340A\003\"\202\006\n\016FirewallAction\022P\n\005allow\030\001"
- + " \001(\0132?.google.cloud.recaptchaenterprise."
- + "v1.FirewallAction.AllowActionH\000\022P\n\005block"
- + "\030\002 \001(\0132?.google.cloud.recaptchaenterpris"
- + "e.v1.FirewallAction.BlockActionH\000\022t\n\030inc"
- + "lude_recaptcha_script\030\006 \001(\0132P.google.clo"
- + "ud.recaptchaenterprise.v1.FirewallAction"
- + ".IncludeRecaptchaScriptActionH\000\022V\n\010redir"
- + "ect\030\005 \001(\0132B.google.cloud.recaptchaenterp"
- + "rise.v1.FirewallAction.RedirectActionH\000\022"
- + "Z\n\nsubstitute\030\003 \001(\0132D.google.cloud.recap"
- + "tchaenterprise.v1.FirewallAction.Substit"
- + "uteActionH\000\022Y\n\nset_header\030\004 \001(\0132C.google"
- + ".cloud.recaptchaenterprise.v1.FirewallAc"
- + "tion.SetHeaderActionH\000\032\r\n\013AllowAction\032\r\n"
- + "\013BlockAction\032\036\n\034IncludeRecaptchaScriptAc"
- + "tion\032\020\n\016RedirectAction\032%\n\020SubstituteActi"
- + "on\022\021\n\004path\030\001 \001(\tB\003\340A\001\0327\n\017SetHeaderAction"
- + "\022\020\n\003key\030\001 \001(\tB\003\340A\001\022\022\n\005value\030\002 \001(\tB\003\340A\001B\027"
- + "\n\025firewall_action_oneof\"\305\002\n\016FirewallPoli"
- + "cy\022\021\n\004name\030\001 \001(\tB\003\340A\010\022\030\n\013description\030\002 \001"
- + "(\tB\003\340A\001\022\021\n\004path\030\004 \001(\tB\003\340A\001\022\026\n\tcondition\030"
- + "\005 \001(\tB\003\340A\001\022I\n\007actions\030\006 \003(\01323.google.clo"
- + "ud.recaptchaenterprise.v1.FirewallAction"
- + "B\003\340A\001:\217\001\352A\213\001\n1recaptchaenterprise.google"
- + "apis.com/FirewallPolicy\0224projects/{proje"
- + "ct}/firewallpolicies/{firewallpolicy}*\020f"
- + "irewallPolicies2\016firewallPolicy\"\266\001\n)List"
- + "RelatedAccountGroupMembershipsRequest\022X\n"
- + "\006parent\030\001 \001(\tBH\340A\002\372AB\022@recaptchaenterpri"
- + "se.googleapis.com/RelatedAccountGroupMem"
- + "bership\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_"
- + "token\030\003 \001(\tB\003\340A\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\""
- + "\242\001\n\037ListRelatedAccountGroupsRequest\022N\n\006p"
- + "arent\030\001 \001(\tB>\340A\002\372A8\0226recaptchaenterprise"
- + ".googleapis.com/RelatedAccountGroup\022\026\n\tp"
- + "age_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB"
- + "\003\340A\001\"\225\001\n ListRelatedAccountGroupsRespons"
- + "e\022X\n\026related_account_groups\030\001 \003(\01328.goog",
- "le.cloud.recaptchaenterprise.v1.RelatedA"
- + "ccountGroup\022\027\n\017next_page_token\030\002 \001(\t\"\337\001\n"
- + "+SearchRelatedAccountGroupMembershipsReq"
- + "uest\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+cloudreso"
- + "urcemanager.googleapis.com/Project\022\027\n\nac"
- + "count_id\030\005 \001(\tB\003\340A\001\022 \n\021hashed_account_id"
- + "\030\002 \001(\014B\005\030\001\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n"
- + "\npage_token\030\004 \001(\tB\003\340A\001\"\266\001\n,SearchRelated"
- + "AccountGroupMembershipsResponse\022m\n!relat"
- + "ed_account_group_memberships\030\001 \003(\0132B.goo"
- + "gle.cloud.recaptchaenterprise.v1.Related"
- + "AccountGroupMembership\022\027\n\017next_page_toke"
- + "n\030\002 \001(\t\"\250\001\n\024AddIpOverrideRequest\022<\n\004name"
- + "\030\001 \001(\tB.\340A\002\372A(\n&recaptchaenterprise.goog"
- + "leapis.com/Key\022R\n\020ip_override_data\030\002 \001(\013"
- + "23.google.cloud.recaptchaenterprise.v1.I"
- + "pOverrideDataB\003\340A\002\"\027\n\025AddIpOverrideRespo"
- + "nse\"\310\002\n\035RelatedAccountGroupMembership\022\024\n"
- + "\004name\030\001 \001(\tB\006\340A\010\340A\002\022\022\n\naccount_id\030\004 \001(\t\022"
- + "\035\n\021hashed_account_id\030\002 \001(\014B\002\030\001:\335\001\352A\331\001\n@r"
- + "ecaptchaenterprise.googleapis.com/Relate"
- + "dAccountGroupMembership\022Vprojects/{proje"
- + "ct}/relatedaccountgroups/{relatedaccount"
- + "group}/memberships/{membership}*\036related"
- + "AccountGroupMemberships2\035relatedAccountG"
- + "roupMembership\"\324\001\n\023RelatedAccountGroup\022\024"
- + "\n\004name\030\001 \001(\tB\006\340A\010\340A\002:\246\001\352A\242\001\n6recaptchaen"
- + "terprise.googleapis.com/RelatedAccountGr"
- + "oup\022=projects/{project}/relatedaccountgr"
- + "oups/{relatedaccountgroup}*\024relatedAccou"
- + "ntGroups2\023relatedAccountGroup\"\373\002\n\013WafSet"
- + "tings\022U\n\013waf_service\030\001 \001(\0162;.google.clou"
- + "d.recaptchaenterprise.v1.WafSettings.Waf"
- + "ServiceB\003\340A\002\022U\n\013waf_feature\030\002 \001(\0162;.goog"
- + "le.cloud.recaptchaenterprise.v1.WafSetti"
- + "ngs.WafFeatureB\003\340A\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\"M\n\nWafService\022\033\n\027WAF_SERVIC"
- + "E_UNSPECIFIED\020\000\022\006\n\002CA\020\001\022\n\n\006FASTLY\020\003\022\016\n\nC"
- + "LOUDFLARE\020\004\"\301\001\n\016IpOverrideData\022\027\n\002ip\030\001 \001"
- + "(\tB\013\340A\002\342\214\317\327\010\002\010\004\022\\\n\roverride_type\030\003 \001(\0162@"
- + ".google.cloud.recaptchaenterprise.v1.IpO"
- + "verrideData.OverrideTypeB\003\340A\002\"8\n\014Overrid"
- + "eType\022\035\n\031OVERRIDE_TYPE_UNSPECIFIED\020\000\022\t\n\005"
- + "ALLOW\020\0012\261!\n\032RecaptchaEnterpriseService\022\316"
- + "\001\n\020CreateAssessment\022<.google.cloud.recap"
- + "tchaenterprise.v1.CreateAssessmentReques"
- + "t\032/.google.cloud.recaptchaenterprise.v1."
- + "Assessment\"K\332A\021parent,assessment\202\323\344\223\0021\"#"
- + "/v1/{parent=projects/*}/assessments:\nass"
- + "essment\022\340\001\n\022AnnotateAssessment\022>.google."
- + "cloud.recaptchaenterprise.v1.AnnotateAss"
- + "essmentRequest\032?.google.cloud.recaptchae"
- + "nterprise.v1.AnnotateAssessmentResponse\""
- + "I\332A\017name,annotation\202\323\344\223\0021\",/v1/{name=pro"
- + "jects/*/assessments/*}:annotate:\001*\022\244\001\n\tC"
- + "reateKey\0225.google.cloud.recaptchaenterpr"
- + "ise.v1.CreateKeyRequest\032(.google.cloud.r"
- + "ecaptchaenterprise.v1.Key\"6\332A\nparent,key"
- + "\202\323\344\223\002#\"\034/v1/{parent=projects/*}/keys:\003ke"
- + "y\022\246\001\n\010ListKeys\0224.google.cloud.recaptchae"
- + "nterprise.v1.ListKeysRequest\0325.google.cl"
- + "oud.recaptchaenterprise.v1.ListKeysRespo"
- + "nse\"-\332A\006parent\202\323\344\223\002\036\022\034/v1/{parent=projec"
- + "ts/*}/keys\022\347\001\n\027RetrieveLegacySecretKey\022C"
- + ".google.cloud.recaptchaenterprise.v1.Ret"
- + "rieveLegacySecretKeyRequest\032D.google.clo"
- + "ud.recaptchaenterprise.v1.RetrieveLegacy"
- + "SecretKeyResponse\"A\332A\003key\202\323\344\223\0025\0223/v1/{ke"
- + "y=projects/*/keys/*}:retrieveLegacySecre"
- + "tKey\022\223\001\n\006GetKey\0222.google.cloud.recaptcha"
- + "enterprise.v1.GetKeyRequest\032(.google.clo"
- + "ud.recaptchaenterprise.v1.Key\"+\332A\004name\202\323"
- + "\344\223\002\036\022\034/v1/{name=projects/*/keys/*}\022\255\001\n\tU"
- + "pdateKey\0225.google.cloud.recaptchaenterpr"
- + "ise.v1.UpdateKeyRequest\032(.google.cloud.r"
- + "ecaptchaenterprise.v1.Key\"?\332A\017key,update"
- + "_mask\202\323\344\223\002\'2 /v1/{key.name=projects/*/ke"
- + "ys/*}:\003key\022\207\001\n\tDeleteKey\0225.google.cloud."
- + "recaptchaenterprise.v1.DeleteKeyRequest\032"
- + "\026.google.protobuf.Empty\"+\332A\004name\202\323\344\223\002\036*\034"
- + "/v1/{name=projects/*/keys/*}\022\237\001\n\nMigrate"
- + "Key\0226.google.cloud.recaptchaenterprise.v"
- + "1.MigrateKeyRequest\032(.google.cloud.recap"
- + "tchaenterprise.v1.Key\"/\202\323\344\223\002)\"$/v1/{name"
- + "=projects/*/keys/*}:migrate:\001*\022\325\001\n\rAddIp"
- + "Override\0229.google.cloud.recaptchaenterpr"
- + "ise.v1.AddIpOverrideRequest\032:.google.clo"
- + "ud.recaptchaenterprise.v1.AddIpOverrideR"
- + "esponse\"M\332A\025name,ip_override_data\202\323\344\223\002/\""
- + "*/v1/{name=projects/*/keys/*}:addIpOverr"
- + "ide:\001*\022\247\001\n\nGetMetrics\0226.google.cloud.rec"
- + "aptchaenterprise.v1.GetMetricsRequest\032,."
- + "google.cloud.recaptchaenterprise.v1.Metr"
- + "ics\"3\332A\004name\202\323\344\223\002&\022$/v1/{name=projects/*"
- + "/keys/*/metrics}\022\351\001\n\024CreateFirewallPolic"
- + "y\022@.google.cloud.recaptchaenterprise.v1."
- + "CreateFirewallPolicyRequest\0323.google.clo"
- + "ud.recaptchaenterprise.v1.FirewallPolicy"
- + "\"Z\332A\026parent,firewall_policy\202\323\344\223\002;\"(/v1/{"
- + "parent=projects/*}/firewallpolicies:\017fir"
- + "ewall_policy\022\326\001\n\024ListFirewallPolicies\022@."
- + "google.cloud.recaptchaenterprise.v1.List"
- + "FirewallPoliciesRequest\032A.google.cloud.r"
- + "ecaptchaenterprise.v1.ListFirewallPolici"
- + "esResponse\"9\332A\006parent\202\323\344\223\002*\022(/v1/{parent"
- + "=projects/*}/firewallpolicies\022\300\001\n\021GetFir"
- + "ewallPolicy\022=.google.cloud.recaptchaente"
- + "rprise.v1.GetFirewallPolicyRequest\0323.goo"
+ + "rise.googleapis.com/Key\"\204\001\n\020UpdateKeyReq"
+ + "uest\022:\n\003key\030\001 \001(\0132(.google.cloud.recaptc"
+ + "haenterprise.v1.KeyB\003\340A\002\0224\n\013update_mask\030"
+ + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"P"
+ + "\n\020DeleteKeyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A("
+ + "\n&recaptchaenterprise.googleapis.com/Key"
+ + "\"\265\001\n\033CreateFirewallPolicyRequest\022C\n\006pare"
+ + "nt\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.g"
+ + "oogleapis.com/Project\022Q\n\017firewall_policy"
+ + "\030\002 \001(\01323.google.cloud.recaptchaenterpris"
+ + "e.v1.FirewallPolicyB\003\340A\002\"\223\001\n\033ListFirewal"
+ + "lPoliciesRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-"
+ + "\n+cloudresourcemanager.googleapis.com/Pr"
+ + "oject\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_to"
+ + "ken\030\003 \001(\tB\003\340A\001\"\207\001\n\034ListFirewallPoliciesR"
+ + "esponse\022N\n\021firewall_policies\030\001 \003(\01323.goo"
+ "gle.cloud.recaptchaenterprise.v1.Firewal"
- + "lPolicy\"7\332A\004name\202\323\344\223\002*\022(/v1/{name=projec"
- + "ts/*/firewallpolicies/*}\022\376\001\n\024UpdateFirew"
- + "allPolicy\022@.google.cloud.recaptchaenterp"
- + "rise.v1.UpdateFirewallPolicyRequest\0323.go"
- + "ogle.cloud.recaptchaenterprise.v1.Firewa"
- + "llPolicy\"o\332A\033firewall_policy,update_mask"
- + "\202\323\344\223\002K28/v1/{firewall_policy.name=projec"
- + "ts/*/firewallpolicies/*}:\017firewall_polic"
- + "y\022\251\001\n\024DeleteFirewallPolicy\022@.google.clou"
- + "d.recaptchaenterprise.v1.DeleteFirewallP"
- + "olicyRequest\032\026.google.protobuf.Empty\"7\332A"
- + "\004name\202\323\344\223\002**(/v1/{name=projects/*/firewa"
- + "llpolicies/*}\022\360\001\n\027ReorderFirewallPolicie"
- + "s\022C.google.cloud.recaptchaenterprise.v1."
- + "ReorderFirewallPoliciesRequest\032D.google."
- + "cloud.recaptchaenterprise.v1.ReorderFire"
- + "wallPoliciesResponse\"J\332A\014parent,names\202\323\344"
- + "\223\0025\"0/v1/{parent=projects/*}/firewallpol"
- + "icies:reorder:\001*\022\346\001\n\030ListRelatedAccountG"
- + "roups\022D.google.cloud.recaptchaenterprise"
- + ".v1.ListRelatedAccountGroupsRequest\032E.go"
- + "ogle.cloud.recaptchaenterprise.v1.ListRe"
- + "latedAccountGroupsResponse\"=\332A\006parent\202\323\344"
- + "\223\002.\022,/v1/{parent=projects/*}/relatedacco"
- + "untgroups\022\222\002\n\"ListRelatedAccountGroupMem"
- + "berships\022N.google.cloud.recaptchaenterpr"
- + "ise.v1.ListRelatedAccountGroupMembership"
- + "sRequest\032O.google.cloud.recaptchaenterpr"
- + "ise.v1.ListRelatedAccountGroupMembership"
- + "sResponse\"K\332A\006parent\202\323\344\223\002<\022:/v1/{parent="
- + "projects/*/relatedaccountgroups/*}/membe"
- + "rships\022\262\002\n$SearchRelatedAccountGroupMemb"
- + "erships\022P.google.cloud.recaptchaenterpri"
- + "se.v1.SearchRelatedAccountGroupMembershi"
- + "psRequest\032Q.google.cloud.recaptchaenterp"
- + "rise.v1.SearchRelatedAccountGroupMembers"
- + "hipsResponse\"e\332A\031project,hashed_account_"
- + "id\202\323\344\223\002C\">/v1/{project=projects/*}/relat"
- + "edaccountgroupmemberships:search:\001*\032V\312A\""
- + "recaptchaenterprise.googleapis.com\322A.htt"
- + "ps://www.googleapis.com/auth/cloud-platf"
- + "ormB\231\002\n!com.google.recaptchaenterprise.v"
- + "1B\030RecaptchaEnterpriseProtoP\001Z\\cloud.goo"
- + "gle.com/go/recaptchaenterprise/v2/apiv1/"
- + "recaptchaenterprisepb;recaptchaenterpris"
- + "epb\242\002\004GCRE\252\002#Google.Cloud.RecaptchaEnter"
- + "prise.V1\312\002#Google\\Cloud\\RecaptchaEnterpr"
- + "ise\\V1\352\002&Google::Cloud::RecaptchaEnterpr"
- + "ise::V1b\006proto3"
+ + "lPolicy\022\027\n\017next_page_token\030\002 \001(\t\"c\n\030GetF"
+ + "irewallPolicyRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372"
+ + "A3\n1recaptchaenterprise.googleapis.com/F"
+ + "irewallPolicy\"\246\001\n\033UpdateFirewallPolicyRe"
+ + "quest\022Q\n\017firewall_policy\030\001 \001(\01323.google."
+ + "cloud.recaptchaenterprise.v1.FirewallPol"
+ + "icyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.p"
+ + "rotobuf.FieldMaskB\003\340A\001\"f\n\033DeleteFirewall"
+ + "PolicyRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1rec"
+ + "aptchaenterprise.googleapis.com/Firewall"
+ + "Policy\"\257\001\n\036ReorderFirewallPoliciesReques"
+ + "t\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresource"
+ + "manager.googleapis.com/Project\022H\n\005names\030"
+ + "\002 \003(\tB9\340A\002\372A3\n1recaptchaenterprise.googl"
+ + "eapis.com/FirewallPolicy\"!\n\037ReorderFirew"
+ + "allPoliciesResponse\"r\n\021MigrateKeyRequest"
+ + "\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&recaptchaenterpr"
+ + "ise.googleapis.com/Key\022\037\n\022skip_billing_c"
+ + "heck\030\002 \001(\010B\003\340A\001\"U\n\021GetMetricsRequest\022@\n\004"
+ + "name\030\001 \001(\tB2\340A\002\372A,\n*recaptchaenterprise."
+ + "googleapis.com/Metrics\"\325\002\n\007Metrics\022\024\n\004na"
+ + "me\030\004 \001(\tB\006\340A\010\340A\003\022.\n\nstart_time\030\001 \001(\0132\032.g"
+ + "oogle.protobuf.Timestamp\022H\n\rscore_metric"
+ + "s\030\002 \003(\01321.google.cloud.recaptchaenterpri"
+ + "se.v1.ScoreMetrics\022P\n\021challenge_metrics\030"
+ + "\003 \003(\01325.google.cloud.recaptchaenterprise"
+ + ".v1.ChallengeMetrics:h\352Ae\n*recaptchaente"
+ + "rprise.googleapis.com/Metrics\022%projects/"
+ + "{project}/keys/{key}/metrics*\007metrics2\007m"
+ + "etrics\"<\n\037RetrieveLegacySecretKeyRespons"
+ + "e\022\031\n\021legacy_secret_key\030\001 \001(\t\"\263\006\n\003Key\022\021\n\004"
+ + "name\030\001 \001(\tB\003\340A\010\022\031\n\014display_name\030\002 \001(\tB\003\340"
+ + "A\002\022K\n\014web_settings\030\003 \001(\01323.google.cloud."
+ + "recaptchaenterprise.v1.WebKeySettingsH\000\022"
+ + "S\n\020android_settings\030\004 \001(\01327.google.cloud"
+ + ".recaptchaenterprise.v1.AndroidKeySettin"
+ + "gsH\000\022K\n\014ios_settings\030\005 \001(\01323.google.clou"
+ + "d.recaptchaenterprise.v1.IOSKeySettingsH"
+ + "\000\022S\n\020express_settings\030\013 \001(\01327.google.clo"
+ + "ud.recaptchaenterprise.v1.ExpressKeySett"
+ + "ingsH\000\022I\n\006labels\030\006 \003(\01324.google.cloud.re"
+ + "captchaenterprise.v1.Key.LabelsEntryB\003\340A"
+ + "\001\0224\n\013create_time\030\007 \001(\0132\032.google.protobuf"
+ + ".TimestampB\003\340A\003\022Q\n\017testing_options\030\t \001(\013"
+ + "23.google.cloud.recaptchaenterprise.v1.T"
+ + "estingOptionsB\003\340A\001\022K\n\014waf_settings\030\n \001(\013"
+ + "20.google.cloud.recaptchaenterprise.v1.W"
+ + "afSettingsB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 "
+ + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:U\352AR\n&recaptchaen"
+ + "terprise.googleapis.com/Key\022\035projects/{p"
+ + "roject}/keys/{key}*\004keys2\003keyB\023\n\021platfor"
+ + "m_settings\"\362\001\n\016TestingOptions\022\032\n\rtesting"
+ + "_score\030\001 \001(\002B\003\340A\001\022d\n\021testing_challenge\030\002"
+ + " \001(\0162D.google.cloud.recaptchaenterprise."
+ + "v1.TestingOptions.TestingChallengeB\003\340A\001\""
+ + "^\n\020TestingChallenge\022!\n\035TESTING_CHALLENGE"
+ + "_UNSPECIFIED\020\000\022\r\n\tNOCAPTCHA\020\001\022\030\n\024UNSOLVA"
+ + "BLE_CHALLENGE\020\002\"\244\004\n\016WebKeySettings\022\036\n\021al"
+ + "low_all_domains\030\003 \001(\010B\003\340A\001\022\034\n\017allowed_do"
+ + "mains\030\001 \003(\tB\003\340A\001\022\036\n\021allow_amp_traffic\030\002 "
+ + "\001(\010B\003\340A\001\022b\n\020integration_type\030\004 \001(\0162C.goo"
+ + "gle.cloud.recaptchaenterprise.v1.WebKeyS"
+ + "ettings.IntegrationTypeB\003\340A\002\022{\n\035challeng"
+ + "e_security_preference\030\005 \001(\0162O.google.clo"
+ + "ud.recaptchaenterprise.v1.WebKeySettings"
+ + ".ChallengeSecurityPreferenceB\003\340A\001\"[\n\017Int"
+ + "egrationType\022 \n\034INTEGRATION_TYPE_UNSPECI"
+ + "FIED\020\000\022\t\n\005SCORE\020\001\022\014\n\010CHECKBOX\020\002\022\r\n\tINVIS"
+ + "IBLE\020\003\"v\n\033ChallengeSecurityPreference\022-\n"
+ + ")CHALLENGE_SECURITY_PREFERENCE_UNSPECIFI"
+ + "ED\020\000\022\r\n\tUSABILITY\020\001\022\013\n\007BALANCE\020\002\022\014\n\010SECU"
+ + "RITY\020\003\"\226\001\n\022AndroidKeySettings\022$\n\027allow_a"
+ + "ll_package_names\030\002 \001(\010B\003\340A\001\022\"\n\025allowed_p"
+ + "ackage_names\030\001 \003(\tB\003\340A\001\0226\n)support_non_g"
+ + "oogle_app_store_distribution\030\003 \001(\010B\003\340A\001\""
+ + "\254\001\n\016IOSKeySettings\022!\n\024allow_all_bundle_i"
+ + "ds\030\002 \001(\010B\003\340A\001\022\037\n\022allowed_bundle_ids\030\001 \003("
+ + "\tB\003\340A\001\022V\n\022apple_developer_id\030\003 \001(\01325.goo"
+ + "gle.cloud.recaptchaenterprise.v1.AppleDe"
+ + "veloperIdB\003\340A\001\"\024\n\022ExpressKeySettings\"Z\n\020"
+ + "AppleDeveloperId\022\033\n\013private_key\030\001 \001(\tB\006\340"
+ + "A\002\340A\004\022\023\n\006key_id\030\002 \001(\tB\003\340A\002\022\024\n\007team_id\030\003 "
+ + "\001(\tB\003\340A\002\"\251\001\n\021ScoreDistribution\022_\n\rscore_"
+ + "buckets\030\001 \003(\0132H.google.cloud.recaptchaen"
+ + "terprise.v1.ScoreDistribution.ScoreBucke"
+ + "tsEntry\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"
+ + "\017overall_metrics\030\001 \001(\01326.google.cloud.re"
+ + "captchaenterprise.v1.ScoreDistribution\022\\"
+ + "\n\016action_metrics\030\002 \003(\0132D.google.cloud.re"
+ + "captchaenterprise.v1.ScoreMetrics.Action"
+ + "MetricsEntry\032l\n\022ActionMetricsEntry\022\013\n\003ke"
+ + "y\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google.cloud.re"
+ + "captchaenterprise.v1.ScoreDistribution:\002"
+ + "8\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\014faile"
+ + "d_count\030\003 \001(\003\022\024\n\014passed_count\030\004 \001(\003\"\225\001\n\030"
+ + "FirewallPolicyAssessment\022&\n\005error\030\005 \001(\0132"
+ + "\022.google.rpc.StatusB\003\340A\003\022Q\n\017firewall_pol"
+ + "icy\030\010 \001(\01323.google.cloud.recaptchaenterp"
+ + "rise.v1.FirewallPolicyB\003\340A\003\"\202\006\n\016Firewall"
+ + "Action\022P\n\005allow\030\001 \001(\0132?.google.cloud.rec"
+ + "aptchaenterprise.v1.FirewallAction.Allow"
+ + "ActionH\000\022P\n\005block\030\002 \001(\0132?.google.cloud.r"
+ + "ecaptchaenterprise.v1.FirewallAction.Blo"
+ + "ckActionH\000\022t\n\030include_recaptcha_script\030\006"
+ + " \001(\0132P.google.cloud.recaptchaenterprise."
+ + "v1.FirewallAction.IncludeRecaptchaScript"
+ + "ActionH\000\022V\n\010redirect\030\005 \001(\0132B.google.clou"
+ + "d.recaptchaenterprise.v1.FirewallAction."
+ + "RedirectActionH\000\022Z\n\nsubstitute\030\003 \001(\0132D.g"
+ + "oogle.cloud.recaptchaenterprise.v1.Firew"
+ + "allAction.SubstituteActionH\000\022Y\n\nset_head"
+ + "er\030\004 \001(\0132C.google.cloud.recaptchaenterpr"
+ + "ise.v1.FirewallAction.SetHeaderActionH\000\032"
+ + "\r\n\013AllowAction\032\r\n\013BlockAction\032\036\n\034Include"
+ + "RecaptchaScriptAction\032\020\n\016RedirectAction\032"
+ + "%\n\020SubstituteAction\022\021\n\004path\030\001 \001(\tB\003\340A\001\0327"
+ + "\n\017SetHeaderAction\022\020\n\003key\030\001 \001(\tB\003\340A\001\022\022\n\005v"
+ + "alue\030\002 \001(\tB\003\340A\001B\027\n\025firewall_action_oneof"
+ + "\"\305\002\n\016FirewallPolicy\022\021\n\004name\030\001 \001(\tB\003\340A\010\022\030"
+ + "\n\013description\030\002 \001(\tB\003\340A\001\022\021\n\004path\030\004 \001(\tB\003"
+ + "\340A\001\022\026\n\tcondition\030\005 \001(\tB\003\340A\001\022I\n\007actions\030\006"
+ + " \003(\01323.google.cloud.recaptchaenterprise."
+ + "v1.FirewallActionB\003\340A\001:\217\001\352A\213\001\n1recaptcha"
+ + "enterprise.googleapis.com/FirewallPolicy"
+ + "\0224projects/{project}/firewallpolicies/{f"
+ + "irewallpolicy}*\020firewallPolicies2\016firewa"
+ + "llPolicy\"\266\001\n)ListRelatedAccountGroupMemb"
+ + "ershipsRequest\022X\n\006parent\030\001 \001(\tBH\340A\002\372AB\022@"
+ + "recaptchaenterprise.googleapis.com/Relat"
+ + "edAccountGroupMembership\022\026\n\tpage_size\030\002 "
+ + "\001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\264\001\n*Li"
+ + "stRelatedAccountGroupMembershipsResponse"
+ + "\022m\n!related_account_group_memberships\030\001 "
+ + "\003(\0132B.google.cloud.recaptchaenterprise.v"
+ + "1.RelatedAccountGroupMembership\022\027\n\017next_"
+ + "page_token\030\002 \001(\t\"\242\001\n\037ListRelatedAccountG"
+ + "roupsRequest\022N\n\006parent\030\001 \001(\tB>\340A\002\372A8\0226re"
+ + "captchaenterprise.googleapis.com/Related"
+ + "AccountGroup\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n",
+ "page_token\030\003 \001(\tB\003\340A\001\"\225\001\n ListRelatedAcc"
+ + "ountGroupsResponse\022X\n\026related_account_gr"
+ + "oups\030\001 \003(\01328.google.cloud.recaptchaenter"
+ + "prise.v1.RelatedAccountGroup\022\027\n\017next_pag"
+ + "e_token\030\002 \001(\t\"\337\001\n+SearchRelatedAccountGr"
+ + "oupMembershipsRequest\022D\n\007project\030\001 \001(\tB3"
+ + "\340A\002\372A-\n+cloudresourcemanager.googleapis."
+ + "com/Project\022\027\n\naccount_id\030\005 \001(\tB\003\340A\001\022 \n\021"
+ + "hashed_account_id\030\002 \001(\014B\005\030\001\340A\001\022\026\n\tpage_s"
+ + "ize\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\""
+ + "\266\001\n,SearchRelatedAccountGroupMemberships"
+ + "Response\022m\n!related_account_group_member"
+ + "ships\030\001 \003(\0132B.google.cloud.recaptchaente"
+ + "rprise.v1.RelatedAccountGroupMembership\022"
+ + "\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\024AddIpOverri"
+ + "deRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&recaptc"
+ + "haenterprise.googleapis.com/Key\022R\n\020ip_ov"
+ + "erride_data\030\002 \001(\01323.google.cloud.recaptc"
+ + "haenterprise.v1.IpOverrideDataB\003\340A\002\"\027\n\025A"
+ + "ddIpOverrideResponse\"\310\002\n\035RelatedAccountG"
+ + "roupMembership\022\024\n\004name\030\001 \001(\tB\006\340A\010\340A\002\022\022\n\n"
+ + "account_id\030\004 \001(\t\022\035\n\021hashed_account_id\030\002 "
+ + "\001(\014B\002\030\001:\335\001\352A\331\001\n@recaptchaenterprise.goog"
+ + "leapis.com/RelatedAccountGroupMembership"
+ + "\022Vprojects/{project}/relatedaccountgroup"
+ + "s/{relatedaccountgroup}/memberships/{mem"
+ + "bership}*\036relatedAccountGroupMemberships"
+ + "2\035relatedAccountGroupMembership\"\324\001\n\023Rela"
+ + "tedAccountGroup\022\024\n\004name\030\001 \001(\tB\006\340A\010\340A\002:\246\001"
+ + "\352A\242\001\n6recaptchaenterprise.googleapis.com"
+ + "/RelatedAccountGroup\022=projects/{project}"
+ + "/relatedaccountgroups/{relatedaccountgro"
+ + "up}*\024relatedAccountGroups2\023relatedAccoun"
+ + "tGroup\"\373\002\n\013WafSettings\022U\n\013waf_service\030\001 "
+ + "\001(\0162;.google.cloud.recaptchaenterprise.v"
+ + "1.WafSettings.WafServiceB\003\340A\002\022U\n\013waf_fea"
+ + "ture\030\002 \001(\0162;.google.cloud.recaptchaenter"
+ + "prise.v1.WafSettings.WafFeatureB\003\340A\002\"o\n\n"
+ + "WafFeature\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\"M\n\nWafServ"
+ + "ice\022\033\n\027WAF_SERVICE_UNSPECIFIED\020\000\022\006\n\002CA\020\001"
+ + "\022\n\n\006FASTLY\020\003\022\016\n\nCLOUDFLARE\020\004\"B\n\025Assessme"
+ + "ntEnvironment\022\023\n\006client\030\001 \001(\tB\003\340A\001\022\024\n\007ve"
+ + "rsion\030\002 \001(\tB\003\340A\001\"\301\001\n\016IpOverrideData\022\027\n\002i"
+ + "p\030\001 \001(\tB\013\340A\002\342\214\317\327\010\002\010\004\022\\\n\roverride_type\030\003 "
+ + "\001(\0162@.google.cloud.recaptchaenterprise.v"
+ + "1.IpOverrideData.OverrideTypeB\003\340A\002\"8\n\014Ov"
+ + "errideType\022\035\n\031OVERRIDE_TYPE_UNSPECIFIED\020"
+ + "\000\022\t\n\005ALLOW\020\0012\261!\n\032RecaptchaEnterpriseServ"
+ + "ice\022\316\001\n\020CreateAssessment\022<.google.cloud."
+ + "recaptchaenterprise.v1.CreateAssessmentR"
+ + "equest\032/.google.cloud.recaptchaenterpris"
+ + "e.v1.Assessment\"K\332A\021parent,assessment\202\323\344"
+ + "\223\0021\"#/v1/{parent=projects/*}/assessments"
+ + ":\nassessment\022\340\001\n\022AnnotateAssessment\022>.go"
+ + "ogle.cloud.recaptchaenterprise.v1.Annota"
+ + "teAssessmentRequest\032?.google.cloud.recap"
+ + "tchaenterprise.v1.AnnotateAssessmentResp"
+ + "onse\"I\332A\017name,annotation\202\323\344\223\0021\",/v1/{nam"
+ + "e=projects/*/assessments/*}:annotate:\001*\022"
+ + "\244\001\n\tCreateKey\0225.google.cloud.recaptchaen"
+ + "terprise.v1.CreateKeyRequest\032(.google.cl"
+ + "oud.recaptchaenterprise.v1.Key\"6\332A\nparen"
+ + "t,key\202\323\344\223\002#\"\034/v1/{parent=projects/*}/key"
+ + "s:\003key\022\246\001\n\010ListKeys\0224.google.cloud.recap"
+ + "tchaenterprise.v1.ListKeysRequest\0325.goog"
+ + "le.cloud.recaptchaenterprise.v1.ListKeys"
+ + "Response\"-\332A\006parent\202\323\344\223\002\036\022\034/v1/{parent=p"
+ + "rojects/*}/keys\022\347\001\n\027RetrieveLegacySecret"
+ + "Key\022C.google.cloud.recaptchaenterprise.v"
+ + "1.RetrieveLegacySecretKeyRequest\032D.googl"
+ + "e.cloud.recaptchaenterprise.v1.RetrieveL"
+ + "egacySecretKeyResponse\"A\332A\003key\202\323\344\223\0025\0223/v"
+ + "1/{key=projects/*/keys/*}:retrieveLegacy"
+ + "SecretKey\022\223\001\n\006GetKey\0222.google.cloud.reca"
+ + "ptchaenterprise.v1.GetKeyRequest\032(.googl"
+ + "e.cloud.recaptchaenterprise.v1.Key\"+\332A\004n"
+ + "ame\202\323\344\223\002\036\022\034/v1/{name=projects/*/keys/*}\022"
+ + "\255\001\n\tUpdateKey\0225.google.cloud.recaptchaen"
+ + "terprise.v1.UpdateKeyRequest\032(.google.cl"
+ + "oud.recaptchaenterprise.v1.Key\"?\332A\017key,u"
+ + "pdate_mask\202\323\344\223\002\'2 /v1/{key.name=projects"
+ + "/*/keys/*}:\003key\022\207\001\n\tDeleteKey\0225.google.c"
+ + "loud.recaptchaenterprise.v1.DeleteKeyReq"
+ + "uest\032\026.google.protobuf.Empty\"+\332A\004name\202\323\344"
+ + "\223\002\036*\034/v1/{name=projects/*/keys/*}\022\237\001\n\nMi"
+ + "grateKey\0226.google.cloud.recaptchaenterpr"
+ + "ise.v1.MigrateKeyRequest\032(.google.cloud."
+ + "recaptchaenterprise.v1.Key\"/\202\323\344\223\002)\"$/v1/"
+ + "{name=projects/*/keys/*}:migrate:\001*\022\325\001\n\r"
+ + "AddIpOverride\0229.google.cloud.recaptchaen"
+ + "terprise.v1.AddIpOverrideRequest\032:.googl"
+ + "e.cloud.recaptchaenterprise.v1.AddIpOver"
+ + "rideResponse\"M\332A\025name,ip_override_data\202\323"
+ + "\344\223\002/\"*/v1/{name=projects/*/keys/*}:addIp"
+ + "Override:\001*\022\247\001\n\nGetMetrics\0226.google.clou"
+ + "d.recaptchaenterprise.v1.GetMetricsReque"
+ + "st\032,.google.cloud.recaptchaenterprise.v1"
+ + ".Metrics\"3\332A\004name\202\323\344\223\002&\022$/v1/{name=proje"
+ + "cts/*/keys/*/metrics}\022\351\001\n\024CreateFirewall"
+ + "Policy\022@.google.cloud.recaptchaenterpris"
+ + "e.v1.CreateFirewallPolicyRequest\0323.googl"
+ + "e.cloud.recaptchaenterprise.v1.FirewallP"
+ + "olicy\"Z\332A\026parent,firewall_policy\202\323\344\223\002;\"("
+ + "/v1/{parent=projects/*}/firewallpolicies"
+ + ":\017firewall_policy\022\326\001\n\024ListFirewallPolici"
+ + "es\022@.google.cloud.recaptchaenterprise.v1"
+ + ".ListFirewallPoliciesRequest\032A.google.cl"
+ + "oud.recaptchaenterprise.v1.ListFirewallP"
+ + "oliciesResponse\"9\332A\006parent\202\323\344\223\002*\022(/v1/{p"
+ + "arent=projects/*}/firewallpolicies\022\300\001\n\021G"
+ + "etFirewallPolicy\022=.google.cloud.recaptch"
+ + "aenterprise.v1.GetFirewallPolicyRequest\032"
+ + "3.google.cloud.recaptchaenterprise.v1.Fi"
+ + "rewallPolicy\"7\332A\004name\202\323\344\223\002*\022(/v1/{name=p"
+ + "rojects/*/firewallpolicies/*}\022\376\001\n\024Update"
+ + "FirewallPolicy\022@.google.cloud.recaptchae"
+ + "nterprise.v1.UpdateFirewallPolicyRequest"
+ + "\0323.google.cloud.recaptchaenterprise.v1.F"
+ + "irewallPolicy\"o\332A\033firewall_policy,update"
+ + "_mask\202\323\344\223\002K28/v1/{firewall_policy.name=p"
+ + "rojects/*/firewallpolicies/*}:\017firewall_"
+ + "policy\022\251\001\n\024DeleteFirewallPolicy\022@.google"
+ + ".cloud.recaptchaenterprise.v1.DeleteFire"
+ + "wallPolicyRequest\032\026.google.protobuf.Empt"
+ + "y\"7\332A\004name\202\323\344\223\002**(/v1/{name=projects/*/f"
+ + "irewallpolicies/*}\022\360\001\n\027ReorderFirewallPo"
+ + "licies\022C.google.cloud.recaptchaenterpris"
+ + "e.v1.ReorderFirewallPoliciesRequest\032D.go"
+ + "ogle.cloud.recaptchaenterprise.v1.Reorde"
+ + "rFirewallPoliciesResponse\"J\332A\014parent,nam"
+ + "es\202\323\344\223\0025\"0/v1/{parent=projects/*}/firewa"
+ + "llpolicies:reorder:\001*\022\346\001\n\030ListRelatedAcc"
+ + "ountGroups\022D.google.cloud.recaptchaenter"
+ + "prise.v1.ListRelatedAccountGroupsRequest"
+ + "\032E.google.cloud.recaptchaenterprise.v1.L"
+ + "istRelatedAccountGroupsResponse\"=\332A\006pare"
+ + "nt\202\323\344\223\002.\022,/v1/{parent=projects/*}/relate"
+ + "daccountgroups\022\222\002\n\"ListRelatedAccountGro"
+ + "upMemberships\022N.google.cloud.recaptchaen"
+ + "terprise.v1.ListRelatedAccountGroupMembe"
+ + "rshipsRequest\032O.google.cloud.recaptchaen"
+ + "terprise.v1.ListRelatedAccountGroupMembe"
+ + "rshipsResponse\"K\332A\006parent\202\323\344\223\002<\022:/v1/{pa"
+ + "rent=projects/*/relatedaccountgroups/*}/"
+ + "memberships\022\262\002\n$SearchRelatedAccountGrou"
+ + "pMemberships\022P.google.cloud.recaptchaent"
+ + "erprise.v1.SearchRelatedAccountGroupMemb"
+ + "ershipsRequest\032Q.google.cloud.recaptchae"
+ + "nterprise.v1.SearchRelatedAccountGroupMe"
+ + "mbershipsResponse\"e\332A\031project,hashed_acc"
+ + "ount_id\202\323\344\223\002C\">/v1/{project=projects/*}/"
+ + "relatedaccountgroupmemberships:search:\001*"
+ + "\032V\312A\"recaptchaenterprise.googleapis.com\322"
+ + "A.https://www.googleapis.com/auth/cloud-"
+ + "platformB\231\002\n!com.google.recaptchaenterpr"
+ + "ise.v1B\030RecaptchaEnterpriseProtoP\001Z\\clou"
+ + "d.google.com/go/recaptchaenterprise/v2/a"
+ + "piv1/recaptchaenterprisepb;recaptchaente"
+ + "rprisepb\242\002\004GCRE\252\002#Google.Cloud.Recaptcha"
+ + "Enterprise.V1\312\002#Google\\Cloud\\RecaptchaEn"
+ + "terprise\\V1\352\002&Google::Cloud::RecaptchaEn"
+ + "terprise::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -1010,6 +1018,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"FraudPreventionAssessment",
"FraudSignals",
"PhoneFraudAssessment",
+ "AssessmentEnvironment",
});
internal_static_google_cloud_recaptchaenterprise_v1_Event_descriptor =
getDescriptor().getMessageTypes().get(8);
@@ -1662,8 +1671,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"WafService", "WafFeature",
});
- internal_static_google_cloud_recaptchaenterprise_v1_IpOverrideData_descriptor =
+ internal_static_google_cloud_recaptchaenterprise_v1_AssessmentEnvironment_descriptor =
getDescriptor().getMessageTypes().get(62);
+ internal_static_google_cloud_recaptchaenterprise_v1_AssessmentEnvironment_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_recaptchaenterprise_v1_AssessmentEnvironment_descriptor,
+ new java.lang.String[] {
+ "Client", "Version",
+ });
+ internal_static_google_cloud_recaptchaenterprise_v1_IpOverrideData_descriptor =
+ getDescriptor().getMessageTypes().get(63);
internal_static_google_cloud_recaptchaenterprise_v1_IpOverrideData_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_recaptchaenterprise_v1_IpOverrideData_descriptor,
diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RelatedAccountGroupMembership.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RelatedAccountGroupMembership.java
index da6d0f15aaa5..4ced8102f491 100644
--- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RelatedAccountGroupMembership.java
+++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RelatedAccountGroupMembership.java
@@ -192,7 +192,7 @@ public com.google.protobuf.ByteString getAccountIdBytes() {
* bytes hashed_account_id = 2 [deprecated = true];
*
* @deprecated google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id
- * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1981
+ * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1987
* @return The hashedAccountId.
*/
@java.lang.Override
@@ -846,7 +846,7 @@ public Builder setAccountIdBytes(com.google.protobuf.ByteString value) {
*
* @deprecated
* google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id is
- * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1981
+ * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1987
* @return The hashedAccountId.
*/
@java.lang.Override
@@ -868,7 +868,7 @@ public com.google.protobuf.ByteString getHashedAccountId() {
*
* @deprecated
* google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id is
- * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1981
+ * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1987
* @param value The hashedAccountId to set.
* @return This builder for chaining.
*/
@@ -896,7 +896,7 @@ public Builder setHashedAccountId(com.google.protobuf.ByteString value) {
*
* @deprecated
* google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id is
- * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1981
+ * deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1987
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RelatedAccountGroupMembershipOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RelatedAccountGroupMembershipOrBuilder.java
index ed4d4535c873..c4dc2b684113 100644
--- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RelatedAccountGroupMembershipOrBuilder.java
+++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RelatedAccountGroupMembershipOrBuilder.java
@@ -97,7 +97,7 @@ public interface RelatedAccountGroupMembershipOrBuilder
* bytes hashed_account_id = 2 [deprecated = true];
*
* @deprecated google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id
- * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1981
+ * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1987
* @return The hashedAccountId.
*/
@java.lang.Deprecated
diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/SearchRelatedAccountGroupMembershipsRequest.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/SearchRelatedAccountGroupMembershipsRequest.java
index 160efe4c98f7..019f376563c6 100644
--- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/SearchRelatedAccountGroupMembershipsRequest.java
+++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/SearchRelatedAccountGroupMembershipsRequest.java
@@ -204,7 +204,7 @@ public com.google.protobuf.ByteString getAccountIdBytes() {
*
* @deprecated
* google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id
- * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1910
+ * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1916
* @return The hashedAccountId.
*/
@java.lang.Override
@@ -1016,7 +1016,7 @@ public Builder setAccountIdBytes(com.google.protobuf.ByteString value) {
*
* @deprecated
* google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id
- * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1910
+ * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1916
* @return The hashedAccountId.
*/
@java.lang.Override
@@ -1041,7 +1041,7 @@ public com.google.protobuf.ByteString getHashedAccountId() {
*
* @deprecated
* google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id
- * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1910
+ * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1916
* @param value The hashedAccountId to set.
* @return This builder for chaining.
*/
@@ -1072,7 +1072,7 @@ public Builder setHashedAccountId(com.google.protobuf.ByteString value) {
*
* @deprecated
* google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id
- * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1910
+ * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1916
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/SearchRelatedAccountGroupMembershipsRequestOrBuilder.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/SearchRelatedAccountGroupMembershipsRequestOrBuilder.java
index 1dd96dd54acf..2b79b3c9027e 100644
--- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/SearchRelatedAccountGroupMembershipsRequestOrBuilder.java
+++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/SearchRelatedAccountGroupMembershipsRequestOrBuilder.java
@@ -104,7 +104,7 @@ public interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
*
* @deprecated
* google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id
- * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1910
+ * is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1916
* @return The hashedAccountId.
*/
@java.lang.Deprecated
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 11320f5311cf..45c1523edfd9 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
@@ -667,6 +667,12 @@ message Assessment {
// protection need to be enabled.
PhoneFraudAssessment phone_fraud_assessment = 12
[(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. The environment creating the assessment. This describes your
+ // environment (the system invoking CreateAssessment), NOT the environment of
+ // your user.
+ AssessmentEnvironment assessment_environment = 14
+ [(google.api.field_behavior) = OPTIONAL];
}
// The event being assessed.
@@ -2046,6 +2052,22 @@ message WafSettings {
WafFeature waf_feature = 2 [(google.api.field_behavior) = REQUIRED];
}
+// The environment creating the assessment. This describes your environment
+// (the system invoking CreateAssessment), NOT the environment of your user.
+message AssessmentEnvironment {
+ // Optional. Identifies the client module initiating the CreateAssessment
+ // request. This can be the link to the client module's project. Examples
+ // include:
+ // - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager"
+ // - "cloud.google.com/recaptcha/docs/implement-waf-akamai"
+ // - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare"
+ // - "wordpress.org/plugins/recaptcha-something"
+ string client = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The version of the client module. For example, "1.0.0".
+ string version = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
// Information about the IP or IP range override.
message IpOverrideData {
// Enum that represents the type of IP override.